/* =====================================================
   GO AI STUDIO — Multi-App Landing Page
   Hand-crafted CSS · No build step · Mobile-first
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: oklch(0.13 0.008 80);
  --bg-soft: oklch(0.16 0.008 80);
  --fg: oklch(0.985 0.005 80);
  --muted: oklch(0.985 0.005 80 / 0.62);
  --dim: oklch(0.985 0.005 80 / 0.38);
  --border: oklch(0.985 0.005 80 / 0.08);
  --border-strong: oklch(0.985 0.005 80 / 0.16);

  --accent-gold: oklch(0.88 0.078 82);
  --accent-blue: oklch(0.92 0.045 250);

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Urbanist', 'Inter', -apple-system, sans-serif;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --d-fast: 200ms;
  --d-med: 450ms;
  --d-slow: 900ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: italic; color: var(--accent-gold); font-weight: 500; }

/* ---------- Cursor glow & grain ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, oklch(0.92 0.045 250 / 0.10) 0%, transparent 60%);
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 400ms;
  mix-blend-mode: screen;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-when-visible {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 1ms);
}
.reveal-when-visible.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform var(--d-fast) var(--ease-out), background var(--d-fast), color var(--d-fast), border-color var(--d-fast);
  white-space: nowrap;
  will-change: transform;
}

.btn--primary {
  background: var(--fg);
  color: oklch(0.13 0.008 80);
}
.btn--primary:hover { background: var(--accent-gold); }

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); background: oklch(0.985 0.005 80 / 0.04); }

.btn--outline-light {
  border: 1px solid oklch(0.985 0.005 80 / 0.22);
  color: var(--fg);
}
.btn--outline-light:hover { background: oklch(0.985 0.005 80 / 0.06); border-color: oklch(0.985 0.005 80 / 0.5); }

.btn--outline-dark {
  border: 1px solid oklch(0.18 0.005 280 / 0.18);
  color: var(--section-fg, oklch(0.18 0.005 280));
}
.btn--outline-dark:hover { background: oklch(0.18 0.005 280 / 0.04); border-color: oklch(0.18 0.005 280 / 0.4); }

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: oklch(0.99 0.006 80);
  color: oklch(0.13 0.008 80);
  font-family: var(--font-ui);
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast);
  box-shadow: 0 1px 0 oklch(0.99 0.006 80 / 0.6) inset, 0 8px 24px oklch(0.13 0.008 80 / 0.32);
}
.btn-app-store--dark { background: oklch(0.18 0.005 280); color: var(--fg); box-shadow: 0 8px 24px oklch(0.18 0.005 280 / 0.4); }
.btn-app-store span { display: flex; flex-direction: column; line-height: 1.05; align-items: flex-start; }
.btn-app-store small { font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.78; text-transform: uppercase; font-weight: 500; }
.btn-app-store strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.btn-app-store:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.24); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: oklch(0.13 0.008 80 / 0.92);
  border: 1px solid var(--border);
  transition: background var(--d-med), border-color var(--d-med), top var(--d-med), transform var(--d-med);
  max-width: calc(100% - 32px);
}
.nav.is-scrolled { top: 12px; background: oklch(0.10 0.008 80); border-color: var(--border-strong); }

.nav__brand { display: inline-flex; align-items: center; gap: 8px; }
.nav__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px oklch(0.985 0.005 80 / 0.10);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  position: relative;
}
.nav__logo-go { color: var(--fg); }
.nav__logo-ai {
  color: var(--accent-gold);
  font-style: italic;
}

.nav__links {
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color var(--d-fast), background var(--d-fast);
}
.nav__links a:hover { color: var(--fg); background: rgba(255,255,255,0.04); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--fg);
  color: #0a0a0c;
  transition: transform var(--d-fast) var(--ease-out), background var(--d-fast);
}
.nav__cta:hover { background: var(--accent-gold); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { gap: 14px; padding-left: 16px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__aurora { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.aurora {
  position: absolute;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: aurora 26s var(--ease-in-out) infinite alternate;
}
.aurora--gold { background: var(--accent-gold); top: -8vw; left: 8vw; animation-delay: -4s; }
.aurora--blue { background: var(--accent-blue); top: 18vw; right: -6vw; animation-delay: -10s; }
.aurora--green { background: oklch(0.74 0.17 150); opacity: 0.32; bottom: -10vw; left: 12vw; animation-delay: -18s; }
.aurora--orange { background: oklch(0.69 0.19 35); opacity: 0.28; bottom: 0; right: 10vw; animation-delay: -22s; }

@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(8vw, -6vw, 0) scale(1.18); }
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 32px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #37C779;
  box-shadow: 0 0 12px #37C779;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero__title em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 800;
}

.hero__sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
}

.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Orbit */
.hero__orbit {
  --orbit-radius: min(40vw, 230px);
  position: relative;
  width: min(90vw, 600px);
  height: min(90vw, 600px);
  margin: 0 auto;
  pointer-events: none;
}
.hero__orbit > * { pointer-events: auto; }

.orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.18);
  animation: spin 120s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,224,254,0.16) 0%, rgba(251,214,150,0.08) 50%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.orbit-core__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(204,224,254,0.45);
  animation: ringPulse 4s ease-out infinite;
}
.orbit-core__pulse--2 { animation-delay: 2s; border-color: rgba(251,214,150,0.45); }
@keyframes ringPulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.orbit-core__label {
  position: relative;
  z-index: 1;
  color: var(--accent-gold);
  font-style: italic;
}

.orbit-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 88px;
  margin: -44px 0 0 -44px;
  transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(var(--angle) * -1));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: orbitFloat 6s ease-in-out infinite;
  transition: transform var(--d-med) var(--ease-out);
}
.orbit-icon img {
  width: 76px; height: 76px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform var(--d-med) var(--ease-spring), box-shadow var(--d-med);
}
.orbit-icon__name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.orbit-icon:hover img {
  transform: scale(1.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.18), 0 0 40px rgba(204,224,254,0.2);
}
.orbit-icon--1 { animation-delay: 0s; }
.orbit-icon--2 { animation-delay: -1.5s; }
.orbit-icon--3 { animation-delay: -3s; }
.orbit-icon--4 { animation-delay: -4.5s; }

@keyframes orbitFloat {
  0%, 100% { transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(var(--angle) * -1)) translateY(0); }
  50%      { transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(var(--angle) * -1)) translateY(-12px); }
}

/* Factoid (replaces stats grid) */
.hero__factoid {
  margin: 72px auto 0;
  max-width: 760px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.01em;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.hero__factoid .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: inline-block;
}

@media (max-width: 720px) {
  .orbit-icon { width: 64px; margin: -32px 0 0 -32px; }
  .orbit-icon img { width: 56px; height: 56px; border-radius: 16px; }
  .orbit-icon__name { display: none; }
  .orbit-core { width: 100px; height: 100px; font-size: 15px; }
  .hero__factoid { font-size: 13px; gap: 10px; }
}

/* Marquee */
.hero__marquee {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding: 6px 0;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--dim);
  text-transform: uppercase;
}
.marquee .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--dim));
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ---------- APP SECTIONS ---------- */
.app-section {
  position: relative;
  padding: 120px var(--pad-x);
  background: var(--section-bg);
  color: var(--section-fg);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 80px;
}

.app-section[data-app="chat"] {
  --section-bg: oklch(0.07 0.005 80);
  --section-fg: oklch(0.985 0.005 80);
  --section-muted: oklch(0.985 0.005 80 / 0.62);
  --section-accent: oklch(0.88 0.078 82);
  --section-accent-2: oklch(0.92 0.045 250);
  --section-card: oklch(0.985 0.01 80 / 0.05);
  --section-border: oklch(0.985 0.01 80 / 0.08);
}

.app-section[data-app="neurobase"] {
  --section-bg: oklch(0.96 0.012 82);
  --section-fg: oklch(0.18 0.005 280);
  --section-muted: oklch(0.18 0.005 280 / 0.62);
  --section-accent: oklch(0.18 0.005 280);
  --section-accent-2: oklch(0.62 0.18 270);
  --section-card: oklch(0.99 0.008 82);
  --section-border: oklch(0.18 0.005 280 / 0.10);
}
.app-section[data-app="neurobase"] em { color: oklch(0.62 0.18 270); font-weight: 500; }

.app-section[data-app="calorie"] {
  --section-bg: oklch(0.99 0.014 82);
  --section-fg: oklch(0.16 0.008 35);
  --section-muted: oklch(0.16 0.008 35 / 0.58);
  --section-accent: oklch(0.69 0.19 35);
  --section-accent-2: oklch(0.65 0.20 130);
  --section-card: oklch(0.995 0.008 82);
  --section-border: oklch(0.16 0.008 35 / 0.07);
  font-family: var(--font-display);
}
.app-section[data-app="calorie"] em { color: oklch(0.69 0.19 35); }

.app-section[data-app="plant"] {
  --section-bg: oklch(0.20 0.025 155);
  --section-fg: oklch(0.985 0.005 155);
  --section-muted: oklch(0.985 0.005 155 / 0.65);
  --section-accent: oklch(0.74 0.17 150);
  --section-accent-2: oklch(0.34 0.06 150);
  --section-card: oklch(0.985 0.01 150 / 0.05);
  --section-border: oklch(0.985 0.01 150 / 0.10);
}
.app-section[data-app="plant"] em { color: oklch(0.74 0.17 150); }

.app-section__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.app-section__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .app-section__inner { grid-template-columns: 1fr; gap: 56px; }
  .app-section { padding: 80px var(--pad-x) 100px; }
}

/* App copy block */
.app-copy { color: var(--section-fg); }

.app-copy__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  box-shadow:
    0 14px 30px var(--icon-shadow, oklch(0.16 0.008 80 / 0.25)),
    0 0 0 1px oklch(0.16 0.008 80 / 0.04);
}
.app-section[data-app="chat"] {
  --icon-shadow: oklch(0.88 0.078 82 / 0.25);
}
.app-section[data-app="neurobase"] {
  --icon-shadow: oklch(0.62 0.18 270 / 0.20);
}
.app-section[data-app="calorie"] {
  --icon-shadow: oklch(0.69 0.19 35 / 0.25);
}
.app-section[data-app="plant"] {
  --icon-shadow: oklch(0.74 0.17 150 / 0.30);
}
.app-section[data-app="chat"] .app-icon,
.app-section[data-app="plant"] .app-icon {
  box-shadow:
    0 18px 40px var(--icon-shadow),
    0 0 0 1px oklch(0.985 0.005 80 / 0.08);
}
.app-copy__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--section-accent);
}
.app-copy__platform {
  display: block;
  font-size: 13px;
  color: var(--section-muted);
  margin-top: 2px;
}

.app-copy__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--section-fg);
}

.app-copy__lead {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--section-muted);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.62;
}

.feature-list {
  margin-bottom: 36px;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--section-fg);
}
.feature-list__bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--section-accent);
  box-shadow: 0 0 14px var(--section-accent);
  flex-shrink: 0;
}

.app-copy__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
}
.app-section[data-app="chat"] .blob--1 { width: 600px; height: 600px; background: var(--accent-gold); top: -200px; right: -200px; opacity: 0.18; }
.app-section[data-app="chat"] .blob--2 { width: 540px; height: 540px; background: var(--accent-blue); bottom: -200px; left: -200px; opacity: 0.18; }

.app-section[data-app="calorie"] .blob--pink { width: 420px; height: 420px; background: oklch(0.92 0.06 330); top: -100px; right: -120px; opacity: 0.6; }
.app-section[data-app="calorie"] .blob--orange { width: 380px; height: 380px; background: oklch(0.69 0.19 35); bottom: -120px; left: -100px; opacity: 0.35; }
.app-section[data-app="calorie"] .blob--green { width: 340px; height: 340px; background: oklch(0.65 0.20 130); top: 30%; left: 30%; opacity: 0.18; }

.app-section[data-app="plant"] .blob--forest { width: 600px; height: 600px; background: oklch(0.74 0.17 150); bottom: -260px; right: -200px; opacity: 0.20; }

.paper-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(24,24,27,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24,24,27,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

.leaf-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* ---------- App visual: phone ---------- */
.app-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.phone {
  position: relative;
  width: 300px;
  height: 620px;
  border-radius: 48px;
  background: linear-gradient(155deg, oklch(0.20 0.005 80), oklch(0.08 0.005 80));
  padding: 14px;
  box-shadow:
    0 0 0 2px oklch(0.985 0.005 80 / 0.04),
    0 30px 80px oklch(0.05 0.008 80 / 0.5),
    0 0 60px var(--phone-glow, oklch(0.05 0.008 80 / 0.35));
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform var(--d-slow) var(--ease-out);
  animation: phoneFloat 6s ease-in-out infinite;
}
.phone--chat { --phone-glow: oklch(0.88 0.078 82 / 0.20); }
.phone--calorie { --phone-glow: oklch(0.69 0.19 35 / 0.30); }
.phone--plant { --phone-glow: oklch(0.74 0.17 150 / 0.32); }
@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translateY(0); }
  50%      { transform: rotateY(-8deg) rotateX(2deg) translateY(-14px); }
}
.app-visual:hover .phone { transform: rotateY(-4deg) rotateX(2deg) translateY(-6px); animation-play-state: paused; }

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--screen-bg, #0a0a0c);
  position: relative;
}

/* GO AI Chat phone screen */
.phone--chat .phone__screen { --screen-bg: #050507; }
.phone-chat {
  position: relative;
  height: 100%;
  padding: 56px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #fff;
}
.phone-chat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  margin-bottom: 6px;
}
.phone-chat__model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(204,224,254,0.10);
  border: 1px solid rgba(204,224,254,0.25);
  font-size: 12px;
  font-weight: 600;
  color: #cce0fe;
}
.phone-chat__model-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #cce0fe;
  box-shadow: 0 0 8px #cce0fe;
}
.phone-chat__balance {
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
}

.phone-chat__bubble {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.4;
}
.phone-chat__bubble--user {
  align-self: flex-end;
  background: linear-gradient(120deg, #cce0fe, #fbd696);
  color: #0a0a0c;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.phone-chat__bubble--ai {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 4px;
}
.phone-chat__typing {
  display: inline-flex;
  gap: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.phone-chat__typing span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #cce0fe;
  animation: typing 1.2s infinite ease-in-out;
}
.phone-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.phone-chat__typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.phone-chat__media {
  align-self: flex-start;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-chat__media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.phone-chat__media-grid img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.phone-chat__media small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}
.phone-chat__media small::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(120deg, #cce0fe, #fbd696);
  box-shadow: 0 0 6px rgba(204,224,254,0.7);
}

.phone-chat__input {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.phone-chat__send {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(120deg, #cce0fe, #fbd696);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0c;
}

/* Orbiting AI globes around chat phone */
.orbit-models {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: spin 28s linear infinite;
}
.orbit-model {
  position: absolute;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-model img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(204,224,254,0.35));
  animation: counter 28s linear infinite;
}
@keyframes counter {
  from { transform: rotate(0); }
  to { transform: rotate(-360deg); }
}
.orbit-model--1 { top: 0;     left: 50%;  transform: translate(-50%, -10%); }
.orbit-model--2 { top: 50%;   right: 0;   transform: translate(10%, -50%); }
.orbit-model--3 { bottom: 0;  left: 50%;  transform: translate(-50%, 10%); }
.orbit-model--4 { top: 50%;   left: 0;    transform: translate(-10%, -50%); }
.orbit-model--3 img { filter: drop-shadow(0 8px 24px rgba(251,214,150,0.4)); }
.orbit-model--4 img { filter: drop-shadow(0 8px 24px rgba(99,102,241,0.45)); }

/* ---------- Neurobase visual ---------- */
.neurons-stage {
  position: relative;
  width: min(100%, 480px);
  height: 540px;
  margin: 0 auto;
}
.neurons-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.neurons-lines path {
  fill: none;
  stroke: rgba(99, 102, 241, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.neurons-lines path:nth-child(2) { transition-delay: 0.3s; }
.neurons-lines path:nth-child(3) { transition-delay: 0.5s; }
.neurons-lines path:nth-child(4) { transition-delay: 0.7s; }
.neurons-lines path:nth-child(5) { transition-delay: 0.9s; }
.neurons-stage.is-visible .neurons-lines path { stroke-dashoffset: 0; }

.neuron-card {
  position: absolute;
  background: var(--section-card);
  border: 1px solid var(--section-border);
  border-radius: 18px;
  padding: 14px 16px;
  width: 220px;
  box-shadow: 0 24px 60px rgba(24,24,27,0.10), 0 6px 16px rgba(24,24,27,0.06);
  transition: transform var(--d-med) var(--ease-spring), box-shadow var(--d-med);
  --hover-y: 0px;
  --hover-x: 0px;
  --hover-scale: 1;
}
.neuron-card:hover {
  --hover-y: -4px;
  --hover-x: -2px;
  --hover-scale: 1.02;
  box-shadow: 0 30px 70px rgba(24,24,27,0.14), 0 8px 24px rgba(24,24,27,0.08);
}
.neuron-card__type {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(24,24,27,0.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24,24,27,0.7);
  margin-bottom: 8px;
}
.neuron-card__type--ai {
  background: linear-gradient(110deg, #6366f1, #8b5cf6);
  color: #fff;
}
.neuron-card h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.neuron-card p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(24,24,27,0.6);
  margin-bottom: 8px;
}
.neuron-card sup {
  display: inline-block;
  margin: 0 1px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(99,102,241,0.12);
  color: #6366f1;
  font-size: 9px;
  font-weight: 700;
}
.neuron-card__cite {
  display: block;
  font-size: 10.5px;
  color: rgba(24,24,27,0.45);
  font-weight: 500;
}
.neuron-card--1 { top: 30px; left: 0; transform: translate(var(--hover-x), var(--hover-y)) scale(var(--hover-scale)); }
.neuron-card--2 { top: 200px; right: 0; transform: translate(var(--hover-x), var(--hover-y)) scale(var(--hover-scale)); }
.neuron-card--3 {
  bottom: 30px; left: 50%;
  width: 280px;
  box-shadow: 0 30px 80px rgba(99,102,241,0.18), 0 6px 24px rgba(24,24,27,0.08);
  transform: translateX(calc(-50% + var(--hover-x))) translateY(var(--hover-y)) scale(var(--hover-scale));
}
.neuron-card--3:hover { box-shadow: 0 36px 90px rgba(99,102,241,0.24), 0 8px 28px rgba(24,24,27,0.10); }
.neuron-card--4 { top: 360px; left: 10px; width: 200px; transform: translate(var(--hover-x), var(--hover-y)) scale(var(--hover-scale)); }

@media (max-width: 600px) {
  .neurons-stage { height: 600px; }
  .neuron-card { width: 86%; }
  .neuron-card--1 { left: 0; }
  .neuron-card--2 { right: 0; left: auto; }
  .neuron-card--3 { width: 90%; }
  .neuron-card--4 { width: 70%; }
}

/* ---------- Calorie phone ---------- */
.phone--calorie .phone__screen { --screen-bg: #fffbf2; color: #141414; }
.phone-cal {
  height: 100%;
  padding: 56px 16px 18px;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-cal__head { display: flex; justify-content: space-between; align-items: baseline; }
.phone-cal__head strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.phone-cal__head span { font-size: 12px; color: rgba(20,20,20,0.5); font-weight: 600; }

.phone-cal__ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 4px auto 8px;
}
.phone-cal__ring svg { width: 100%; height: 100%; }
.phone-cal__ring-fill {
  stroke: url(#calGradient);
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
/* fallback if SVG gradient isn't defined; use CSS gradient via stroke */
.phone-cal__ring-fill { stroke: #FF6F43; }
.phone-cal__ring.is-visible .phone-cal__ring-fill { stroke-dashoffset: calc(314.16 - (314.16 * 0.78)); }

.phone-cal__ring-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.phone-cal__ring-center strong {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: oklch(0.69 0.19 35);
}
.phone-cal__ring-center small { font-size: 18px; }
.phone-cal__ring-center span {
  display: block;
  font-size: 11px;
  color: rgba(20,20,20,0.5);
  margin-top: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.phone-cal__macros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.phone-cal__macros > div {
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(20,20,20,0.05);
}
.phone-cal__macros small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20,20,20,0.5);
  font-weight: 600;
  margin: 6px 0 2px;
}
.phone-cal__macros strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bar {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(20,20,20,0.06);
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.bar--p > span { background: #4B7BE5; }
.bar--c > span { background: #F5B946; }
.bar--f > span { background: #FF6F43; }

.phone-cal__feed { display: grid; gap: 8px; }
.phone-cal__food {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(20,20,20,0.05);
  box-shadow: 0 14px 30px rgba(255,111,67,0.10);
}
.phone-cal__food-thumb {
  width: 38px; height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.phone-cal__food strong { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; }
.phone-cal__food small { display: block; font-size: 10.5px; color: rgba(20,20,20,0.5); margin-top: 1px; }
.phone-cal__food-badge {
  margin-left: auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(120deg, #FF6F43, #F5B946);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-cal__food-badge--check { background: linear-gradient(120deg, #42B002, #78C850); font-size: 12px; }

/* ---------- Plant phone ---------- */
.phone--plant .phone__screen { --screen-bg: #0c1e15; color: #fff; }
.phone-plant {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-plant__camera {
  position: relative;
  flex: 1;
  background: #0c1e15;
  overflow: hidden;
}
.phone-plant__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.05) contrast(1.05);
  animation: plantBreathe 7s ease-in-out infinite;
}
@keyframes plantBreathe {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.06); }
}
.phone-plant__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(12,30,21,0.35) 100%),
    linear-gradient(180deg, rgba(12,30,21,0.45) 0%, transparent 16%, transparent 76%, rgba(12,30,21,0.55) 100%);
  pointer-events: none;
}

.phone-plant__viewfinder {
  position: absolute;
  inset: 76px 24px 24px 24px;
  pointer-events: none;
}
.phone-plant__corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: #37C779;
  border-style: solid;
  border-width: 0;
  filter: drop-shadow(0 0 6px rgba(55,199,121,0.8));
}
.phone-plant__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.phone-plant__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.phone-plant__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.phone-plant__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }

.phone-plant__scan {
  position: absolute;
  left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #37C779, transparent);
  box-shadow: 0 0 16px #37C779, 0 0 32px rgba(55,199,121,0.4);
  top: 76px;
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 76px; opacity: 1; }
  50% { top: calc(100% - 26px); opacity: 0.7; }
}

.phone-plant__crosshair {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  pointer-events: none;
}
.phone-plant__crosshair span {
  position: absolute;
  background: rgba(55,199,121,0.85);
  box-shadow: 0 0 6px rgba(55,199,121,0.6);
}
.phone-plant__crosshair span:nth-child(1) { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.phone-plant__crosshair span:nth-child(2) { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }

.phone-plant__result {
  background: oklch(0.18 0.02 155 / 0.94);
  border-top: 1px solid oklch(0.985 0.005 155 / 0.10);
  padding: 14px 16px 18px;
}
.phone-plant__result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.phone-plant__result-head strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.phone-plant__match {
  font-size: 11px;
  font-weight: 700;
  color: #37C779;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(55,199,121,0.12);
  border: 1px solid rgba(55,199,121,0.3);
}
.phone-plant__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.phone-plant__chips span {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}
.phone-plant__result p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}

/* ---------- FOOTER ---------- */
.footer {
  background: oklch(0.07 0.005 80);
  color: var(--fg);
  border-top: 1px solid var(--border);
  padding: 80px var(--pad-x) 40px;
  position: relative;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
.footer__brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
.footer__cols h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a {
  font-size: 14px;
  color: var(--fg);
  transition: color var(--d-fast);
}
.footer__cols a:hover { color: var(--accent-gold); }

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  font-size: 13px;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 24px;
}
.footer__apps { display: inline-flex; gap: 10px; }
.footer__apps img {
  width: 28px; height: 28px;
  border-radius: 7px;
  transition: transform var(--d-fast) var(--ease-spring);
}
.footer__apps img:hover { transform: translateY(-3px) scale(1.08); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-when-visible { opacity: 1; transform: none; }
  .marquee { animation: none; }
  .orbit-ring, .orbit-models { animation: none; }
  .phone { animation: none; transform: none; }
}
