/* ============================================================
   NutriPlan — Marketing site styles
   Palette: saffron #E8A33D · sage #6FA86B · terracotta #C25A4E
   Base: charcoal #141310 / cream #F7F3ED
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #141310;
  --bg-soft: #181713;
  --surface: #1b1a16;
  --surface-2: #23221d;
  --surface-3: #2b2a24;
  --border: #2e2d28;
  --border-soft: rgba(247, 243, 237, 0.08);
  --text: #f7f3ed;
  --text-muted: rgba(247, 243, 237, 0.66);
  --text-faint: rgba(247, 243, 237, 0.4);
  --saffron: #e8a33d;
  --saffron-2: #d98324;
  --sage: #6fa86b;
  --sage-2: #89c084;
  --terra: #c25a4e;
  --grad: linear-gradient(100deg, #f0b455 0%, #e8a33d 45%, #c25a4e 100%);
  --grad-sage: linear-gradient(100deg, #89c084, #6fa86b 60%, #3f5f3d);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  --container: 1180px;
  /* Theme-aware semantic aliases */
  --nav-blur-bg: rgba(20, 19, 16, 0.78);
  --mobile-nav-bg: rgba(20, 19, 16, 0.96);
  --chip-bg: rgba(255, 255, 255, 0.03);
  --field-bg: rgba(255, 255, 255, 0.03);
  --btn-ghost-bg: rgba(255, 255, 255, 0.02);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.05);
  --scrollbar: #332f26;
  --grid-line: rgba(247, 243, 237, 0.035);
  --cta-grad: linear-gradient(180deg, #23221c, #191813);
  --logo-ring: rgba(255, 255, 255, 0.1);
}

/* Light theme — warm daylight palette inspired by the app's light mode */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff8f4;
  --bg-soft: #f6efe6;
  --surface: #ffffff;
  --surface-2: #f4ecdf;
  --surface-3: #eae0d0;
  --border: #e0d3c2;
  --border-soft: rgba(20, 19, 16, 0.1);
  --text: #141310;
  --text-muted: rgba(20, 19, 16, 0.66);
  --text-faint: rgba(20, 19, 16, 0.44);
  --shadow: 0 30px 80px -28px rgba(120, 80, 30, 0.28);
  --nav-blur-bg: rgba(255, 248, 244, 0.82);
  --mobile-nav-bg: rgba(255, 248, 244, 0.97);
  --chip-bg: rgba(20, 19, 16, 0.045);
  --field-bg: rgba(20, 19, 16, 0.04);
  --btn-ghost-bg: rgba(20, 19, 16, 0.035);
  --btn-ghost-hover-bg: rgba(20, 19, 16, 0.07);
  --scrollbar: #d8c9b4;
  --grid-line: rgba(20, 19, 16, 0.04);
  --cta-grad: linear-gradient(180deg, #fff1dd, #fbe6c8);
  --logo-ring: rgba(20, 19, 16, 0.12);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(232, 163, 61, 0.3);
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar);
  border-radius: 99px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--saffron-2);
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.loader-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  color: var(--saffron);
  box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.25);
  animation: loaderMark 1.6s var(--ease) infinite;
}
.loader-mark .brand-logo {
  width: 100%;
  height: 100%;
}
.loader-word {
  display: flex;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
}
.loader-word span {
  opacity: 0;
  transform: translateY(14px);
  animation: loaderWord 0.5s var(--ease) forwards;
}
.loader-word span:nth-child(1) { animation-delay: 0.05s; }
.loader-word span:nth-child(2) { animation-delay: 0.1s; }
.loader-word span:nth-child(3) { animation-delay: 0.15s; }
.loader-word span:nth-child(4) { animation-delay: 0.2s; }
.loader-word span:nth-child(5) { animation-delay: 0.25s; }
.loader-word span:nth-child(6) { animation-delay: 0.3s; }
.loader-word span:nth-child(7) { animation-delay: 0.35s; }
.loader-word span:nth-child(8) { animation-delay: 0.4s; }
.loader-word span:nth-child(9) { animation-delay: 0.45s; }
.loader-bar {
  width: 180px;
  height: 3px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: var(--grad);
  animation: loaderBar 1.1s var(--ease) infinite;
}
@keyframes loaderMark {
  0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.35); transform: scale(1); }
  70% { box-shadow: 0 0 0 18px rgba(232, 163, 61, 0); transform: scale(1.04); }
  100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); transform: scale(1); }
}
@keyframes loaderWord {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderBar {
  from { transform: translateX(-100%); }
  to { transform: translateX(350%); }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  padding-top: 0;
  background: var(--nav-blur-bg);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--logo-ring);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}
.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.06);
}
.brand-mark svg {
  width: 19px;
  height: 19px;
}
.brand-name span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--grad);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme toggle */
.themetoggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  transition: transform 0.35s var(--ease), border-color 0.3s, background-color 0.5s var(--ease);
}
.themetoggle:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 163, 61, 0.55);
}
.themetoggle:active {
  transform: scale(0.96);
}
.themetoggle:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
.themetoggle svg {
  position: absolute;
  width: 19px;
  height: 19px;
  transition: transform 0.55s var(--ease), opacity 0.3s;
}
html[data-theme="dark"] #themeToggle .ico-sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}
html[data-theme="dark"] #themeToggle .ico-moon {
  opacity: 0;
  transform: translateY(12px) rotate(-110deg);
}
html[data-theme="light"] #themeToggle .ico-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}
html[data-theme="light"] #themeToggle .ico-sun {
  opacity: 0;
  transform: translateY(-12px) rotate(110deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 24px;
  background: var(--mobile-nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.show {
  display: flex;
}
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-menu a.btn {
  margin-top: 8px;
  text-align: center;
}
.mobile-menu a:hover {
  background: var(--surface);
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 11px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}
.btn-primary {
  background: var(--grad);
  color: #16130e;
  box-shadow: 0 14px 34px -12px rgba(232, 163, 61, 0.55);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 44px -14px rgba(232, 163, 61, 0.65);
}
.btn-primary:hover::before {
  transform: translateX(120%);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--btn-ghost-bg);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--border-soft);
  background: var(--btn-ghost-hover-bg);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
.btn:active {
  transform: translateY(-1px) scale(0.99);
}/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(232, 163, 61, 0.5), transparent 65%);
  animation: drift 22s ease-in-out infinite;
}
.orb-2 {
  width: 480px;
  height: 480px;
  top: 10%;
  right: -200px;
  background: radial-gradient(circle at 60% 40%, rgba(111, 168, 107, 0.4), transparent 65%);
  animation: drift 26s ease-in-out infinite reverse;
}
.orb-3 {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: 30%;
  background: radial-gradient(circle at 50% 50%, rgba(194, 90, 78, 0.35), transparent 65%);
  animation: drift 30s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-40px, 30px) scale(0.95); }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-2);
  box-shadow: 0 0 0 0 rgba(111, 168, 107, 0.5);
  animation: badgePulse 2.4s var(--ease) infinite;
}
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 168, 107, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(111, 168, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 168, 107, 0); }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > .word-span,
.hero-title .line::before {
  display: inline-block;
}
.hero-title .line > .word-ar {
  display: inline-block;
  will-change: transform;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-sage {
  background: var(--grad-sage);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(transparent 68%, rgba(232, 163, 61, 0.22) 0);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat {
  min-width: 128px;
  padding: 18px 20px;
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 163, 61, 0.4);
  background: rgba(232, 163, 61, 0.05);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--saffron);
}
.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 163, 61, 0.22), rgba(232, 163, 61, 0) 65%);
  filter: blur(10px);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
.phone {
  position: relative;
  will-change: transform;
}
.phone-frame {
  position: relative;
  width: 320px;
  height: 650px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #303030, #111 30%, #0c0b09);
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0c0b09;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(232, 163, 61, 0.16), transparent 55%),
    linear-gradient(180deg, #1d1c18, #161511 70%);
  padding: 40px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.greet-small {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.greet-big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: #2b1a06;
  background: var(--grad);
  box-shadow: 0 8px 20px -8px rgba(232, 163, 61, 0.7);
}

.macro-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ring-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  flex: none;
}
.ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--saffron) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
  position: relative;
  transition: background 0.5s;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #1b1a16;
}
.ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.ring-kcal {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ring-cap {
  font-size: 9.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.macro-cols {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.macro-col {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
}
.macro-col .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot.p { background: var(--terra); }
.dot.c { background: var(--saffron); }
.dot.f { background: var(--sage); }
.macro-col b {
  font-family: var(--font-head);
  font-size: 14px;
}
.macro-col span {
  font-size: 10.5px;
  color: var(--text-faint);
}

.meals {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.meal {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.meal:nth-child(1) { animation: mealIn 0.7s var(--ease) 0.9s both; }
.meal:nth-child(2) { animation: mealIn 0.7s var(--ease) 1.08s both; }
.meal:nth-child(3) { animation: mealIn 0.7s var(--ease) 1.26s both; }
.meal:hover {
  transform: translateX(4px);
  border-color: var(--mcol);
}
.meal-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 19px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--mcol) 16%, transparent);
}
.meal-info {
  min-width: 0;
  flex: 1;
}
.meal-info b {
  display: block;
  font-size: 12.8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meal-info span {
  font-size: 10.5px;
  color: var(--text-faint);
}
.meal-kcal {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--mcol);
}
@keyframes mealIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.scan-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border-radius: 16px;
  background: var(--grad);
  color: #16130e;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(232, 163, 61, 0.6);
}
.scan-icon {
  display: grid;
  place-items: center;
}
.scan-icon svg {
  width: 17px;
  height: 17px;
}
.scan-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
}
.scan-btn.anim .scan-ripple {
  animation: ripple 1s var(--ease);
}
@keyframes ripple {
  0% { opacity: 0.7; transform: scale(0); }
  100% { opacity: 0; transform: scale(26); }
}
.home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 5px;
  border-radius: 99px;
  background: rgba(247, 243, 237, 0.35);
  z-index: 3;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(29, 28, 24, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 4;
  will-change: transform;
}
.float-h {
  top: 120px;
  left: -70px;
  width: 200px;
}
.float-s {
  bottom: 150px;
  right: -80px;
  width: 218px;
}
.float-chip {
  position: absolute;
  bottom: 60px;
  left: -30px;
  padding: 10px 16px;
  border-radius: 99px;
  background: linear-gradient(120deg, rgba(111, 168, 107, 0.2), rgba(111, 168, 107, 0.08));
  border: 1px solid rgba(137, 192, 132, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--sage-2);
  z-index: 4;
  will-change: transform;
}
.float-chip b {
  color: var(--text);
}
.fc-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
}
.fc-icon svg {
  width: 19px;
  height: 19px;
}
.fc-info b {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
.fc-info span {
  font-size: 11px;
  color: var(--text-faint);
}
.fc-minibar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.fc-minibar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 99px;
  background: var(--grad-sage);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  z-index: 5;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--saffron);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.march-set {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.march-set span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.march-set i {
  font-style: normal;
  color: var(--saffron);
  font-size: 13px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 120px 0;
}
.section-alt {
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(111, 168, 107, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 40%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-head {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}
.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(232, 163, 61, 0.3);
  background: rgba(232, 163, 61, 0.07);
  color: var(--saffron);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-sage {
  border-color: rgba(111, 168, 107, 0.3);
  background: rgba(111, 168, 107, 0.07);
  color: var(--sage-2);
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
  will-change: transform;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 100% 0%, color-mix(in srgb, var(--c, var(--saffron)) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 243, 237, 0.16);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65);
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-lg {
  grid-column: span 2;
}
.bento-wide {
  grid-column: 1 / -1;
}
.bc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bc-tag {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(232, 163, 61, 0.12);
  border: 1px solid rgba(232, 163, 61, 0.3);
  color: var(--saffron);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.bc-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
  color: var(--c);
  transition: transform 0.45s var(--ease);
}
.bento-card:hover .bc-icon {
  transform: rotate(-6deg) scale(1.08);
}
.bc-icon svg {
  width: 25px;
  height: 25px;
}
.bento-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.bento-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.bc-demo {
  margin-top: auto;
}
.scan-demo {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border-radius: 18px;
  background: var(--field-bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.scan-demo-img {
  position: relative;
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--saffron);
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(232, 163, 61, 0.35), transparent 60%),
    linear-gradient(160deg, #2b2a24, #1b1a16);
  border: 1px solid var(--border);
  overflow: hidden;
}
.scan-sweep {
  position: absolute;
  top: 0;
  left: -30%;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: scanLine 3.2s var(--ease-in-out) infinite;
}
@keyframes scanLine {
  0% { left: -30%; }
  60%, 100% { left: 130%; }
}
.scan-demo-res {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
}
.scan-demo-res b {
  font-family: var(--font-head);
  font-size: 15.5px;
}
.scan-demo-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scan-demo-bars span {
  position: relative;
  display: block;
  padding-left: 48px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c);
}
.scan-demo-bars span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 6px;
  border-radius: 99px;
  background: var(--surface-3);
}
.scan-demo-bars span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--p);
  height: 6px;
  border-radius: 99px;
  background: var(--c);
  animation: growBar 1.2s var(--ease) both;
}
@keyframes growBar {
  from { width: 0; }
}
.mini-ring {
  margin-top: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--sage) 0 40%, var(--saffron) 40% 72%, var(--terra) 72% 100%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
  align-self: flex-start;
  animation: miniRingSpin 14s linear infinite;
}
@keyframes miniRingSpin {
  to { transform: rotate(360deg); }
}
.bc-wide-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.bc-wide-text {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bc-wide-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 34px;
  border-radius: 22px;
  background: var(--field-bg);
  border: 1px solid var(--border);
}
.device-row .dv {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  animation: floatY 4s ease-in-out infinite;
}
.device-row .dv:nth-child(2) { animation-delay: 0.4s; }
.device-row .dv:nth-child(3) { animation-delay: 0.8s; }
.device-row b {
  font-family: var(--font-head);
  color: var(--sage-2);
  font-size: 15px;
  letter-spacing: 0.04em;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pill {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--field-bg);
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.steps::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 16%;
  height: 2px;
  width: 0;
  background: var(--grad);
  z-index: 1;
}
#steps.progress-50::after { width: 34%; }
#steps.progress-100::after { width: 68%; }
.step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 18px;
}
.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  font-size: 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 6px var(--bg);
  transition: transform 0.4s var(--ease), border-color 0.3s;
  user-select: none;
}
.step:hover .step-icon {
  transform: translateY(-4px) rotate(-5deg);
  border-color: rgba(232, 163, 61, 0.5);
}
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--saffron);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Stats band ---------- */
.statsband {
  padding: 70px 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(232, 163, 61, 0.08), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.band-stat {
  text-align: center;
  padding: 24px 12px;
}
.band-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.band-label {
  font-size: 13.5px;
  color: var(--text-faint);
}/* ---------- Why / compare ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.compare-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 0% 0%, rgba(232, 163, 61, 0.1), transparent 60%);
  pointer-events: none;
}
.compare-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 600;
}
.cmp-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.cmp-logo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
}
.compare-head .vs {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
}
.compare-head .muted {
  color: var(--text-faint);
  font-size: 15px;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 40px 40px;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.compare-row > span:first-child {
  color: var(--text-muted);
}
.yes {
  color: var(--sage-2);
  font-weight: 700;
  text-align: center;
}
.no {
  color: var(--text-faint);
  text-align: center;
  font-weight: 700;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.why-item:hover {
  transform: translateX(6px);
  border-color: rgba(232, 163, 61, 0.4);
}
.why-num {
  flex: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--saffron);
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(232, 163, 61, 0.1);
  height: fit-content;
}
.why-item h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 5px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.track {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.track-b {
  transform: translateY(36px);
}
.tcard {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
  will-change: transform;
}
.tcard:hover {
  transform: translateY(-5px);
  border-color: rgba(137, 192, 132, 0.3);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}
.tstars {
  color: var(--saffron);
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 14px;
}
.tcard blockquote {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
}
.tcard figcaption b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
}
.tcard figcaption span {
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open {
  border-color: rgba(232, 163, 61, 0.4);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.faq-chev {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-chev::before,
.faq-chev::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-muted);
  transition: background 0.3s;
}
.faq-chev::after {
  transform: rotate(90deg);
}
.faq-item.open .faq-chev {
  transform: rotate(45deg);
  background: rgba(232, 163, 61, 0.12);
  border-color: rgba(232, 163, 61, 0.4);
}
.faq-item.open .faq-chev::before,
.faq-item.open .faq-chev::after {
  background: var(--saffron);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 90px 40px;
  text-align: center;
  border-radius: 36px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(232, 163, 61, 0.18), transparent 60%),
    var(--cta-grad);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-panel h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.cta-panel p {
  max-width: 460px;
  margin: 0 auto 34px;
  font-size: 16px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}
.cta-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  background: rgba(232, 163, 61, 0.1);
  color: var(--saffron);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 15px;
  background: #0f0e0c;
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.store-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 163, 61, 0.5);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}
.store-btn svg {
  width: 24px;
  height: 24px;
  color: var(--saffron);
}
.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
}
.store-btn small {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-note {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
  position: relative;
  z-index: 2;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
}
.cta-orb-1 {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  background: rgba(194, 90, 78, 0.35);
  animation: drift 20s ease-in-out infinite;
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -80px;
  background: rgba(111, 168, 107, 0.3);
  animation: drift 24s ease-in-out infinite reverse;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-links a,
.footer-legal a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.3s, background 0.3s;
}
.footer-links a:hover,
.footer-legal a:hover {
  color: var(--text);
  background: var(--surface);
}
.footer-legal {
  display: flex;
  gap: 6px;
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- Reveal helpers (used pre-JS / no-JS) ---------- */
.reveal,
.reveal-scale {
  opacity: 0;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}
[data-reveal="left"] {
  transform: translateX(-36px);
}
[data-reveal="right"] {
  transform: translateX(36px);
}
[data-reveal] .word-ar {
  opacity: 0;
  transform: translateY(16px);
  display: inline-block;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  .loader,
  .reveal,
  .reveal-scale,
  .word-ar,
  [data-reveal] .word-ar {
    opacity: 1 !important;
    transform: none !important;
  }
  .loader {
    display: none;
  }
}/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-cta,
  .hero-stats {
    justify-content: center;
  }
  .hero {
    padding-top: 130px;
  }
  .float-h {
    left: -12px;
  }
  .float-s {
    right: -12px;
  }
  .float-chip {
    left: 6px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tracks {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .track-b {
    transform: none;
  }
  .bc-wide-row {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 84px 0;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-lg {
    grid-column: 1 / -1;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .steps::before,
  .steps::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 18px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: clamp(38px, 12vw, 52px);
  }
  .hero-stats {
    gap: 10px;
  }
  .stat {
    min-width: calc(50% - 5px);
    padding: 14px 16px;
  }
  .phone-frame {
    width: 300px;
    height: 610px;
  }
  .float-h {
    width: 170px;
    top: 100px;
  }
  .float-s {
    width: 188px;
    bottom: 130px;
  }
  .phone-glow {
    width: 320px;
    height: 320px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-panel {
    padding: 60px 22px;
    border-radius: 26px;
  }
  .band-num {
    font-size: 34px;
  }
  .scroll-cue {
    display: none;
  }
}