/* ===================================================================
   petfamily — Cat Litter Deodorizer
   Design system — "Eco-Fresh" blend
   Natural emerald + warm cream (from the brand site) meets the
   animated, vibrant treatment (blobs, demos, motion).
   =================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand colours */
  --emerald:       #059669;
  --emerald-600:   #059669;
  --emerald-700:   #047857;
  --emerald-800:   #065f46;
  --emerald-900:   #064e3b;   /* dark sections + headings */
  --emerald-50:    #ecfdf5;
  --emerald-100:   #d1fae5;

  --yellow:        #FFD60A;
  --yellow-deep:   #EAB308;
  --yellow-soft:   #FEF3C7;

  --blue:          #16A8E8;   /* "granule"/science accent */
  --blue-deep:     #0B7CC0;
  --sky-soft:      #E0F2FE;

  --coral:         #FB7185;

  /* Cream / neutral system */
  --cream:         #F4F7EB;   /* main background */
  --cream-2:       #EBF2D9;   /* hero wash */
  --cream-card:    #F8FAEB;   /* tinted cards */
  --cream-foot:    #EBF0DF;   /* footer */
  --white:         #ffffff;

  --ink:           #0F172A;   /* slate-900 */
  --navy:          #064e3b;   /* alias kept = emerald-900 for dark UI */
  --text:          #334155;   /* slate-700 */
  --muted:         #64748B;   /* slate-500 */
  --green:         #059669;   /* alias */

  /* Functional */
  --bg:            var(--cream);
  --bg-alt:        var(--white);
  --card:          #ffffff;
  --line:          rgba(6, 78, 59, 0.12);
  --shadow-sm:     0 2px 10px rgba(6, 78, 59, 0.06);
  --shadow-md:     0 16px 40px -20px rgba(6, 78, 59, 0.32);
  --shadow-lg:     0 40px 80px -30px rgba(4, 120, 87, 0.40);
  --shadow-glow:   0 20px 55px -16px rgba(255, 214, 10, 0.6);

  /* Type */
  --font-display: "Fredoka", "Outfit", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius:    24px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------  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-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img[width] { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--emerald-900);
}
::selection { background: #FEF08A; color: var(--emerald-900); }

/* ----------  Helpers  ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 920px; }
.section { padding: clamp(60px, 8.5vw, 120px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--emerald-100);
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(5,150,105,.18);
}
.eyebrow.y { color: var(--yellow-deep); background: var(--yellow-soft); border-color: rgba(234,179,8,.25); }

.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 18px 0 0; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

.text-grad { background: linear-gradient(100deg, var(--emerald) 10%, #34d399 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad-warm { background: linear-gradient(100deg, var(--coral), var(--yellow-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-yellow { color: var(--yellow-deep); }

/* ----------  Buttons  ---------- */
.btn {
  --btn-bg: var(--emerald-900); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em;
  padding: 16px 30px; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); position: relative;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap; will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-deep) 100%); --btn-fg: var(--emerald-900); box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 26px 70px -15px rgba(234,179,8,.7); }
.btn--emerald { --btn-bg: linear-gradient(135deg, #10b981 0%, var(--emerald-700) 100%); --btn-fg: #fff; box-shadow: 0 20px 50px -18px rgba(4,120,87,.7); }
.btn--blue { --btn-bg: linear-gradient(135deg, #38bdf8 0%, var(--blue) 100%); --btn-fg: #fff; box-shadow: 0 20px 50px -18px rgba(11,124,192,.55); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--emerald-800); border: 2px solid rgba(6,78,59,.18); }
.btn--ghost:hover { border-color: var(--emerald-700); background: var(--emerald-700); color: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--emerald-900); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }
.btn--lg { padding: 19px 38px; font-size: 1.1rem; }

/* ----------  Pills  ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 16px 9px 12px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm); color: var(--text);
}
.pill .dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); flex: none; }
.pill .dot.y { background: var(--yellow-soft); color: var(--yellow-deep); }
.pill .dot.b { background: var(--sky-soft); color: var(--blue-deep); }

/* ----------  Announcement bar  ---------- */
.announce {
  background: var(--emerald-700); color: #fff;
  text-align: center; font-size: .85rem; font-weight: 600;
  padding: 9px 16px; position: relative; z-index: 101;
}
.announce b { color: #FDE68A; }
.announce span { opacity: .55; margin: 0 10px; }

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.nav.scrolled { padding: 8px 0; background: rgba(244,247,235,.85); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 6px 26px -18px rgba(6,78,59,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; }
.brand__mark { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; color: var(--emerald-900); box-shadow: 0 6px 14px -4px rgba(234,179,8,.6); transition: transform .5s var(--ease-bounce), background .3s; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); background: var(--yellow-deep); }
.brand b { font-weight: 600; }
.brand .dot { color: var(--emerald); }

.nav__links { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.6); border: 1px solid var(--line); padding: 6px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.nav__links a { padding: 9px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: .94rem; color: var(--text); transition: background .25s, color .25s; text-transform: capitalize; }
.nav__links a:hover { background: #fff; color: var(--emerald-700); box-shadow: var(--shadow-sm); }
.nav__links a.active { background: var(--emerald-700); color: #fff; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--emerald-900); transition: transform .3s var(--ease-bounce); }
.cart-link:hover { transform: translateY(-2px); }
.cart-link .badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; border-radius: var(--radius-pill); border: 2px solid var(--cream); }

.nav__burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--emerald-800); position: relative; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%,-50%); transition: transform .35s var(--ease), opacity .2s; }
.nav__burger span::before { transform: translate(-50%,-8px); }
.nav__burger span::after  { transform: translate(-50%,6px); }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translate(-50%,-50%) rotate(45deg); }
body.menu-open .nav__burger span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding: clamp(50px,7vw,90px) 0 clamp(60px,8vw,110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(58% 50% at 80% 6%, rgba(255,214,10,.30), transparent 60%), radial-gradient(55% 55% at 6% 90%, rgba(16,185,129,.22), transparent 62%), linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 70%); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 44px; }
.hero__eyebrow { margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); letter-spacing: -0.035em; color: var(--ink); }
.hero__sub { margin-top: 24px; font-size: clamp(1.05rem,1.5vw,1.22rem); color: var(--text); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__rating { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.stars { display: inline-flex; gap: 2px; color: #F59E0B; letter-spacing: 2px; }
.hero__rating .who { font-size: .92rem; color: var(--muted); font-weight: 600; }
.hero__rating .who b { color: var(--ink); }
.avatars { display: inline-flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px; display: grid; place-items: center; font-size: 1.1rem; background: var(--emerald-100); }
.avatars span:first-child { margin-left: 0; }

.hero__visual { position: relative; }
.hero__blob { position: absolute; inset: -6% -4% -6% -2%; background: linear-gradient(150deg, var(--yellow) 0%, #34d399 55%, var(--emerald-600) 115%); border-radius: 42% 58% 56% 44% / 52% 44% 56% 48%; animation: blobMorph 15s ease-in-out infinite; box-shadow: var(--shadow-lg); z-index: 0; }
@keyframes blobMorph { 0%,100% { border-radius: 42% 58% 56% 44% / 52% 44% 56% 48%; } 33% { border-radius: 58% 42% 38% 62% / 46% 58% 42% 54%; } 66% { border-radius: 48% 52% 62% 38% / 60% 42% 58% 40%; } }
.hero__frame { position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; transform: rotate(-1.5deg); }
.hero__frame img { width: 100%; display: block; }

/* floating chips */
.float-chip { position: absolute; background: #fff; border-radius: 18px; padding: 13px 17px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem; z-index: 5; animation: floaty 5s ease-in-out infinite; color: var(--ink); }
.float-chip small { display: block; color: var(--muted); font-weight: 600; font-size: .74rem; }
.float-chip .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-chip.c1 { top: 4%; left: -7%; animation-delay: -1s; }
.float-chip.c2 { top: 46%; right: -8%; animation-delay: -3s; }
.float-chip.c3 { bottom: 5%; left: -3%; animation-delay: -2s; }
.float-chip.c1 .ic { background: linear-gradient(135deg,#34d399,var(--emerald-700)); }
.float-chip.c2 .ic { background: linear-gradient(135deg,#38bdf8,var(--blue)); }
.float-chip.c3 .ic { background: linear-gradient(135deg,var(--yellow),var(--yellow-deep)); color: var(--emerald-900); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.sparkle { position: absolute; z-index: 4; color: #fff; opacity: .9; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { transform: scale(.6); opacity: .3; } 50% { transform: scale(1.1); opacity: 1; } }

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee { background: var(--emerald-900); color: #fff; padding: 18px 0; overflow: hidden; position: relative; transform: rotate(-1.3deg) scale(1.04); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem,1.9vw,1.55rem); white-space: nowrap; }
.marquee__track span b { color: var(--yellow); }
.marquee__track .star { color: #34d399; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================================================================
   LITTER-LIFE BAR CHART
   =================================================================== */
.lifechart { background: #fff; }
.lifechart__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lifechart__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.lifechart__frame img { width: 100%; }
.bars { margin-top: 30px; display: grid; gap: 18px; }
.bar-row .bar-label { font-weight: 700; font-size: .95rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.bar-row .bar-label .muted { color: var(--muted); font-weight: 600; }
.bar-track { height: 46px; background: var(--cream); border-radius: var(--radius-pill); overflow: hidden; position: relative; }
.bar-fill { height: 100%; border-radius: var(--radius-pill); width: 0; transition: width 1.4s var(--ease); display: flex; align-items: center; padding-left: 20px; color: #fff; font-weight: 800; }
.bar-fill.muted-fill { background: #cbd5e1; color: #475569; }
.bar-fill.emerald-fill { background: linear-gradient(90deg, var(--emerald-600), #34d399); }
.bar-row.in .bar-fill { width: var(--w); }

/* ===================================================================
   COMPATIBILITY CALLOUT
   =================================================================== */
.callout { background: #fff; border: 2px solid var(--yellow); border-radius: var(--radius); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-sm); max-width: 920px; margin: 0 auto; }
.callout__l { display: flex; align-items: center; gap: 16px; }
.callout__ic { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--yellow-soft); color: var(--yellow-deep); display: grid; place-items: center; }
.callout h3 { font-size: 1.2rem; }
.callout p { color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* ===================================================================
   ODOR DEMO / SOLUTION
   =================================================================== */
.solution { background: var(--cream-card); }
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo__stage { position: relative; aspect-ratio: 1.05 / 1; background: linear-gradient(165deg,#fff,#eefcf4); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid #fff; }
.demo__litter { position: absolute; inset: auto 0 0 0; height: 34%; background: radial-gradient(circle at 20% 30%, #e9c98b 0 6px, transparent 7px), radial-gradient(circle at 60% 60%, #d9b46e 0 5px, transparent 6px), radial-gradient(circle at 80% 20%, #e9c98b 0 5px, transparent 6px), linear-gradient(180deg,#f0dcae,#d8b877); background-size: 40px 40px,50px 50px,35px 35px,100% 100%; }
.demo__cat { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); width: 46%; z-index: 2; }
.molecule { position: absolute; font-size: 1.45rem; font-weight: 800; font-family: var(--font-display); padding: 6px 10px; border-radius: var(--radius-pill); color: #fff; background: var(--coral); box-shadow: 0 8px 20px -8px rgba(251,113,133,.8); transition: all .6s var(--ease); }
.demo__toggle { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; background: rgba(6,78,59,.08); border-radius: var(--radius-pill); padding: 5px; z-index: 5; backdrop-filter: blur(6px); }
.demo__toggle button { padding: 8px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: .86rem; color: var(--emerald-900); transition: .3s; }
.demo__toggle button.on { background: #fff; box-shadow: var(--shadow-sm); }
.demo__badge { position: absolute; bottom: 16px; right: 16px; z-index: 5; background: #fff; border-radius: var(--radius); padding: 10px 16px; font-weight: 700; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px; color: var(--emerald-800); transition: opacity .5s, transform .5s; }

.demo__copy h2 { font-size: clamp(2rem,4.2vw,3.1rem); }
.demo__copy p { color: var(--text); margin-top: 18px; font-size: 1.06rem; }
.demo__points { margin-top: 26px; display: grid; gap: 14px; }
.demo__points li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.demo__points .check { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; }

/* equation chips */
.equation { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.eq-chip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; text-align: center; box-shadow: var(--shadow-sm); flex: 1; min-width: 120px; }
.eq-chip .t { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.eq-chip.bad .t { color: var(--coral); }
.eq-chip.good { background: var(--emerald-50); border-color: var(--emerald-100); }
.eq-chip.good .t { color: var(--emerald-700); }
.eq-chip span { color: var(--muted); font-size: .86rem; }
.equation .arrow-ic { color: var(--emerald); flex: none; }

/* ===================================================================
   STATS
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 54px; }
.stat { background: #fff; border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem,3.8vw,2.9rem); line-height: 1; color: var(--emerald-700); }
.stat .num .suf { color: var(--yellow-deep); }
.stat .lbl { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ===================================================================
   FEATURES
   =================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); isolation: isolate; }
.feature::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow, rgba(5,150,105,.15)), transparent 70%); z-index: -1; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature:hover::after { transform: scale(1.4); }
.feature__ic { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: #fff; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.3rem; }
.feature p { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.feature__tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--emerald-700); background: var(--emerald-100); padding: 5px 10px; border-radius: var(--radius-pill); }

.bg-emerald { background: linear-gradient(135deg,#34d399,var(--emerald-700)); }
.bg-emerald-d{ background: linear-gradient(135deg,#10b981,var(--emerald-900)); }
.bg-blue  { background: linear-gradient(135deg,#38bdf8,var(--blue)); }
.bg-yellow{ background: linear-gradient(135deg,var(--yellow),var(--yellow-deep)); color: var(--emerald-900) !important; }
.bg-coral { background: linear-gradient(135deg,#fda4af,var(--coral)); }
.bg-leaf  { background: linear-gradient(135deg,#a3e635,#65a30d); }

/* ===================================================================
   AMMONIA RISK CARDS
   =================================================================== */
.risk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.risk { position: relative; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; overflow: hidden; }
.risk__orb { position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; opacity: .5; }
.risk.children .risk__orb { background: var(--emerald-100); }
.risk.adults .risk__orb { background: var(--yellow-soft); }
.risk__head { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; margin-bottom: 22px; }
.risk__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.risk.children .risk__ic { background: var(--emerald-600); }
.risk.adults .risk__ic { background: var(--yellow); color: var(--emerald-900); }
.risk h3 { font-size: 1.5rem; }
.risk__thr { color: var(--emerald-700); font-weight: 800; font-size: .85rem; }
.risk__body { position: relative; z-index: 1; display: grid; gap: 16px; }
.risk__body b { display: block; color: var(--ink); margin-bottom: 3px; }
.risk__body p { color: var(--muted); font-size: .94rem; }

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.how { background: var(--emerald-900); color: #fff; overflow: hidden; }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: rgba(255,255,255,.65); }
.how .eyebrow { background: rgba(255,255,255,.1); color: #FDE68A; border-color: rgba(255,255,255,.12); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 34px 30px; position: relative; transition: transform .4s var(--ease), background .4s; }
.step:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 3.2rem; line-height: 1; background: linear-gradient(160deg,var(--yellow),#34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__ic { width: 54px; height: 54px; margin: 16px 0 20px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--yellow); }
.step h3 { color: #fff; font-size: 1.3rem; }
.step p { color: rgba(255,255,255,.65); margin-top: 10px; font-size: .97rem; }
.how__img { margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.how__img img { width: 100%; }

/* ===================================================================
   PRODUCTS PREVIEW
   =================================================================== */
.products-preview { background: var(--cream); }
.prod-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.prod-card { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod-card__media { position: relative; display: grid; place-items: center; padding: 22px; background: radial-gradient(80% 80% at 50% 25%, var(--cream-card), #fff); }
.prod-card__media img { width: 100%; border-radius: var(--radius-sm); }
.prod-card__body { padding: 30px 30px 30px 8px; display: flex; flex-direction: column; }
.prod-card__body h3 { font-size: 1.5rem; margin-top: 8px; }
.prod-card__body .price { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--emerald-700); margin-top: auto; }
.prod-card__body .price s { color: var(--muted); font-size: 1rem; font-weight: 500; margin-left: 8px; }
.prod-card .tag-mini { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); }
.prod-card.blue .tag-mini { color: var(--blue-deep); }
.prod-card ul { margin: 14px 0 20px; display: grid; gap: 8px; }
.prod-card ul li { font-size: .9rem; color: var(--muted); font-weight: 600; display: flex; gap: 8px; }
.prod-card ul li::before { content: "✓"; color: var(--emerald); font-weight: 800; }

/* ===================================================================
   COMPARISON TABLE
   =================================================================== */
.compare { background: var(--cream-card); }
.compare__wrap { max-width: 880px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-md); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 22px; text-align: center; }
.compare thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f8fafc; border-bottom: 1px solid var(--line); }
.compare thead th.us { background: var(--emerald-600); color: #fff; font-size: 1.05rem; font-family: var(--font-display); letter-spacing: -0.01em; text-transform: none; }
.compare tbody td { border-bottom: 1px solid var(--emerald-50); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td.feat { text-align: left; font-weight: 700; color: var(--ink); }
.compare td.us { background: rgba(16,185,129,.06); color: var(--emerald-700); font-weight: 700; }
.compare .yes { width: 30px; height: 30px; border-radius: 50%; background: var(--emerald); color: #fff; display: inline-grid; place-items: center; }
.compare .no { color: var(--muted); font-weight: 600; }
.compare .chip { background: var(--emerald-100); color: var(--emerald-700); font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: var(--radius-pill); }

/* ===================================================================
   SCIENCE (orbit)
   =================================================================== */
.science__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.atom-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.atom-core { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#d1fae5,var(--emerald-500,#10b981) 55%,var(--emerald-700)); box-shadow: 0 0 60px rgba(16,185,129,.5), inset 0 -10px 20px rgba(4,120,87,.5); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; z-index: 2; animation: pulse 4s ease-in-out infinite; text-align: center; line-height: 1; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.orbit { position: absolute; border: 2px dashed rgba(5,150,105,.35); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit.o1 { width: 56%; height: 56%; }
.orbit.o2 { width: 78%; height: 78%; animation-duration: 26s; animation-direction: reverse; border-color: rgba(22,168,232,.4); }
.orbit.o3 { width: 100%; height: 100%; animation-duration: 36s; border-color: rgba(234,179,8,.4); }
.orbit .e { position: absolute; top: -11px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 800; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.science__copy h2 { font-size: clamp(2rem,4.2vw,3.1rem); }
.science__copy p { color: var(--text); margin-top: 18px; }
.tech-list { margin-top: 26px; display: grid; gap: 14px; }
.tech-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.tech-list .n { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--emerald-900); color: var(--yellow); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.tech-list b { display: block; color: var(--ink); }
.tech-list span { color: var(--muted); font-size: .93rem; }

/* full-width image band */
.imgband { padding: 0; }
.imgband__inner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.imgband__inner img { width: 100%; display: block; }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.reviews { background: var(--cream); overflow: hidden; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.review:hover { transform: translateY(-6px); }
.review.feat { background: var(--emerald-700); color: #fff; }
.review.feat p { color: #fff; }
.review.feat .review__who b { color: #fff; }
.review .stars { margin-bottom: 16px; }
.review p { font-size: 1.04rem; color: var(--ink); font-weight: 500; font-style: italic; }
.review__who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; }
.review__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; background: var(--emerald-100); flex: none; }
.review.feat .review__ava { background: rgba(255,255,255,.16); }
.review__who b { display: block; color: var(--ink); }
.review__who span { color: var(--muted); font-size: .85rem; }
.review.feat .review__who span { color: rgba(255,255,255,.7); }
.review .quote-ic { color: var(--emerald-300,#6ee7b7); opacity: .5; margin-bottom: 10px; }

/* span helpers */
.col-span-2 { grid-column: span 2; }

/* ===================================================================
   FAQ
   =================================================================== */
.faq__wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(5,150,105,.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--emerald-900); text-align: left; }
.faq-q .ic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); display: grid; place-items: center; transition: transform .4s var(--ease-bounce), background .3s; }
.faq-item.open .faq-q .ic { transform: rotate(135deg); background: var(--yellow); color: var(--emerald-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a__inner { padding: 0 26px 24px; color: var(--muted); }

/* ===================================================================
   BRAND MISSION
   =================================================================== */
.mission { background: var(--emerald-900); color: #fff; text-align: center; position: relative; overflow: hidden; }
.mission::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 22px 22px; opacity: .07; }
.mission__ic { width: 64px; height: 64px; border-radius: 20px; background: var(--yellow); color: var(--emerald-900); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 12px 30px -8px rgba(234,179,8,.6); position: relative; }
.mission h2 { color: #fff; font-size: clamp(2rem,5vw,3.6rem); position: relative; }
.mission h2 span { color: #6ee7b7; }
.mission p { color: rgba(209,250,229,.85); max-width: 720px; margin: 24px auto 0; font-size: 1.12rem; position: relative; font-weight: 400; }
.mission .hero__actions { justify-content: center; margin-top: 36px; position: relative; }

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner { position: relative; overflow: hidden; }
.cta-card { position: relative; background: linear-gradient(135deg, var(--yellow) 0%, #fbbf24 38%, #34d399 130%); border-radius: var(--radius-lg); padding: clamp(48px,7vw,84px); text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; }
.cta-card::before { width: 280px; height: 280px; top: -120px; left: -80px; background: rgba(255,255,255,.25); }
.cta-card::after { width: 220px; height: 220px; bottom: -110px; right: -40px; background: rgba(6,78,59,.12); }
.cta-card h2 { position: relative; font-size: clamp(2.2rem,5.2vw,3.7rem); color: var(--emerald-900); }
.cta-card p { position: relative; color: rgba(6,78,59,.78); margin-top: 16px; font-size: 1.15rem; font-weight: 600; }
.cta-card .hero__actions { position: relative; justify-content: center; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--cream-foot); color: var(--text); padding: 76px 0 30px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.footer__about { margin-top: 18px; max-width: 280px; font-size: .95rem; line-height: 1.7; color: var(--muted); }
.footer h4 { color: var(--ink); font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { font-size: .95rem; color: var(--muted); transition: color .25s, padding .25s; }
.footer ul a:hover { color: var(--emerald-700); padding-left: 4px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__badges .b { font-size: .76rem; font-weight: 700; background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: var(--radius-pill); color: var(--emerald-800); }
.footer__bottom { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.footer__bottom .made { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--emerald-800); transition: background .3s, transform .3s, color .3s; }
.socials a:hover { background: var(--emerald-700); color: #fff; transform: translateY(-3px); }
.news input { color: var(--ink); }
.news input::placeholder { color: var(--muted); }
.news-done {
  background: var(--emerald-100); color: var(--emerald-800);
  border: 1px solid rgba(5,150,105,.25);
  border-radius: var(--radius-pill);
  padding: 14px 20px; font-weight: 700; font-size: .95rem;
  animation: newsPop .5s var(--ease-bounce);
}
@keyframes newsPop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===================================================================
   MOBILE MENU
   =================================================================== */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--cream); padding: 110px 28px 40px; transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 6px; }
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; color: var(--emerald-900); padding: 14px 4px; border-bottom: 1px solid var(--line); text-transform: capitalize; }
.mobile-menu .btn { margin-top: 24px; }

/* ===================================================================
   REVEAL
   =================================================================== */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d,0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .bar-fill { width: var(--w) !important; }
}

/* ===================================================================
   POLISH — view transitions, progress bar, a11y, easter egg
   =================================================================== */

/* App-like page transitions (progressive enhancement, Chromium/Safari) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--emerald-600), var(--yellow));
  border-radius: 0 3px 3px 0;
}

/* Accessibility */
.skip-link {
  position: fixed; top: -70px; left: 16px; z-index: 400;
  background: var(--emerald-900); color: #fff;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-weight: 700; transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Hero granule particle canvas */
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Card tilt helper (fast follow while hovering) */
.tilt-active { transition: transform .12s ease-out !important; will-change: transform; }

/* 🐱 Cat parade easter egg */
.cat-parade { position: fixed; inset: auto 0 0 0; height: 90px; pointer-events: none; z-index: 500; }
.cat-parade span { position: absolute; bottom: 6px; font-size: 2.3rem; will-change: transform; filter: drop-shadow(0 6px 8px rgba(6,78,59,.3)); }
.pf-toast {
  position: fixed; bottom: 108px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--emerald-900); color: #fff;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem;
  z-index: 501; opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: var(--shadow-md);
}
.pf-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .demo, .science__grid, .lifechart__grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .steps, .review-grid, .risk-grid { grid-template-columns: repeat(2,1fr); }
  .col-span-2 { grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__burger { display: block; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .features-grid, .steps, .review-grid, .prod-cards, .risk-grid { grid-template-columns: 1fr; }
  .prod-card { grid-template-columns: 1fr; }
  .prod-card__media { padding: 26px 26px 0; }
  .prod-card__body { padding: 24px 26px 28px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .marquee { transform: rotate(-1.3deg) scale(1.08); }
  .compare th, .compare td { padding: 14px 10px; font-size: .9rem; }
  .callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .equation { flex-direction: column; }
  .equation .arrow-ic { transform: rotate(90deg); }
}
