:root {
  --bg: #f6fbff;
  --bg-soft: #eef6ff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #102033;
  --muted: #607088;
  --line: rgba(16, 32, 51, 0.08);
  --shadow: 0 20px 60px rgba(67, 100, 145, 0.15);
  --primary: #3768ff;
  --primary-2: #8a7dff;
  --green: #5fc89c;
  --pink: #ff7ac6;
  --blue: #57b8ff;
  --purple: #9d78ff;
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[data-theme="dark"] {
  --bg: #09111d;
  --bg-soft: #0f1a29;
  --surface: rgba(18, 30, 48, 0.7);
  --surface-strong: rgba(18, 30, 48, 0.92);
  --text: #eff6ff;
  --muted: #aab9cc;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 196, 255, 0.18), transparent 35%),
    radial-gradient(circle at right center, rgba(143, 126, 255, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: radial-gradient(#000 0.8px, transparent 0.8px);
  background-size: 14px 14px;
  z-index: 1;
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(90, 180, 255, 0.16), transparent 60%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.site-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, #eef8ff, #fdfdff);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
html[data-theme="dark"] .site-loader { background: linear-gradient(145deg, #09111d, #101c2e); }
.site-loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.loader-orb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--primary-2));
  box-shadow: 0 0 50px rgba(87, 184, 255, 0.4);
}
.loader-mark strong { font-size: 1.05rem; }
.loader-mark small { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 14px;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .navbar { background: rgba(10, 17, 29, 0.6); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--primary-2));
  box-shadow: 0 0 18px rgba(87, 184, 255, 0.4);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.95rem; }
.brand small { color: var(--muted); font-size: 0.72rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.nav-panel {
  position: fixed;
  inset: 84px 16px auto 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}
body.nav-open .nav-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.nav-links, .nav-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
}
.nav-links a.active, .nav-links a:hover { color: var(--text); }

.theme-toggle, .btn {
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
}
.theme-toggle {
  width: 48px;
  height: 48px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}
.theme-toggle:hover, .btn:hover { transform: translateY(-2px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 700;
}
.btn-sm { padding: 12px 18px; }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 36px rgba(80, 100, 255, 0.28);
}
.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
.inline-link, .text-link {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
}

.section {
  position: relative;
  z-index: 3;
  padding: 88px 0;
}
.section-tight { padding-top: 32px; }
.section-soft { background: linear-gradient(180deg, transparent, rgba(120, 160, 255, 0.06)); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3, h4, p { margin: 0; }
h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }
.lead { font-size: 1.05rem; max-width: 60ch; }

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}
.hero-grid, .page-hero-grid, .split-intro, .editorial-grid, .contact-grid {
  display: grid;
  gap: 32px;
}
.hero-grid { align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-stats li, .glass-card, .hero-panel, .product-card, .product-detail-card, .timeline-mini-card, .science-step, .testimonial-card, .glass-quote {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-stats li {
  padding: 18px;
}
.hero-stats strong { display: block; font-size: 1.15rem; }
.hero-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.92rem; }

.hero-visual {
  position: relative;
  height: 520px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}
.blob-1 { width: 300px; height: 300px; background: rgba(87, 184, 255, 0.22); left: -80px; top: 60px; }
.blob-2 { width: 380px; height: 380px; background: rgba(157, 120, 255, 0.18); right: -120px; top: -30px; }
.blob-3 { width: 260px; height: 260px; background: rgba(255, 122, 198, 0.16); right: 20%; bottom: 50px; }
.wave {
  position: absolute;
  left: -10%;
  width: 120%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(10px);
}
.wave-a { bottom: -160px; height: 280px; }
.wave-b { bottom: -120px; height: 220px; opacity: 0.5; }

.floating-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.2));
  backdrop-filter: blur(8px);
}
.particle.berry { top: 18%; left: 12%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(255,122,198,.5)); }
.particle.citrus { top: 32%; right: 18%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(255,189,72,.5)); }
.particle.drop { bottom: 22%; left: 42%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(87,184,255,.45)); }
.small { width: 16px; height: 16px; }
.particle.small.drop { right: 28%; top: 14%; left: auto; bottom: auto; }
.particle.small.berry { left: 62%; bottom: 24%; top: auto; }

.product-float {
  position: absolute;
  width: min(100%, 240px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(95, 132, 183, 0.2);
}
html[data-theme="dark"] .product-float {
  background: linear-gradient(180deg, rgba(18,30,48,0.86), rgba(18,30,48,0.56));
  border-color: rgba(255,255,255,0.1);
}
.cluster-skin { top: 36px; left: 0; }
.cluster-digest { top: 150px; right: 0; }
.cluster-women { bottom: 24px; left: 18%; }
.pill, .mini-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-ring {
  position: absolute;
  inset: 12% 15%;
  border: 1px solid rgba(98, 156, 255, 0.2);
  border-radius: 50%;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.section-head.center { text-align: center; align-items: center; }

.product-grid, .benefit-grid, .feature-stack, .footer-grid {
  display: grid;
  gap: 22px;
}
.product-card, .product-detail-card, .benefit-card, .glass-card, .hero-panel, .timeline-mini-card, .science-step, .testimonial-card, .glass-quote {
  padding: 26px;
}
.product-card:hover, .product-detail-card:hover, .benefit-card:hover, .glass-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(78, 110, 165, 0.22);
}
.product-card ul, .feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.product-card li, .feature-list li {
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}
.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  color: white;
}
.icon-badge.pink { background: linear-gradient(135deg, #ff89cb, #ff5eb2); }
.icon-badge.green { background: linear-gradient(135deg, #6dd8ad, #37b87f); }
.icon-badge.blue { background: linear-gradient(135deg, #72cbff, #469eff); }
.icon-badge.purple { background: linear-gradient(135deg, #b08cff, #815dff); }
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-preview {
  position: relative;
  display: grid;
  gap: 18px;
}
.timeline-line {
  position: absolute;
  left: 26px;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), transparent);
}
.timeline-mini-card { padding-left: 56px; position: relative; }
.timeline-mini-card strong {
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--primary);
}

.horizontal-wrap {
  overflow: hidden;
  padding-top: 20px;
}
.horizontal-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 16px;
}
.science-step {
  width: min(86vw, 380px);
  min-height: 280px;
}
.science-step span {
  display: inline-block;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
}
.progress-line {
  width: min(calc(100% - 32px), var(--container));
  height: 4px;
  border-radius: 999px;
  background: rgba(120, 140, 180, 0.15);
  margin: 24px auto 0;
  overflow: hidden;
}
.progress-line span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--blue), var(--primary-2));
}

.glass-quote, .testimonial-card { min-height: 220px; }
.stars { color: #f7b955; margin-bottom: 14px; }

.cta-band {
  margin-top: 20px;
}
.liquid-band {
  overflow: hidden;
}
.liquid-band::before, .liquid-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(115, 192, 255, 0.16);
  filter: blur(8px);
}
.liquid-band::before { width: 200px; height: 200px; left: 6%; top: 12%; }
.liquid-band::after { width: 260px; height: 260px; right: -40px; bottom: -80px; }
.cta-inner {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.3));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.signup-form, .contact-form {
  display: grid;
  gap: 14px;
}
.signup-form input, .contact-form input, .contact-form select {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
}
html[data-theme="dark"] .signup-form input,
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select {
  background: rgba(255,255,255,0.05);
}
.input-group { display: grid; gap: 10px; }
.input-group label { font-weight: 600; }
.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}
.form-status.success { background: rgba(95, 200, 156, 0.14); color: #2b8b67; }
.form-status.invalid, .form-status.error { background: rgba(255, 96, 96, 0.12); color: #b74444; }

.footer-grid {
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
}
.site-footer {
  position: relative;
  z-index: 3;
}
.site-footer h4 { margin-bottom: 12px; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}
.socials a:hover { transform: translateY(-3px); }

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 10, 16, 0.38);
  backdrop-filter: blur(10px);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(700px, 100%);
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.modal-body { display: grid; gap: 18px; }
.modal-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.modal-body li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(120, 150, 190, 0.08);
  color: var(--muted);
}

.editorial-grid,
.feature-stack-wide,
.contact-side,
.product-grid-large,
.footer-grid {
  grid-template-columns: 1fr;
}
.comparison-card, .hero-panel { align-self: start; }
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.detail-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.45);
  color: var(--muted);
}
.contact-grid { align-items: start; }
.contact-side { display: grid; gap: 18px; }

.reveal-up { opacity: 0; transform: translateY(22px); }
.tilt-card { transform-style: preserve-3d; }

@media (min-width: 768px) {
  .section { padding: 110px 0; }
  .hero-grid,
  .page-hero-grid,
  .split-intro,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .feature-stack,
  .product-grid,
  .benefit-grid,
  .footer-grid,
  .editorial-grid,
  .feature-stack-wide,
  .product-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .signup-form {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nav-toggle { display: none; }
  .nav-panel {
    position: static;
    inset: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .nav-links {
    flex-direction: row;
    align-items: center;
    margin: 0;
  }
  .nav-actions { flex-direction: row; align-items: center; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.06fr 0.94fr; }
  .product-grid,
  .benefit-grid,
  .feature-stack-wide,
  .product-grid-large,
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-stack { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { height: 580px; }
}
