/* ==========================================================================
   COMPOSTIQ — DESIGN TOKENS
   ========================================================================== */
:root{
  /* Brand colors (fixed palette) */
  --forest: #073F32;
  --forest-2: #0A5A45;
  --lime: #72C72B;
  --lime-light: #A5E85C;
  --mint: #EAF8DE;
  --cream: #F7FAF4;
  --ink: #10231E;
  --muted: #64756F;
  --white: #FFFFFF;

  /* Derived */
  --forest-rgb: 7,63,50;
  --lime-rgb: 114,199,43;
  --line: rgba(16,35,30,0.10);
  --line-soft: rgba(16,35,30,0.06);
  --shadow-soft: 0 20px 60px -25px rgba(7,63,50,0.35);
  --shadow-card: 0 1px 0 rgba(16,35,30,0.04);

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  /* Scale */
  --fs-hero: clamp(2.6rem, 5.2vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 3.6vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 2.2vw, 2rem);
  --fs-body: 1.05rem;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; color:var(--forest); letter-spacing:-0.02em; }
p{ margin:0; }

:focus-visible{
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:var(--pad);
  padding-right:var(--pad);
}

.section{
  padding: clamp(64px, 9vw, 128px) 0;
  position:relative;
}
.section--tight{ padding: clamp(48px, 6vw, 88px) 0; }
.section--forest{ background:var(--forest); color:var(--mint); }
.section--forest h2, .section--forest h3, .section--forest h4{ color:var(--white); }
.section--mint{ background:var(--mint); }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.8rem;
  font-weight:700;
  color:var(--forest-2);
  margin-bottom:14px;
}
.kicker::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background:var(--lime);
  flex:none;
}
.section--forest .kicker{ color:var(--lime-light); }

.section-head{
  max-width:640px;
  margin-bottom:44px;
}
.section-head p{
  margin-top:14px;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.6;
}
.section--forest .section-head p{ color:rgba(234,248,222,0.78); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 28px;
  border-radius:100px;
  font-weight:700;
  font-size:0.98rem;
  border:1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background:var(--lime);
  color:var(--forest);
  box-shadow: 0 12px 30px -10px rgba(114,199,43,0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(114,199,43,0.65); }
.btn-ghost{
  background:transparent;
  color:var(--forest);
  border-color: rgba(7,63,50,0.22);
}
.btn-ghost:hover{ border-color: var(--forest); background:rgba(7,63,50,0.04); }
.section--forest .btn-ghost{ color:var(--white); border-color:rgba(255,255,255,0.28); }
.section--forest .btn-ghost:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  padding: 18px var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav.is-scrolled, .nav.menu-open{
  padding: 12px var(--pad);
  background: rgba(247,250,244,0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(16,35,30,0.06), 0 12px 30px -20px rgba(7,63,50,0.25);
}
.nav__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav__brand img{ height:52px; width:auto; }
.nav__links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav__links a{
  font-size:0.92rem;
  font-weight:600;
  color:var(--ink);
  position:relative;
  padding:4px 0;
}
.nav__links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px;
  height:2px; background:var(--lime);
  transition:right .3s var(--ease);
}
.nav__links a:hover::after{ right:0; }
.nav__actions{ display:flex; align-items:center; gap:18px; }
.nav__cta{ padding:12px 22px; font-size:0.9rem; }

.nav__burger{
  display:none;
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--white);
  align-items:center; justify-content:center;
  flex-direction:column; gap:4px;
}
.nav__burger span{
  width:18px; height:2px; background:var(--forest); border-radius:2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity:0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.nav__mobile{
  position:fixed; inset:0 0 auto 0;
  top:0;
  background:var(--forest);
  color:var(--mint);
  padding: 100px var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  z-index:95;
  display:flex; flex-direction:column; gap:26px;
}
.nav__mobile.is-open{ transform: translateY(0); }
.nav__mobile a{ font-family:var(--font-head); font-size:1.6rem; font-weight:700; color:var(--white); }
.nav__mobile .btn{ margin-top:12px; align-self:flex-start; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  padding: 168px var(--pad) 90px;
  background:
    radial-gradient(900px 500px at 82% -10%, rgba(114,199,43,0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(10,90,69,0.12), transparent 55%),
    var(--cream);
  overflow:hidden;
}
.hero__inner{
  max-width:var(--maxw);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
@keyframes heroFadeUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform:none; }
}
@keyframes heroStageIn{
  from{ opacity:0; transform: scale(0.94); }
  to{ opacity:1; transform:none; }
}
.hero__eyebrow, .hero h1, .hero__sub, .hero__actions, .hero__tech{
  opacity:0;
  animation: heroFadeUp .9s var(--ease) forwards;
}
.hero__eyebrow{ animation-delay:.05s; }
.hero h1{ animation-delay:.18s; }
.hero__sub{ animation-delay:.34s; }
.hero__actions{ animation-delay:.5s; }
.hero__tech{ animation-delay:.66s; }
.hero__stage{
  opacity:0;
  animation: heroStageIn 1.1s var(--ease) forwards;
  animation-delay:.3s;
}

.hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.02em;
  color:var(--forest-2);
  background: var(--white);
  border:1px solid var(--line);
  padding:8px 16px 8px 12px;
  border-radius:100px;
  margin-bottom:28px;
}
.hero__eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 4px rgba(114,199,43,0.18); }
.hero h1{
  font-size: var(--fs-hero);
  line-height:1.03;
  font-weight:800;
}
.hero h1 .accent{ color:var(--lime); font-style:normal; }
.hero__sub{
  margin-top:24px;
  font-size:1.14rem;
  line-height:1.65;
  color:var(--muted);
  max-width:480px;
}
.hero__actions{
  margin-top:36px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hero__tech{
  margin-top:44px;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:0.76rem;
  font-weight:700;
  color:var(--forest-2);
  letter-spacing:0.03em;
}
.hero__tech .divider{ width:24px; height:1px; background: rgba(7,63,50,0.3); }

.hero__stage{
  position:relative;
  aspect-ratio: 1/1.05;
  display:flex; align-items:center; justify-content:center;
}
.hero__glow{
  position:absolute; inset:6%;
  background: radial-gradient(circle at 50% 40%, rgba(114,199,43,0.35), transparent 65%);
  filter: blur(10px);
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow{
  0%,100%{ opacity:0.75; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.06); }
}
.bin{
  position:relative;
  width:64%;
  animation: float-bin 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 50px rgba(7,63,50,0.35));
}
@keyframes float-bin{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-16px); }
}
.bin__body{
  position:relative;
  width:100%;
  aspect-ratio: 0.72/1;
  border-radius: 46px 46px 30px 30px;
  background: linear-gradient(155deg, #0d5c46 0%, var(--forest) 55%, #052a21 100%);
  overflow:hidden;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.08), inset 0 -60px 70px rgba(0,0,0,0.25);
}
.bin__lid{
  position:absolute; top:0; left:0; right:0;
  height:14%;
  background: linear-gradient(180deg, #14705a, #0a5a45);
  border-radius: 46px 46px 60% 60% / 46px 46px 30px 30px;
}
.bin__panel{
  position:absolute; top:20%; left:14%; right:14%;
  height:30%;
  background: rgba(234,248,222,0.06);
  border:1px solid rgba(234,248,222,0.14);
  border-radius:16px;
  padding:14px;
  display:flex; flex-direction:column; justify-content:space-between;
  backdrop-filter: blur(6px);
}
.bin__panel-row{ display:flex; justify-content:space-between; align-items:center; }
.bin__panel-label{ font-size:0.6rem; letter-spacing:0.06em; color:rgba(234,248,222,0.6); font-weight:700; }
.bin__panel-value{ font-family:var(--font-head); font-size:0.95rem; color:var(--lime-light); font-weight:800; }
.bin__ring{
  width:34px; height:34px; border-radius:50%;
  border:3px solid rgba(114,199,43,0.35);
  border-top-color: var(--lime);
  margin: 0 auto;
  animation: spin 3.2s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.bin__vent{
  position:absolute; bottom:14%; left:14%; right:14%;
  display:flex; gap:6px;
}
.bin__vent span{
  flex:1; height:5px; border-radius:3px;
  background: rgba(114,199,43,0.4);
}
.bin__led{
  position:absolute; bottom:6%; right:12%;
  width:9px; height:9px; border-radius:50%;
  background: var(--lime);
  box-shadow: 0 0 12px 3px rgba(114,199,43,0.8);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:0.35;} }

.hero__chip{
  position:absolute;
  background: var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 14px;
  font-size:0.72rem;
  font-weight:700;
  color:var(--forest);
  box-shadow: var(--shadow-soft);
  display:flex; align-items:center; gap:8px;
}
.hero__chip svg{ width:16px; height:16px; color:var(--lime); flex:none; }
.hero__chip--1{ top:8%; left:-4%; animation: drift 5s ease-in-out infinite; }
.hero__chip--2{ bottom:14%; right:-6%; animation: drift 5.5s ease-in-out infinite 0.6s; }
@keyframes drift{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1px;
  background: var(--line);
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.problem-card{
  background: var(--white);
  padding: 30px 26px;
  display:flex; flex-direction:column; gap:14px;
}
.problem-card__num{ font-family:var(--font-head); font-size:0.78rem; font-weight:800; color: rgba(7,63,50,0.35); }
.problem-card p{ font-size:0.96rem; line-height:1.55; color: var(--ink); }
.problem-transition{
  margin-top:48px;
  display:flex;
  align-items:center;
  gap:20px;
  font-family:var(--font-head);
  font-size:1.3rem;
  font-weight:700;
  color:var(--forest);
}
.problem-transition .arrow{
  width:44px; height:1px; background: var(--lime);
  position:relative; flex:none;
}
.problem-transition .arrow::after{
  content:"";
  position:absolute; right:0; top:-3px;
  width:7px; height:7px; border-top:2px solid var(--lime); border-right:2px solid var(--lime);
  transform: rotate(45deg);
}

/* ==========================================================================
   PRODUCT INTRO
   ========================================================================== */
.stack-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  margin: 6px 0 40px;
}
.stack-row .term{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.05rem;
  color:var(--forest);
  padding:10px 18px;
  border-radius:100px;
  background: var(--mint);
  border:1px solid rgba(7,63,50,0.1);
}
.stack-row .plus{ color: var(--lime); font-weight:800; font-size:1.2rem; }
.section--forest .stack-row .term{ background: rgba(255,255,255,0.06); color:var(--white); border-color: rgba(255,255,255,0.14); }

.showcase{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.showcase-card{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding:26px 22px;
  display:flex; flex-direction:column; gap:14px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.showcase-card:hover{ border-color: rgba(114,199,43,0.5); transform: translateY(-4px); }
.showcase-card__icon{
  width:42px; height:42px;
  border-radius:12px;
  background: var(--mint);
  display:flex; align-items:center; justify-content:center;
  color: var(--forest-2);
}
.showcase-card h4{ font-size:1.02rem; }
.showcase-card p{ font-size:0.9rem; color:var(--muted); line-height:1.5; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1px;
  background: var(--line);
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.feature-card{
  background: var(--white);
  padding: 34px 26px;
  display:flex; flex-direction:column; gap:16px;
  transition: background .35s var(--ease);
}
.feature-card:hover{ background: var(--mint); }
.feature-card__icon{
  width:44px; height:44px;
  border-radius:50%;
  background: var(--forest);
  color: var(--lime-light);
  display:flex; align-items:center; justify-content:center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.feature-card:hover .feature-card__icon{ transform: scale(1.08) rotate(-6deg); background: var(--lime); color:var(--forest); }
.feature-card h4{ font-size:1rem; }
.feature-card p{ font-size:0.88rem; color:var(--muted); line-height:1.55; }

/* ==========================================================================
   HOW IT WORKS — process
   ========================================================================== */
.process{
  position:relative;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.process-step{
  background: rgba(255,255,255,0.03);
  padding: 34px 28px;
  position:relative;
}
.process-step__num{
  font-family:var(--font-head);
  font-size:0.78rem;
  font-weight:800;
  color: var(--lime-light);
  letter-spacing:0.04em;
  margin-bottom:14px;
  display:block;
}
.process-step h4{ color:var(--white); font-size:1.06rem; margin-bottom:10px; }
.process-step p{ color: rgba(234,248,222,0.72); font-size:0.92rem; line-height:1.55; }

.flow{
  margin-top:56px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  justify-content:center;
}
.flow-node{
  font-family:var(--font-head);
  font-size:0.82rem;
  font-weight:700;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  padding:10px 16px;
  border-radius:100px;
}
.flow-arrow{
  width:28px; height:1px;
  background: rgba(114,199,43,0.6);
  margin: 0 8px;
  position:relative;
}
.flow-arrow::after{
  content:"";
  position:absolute; right:0; top:-3px;
  width:6px; height:6px;
  border-top:2px solid var(--lime); border-right:2px solid var(--lime);
  transform: rotate(45deg);
}

/* ==========================================================================
   AI INTELLIGENCE
   ========================================================================== */
.ai-section{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:start;
}
.ai-inputs{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:12px;
  margin-top:32px;
}
.ai-input-chip{
  display:flex; align-items:center; gap:10px;
  padding:14px 16px;
  border-radius:12px;
  background: var(--white);
  border:1px solid var(--line);
  font-size:0.86rem;
  font-weight:700;
  color: var(--forest);
}
.ai-input-chip .bullet{ width:7px; height:7px; border-radius:50%; background:var(--lime); flex:none; }

.ai-simulator{
  margin-top:28px;
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding:22px 22px 6px;
}
.ai-simulator__head{
  font-family:var(--font-head);
  font-weight:800;
  font-size:0.9rem;
  color: var(--forest);
}
.ai-simulator__hint{
  margin-top:6px;
  font-size:0.82rem;
  color: var(--muted);
  line-height:1.5;
}
.ai-slider{ margin-top:20px; padding-bottom:18px; }
.ai-slider__row{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:8px;
}
.ai-slider__row label{ font-size:0.84rem; font-weight:700; color: var(--ink); }
.ai-slider__row span{ font-family:var(--font-head); font-size:0.84rem; font-weight:800; color: var(--forest-2); }
.ai-slider input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:6px;
  border-radius:6px;
  background: var(--mint);
  accent-color: var(--lime);
  outline:none;
}
.ai-slider input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:18px; height:18px;
  border-radius:50%;
  background: var(--lime);
  border:3px solid var(--white);
  box-shadow: 0 2px 8px rgba(7,63,50,0.35);
  cursor:pointer;
  margin-top:-6px;
}
.ai-slider input[type="range"]::-moz-range-thumb{
  width:18px; height:18px;
  border-radius:50%;
  background: var(--lime);
  border:3px solid var(--white);
  box-shadow: 0 2px 8px rgba(7,63,50,0.35);
  cursor:pointer;
}
.ai-slider input[type="range"]::-webkit-slider-runnable-track{ height:6px; border-radius:6px; }
.ai-slider input[type="range"]::-moz-range-track{ height:6px; border-radius:6px; background:var(--mint); }

.ai-note{
  margin-top:28px;
  font-size:0.84rem;
  color: var(--muted);
  line-height:1.6;
  padding:16px 18px;
  border-left:2px solid var(--lime);
  background: var(--white);
  border-radius: 0 10px 10px 0;
}

.ai-console{
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.ai-console__head{
  display:flex; align-items:center; gap:10px;
  margin-bottom:20px;
  color: rgba(234,248,222,0.5);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
}
.ai-console__dot{ width:8px; height:8px; border-radius:50%; background: rgba(234,248,222,0.25); }
.ai-console__dot--live{ background: var(--lime); box-shadow: 0 0 8px 2px rgba(114,199,43,0.6); animation: blink 2s ease-in-out infinite; }
.ai-card{
  display:flex; gap:14px;
  padding: 16px 0;
  border-top: 1px solid rgba(234,248,222,0.1);
}
.ai-card:first-of-type{ border-top:none; }
.ai-card__icon{
  width:32px; height:32px; border-radius:9px;
  background: rgba(114,199,43,0.14);
  color: var(--lime-light);
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.ai-card p{ color: var(--mint); font-size:0.92rem; line-height:1.5; }
.ai-card .type-cursor{
  display:inline-block; width:7px; height:1em; background:var(--lime); margin-left:2px;
  vertical-align: -2px;
  animation: caret 0.9s step-end infinite;
}
@keyframes caret{ 50%{ opacity:0; } }

/* ==========================================================================
   MOBILE APP
   ========================================================================== */
.app-section{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap:64px;
  align-items:center;
}
.phone{
  width: min(300px, 80vw);
  margin:0 auto;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg,#0d5c46,#052a21);
  box-shadow: var(--shadow-soft);
}
.phone__screen{
  background: var(--forest);
  border-radius: 32px;
  padding: 22px 18px 26px;
  min-height: 560px;
  position:relative;
  overflow:hidden;
}
.phone__notch{
  width:70px; height:6px; border-radius:6px;
  background: rgba(255,255,255,0.14);
  margin: 0 auto 18px;
}
.phone__title{
  font-family:var(--font-head);
  color:var(--white);
  font-weight:800;
  font-size:1.05rem;
  letter-spacing:0.02em;
}
.phone__status{
  display:flex; align-items:center; gap:8px;
  margin-top:6px;
  font-size:0.72rem;
  font-weight:700;
  color: var(--lime-light);
}
.phone__status .dot{ width:6px;height:6px;border-radius:50%; background:var(--lime); animation:blink 2s ease-in-out infinite; }

.phone__metrics{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:20px;
}
.metric{
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:14px;
}
.metric__label{ font-size:0.66rem; font-weight:700; color: rgba(234,248,222,0.55); letter-spacing:0.03em; }
.metric__value{ font-family:var(--font-head); font-size:1.4rem; font-weight:800; color:var(--white); margin-top:6px; }
.metric__value span{ font-size:0.85rem; color: rgba(234,248,222,0.6); font-weight:600; }

.phone__progress{
  margin-top:14px;
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:14px;
}
.phone__progress-top{ display:flex; justify-content:space-between; font-size:0.72rem; color: rgba(234,248,222,0.65); font-weight:700; margin-bottom:8px; }
.progress-track{ height:8px; border-radius:8px; background: rgba(255,255,255,0.08); overflow:hidden; }
.progress-fill{ height:100%; border-radius:8px; background: linear-gradient(90deg, var(--lime), var(--lime-light)); width:0%; transition: width 1.4s var(--ease); }

.phone__ai{
  margin-top:14px;
  background: rgba(114,199,43,0.1);
  border:1px solid rgba(114,199,43,0.25);
  border-radius:14px;
  padding:14px;
  font-size:0.78rem;
  color: var(--mint);
  line-height:1.5;
}
.phone__ai b{ display:block; color:var(--lime-light); font-size:0.66rem; letter-spacing:0.03em; margin-bottom:6px; font-family:var(--font-head); }

.phone__controls{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:8px;
}
.phone__controls button{
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;
  padding:10px 6px;
  color: var(--mint);
  font-size:0.7rem;
  font-weight:700;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.phone__controls button svg{ width:16px; height:16px; color: var(--lime-light); }
.phone__controls button.is-active{ background: var(--lime); border-color: var(--lime); color: var(--forest); }
.phone__controls button.is-active svg{ color: var(--forest); }

.phone__tabs{
  margin-top:16px;
  display:flex; justify-content:space-between;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.phone__tabs span{ font-size:0.64rem; color: rgba(234,248,222,0.45); font-weight:700; }

.app-copy .feature-list{
  margin-top:28px;
  display:flex; flex-direction:column; gap:16px;
}
.app-copy .feature-list li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:0.96rem;
  color: var(--ink);
}
.app-copy .feature-list svg{ width:18px; height:18px; color: var(--lime); flex:none; margin-top:2px; }

/* ==========================================================================
   AUTOMATION
   ========================================================================== */
.automation-diagram{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.automation-node{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding:24px 20px;
  text-align:left;
}
.automation-node__icon{
  width:40px; height:40px;
  border-radius:10px;
  background: var(--forest);
  color: var(--lime-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.automation-node h4{ font-size:0.96rem; margin-bottom:8px; }
.automation-node p{ font-size:0.86rem; color:var(--muted); line-height:1.5; }

/* ==========================================================================
   SENSOR TECH
   ========================================================================== */
.tech-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.tech-chip{
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding:18px 16px;
  display:flex; align-items:center; gap:12px;
}
.tech-chip__icon{
  width:34px; height:34px; border-radius:9px;
  background: rgba(114,199,43,0.14);
  color: var(--lime-light);
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.tech-chip span{ font-size:0.84rem; font-weight:700; color: var(--white); }

/* ==========================================================================
   PROGRESS / JOURNEY
   ========================================================================== */
.journey{
  position:relative;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:0;
}
.journey::before{
  content:"";
  position:absolute; top:19px; left:0; right:0; height:2px;
  background: var(--line);
}
.journey__fill{
  position:absolute; top:19px; left:0; height:2px;
  background: var(--lime);
  width:0%;
  transition: width 1.6s var(--ease);
}
.journey-step{ position:relative; padding-top:52px; text-align:left; }
.journey-step__dot{
  position:absolute; top:10px; left:0;
  width:20px; height:20px; border-radius:50%;
  background: var(--white);
  border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.journey-step__dot::after{ content:""; width:8px; height:8px; border-radius:50%; background: var(--line); }
.journey-step.is-active .journey-step__dot{ border-color: var(--lime); }
.journey-step.is-active .journey-step__dot::after{ background: var(--lime); }
.journey-step__day{ font-size:0.72rem; font-weight:800; color: var(--forest-2); letter-spacing:0.03em; }
.journey-step h4{ font-size:0.92rem; margin-top:6px; }
.journey-note{
  margin-top:40px;
  font-size:0.86rem;
  color: var(--muted);
  max-width:620px;
  line-height:1.6;
}

/* ==========================================================================
   TARGET CUSTOMERS
   ========================================================================== */
.customer-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:1px;
  background: var(--line);
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.customer-cell{
  background: var(--white);
  padding: 26px 18px;
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  min-height:120px;
  justify-content:space-between;
}
.customer-cell svg{ width:22px; height:22px; color: var(--lime); }
.customer-cell span{ font-size:0.86rem; font-weight:700; color: var(--forest); }

/* ==========================================================================
   BUSINESS
   ========================================================================== */
.biz-layout{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:56px;
}
.biz-list{ display:flex; flex-direction:column; }
.biz-row{
  display:flex; align-items:center; gap:18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.biz-row:first-child{ padding-top:0; }
.biz-row__num{ font-family:var(--font-head); font-weight:800; color: rgba(7,63,50,0.3); font-size:0.9rem; width:26px; flex:none; }
.biz-row__label{ font-weight:700; color:var(--forest); font-size:0.98rem; }

.biz-model{
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 32px;
  display:flex; flex-direction:column; gap:22px;
  color: var(--mint);
}
.biz-model__row{ display:flex; align-items:center; justify-content:space-between; }
.biz-model__row span:first-child{ font-size:0.86rem; color: rgba(234,248,222,0.7); }
.biz-model__row span:last-child{ font-family:var(--font-head); font-weight:800; color: var(--lime-light); }
.biz-model hr{ border:none; border-top:1px solid rgba(255,255,255,0.12); margin:0; }

/* ==========================================================================
   USP
   ========================================================================== */
.usp-panel{
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  text-align:center;
}
.usp-panel h2{ max-width:720px; margin:0 auto; }
.usp-panel p{ max-width:560px; margin: 20px auto 0; color: var(--forest-2); font-size:1.05rem; line-height:1.6; }

/* ==========================================================================
   EXHIBITION DEMO
   ========================================================================== */
.demo-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.demo-item{
  display:flex; align-items:center; gap:14px;
  background: var(--white);
  border:1px solid var(--line);
  border-radius: 14px;
  padding:16px 18px;
}
.demo-item__check{
  width:26px; height:26px; border-radius:50%;
  background: var(--forest);
  color: var(--lime-light);
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.demo-item span{ font-size:0.92rem; font-weight:700; color: var(--ink); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{
  text-align:center;
  padding: clamp(72px, 10vw, 128px) var(--pad);
}
.cta h2{ color:var(--white); font-size: clamp(2rem, 4vw, 3.2rem); max-width:720px; margin:0 auto; }
.cta p{ margin-top:16px; color: rgba(234,248,222,0.75); font-size:1.1rem; }
.cta .btn{ margin-top:36px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  background:#052a21;
  color: rgba(234,248,222,0.65);
  padding: 64px var(--pad) 28px;
}
.footer__top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:48px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer__brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer__brand img{ height:46px; }
.footer p{ font-size:0.88rem; line-height:1.6; }
.footer h5{ color: var(--white); font-family:var(--font-head); font-size:0.78rem; letter-spacing:0.04em; margin-bottom:16px; }
.footer__links{ display:flex; flex-direction:column; gap:10px; }
.footer__links a{ font-size:0.88rem; }
.footer__links a:hover{ color: var(--lime-light); }
.footer__meta dl{ display:grid; grid-template-columns: auto 1fr; gap:6px 14px; margin:0; font-size:0.86rem; }
.footer__meta dt{ color: rgba(234,248,222,0.4); }
.footer__meta dd{ margin:0; color: var(--mint); font-weight:600; }
.footer__bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px;
  font-size:0.78rem;
  flex-wrap:wrap;
  gap:10px;
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:none; }

/* Number counter */
.counter{ font-variant-numeric: tabular-nums; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__stage{ max-width:420px; margin: 40px auto 0; }
  .ai-section, .app-section, .biz-layout{ grid-template-columns:1fr; }
  .app-section .phone{ order:-1; }
  .problem-grid{ grid-template-columns: repeat(2,1fr); }
  .features-grid{ grid-template-columns: repeat(2,1fr); }
  .showcase{ grid-template-columns: repeat(2,1fr); }
  .customer-grid{ grid-template-columns: repeat(3,1fr); }
  .tech-grid{ grid-template-columns: repeat(2,1fr); }
  .process{ grid-template-columns:1fr; }
  .automation-diagram{ grid-template-columns: repeat(2,1fr); }
  .footer__top{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 860px){
  .nav__links, .nav__actions{ display:none; }
  .nav__burger{ display:flex; }
  .journey{ grid-template-columns: repeat(3,1fr); row-gap:34px; }
  .journey::before, .journey__fill{ display:none; }
  .demo-grid{ grid-template-columns:1fr; }
}

@media (max-width: 620px){
  html{ overflow-x:hidden; }
  .wrap{ padding-left:20px; padding-right:20px; }
  .section{ padding: 56px 0; }

  .problem-grid, .features-grid, .showcase, .customer-grid, .tech-grid, .automation-diagram{ grid-template-columns: 1fr 1fr; }
  .journey{ grid-template-columns: repeat(2,1fr); }
  .footer__top{ grid-template-columns:1fr; gap:32px; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }

  .hero{ padding: 128px 20px 64px; }
  .hero__eyebrow{ font-size:0.7rem; padding:7px 14px 7px 10px; }
  .hero__sub{ max-width:none; font-size:1.02rem; }
  .hero__actions{ flex-direction:column; align-items:stretch; }
  .hero__actions .btn{ width:100%; }
  .hero__tech{ flex-wrap:wrap; row-gap:10px; }
  .hero__stage{ max-width:300px; }
  .hero__chip{ font-size:0.66rem; padding:8px 11px; }
  .hero__chip--1{ left:-2%; }
  .hero__chip--2{ right:-2%; }

  .ai-inputs{ grid-template-columns: 1fr 1fr; gap:10px; }
  .ai-simulator{ padding:18px 16px 4px; }
  .ai-console{ padding:20px; }

  .stack-row{ gap:10px; }
  .stack-row .term{ padding:8px 14px; font-size:0.9rem; }

  .biz-model{ padding:24px; }
  .demo-item{ padding:14px 16px; }

  .footer__meta dl{ grid-template-columns:1fr; gap:2px 0; }
  .footer__meta dt{ margin-top:10px; }
  .footer__meta dt:first-child{ margin-top:0; }

  .usp-panel{ padding:32px 22px; }
}

@media (max-width: 480px){
  .nav{ padding: 14px 18px; }
  .nav.is-scrolled, .nav.menu-open{ padding: 10px 18px; }
  .nav__brand img{ height:38px; }
  .nav__burger{ width:38px; height:38px; }
  .nav__mobile{ padding: 90px 22px 32px; }
  .nav__mobile a{ font-size:1.35rem; }

  .wrap{ padding-left:16px; padding-right:16px; }
  .hero{ padding: 116px 16px 56px; }
  .hero h1{ letter-spacing:-0.01em; }
  .hero__stage{ max-width:260px; }
  .hero__chip{ font-size:0.62rem; padding:7px 10px; gap:6px; }
  .hero__chip svg{ width:14px; height:14px; }

  .problem-grid, .features-grid, .showcase, .customer-grid, .tech-grid, .automation-diagram{ grid-template-columns: 1fr; }
  .ai-inputs{ grid-template-columns: 1fr; }
  .journey{ grid-template-columns: repeat(2,1fr); row-gap:26px; }

  .kicker{ font-size:0.74rem; }
  .section-head p{ font-size:0.96rem; }

  .flow-node{ font-size:0.74rem; padding:8px 13px; }
  .flow-arrow{ width:18px; }

  .phone{ width: min(280px, 84vw); }
  .phone__screen{ padding: 20px 16px 22px; min-height: unset; }
  .phone__metrics{ gap:8px; }

  .cta h2{ font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .cta .btn{ width:100%; }

  .footer{ padding: 48px 16px 22px; }
}

