/* ============================================================
   EatMenu Studio — design system
   Dark premium · electric blue + vibrant orange · receipt motif
   ============================================================ */

:root {
  /* palette */
  --ink:        #070B16;
  --ink-2:      #0B1120;
  --surface:    #0F1626;
  --surface-2:  #141D31;
  --line:       rgba(255,255,255,.09);
  --line-soft:  rgba(255,255,255,.055);

  --blue:       #3B7BFF;
  --blue-bright:#5B96FF;
  --orange:     #FF7A2F;
  --orange-bright:#FF9555;
  --cream:      #F5ECDD;   /* thermal receipt paper */
  --cream-ink:  #1A1610;   /* text on cream */

  --text:       #E9EDF7;
  --muted:      #9AA3B8;
  --muted-2:    #6A7388;

  /* type */
  --display: "Clash Display", "Outfit", system-ui, sans-serif;
  --body:    "Outfit", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  /* shape & motion */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t: .45s var(--ease);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  --glow-blue: 0 0 60px rgba(59,123,255,.45);
  --glow-orange: 0 0 60px rgba(255,122,47,.4);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55;
  will-change: transform;
}
.glow--blue   { width: 52vw; height: 52vw; left: -12vw; top: -10vw;
  background: radial-gradient(circle, rgba(59,123,255,.55), transparent 65%);
  animation: drift1 22s ease-in-out infinite; }
.glow--orange { width: 44vw; height: 44vw; right: -10vw; top: 28vh;
  background: radial-gradient(circle, rgba(255,122,47,.42), transparent 65%);
  animation: drift2 26s ease-in-out infinite; }
.glow--cursor {
  width: 480px; height: 480px; filter: blur(90px); opacity: .25;
  background: radial-gradient(circle, rgba(91,150,255,.5), transparent 60%);
  transform: translate(-50%,-50%); left: 50%; top: 30%;
  transition: left .6s var(--ease-out), top .6s var(--ease-out);
}
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(6vw,5vh)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-5vw,-4vh)} }
.grid-veil {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* ---------- page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__ticket { font-family: var(--mono); text-align: center; }
.loader__line { display: block; letter-spacing: .35em; font-size: .8rem; color: var(--cream); margin-bottom: 14px; }
.loader__bar { display: block; width: 160px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); animation: load 1.05s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--surface);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .35s var(--ease), background .35s;
  isolation: isolate; white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #2f63e0 55%, var(--orange));
  background-size: 180% 180%; background-position: 0% 50%;
  box-shadow: 0 10px 30px -8px rgba(59,123,255,.6), inset 0 0 0 1px rgba(255,255,255,.18);
}
.btn--primary:hover { transform: translateY(-3px); background-position: 100% 50%; box-shadow: 0 16px 40px -8px rgba(255,122,47,.55), inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--ghost {
  color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.btn:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateX(1px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8,12,22,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.18rem; }
.brand__mark { display: inline-grid; grid-template-columns: repeat(2, 7px); gap: 3px; }
.brand__mark i { width: 7px; height: 7px; border-radius: 2px; background: var(--muted-2); transition: var(--t); }
.brand__mark i:nth-child(1){ background: var(--blue); }
.brand__mark i:nth-child(2){ background: var(--orange); }
.brand__mark i:nth-child(3){ grid-column: 1 / 3; width: 17px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.brand:hover .brand__mark i { transform: translateY(-1px); }
.brand__accent { color: var(--muted); font-weight: 500; }

.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: color .25s, background .25s; position: relative; }
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; gap: 5px; font-family: var(--mono); font-size: .78rem; color: var(--muted-2); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s; }
.lang:hover { border-color: rgba(255,255,255,.25); }
.lang__opt { transition: color .25s; }
.lang__opt.is-active { color: var(--text); }
.lang__sep { opacity: .4; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.burger span:nth-child(1){ top: 16px; } .burger span:nth-child(2){ bottom: 16px; }
.burger[aria-expanded="true"] span:nth-child(1){ top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ bottom: 20px; transform: rotate(-45deg); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- shared section heads ---------- */
section { position: relative; z-index: 1; }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-bright); display: inline-block; margin-bottom: 16px; }
.sec-title { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.sec-lead { color: var(--muted); margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 56ch; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.grad { background: linear-gradient(100deg, var(--blue-bright), var(--orange-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(120px, 16vh, 180px); padding-bottom: 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 22px; }
.hero__title span { display: block; }
.hero__sub { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 52ch; }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; }
.hero__proof { display: flex; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof b { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; line-height: 1; background: linear-gradient(120deg, #fff, var(--blue-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__proof span { font-size: .82rem; color: var(--muted-2); margin-top: 6px; max-width: 14ch; }

/* reveal stagger inside hero */
.hero__copy .reveal:nth-child(1){ transition-delay: .05s; }
.hero__copy .reveal:nth-child(2){ transition-delay: .12s; }
.hero__copy .reveal:nth-child(3){ transition-delay: .19s; }
.hero__copy .reveal:nth-child(4){ transition-delay: .26s; }
.hero__copy .reveal:nth-child(5){ transition-delay: .33s; }

/* ---- phone mockup ---- */
.hero__device { position: relative; display: grid; place-items: center; perspective: 1200px; }
.phone {
  position: relative; width: clamp(260px, 30vw, 320px); aspect-ratio: 320 / 660;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #1c2740, #0c1322);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08), var(--glow-blue);
  transform: rotateY(-14deg) rotateX(6deg) translateZ(0);
  transition: transform .6s var(--ease-out);
  animation: floaty 6s ease-in-out infinite;
}
.hero__device:hover .phone { transform: rotateY(-6deg) rotateX(2deg); }
@keyframes floaty { 0%,100%{ translate: 0 0; } 50%{ translate: 0 -14px; } }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #05080f; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #14213b, #0a0f1c); }

.app { display: flex; flex-direction: column; height: 100%; color: #eaf0ff; font-size: 12px; }
.app__top { padding: 40px 16px 10px; }
.app__brandrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.app__logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--orange), #d94f12); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; }
.app__name { font-family: var(--display); font-weight: 600; font-size: 14px; }
.app__pts { margin-left: auto; font-family: var(--mono); font-size: 10px; background: rgba(255,122,47,.16); color: var(--orange-bright); padding: 4px 8px; border-radius: 999px; transition: transform .3s var(--ease); }
.app__pts.pop { transform: scale(1.18); }
.app__cats { display: flex; gap: 6px; overflow: hidden; }
.chip { white-space: nowrap; font-size: 11px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); transition: background .3s, color .3s, transform .3s; }
.chip.is-active { background: linear-gradient(120deg, var(--blue), #2f63e0); color: #fff; transform: translateY(-1px); }

.app__list { flex: 1; padding: 6px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.dish { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 8px; transition: transform .3s, border-color .3s, background .3s; }
.dish:hover { transform: translateX(3px); border-color: rgba(91,150,255,.5); background: rgba(91,150,255,.08); }
.dish__img { width: 42px; height: 42px; border-radius: 10px; flex: none; background-size: cover; }
.dish__img--pizza  { background: radial-gradient(circle at 40% 35%, #ffcf6b, #e8902f 45%, #b5471f); }
.dish__img--diavola{ background: radial-gradient(circle at 40% 35%, #ffb27a, #d8531f 45%, #8c1f12); }
.dish__img--coffee { background: radial-gradient(circle at 40% 35%, #d8b48c, #8a5a3a 55%, #3c2616); }
.dish__info b { font-size: 12px; font-weight: 600; }
.dish__info small { color: var(--muted-2); font-size: 10px; }
.dish__add { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(91,150,255,.18); color: var(--blue-bright); font-size: 16px; font-weight: 500; display: grid; place-items: center; transition: transform .2s, background .2s; }
.dish__add:hover { transform: scale(1.12); background: var(--blue); color: #fff; }
.dish__add:active { transform: scale(.9); }

.app__bar { padding: 12px 16px 18px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(5,8,15,.5); }
.app__cart { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.app__cartcount { width: 20px; height: 20px; border-radius: 7px; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.app__checkout { margin-left: auto; font-size: 11px; font-weight: 600; color: #fff; padding: 9px 13px; border-radius: 10px; background: linear-gradient(120deg, var(--blue), var(--orange)); box-shadow: 0 6px 18px -6px rgba(255,122,47,.6); }

.fly-pt { position: absolute; font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--orange-bright); opacity: 0; pointer-events: none; z-index: 5; }
.fly-pt.go { animation: fly 0.9s var(--ease-out) forwards; }
@keyframes fly { 0%{opacity:0; transform:translateY(0) scale(.6);} 15%{opacity:1;} 100%{opacity:0; transform:translateY(-120px) scale(1.3);} }

.device__tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; padding: 9px 14px; border-radius: 999px; background: rgba(15,22,38,.85); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.device__tag--1 { top: 12%; left: -4%; animation: floaty 7s ease-in-out infinite; }
.device__tag--2 { bottom: 14%; right: -6%; animation: floaty 6.5s .8s ease-in-out infinite; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.dot--orange { background: var(--orange); box-shadow: 0 0 10px var(--orange); }

/* ---- marquee ---- */
.marquee { margin-top: clamp(40px, 7vw, 80px); border-block: 1px solid var(--line-soft); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 26px; padding: 18px 0; width: max-content; animation: scroll 34s linear infinite; font-family: var(--mono); font-size: .82rem; letter-spacing: .14em; color: var(--muted-2); }
.marquee__track span { white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.ps { padding: clamp(70px, 11vw, 130px) 0; }
.ps__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.ps__card { padding: clamp(24px, 3vw, 38px); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--ink-2)); position: relative; overflow: hidden; }
.ps__card--problem { background: linear-gradient(180deg, rgba(40,18,18,.5), var(--ink-2)); }
.ps__card--solution { background: linear-gradient(180deg, rgba(16,30,52,.6), var(--ink-2)); box-shadow: 0 0 0 1px rgba(59,123,255,.18), 0 30px 60px -30px rgba(59,123,255,.35); }
.ps__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #ff8f6b; display: inline-block; margin-bottom: 14px; }
.ps__label--ok { color: var(--blue-bright); }
.ps__card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.12; margin-bottom: 18px; }
.ps__list li { position: relative; padding-left: 30px; color: var(--muted); margin-bottom: 12px; }
.ps__list li::before { content: "✕"; position: absolute; left: 0; top: 1px; color: #ff7a5e; font-weight: 700; font-size: .85rem; }
.ps__list--ok li::before { content: "✓"; color: var(--blue-bright); }
.ps__arrow { display: grid; place-items: center; }
.ps__arrow span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, var(--blue), var(--orange)); box-shadow: var(--glow-orange); position: relative; }
.ps__arrow span::after { content: "→"; color: #fff; font-size: 1.2rem; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: clamp(40px, 7vw, 80px) 0 clamp(70px, 11vw, 120px); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  position: relative; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--ink-2));
  overflow: hidden; transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(91,150,255,.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.feat:hover { transform: translateY(-6px); border-color: rgba(91,150,255,.4); box-shadow: 0 30px 60px -30px rgba(59,123,255,.4); }
.feat:hover::before { opacity: 1; }
.feat__no { font-family: var(--mono); font-size: .82rem; color: var(--muted-2); position: absolute; top: 20px; right: 22px; }
.feat__icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 20px; position: relative; background: linear-gradient(160deg, rgba(59,123,255,.16), rgba(59,123,255,.04)); border: 1px solid rgba(91,150,255,.28); display: grid; place-items: center; color: var(--blue-bright); transition: transform .4s var(--ease-out), color .35s; }
.feat__icon svg { width: 26px; height: 26px; }
.feat__icon--accent { background: linear-gradient(160deg, rgba(255,122,47,.18), rgba(255,122,47,.04)); border-color: rgba(255,149,85,.32); color: var(--orange-bright); }
.feat:hover .feat__icon { transform: translateY(-3px) rotate(-4deg); }
.feat h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; margin-bottom: 10px; line-height: 1.2; }
.feat p { color: var(--muted); font-size: .95rem; }
/* stagger */
.feat-grid .reveal:nth-child(1){ transition-delay: 0s; }
.feat-grid .reveal:nth-child(2){ transition-delay: .08s; }
.feat-grid .reveal:nth-child(3){ transition-delay: .16s; }
.feat-grid .reveal:nth-child(4){ transition-delay: .24s; }

/* ============================================================
   ORDER FLOW
   ============================================================ */
.flow { padding: clamp(70px, 11vw, 130px) 0; }
.flow .sec-head { max-width: 720px; }
.pipe { position: relative; margin-top: 30px; }
.pipe__line { position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .35; border-radius: 2px; }
.pipe__packet { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%,-50%); background: #fff; box-shadow: 0 0 14px 4px var(--blue-bright), 0 0 30px 8px rgba(91,150,255,.6); }
.pipe.run .pipe__packet { animation: travel 4s var(--ease-out) infinite; }
@keyframes travel {
  0%   { left: 0%;  background:#fff; box-shadow:0 0 14px 4px var(--blue-bright),0 0 30px 8px rgba(91,150,255,.6); }
  50%  { background:#fff; box-shadow:0 0 14px 4px #c9a6ff,0 0 30px 8px rgba(170,120,255,.5); }
  100% { left: 100%; background:#fff; box-shadow:0 0 14px 4px var(--orange-bright),0 0 30px 8px rgba(255,122,47,.6); }
}
.pipe__nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.node { text-align: center; padding: 0 8px; }
.node__ico { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(180deg, var(--surface-2), var(--ink-2)); border: 1px solid var(--line); position: relative; color: var(--muted); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s, color .4s; }
.node__ico svg { width: 32px; height: 32px; }
.node.lit .node__ico { transform: translateY(-5px) scale(1.05); border-color: rgba(91,150,255,.6); color: #fff; box-shadow: 0 0 0 1px rgba(91,150,255,.4), var(--glow-blue); }
.node b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.node small { color: var(--muted-2); font-family: var(--mono); font-size: .76rem; }

/* ============================================================
   ROI CALCULATOR  (signature receipt)
   ============================================================ */
.roi { padding: clamp(40px, 7vw, 70px) 0 clamp(70px, 11vw, 120px); }
.roi__grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.ctrl { margin-top: 26px; }
.ctrl__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ctrl__lbl { color: var(--muted); font-size: .96rem; }
.ctrl__val { font-family: var(--mono); font-weight: 700; font-size: 1.1rem; color: var(--text); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p,30%), var(--surface-2) var(--p,30%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; margin-top: -7px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 5px rgba(59,123,255,.18), var(--glow-blue); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 5px rgba(59,123,255,.18); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]:focus-visible::-webkit-slider-thumb { border-color: var(--orange); }

/* receipt */
.receipt {
  --paper: var(--cream);
  position: relative; background: var(--paper); color: var(--cream-ink);
  font-family: var(--mono); padding: 30px 28px 18px; border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 60px -20px rgba(255,122,47,.4);
  transform: rotate(-1.4deg);
  background-image: repeating-linear-gradient(180deg, rgba(0,0,0,.02) 0 1px, transparent 1px 26px);
}
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background-size: 18px 12px; }
.receipt::before { top: -11px; background-image: linear-gradient(135deg, var(--paper) 50%, transparent 50%), linear-gradient(-135deg, var(--paper) 50%, transparent 50%); background-position: 0 0; }
.receipt__zigzag { position: absolute; bottom: -11px; left: 0; right: 0; height: 12px; background-image: linear-gradient(45deg, var(--paper) 50%, transparent 50%), linear-gradient(-45deg, var(--paper) 50%, transparent 50%); background-size: 18px 12px; }
.receipt__head { text-align: center; border-bottom: 2px dashed rgba(0,0,0,.25); padding-bottom: 14px; margin-bottom: 14px; }
.receipt__brand { display: block; font-weight: 700; letter-spacing: .25em; font-size: 1rem; }
.receipt__sub { display: block; font-size: .7rem; letter-spacing: .18em; color: #6b5e49; margin-top: 6px; }
.receipt__line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; font-size: .86rem; }
.receipt__line span { color: #4f463a; }
.receipt__line b { font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt__line--muted b, .receipt__line--muted span { color: #8a7d66; }
.receipt__rule { border-top: 2px dashed rgba(0,0,0,.25); margin: 12px 0; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.receipt__total span { font-size: .8rem; letter-spacing: .06em; }
.receipt__total b { font-size: 1.5rem; color: #b5471f; }
.receipt__foot { margin-top: 14px; font-size: .64rem; color: #8a7d66; text-align: center; }
.value-bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.06); } }

/* ============================================================
   PROCESS
   ============================================================ */
.proc { padding: clamp(70px, 11vw, 120px) 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--ink-2)); transition: transform .4s var(--ease-out), border-color .4s; }
.step:hover { transform: translateY(-5px); border-color: rgba(255,122,47,.4); }
.step__no { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; background: linear-gradient(120deg, var(--blue-bright), var(--orange-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }
.steps .reveal:nth-child(1){ transition-delay: 0s; }
.steps .reveal:nth-child(2){ transition-delay: .08s; }
.steps .reveal:nth-child(3){ transition-delay: .16s; }
.steps .reveal:nth-child(4){ transition-delay: .24s; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(40px, 7vw, 70px) 0 clamp(80px, 12vw, 130px); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.contact__perks { margin-top: 26px; display: grid; gap: 12px; }
.contact__perks li { position: relative; padding-left: 30px; color: var(--muted); }
.contact__perks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-bright); font-weight: 700; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--ink-2)); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); letter-spacing: .01em; }
.field input, .select select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm); background: rgba(255,255,255,.03);
  border: 1px solid var(--line); color: var(--text); font: inherit; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,123,255,.15); background: rgba(255,255,255,.05); }
.select { position: relative; }
.select::after { content: "▾"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select select option { background: var(--surface); color: var(--text); }

.field__err { font-size: .76rem; color: #ff8a6e; opacity: 0; height: 0; transition: opacity .25s; }
.field.invalid input, .field.invalid select { border-color: #ff6b4a; box-shadow: 0 0 0 4px rgba(255,107,74,.14); }
.field.invalid .field__err { opacity: 1; height: auto; }

.form__submit { grid-column: 1 / -1; justify-content: center; margin-top: 6px; }
.form__spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; display: none; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.sending .form__spinner { display: inline-block; }
.form.sending .form__submit-label { opacity: .7; }
.form__ok { grid-column: 1 / -1; text-align: center; color: var(--blue-bright); font-weight: 500; padding: 12px; border-radius: var(--r-sm); background: rgba(59,123,255,.1); border: 1px solid rgba(59,123,255,.3); }
.form__err-msg { grid-column: 1 / -1; text-align: center; color: #ff6b6b; font-weight: 500; padding: 12px; border-radius: var(--r-sm); background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.3); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { padding: clamp(70px, 11vw, 120px) 0; }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { position: relative; padding: 30px 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--ink-2)); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease-out), border-color .4s; }
.quote::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font-family: var(--display); font-size: 5rem; line-height: 1; color: rgba(91,150,255,.16); }
.quote:hover { transform: translateY(-5px); border-color: rgba(91,150,255,.35); }
.quote__stars { color: var(--orange); letter-spacing: 2px; font-size: .9rem; }
.quote blockquote { font-size: 1.02rem; color: var(--text); line-height: 1.55; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: .82rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), #2f63e0); }
.quote__av--2 { background: linear-gradient(135deg, var(--orange), #d94f12); }
.quote__av--3 { background: linear-gradient(135deg, #6a7bff, var(--orange)); }
.quote__who b { display: block; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.quote__who small { color: var(--muted-2); font-family: var(--mono); font-size: .72rem; }
.quotes__grid .reveal:nth-child(2){ transition-delay: .1s; }
.quotes__grid .reveal:nth-child(3){ transition-delay: .2s; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(40px, 7vw, 70px) 0 clamp(70px, 11vw, 120px); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.faq__head { position: sticky; top: 100px; margin-bottom: 0; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--surface), var(--ink-2)); overflow: hidden; transition: border-color .3s, background .3s; }
.qa[open] { border-color: rgba(91,150,255,.35); }
.qa summary { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 20px 22px; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 1.05rem; list-style: none; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-bright); }
.qa summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: -2px; border-radius: var(--r); }
.qa__ico { position: relative; width: 18px; height: 18px; flex: none; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; background: var(--blue-bright); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.qa__ico::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.qa[open] .qa__ico::after { transform: rotate(90deg); opacity: 0; }
.qa__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.qa[open] .qa__body { grid-template-rows: 1fr; }
.qa__body > p { overflow: hidden; color: var(--muted); padding: 0 22px; }
.qa[open] .qa__body > p { padding-bottom: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: 50px 0; position: relative; z-index: 1; }
.foot__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.foot__tag { color: var(--muted); font-size: .92rem; }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__links a { color: var(--muted); font-size: .9rem; transition: color .25s; }
.foot__links a:hover { color: var(--text); }
.foot__copy { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); }
.foot__credit { grid-column: 1 / -1; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); }
.foot__credit a { color: var(--muted); transition: color .25s; }
.foot__credit a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__device { order: -1; margin-bottom: 10px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .roi__grid, .contact__grid { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; margin-bottom: 30px; }
  .ps__grid { grid-template-columns: 1fr; }
  .ps__arrow span { transform: rotate(90deg); }
  .foot__inner { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: rgba(8,12,22,.96); backdrop-filter: blur(18px); padding: 16px var(--pad) 26px;
    border-bottom: 1px solid var(--line); gap: 4px;
  }
  .nav__links.open a { padding: 14px 12px; font-size: 1.05rem; }
  .pipe__line { display: none; }
  .pipe__nodes { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .form { grid-template-columns: 1fr; }
  .hero__proof { gap: 22px; }
}
@media (max-width: 460px) {
  .feat-grid, .steps, .pipe__nodes { grid-template-columns: 1fr; }
  .receipt { transform: none; }
}
