/* =========================================================
   agent-ia.dev — Landing page
   Design language: espresso dark · electric lime · editorial mono
   ========================================================= */

:root {
  /* Base — warm espresso */
  --bg: #0b0a08;
  --bg-soft: #121110;
  --surface: rgba(245, 240, 230, 0.035);
  --surface-2: rgba(245, 240, 230, 0.06);
  --border: rgba(245, 240, 230, 0.08);
  --border-strong: rgba(245, 240, 230, 0.16);

  --text: #f3eee2;
  --text-muted: #9b958a;
  --text-dim: #66615a;

  /* Accent — electric lime */
  --lime: #c4f82a;
  --lime-bright: #dbff66;
  --lime-deep: #9bd000;

  --accent-grad: linear-gradient(92deg, #dbff66 0%, #c4f82a 60%, #9bd000 100%);
  --accent-soft: rgba(196, 248, 42, 0.12);

  /* Tokens */
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.1; font-weight: 600; letter-spacing: -0.025em;
  text-wrap: balance;
}
::selection { background: var(--lime); color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--lime-bright), var(--lime-deep));
}

/* ---------- Grain texture ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Background décor ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(245,240,230,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,230,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 100%);
}
.bg-blobs { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); }
.blob-1 { width: 540px; height: 540px; background: var(--lime-deep); top: -200px; left: -140px; opacity: .14; animation: float1 22s var(--ease) infinite; }
.blob-2 { width: 460px; height: 460px; background: #ff9d4d; top: 4%; right: -180px; opacity: .1; animation: float2 26s var(--ease) infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px, 50px); } }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; border-radius: 10px;
  cursor: pointer; border: 1px solid transparent; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent-grad); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(196,248,42,.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-dim); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; padding: 12px; margin-top: auto; }
.btn-primary .icon, .btn-ghost .icon { font-size: 16px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,10,8,.7);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo-dot { color: var(--text-muted); font-weight: 500; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color .2s; position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--lime); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.kicker {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  letter-spacing: 0.01em;
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(196,248,42,.6); animation: pulse 2.4s infinite; }
.kicker-sep { color: var(--text-dim); }
.kicker-soft { color: var(--text-dim); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196,248,42,.5); }
  70% { box-shadow: 0 0 0 9px rgba(196,248,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,248,42,0); }
}

.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.2rem); margin-bottom: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--text-muted); max-width: 520px; margin-bottom: 34px; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-dim); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { font-size: 14px; color: var(--lime); stroke-width: 2.2; }

/* Hero mock */
.hero-visual { position: relative; }
.mock-window {
  background: linear-gradient(180deg, rgba(22,20,16,.92), rgba(15,14,11,.96));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow: hidden; backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: rgba(245,240,230,.025); border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.mock-title { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); }
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }

.mock-body { display: grid; grid-template-columns: 152px 1fr; min-height: 310px; }
.mock-side { padding: 16px 13px; border-right: 1px solid var(--border); background: rgba(0,0,0,.18); }
.mock-side-title { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; }
.mock-step { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-dim); padding: 7px 8px; border-radius: 8px; margin-bottom: 2px; font-family: var(--mono); }
.mock-step .sn { font-size: 10px; color: var(--text-dim); }
.mock-step.done { color: var(--text-muted); }
.mock-step.done .sn { color: var(--lime-deep); }
.mock-step.active { background: var(--accent-soft); color: var(--text); }
.mock-step.active .sn { color: var(--lime); font-weight: 600; }

.mock-chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.msg { font-size: 13.5px; padding: 11px 14px; border-radius: 13px; max-width: 92%; line-height: 1.55; }
.msg.user { background: var(--accent-grad); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.agent { background: rgba(245,240,230,.04); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text-muted); }
.msg.agent b { color: var(--text); }
.tool { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; margin: 6px 6px 0 0; border-radius: 6px; background: rgba(196,248,42,.1); color: var(--lime-bright); border: 1px solid rgba(196,248,42,.22); }
.tool .icon { font-size: 11px; }

.floating-chip {
  position: absolute; padding: 8px 13px; border-radius: 10px;
  background: rgba(15,14,11,.92); border: 1px solid var(--border-strong);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--text);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.7); backdrop-filter: blur(8px);
  animation: bob 5s ease-in-out infinite;
}
.chip-1 { top: 16%; left: -5%; }
.chip-2 { bottom: 10%; right: -3%; animation-delay: 1.8s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Logos ---------- */
.logos { padding: 32px 0 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); margin-bottom: 20px; letter-spacing: .04em; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.logos-row span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: var(--text-dim); opacity: .65; transition: opacity .25s, color .25s; }
.logos-row span:hover { opacity: 1; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(245,240,230,.012), transparent); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--text-muted); text-transform: uppercase;
}
.eyebrow-mark { color: var(--lime); font-weight: 600; }
.eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--border-strong); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px; letter-spacing: -0.03em; }
.section-lead { font-size: 1.08rem; color: var(--text-muted); }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.feature-card {
  background: var(--bg); padding: 30px 26px; position: relative;
  transition: background .3s var(--ease);
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(196,248,42,.1), transparent 60%);
}
.feature-card:hover { background: var(--bg-soft); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: var(--accent-soft); border: 1px solid rgba(196,248,42,.22); color: var(--lime-bright);
  font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }
.feature-card strong, .feature-card em { color: var(--text); font-style: normal; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  padding: 36px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); transition: border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.step:hover { border-color: var(--border-strong); background: var(--surface-2); }
.step-num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--lime); letter-spacing: .08em; margin-bottom: 20px; }
.step-num::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--lime); vertical-align: middle; margin-right: 10px; opacity: .5; }
.step h3 { font-size: 1.15rem; margin-bottom: 9px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Use cases ---------- */
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.uc-card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.uc-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 22px; margin-bottom: 16px; }
.uc-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.uc-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Stats ---------- */
.stats-section { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { padding: 0 12px; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -10px; top: 15%; bottom: 15%; width: 1px; background: var(--border); }
.stat-num { font-family: var(--mono); font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 600; color: var(--lime); letter-spacing: -0.04em; }
.stat p { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 22px;
}
.testimonial blockquote { font-size: 15px; color: var(--text); line-height: 1.65; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-muted); }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); font-weight: 600; font-size: 13px; font-family: var(--mono); flex-shrink: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: border-color .3s, transform .3s var(--ease);
}
.price-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.price-featured { border-color: rgba(196,248,42,.45); background: linear-gradient(180deg, rgba(196,248,42,.06), var(--surface)); }
.price-tag {
  position: absolute; top: -1px; right: 26px;
  background: var(--lime); color: var(--bg); font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: .06em;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-desc { font-size: 13.5px; color: var(--text-muted); margin: 6px 0 24px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.price-features .icon { font-size: 15px; color: var(--lime); stroke-width: 2.2; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s; overflow: hidden; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 500; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--mono); font-size: 20px; color: var(--text-dim); transition: transform .25s; font-weight: 400; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--lime); }
.faq-item p { padding: 0 24px 22px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-section { padding: 80px 0 110px; }
.cta-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 64px 44px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(196,248,42,.12), transparent 60%); pointer-events: none; }
.cta-kicker { font-family: var(--mono); font-size: 12px; color: var(--lime); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; position: relative; }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; position: relative; letter-spacing: -0.03em; }
.cta-card > p { font-size: 1.08rem; color: var(--text-muted); max-width: 520px; margin: 0 auto 30px; position: relative; }
.cta-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.cta-form input {
  flex: 1; min-width: 220px; padding: 13px 18px; border-radius: 11px;
  background: rgba(0,0,0,.35); border: 1px solid var(--border-strong); color: var(--text); font-size: 14.5px; font-family: inherit;
  transition: border-color .2s;
}
.cta-form input::placeholder { color: var(--text-dim); }
.cta-form input:focus { outline: none; border-color: var(--lime); }
.cta-note { font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); margin-top: 20px; position: relative; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-tagline { color: var(--text-muted); font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 12px; margin-bottom: 18px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-muted); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 12px; color: var(--text-dim); flex-wrap: wrap; gap: 10px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column;
    background: rgba(11,10,8,.97); backdrop-filter: blur(20px);
    padding: 16px 24px; gap: 2px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .35s var(--ease); pointer-events: none;
  }
  .nav-links.open { transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 0; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding: 120px 0 70px; }
  .features-grid, .usecases-grid, .steps, .testimonials, .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 1px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .cta-card { padding: 44px 22px; }
  .floating-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
