/* ═══ AeroPremium FX Layer ═══ */

@keyframes float-bubble {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(-12px, -20px) scale(1.1); opacity: 0.7; }
}

@keyframes breathing-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes mist-rise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-50px) scale(1.3); opacity: 0; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes orb-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes wave-shift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

/* Header */
.site-header {
  position: sticky;
  background: rgba(11, 37, 53, 0.95) !important;
  border-bottom: 1px solid rgba(103, 232, 249, 0.1) !important;
}

.site-header::after {
  display: none;
}

.site-header .logo-wordmark {
  color: var(--text-on-dark);
}

.site-header .logo-accent {
  color: var(--accent-mint);
}

.site-header .logo-dot {
  background: var(--accent-amber);
  border-radius: 50%;
  transform: none;
}

.site-header .nav-desktop a {
  color: var(--text-on-dark-muted);
}

.site-header .nav-desktop a:hover,
.site-header .nav-desktop a.active {
  color: #ffffff;
}

.site-header .nav-desktop a::after {
  background: var(--accent-amber);
  height: 2px;
  border-radius: 2px;
}

.site-header .nav-toggle {
  color: var(--text-on-dark);
}

/* Hero — dark full-bleed */
.hero {
  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-dark-mid) 50%, #0c4a6e 100%);
  padding: 80px 0 100px;
  margin-bottom: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.15) 0%, transparent 70%);
  animation: float-bubble 8s ease-in-out infinite;
}

.hero-bubble--1 { width: 300px; height: 300px; top: -5%; right: 10%; animation-delay: 0s; }
.hero-bubble--2 { width: 200px; height: 200px; bottom: 20%; left: 5%; animation-delay: -3s; }
.hero-bubble--3 { width: 150px; height: 150px; top: 40%; right: 35%; animation-delay: -5s; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--text-on-dark);
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-mint), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-on-dark-muted) !important;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.25);
  color: var(--accent-mint);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  background: var(--accent-amber);
  animation: orb-glow 2s ease-in-out infinite;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-breath {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-product-wrap {
  position: relative;
  animation: breathing-pulse 5s ease-in-out infinite;
}

.hero-product-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.3) 0%, rgba(249, 115, 22, 0.1) 50%, transparent 70%);
  animation: orb-glow 4s ease-in-out infinite;
  z-index: -1;
}

.hero-product-wrap img {
  max-height: 400px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
  border-radius: var(--radius-lg);
}

.hero-mist {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(103, 232, 249, 0.5) 0%, transparent 70%);
  animation: mist-rise 4s ease-out infinite;
  pointer-events: none;
}

.hero-mist--2 {
  animation-delay: 2s;
  left: 35%;
  width: 70px;
}

.hero-ingredients {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.hero-ingredients span {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  backdrop-filter: blur(4px);
}

/* Stats */
.stat-item {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.stat-value {
  color: var(--accent-mint) !important;
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-on-dark-muted) !important;
}

/* Ticker — dark strip */
.data-ticker {
  background: var(--bg-dark);
  border: none;
  padding: 16px 0;
}

.ticker-track span {
  color: rgba(186, 230, 253, 0.5);
}

.ticker-track span.ticker-accent {
  color: var(--accent-mint);
}

/* Trust bar */
.trust-bar {
  background: var(--bg-surface);
  border: none;
  box-shadow: var(--shadow-card);
  margin: -40px auto 0;
  max-width: 900px;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 10;
  padding: 28px 40px;
}

.trust-item {
  padding: 0;
  border: none;
  background: none;
}

.trust-icon {
  background: linear-gradient(135deg, var(--accent-cyan-dim), rgba(249, 115, 22, 0.08));
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
}

/* Section headers */
.section-head {
  margin-bottom: 48px;
}

.section-line {
  width: 48px;
  height: 4px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-amber));
  border-radius: var(--radius-pill);
}

.section-label {
  padding: 6px 14px;
  background: var(--accent-cyan-dim);
  border-radius: var(--radius-pill);
  border: none;
}

/* Wave divider */
.wave-divider svg path {
  fill: var(--bg-mint);
}

/* About pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-pillar {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.about-pillar:hover {
  transform: translateY(-3px);
}

.about-pillar-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

.about-pillar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.about-visual::before {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(249, 115, 22, 0.1));
}

/* Science cards */
.science-card {
  text-align: left;
  padding-top: 48px !important;
  position: relative;
}

.science-icon {
  position: absolute;
  top: 24px;
  left: 32px;
  background: linear-gradient(135deg, var(--accent-cyan-dim), rgba(249, 115, 22, 0.08));
  border: none;
  border-radius: var(--radius-sm);
}

.science-card .science-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(8, 145, 178, 0.07);
  line-height: 1;
}

/* Product section */
.rinorub-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mint) 50%, var(--bg-deep) 100%);
}

.rinorub-section::before {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 60%);
}

.rinorub-badge {
  color: var(--accent-amber);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-pill);
}

.rinorub-image {
  background: var(--bg-surface);
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius-xl);
}

/* Timeline */
.step-num {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: #ffffff;
  border: none;
  box-shadow: var(--glow-cyan);
}

.step-num::before {
  border-color: rgba(8, 145, 178, 0.3);
}

.timeline::before {
  background: linear-gradient(90deg, transparent, var(--accent-mint), transparent);
}

/* FAQ */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 0 24px;
}

.faq-item.open {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-card);
}

.faq-icon {
  color: var(--accent-amber);
}

/* Testimonials */
.testimonial-card::before {
  color: rgba(8, 145, 178, 0.1);
}

.testimonial-avatar {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-amber));
  color: #ffffff;
}

.testimonial-stars {
  color: var(--accent-amber);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--bg-mint), var(--bg-deep));
}

.contact-section::before {
  background:
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

.disclaimer-box {
  background: rgba(8, 145, 178, 0.05);
  border: 1px solid rgba(8, 145, 178, 0.15);
  border-left: 4px solid var(--accent-secondary);
}

/* Footer — dark */
.site-footer {
  background: var(--bg-dark);
  border-top: none;
  color: var(--text-on-dark-muted);
}

.site-footer::before {
  background: linear-gradient(90deg, transparent, var(--accent-secondary), var(--accent-amber), transparent);
  height: 2px;
}

.site-footer .logo-wordmark {
  color: var(--text-on-dark);
}

.site-footer .logo-accent {
  color: var(--accent-mint);
}

.site-footer p,
.site-footer .footer-col a,
.site-footer .footer-legal,
.site-footer .footer-bottom span,
.site-footer .footer-links a {
  color: var(--text-on-dark-muted);
}

.site-footer .footer-col h4 {
  color: var(--accent-mint);
}

.site-footer .footer-col a:hover,
.site-footer .footer-links a:hover {
  color: #ffffff;
}

.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Page hero (contact) */
.page-hero {
  background: linear-gradient(145deg, var(--bg-dark), var(--bg-dark-mid));
  padding-bottom: 60px;
}

.page-hero h1,
.page-hero .section-label {
  color: var(--text-on-dark);
}

.page-hero .section-desc {
  color: var(--text-on-dark-muted) !important;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    margin: -24px 16px 0;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .hero-product-wrap img {
    max-height: 280px;
  }

  .ticker-track {
    animation-duration: 22s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
