/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #1a1a2e;
  background: #fafbff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TOKENS ===== */
:root {
  --c-primary: #6c3ce0;
  --c-primary-light: #a78bfa;
  --c-primary-dark: #4c1d95;
  --c-accent: #f472b6;
  --c-accent2: #60a5fa;
  --c-surface: #ffffff;
  --c-surface2: #f0f0ff;
  --c-bg: #fafbff;
  --c-text: #1a1a2e;
  --c-text2: #64648c;
  --c-border: #e2e2f0;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(26,26,46,.06);
  --shadow-md: 0 4px 24px rgba(26,26,46,.08);
  --shadow-lg: 0 12px 48px rgba(26,26,46,.12);
  --shadow-glow: 0 0 60px rgba(108,60,224,.15);
  --font-display: 'Syne', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(250,251,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-primary);
}
.logo-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--c-primary); }
.btn-nav {
  background: var(--c-primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,60,224,.3);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,60,224,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,60,224,.35);
}
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-primary);
  background: rgba(108,60,224,.04);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--c-text);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
}
.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #e8deff 0%, #d5e8ff 35%, #fae8ff 65%, #f0e6ff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,60,224,.12) 0%, transparent 70%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.1) 0%, transparent 70%);
  z-index: 1;
}

/* floating pills */
.floating-pills {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pill {
  position: absolute;
  border-radius: var(--r-pill);
  opacity: .12;
}
.pill-1 {
  width: 60px; height: 20px;
  background: var(--c-primary);
  top: 15%; left: 8%;
  animation: floatPill 8s ease-in-out infinite;
}
.pill-2 {
  width: 40px; height: 14px;
  background: var(--c-accent);
  top: 25%; right: 12%;
  animation: floatPill 6s ease-in-out infinite 1s;
}
.pill-3 {
  width: 50px; height: 18px;
  background: var(--c-accent2);
  bottom: 30%; left: 15%;
  animation: floatPill 7s ease-in-out infinite 2s;
}
.pill-4 {
  width: 35px; height: 12px;
  background: var(--c-primary-light);
  top: 60%; right: 20%;
  animation: floatPill 9s ease-in-out infinite 0.5s;
}
.pill-5 {
  width: 45px; height: 16px;
  background: #f472b6;
  bottom: 15%; right: 8%;
  animation: floatPill 7.5s ease-in-out infinite 3s;
}

@keyframes floatPill {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-left: max(24px, calc((100vw - 1200px)/2 + 24px));
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: .02em;
  margin-bottom: 24px;
  border: 1px solid rgba(108,60,224,.1);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-line {
  display: block;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--c-text);
}
.hero-line-accent {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--c-text2);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-disclaimer {
  font-size: .7rem;
  color: var(--c-text2);
  opacity: .6;
  font-style: italic;
}

/* hero image */
.hero-image {
  position: absolute;
  right: max(24px, calc((100vw - 1200px)/2 + 24px));
  bottom: 8%;
  z-index: 2;
  width: 420px;
  max-width: 40vw;
}
.hero-image img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(108,60,224,.2));
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,60,224,.15) 0%, transparent 70%);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-primary-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== SECTIONS COMMON ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 6px 14px;
  background: rgba(108,60,224,.06);
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--c-text);
}
.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text2);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  background: var(--c-bg);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform .3s, box-shadow .3s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-primary-light);
  margin-bottom: 16px;
  letter-spacing: .05em;
}
.step-icon {
  color: var(--c-primary);
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-text);
}
.step p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--c-text2);
}
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  color: var(--c-primary-light);
  padding-top: 56px;
}

/* ===== IMAGE BREAK ===== */
.image-break {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,60,224,.4) 0%, rgba(96,165,250,.3) 100%);
}
.image-break-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.image-break-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5rem);
  color: #fff;
  line-height: 1;
}
.image-break-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-top: 8px;
}

/* ===== PRODUCT VARIANTS ===== */
.variants {
  padding: 120px 0;
  background: var(--c-bg);
}
.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.variant-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform .3s, box-shadow .3s;
}
.variant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.variant-featured {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}
.variant-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(108,60,224,.06);
  color: var(--c-primary);
  margin-bottom: 16px;
}
.variant-badge-hot {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
}
.variant-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.variant-tagline {
  font-family: var(--font-heading);
  font-size: .9rem;
  color: var(--c-text2);
  margin-bottom: 24px;
}
.variant-specs {
  margin-bottom: 20px;
}
.spec {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.spec:last-child { border: none; }
.spec-label {
  font-size: .85rem;
  color: var(--c-text2);
}
.spec-value {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
}
.variant-flavor {
  font-size: .8rem;
  color: var(--c-text2);
  margin-bottom: 24px;
  font-style: italic;
}
.variant-card .btn { width: 100%; }
.variant-image {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.variant-image img { width: 100%; }

/* ===== SCIENCE ===== */
.science {
  padding: 120px 0;
  background: var(--c-surface);
}
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.science-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.science-visual img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--r-xl);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 40px rgba(108,60,224,.15));
}
.science-visual-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(108,60,224,.1);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}
.science-visual-ring::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--c-primary);
  border-radius: 50%;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.science-content .section-title { max-width: 480px; }
.science-content .section-sub { margin-bottom: 32px; }
.science-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.fact-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--c-primary);
  line-height: 1.1;
}
.fact-desc {
  font-size: .8rem;
  color: var(--c-text2);
  line-height: 1.5;
  margin-top: 4px;
}
.science-note {
  font-size: .8rem;
  color: var(--c-text2);
  font-style: italic;
  opacity: .7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--c-bg);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: .85rem;
  color: var(--c-text);
}
.testimonial-author span {
  display: block;
  font-size: .75rem;
  color: var(--c-text2);
}

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  background: var(--c-surface);
}
.faq-list {
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-q {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--c-primary);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-q:hover { color: var(--c-primary); }
.faq-a {
  padding: 0 0 24px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--c-text2);
}

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  background: var(--c-bg);
}
.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, #7c3aed 100%);
  color: #fff;
  overflow: hidden;
}
.cta-bg-pills {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta-pill {
  position: absolute;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.05);
}
.cta-pill-1 { width: 120px; height: 40px; top: 20%; left: 10%; transform: rotate(-15deg); }
.cta-pill-2 { width: 80px; height: 28px; top: 60%; right: 15%; transform: rotate(20deg); }
.cta-pill-3 { width: 100px; height: 34px; bottom: 15%; left: 25%; transform: rotate(-8deg); }
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
  line-height: 1.7;
}
.cta-buttons {
  position: relative;
  margin-bottom: 20px;
}
.cta-buttons .btn {
  background: #fff;
  color: var(--c-primary-dark);
}
.cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.cta-fine {
  font-size: .7rem;
  opacity: .5;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .logo {
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: .8rem;
  color: var(--c-text2);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: .85rem;
  color: var(--c-text2);
  transition: color .2s;
}
.footer-links a:hover { color: var(--c-primary); }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
}
.footer-copy p {
  font-size: .7rem;
  color: var(--c-text2);
  opacity: .6;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-image {
    width: 320px;
    max-width: 35vw;
    right: 24px;
  }
  .science-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250,251,255,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .hero {
    flex-direction: column;
    padding-top: 120px;
    min-height: auto;
    text-align: center;
  }
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 100%;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 260px;
    max-width: 60vw;
    margin: 40px auto 0;
  }
  .scroll-hint { display: none; }

  .steps {
    flex-direction: column;
    gap: 16px;
  }
  .step-connector {
    width: auto;
    padding: 0;
    transform: rotate(90deg);
  }

  .variant-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .science-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .science-visual { order: -1; }
  .science-content .section-sub { margin-left: auto; margin-right: auto; }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-line { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .science-facts { grid-template-columns: 1fr; text-align: center; }
  .cta-card { padding: 48px 20px; }
}
