/* McpFOX.com — editorial landing page */
:root {
  --brand-500: #E8672A;
  --brand-400: #F07F4A;
  --brand-600: #C4531F;
  --brand-100: #FDF0E8;
  --brand-050: #FEF8F4;
  --ink-900: #0D1117;
  --ink-850: #10161F;
  --ink-800: #161B22;
  --ink-700: #1C2128;
  --ink-600: #21262D;
  --ink-500: #2D333B;
  --paper: #F5F1EA;
  --paper-2: #EFEAE0;
  --ember: oklch(0.78 0.14 60);
  --moss: oklch(0.65 0.09 155);
  --sky: oklch(0.72 0.10 230);
  --plum: oklch(0.68 0.12 310);
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-050: #F9FAFB;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink-900);
  color: #EDE9E0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* Film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(18px);
  background: rgba(13,17,23,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding .25s ease;
}
.nav.scrolled { padding: 12px 32px; background: rgba(13,17,23,0.85); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.nav-logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--brand-400), var(--brand-600));
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 20px rgba(232,103,42,0.35);
}
.nav-logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: rgba(237,233,224,0.7); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: flex; align-items: center; gap: 14px;
}
.nav-cta .ghost { font-size: 13px; color: rgba(237,233,224,0.7); }
.nav-cta .ghost:hover { color: #fff; }

/* language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
  background: rgba(255,255,255,0.02);
  font-family: var(--mono);
}
.lang-toggle a {
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(237,233,224,0.55);
  border-radius: 999px;
  transition: all 0.2s;
  line-height: 1.4;
}
.lang-toggle a:hover { color: #EDE9E0; }
.lang-toggle a.active {
  background: var(--brand-500);
  color: #fff;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  transition: all .2s;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 8px 24px rgba(232,103,42,0.35), 0 0 40px rgba(232,103,42,0.15);
}
.btn-primary:hover { background: var(--brand-400); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 12px 30px rgba(232,103,42,0.45), 0 0 60px rgba(232,103,42,0.25); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.12); color: #EDE9E0; background: rgba(255,255,255,0.02); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
}

.hero-aurora {
  position: absolute;
  top: 0; left: 0; right: 0; height: 85vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,103,42,0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232,103,42,0.10), transparent 60%),
    radial-gradient(circle at 50% 0%, rgba(240,127,74,0.08), transparent 60%);
  filter: blur(10px);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 40%, transparent 80%);
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(232,103,42,0.08);
  border: 1px solid rgba(232,103,42,0.28);
  font-size: 12px;
  color: var(--brand-400);
  margin-bottom: 32px;
  font-feature-settings: "tnum";
}
.hero-badge .pill {
  background: var(--brand-500);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge .arrow { opacity: 0.6; margin-left: 4px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: #F5F1EA;
}
.hero h1 .em { font-style: italic; color: var(--brand-400); }
.hero h1 .amp {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brand-500);
}
.hero h1 .line { display: block; }

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(237,233,224,0.65);
  max-width: 520px;
  margin: 0 0 40px;
}

.hero-ctas { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.btn-hero-primary {
  padding: 16px 24px; font-size: 15px; border-radius: 12px;
}
.btn-hero-primary .chrome-icon {
  width: 18px; height: 18px;
  display: grid; place-items: center;
}
.btn-hero-secondary {
  padding: 16px 22px; font-size: 15px; border-radius: 12px;
}
.btn-hero-secondary .play {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 10px; color: var(--brand-400);
}

.hero-trust {
  display: flex; gap: 18px; font-size: 12.5px; color: rgba(237,233,224,0.45);
  align-items: center; flex-wrap: wrap;
}
.hero-trust .dot { width: 3px; height: 3px; background: currentColor; border-radius: 999px; opacity: 0.5; }
.hero-trust .stars { color: var(--brand-400); letter-spacing: 1px; }

/* ---------- HERO VISUAL ---------- */
.hero-visual {
  position: relative;
  z-index: 1;
  height: 620px;
  perspective: 1600px;
}
.hv-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.hv-browser {
  position: absolute;
  top: 4%;
  left: -2%;
  width: 82%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(232,103,42,0.08);
  transform: rotateY(-6deg) rotateX(2deg);
}
.hv-browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
}
.hv-dots { display: flex; gap: 6px; }
.hv-dots span { width: 10px; height: 10px; border-radius: 999px; background: #E5E7EB; }
.hv-dots span:nth-child(1) { background: #FF5F57; }
.hv-dots span:nth-child(2) { background: #FEBC2E; }
.hv-dots span:nth-child(3) { background: #28C840; }
.hv-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: #374151;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}
.hv-url .lock { color: #16A34A; font-size: 10px; }
.hv-url .typed { color: #111; }
.hv-url .caret {
  display: inline-block; width: 1px; height: 11px; background: var(--brand-500);
  margin-left: 1px;
  animation: caret 0.9s step-end infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hv-fox-pin {
  width: 22px; height: 22px; border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, var(--brand-400), var(--brand-600));
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(232,103,42,0.35);
}
.hv-fox-pin svg { width: 12px; height: 12px; }

.hv-browser-body {
  height: 300px;
  background:
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.hv-article-skeleton > div {
  height: 9px; border-radius: 4px; background: #E5E7EB;
  margin-bottom: 10px;
}
.hv-article-skeleton .hl { background: linear-gradient(90deg, #111, #555); height: 16px; width: 62%; margin-bottom: 14px; }
.hv-article-skeleton .w1 { width: 90%; }
.hv-article-skeleton .w2 { width: 76%; }
.hv-article-skeleton .w3 { width: 84%; }
.hv-article-skeleton .w4 { width: 60%; }
.hv-article-skeleton .wd { background: linear-gradient(90deg, var(--brand-100), #F5F1EA); height: 120px; border-radius: 8px; margin: 14px 0; display: grid; place-items: center; color: var(--brand-600); font-size: 11px; font-family: var(--mono); }

/* scan ribbon — the data being extracted */
.hv-scan {
  position: absolute;
  left: 0; right: 0; height: 26px;
  background: linear-gradient(180deg, transparent, rgba(232,103,42,0.18) 40%, rgba(232,103,42,0.28) 50%, rgba(232,103,42,0.18) 60%, transparent);
  border-top: 1px solid rgba(232,103,42,0.4);
  border-bottom: 1px solid rgba(232,103,42,0.4);
  animation: scan 3.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: multiply;
}
@keyframes scan {
  0%, 100% { top: 48px; opacity: 1; }
  45% { top: 260px; opacity: 1; }
  50% { top: 260px; opacity: 0; }
  55% { top: 48px; opacity: 0; }
  60% { top: 48px; opacity: 1; }
}

/* McpFOX pipe */
.hv-pipe {
  position: absolute;
  top: 44%;
  left: 35%;
  width: 40%;
  z-index: 3;
  pointer-events: none;
}
.hv-pipe svg { width: 100%; display: block; }
.hv-pipe-packet {
  position: absolute;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand-400);
  box-shadow: 0 0 10px var(--brand-500), 0 0 20px rgba(232,103,42,0.5);
  animation: packet 1.8s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes packet {
  0% { left: 0; top: 10px; opacity: 0; }
  10% { opacity: 1; }
  45% { top: 50%; }
  80% { opacity: 1; }
  100% { left: 100%; top: 90%; opacity: 0; }
}

/* AI response card */
.hv-ai {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: 54%;
  background: var(--ink-850);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 18px;
  transform: rotateY(5deg) rotateX(-1deg);
  font-family: var(--sans);
}
.hv-ai-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}
.hv-ai-head .avatar {
  width: 24px; height: 24px; border-radius: 999px;
  background: linear-gradient(135deg, #C96442, #945433);
  display: grid; place-items: center; color: #fff; font-size: 11px;
  font-weight: 600;
}
.hv-ai-head .name { font-size: 12px; font-weight: 500; color: rgba(245,241,234,0.9); }
.hv-ai-head .via {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brand-400);
  padding: 3px 8px;
  background: rgba(232,103,42,0.1);
  border-radius: 999px;
  border: 1px solid rgba(232,103,42,0.25);
}
.hv-ai-body p {
  font-size: 13px; line-height: 1.55;
  color: rgba(245,241,234,0.82);
  margin: 0 0 8px;
}
.hv-ai-body .typing {
  display: inline-block;
  width: 6px; height: 13px;
  background: var(--brand-400);
  vertical-align: middle;
  margin-left: 2px;
  animation: caret 0.9s step-end infinite;
}
.hv-ai-body .quote {
  border-left: 2px solid var(--brand-500);
  padding: 6px 0 6px 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(245,241,234,0.95);
  margin: 10px 0;
}
.hv-ai-tools {
  display: flex; gap: 6px; margin-top: 12px;
  font-family: var(--mono); font-size: 10px;
}
.hv-ai-tools .chip {
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(237,233,224,0.6);
}
.hv-ai-tools .chip.active {
  background: rgba(232,103,42,0.12);
  border-color: rgba(232,103,42,0.35);
  color: var(--brand-400);
}

/* Floating metrics */
.hv-float {
  position: absolute;
  background: rgba(22,27,34,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hv-float .k { color: rgba(237,233,224,0.5); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.hv-float .v { color: #F5F1EA; font-weight: 600; font-size: 15px; font-family: var(--mono); }
.hv-float.success { top: 8%; right: 8%; }
.hv-float.success .v { color: #22C55E; }
.hv-float.latency { bottom: 36%; left: 0%; }
.hv-float.latency .v { color: var(--brand-400); }

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  padding: 140px 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-light {
  background: var(--paper);
  color: var(--ink-900);
  max-width: none;
  margin: 0;
  padding: 140px 32px;
}
.section-inner { max-width: 1376px; margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--brand-500);
}
.section-light .eyebrow { color: var(--brand-600); }

h2.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 900px;
}
h2.display .em { font-style: italic; color: var(--brand-500); }
.section-light h2.display { color: var(--ink-900); }
.section-light h2.display .em { color: var(--brand-600); }

.lede {
  font-size: 18px; line-height: 1.55;
  color: rgba(237,233,224,0.6);
  max-width: 580px;
  margin: 0 0 64px;
}
.section-light .lede { color: var(--gray-700); }

/* ---------- TRUST MARQUEE ---------- */
.trust-bar {
  padding: 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.01);
}
.trust-bar .trust-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 18px;
  border-right: 1px dashed rgba(255,255,255,0.08);
}
.trust-stat:last-child { border-right: none; }
.trust-stat .k { font-size: 11px; color: rgba(237,233,224,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.trust-stat .v { font-family: var(--mono); font-size: 18px; color: #F5F1EA; font-weight: 500; }
.trust-stat .v .accent { color: var(--brand-400); }

/* ---------- PROBLEM SECTION ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
}
.problem-card {
  padding: 40px 32px 48px;
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}
.problem-card .icon-frame {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.problem-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #F5F1EA;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 14px; line-height: 1.6;
  color: rgba(237,233,224,0.55);
  margin: 0;
}
.problem-card .fake-chat {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 12px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.18);
  border-radius: 8px;
  color: #FCA5A5;
  line-height: 1.5;
}
.problem-card .fake-receipt {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(237,233,224,0.55);
}
.problem-card .fake-receipt .total { color: #FCA5A5; font-size: 13px; }
.problem-card .fake-loop {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.problem-card .fake-loop span {
  font-family: var(--mono); font-size: 10.5px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: rgba(237,233,224,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ---------- SOLUTION / FLOW ---------- */
.flow-viz {
  position: relative;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
}
.flow-node {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 220px;
  z-index: 2;
}
.flow-node.center {
  background: linear-gradient(180deg, rgba(232,103,42,0.12), rgba(232,103,42,0.02));
  border-color: rgba(232,103,42,0.4);
  box-shadow: 0 0 80px rgba(232,103,42,0.18), 0 0 0 1px rgba(232,103,42,0.2) inset;
  z-index: 3;
  transform: scale(1.05);
}
.flow-node .label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(237,233,224,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.flow-node.center .label { color: var(--brand-400); }
.flow-node h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #F5F1EA;
  letter-spacing: -0.01em;
}
.flow-node p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(237,233,224,0.55);
  margin: 0;
}
.flow-node .badge-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.flow-node .b-chip {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(237,233,224,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.flow-node.center .b-chip {
  background: rgba(232,103,42,0.1);
  border-color: rgba(232,103,42,0.25);
  color: var(--brand-400);
}

.flow-connector {
  position: relative;
  height: 2px;
  margin: 0 -8px;
  overflow: visible;
  z-index: 1;
}
.flow-connector svg { width: 100%; height: 40px; position: absolute; top: -19px; left: 0; }
.flow-connector .travel {
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--brand-400);
  box-shadow: 0 0 12px var(--brand-500);
  transform: translateY(-50%);
  animation: travel 2.4s linear infinite;
}
@keyframes travel {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- FEATURE GRID ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
  margin-top: 40px;
}
.feat {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(232,103,42,0.3); }
.feat.wide { grid-column: span 2; }
.feat.tall { grid-row: span 2; }
.feat .feat-num {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(237,233,224,0.3);
  margin-bottom: 14px;
  letter-spacing: 0.12em;
}
.feat h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: #F5F1EA;
}
.feat h3 .em { font-style: italic; color: var(--brand-400); }
.feat p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(237,233,224,0.55);
  margin: 0;
}
.feat .feat-visual {
  margin-top: 24px;
  flex: 1;
  min-height: 120px;
  display: flex; align-items: flex-end;
}

/* Feat 1 — radar/success */
.radar {
  width: 100%; height: 180px;
  position: relative;
}
.radar-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(232,103,42,0.15);
  border-radius: 50%;
  animation: pulse-ring 3s ease-out infinite;
}
.radar-ring:nth-child(2) { animation-delay: 1s; }
.radar-ring:nth-child(3) { animation-delay: 2s; }
@keyframes pulse-ring {
  0% { transform: scale(0.3); opacity: 0.9; border-color: rgba(232,103,42,0.5); }
  100% { transform: scale(1.4); opacity: 0; border-color: rgba(232,103,42,0); }
}
.radar-core {
  position: absolute; top: 50%; left: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  background: radial-gradient(circle, var(--brand-500), var(--brand-600));
  box-shadow: 0 0 40px rgba(232,103,42,0.5);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 16px; color: #fff; font-weight: 600;
}

/* Feat — code snippet */
.code-snip {
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  line-height: 1.7;
  color: rgba(237,233,224,0.75);
  overflow: hidden;
}
.code-snip .k { color: #60A5FA; }
.code-snip .s { color: #6EE7B7; }
.code-snip .c { color: rgba(237,233,224,0.35); }
.code-snip .p { color: var(--brand-400); }

/* Feat — format bars */
.fmt-rows { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.fmt-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  font-family: var(--mono); font-size: 11px;
  border: 1px solid rgba(255,255,255,0.04);
}
.fmt-row .tag {
  padding: 2px 7px; border-radius: 4px;
  font-size: 10px; font-weight: 500;
}
.fmt-row.md .tag { background: rgba(37,99,235,0.18); color: #93C5FD; }
.fmt-row.json .tag { background: rgba(22,163,74,0.18); color: #86EFAC; }
.fmt-row.html .tag { background: rgba(168,85,247,0.18); color: #D8B4FE; }
.fmt-row.txt .tag { background: rgba(255,255,255,0.08); color: rgba(237,233,224,0.7); }
.fmt-row.pdf .tag { background: rgba(232,103,42,0.18); color: var(--brand-400); }
.fmt-row .desc { color: rgba(237,233,224,0.5); flex: 1; font-size: 10.5px; }
.fmt-row .tok { color: var(--brand-400); }

/* Feat — lock */
.lock-viz {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  width: 100%;
  background: rgba(232,103,42,0.04);
  border: 1px dashed rgba(232,103,42,0.25);
  border-radius: 12px;
}
.lock-viz .shield {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  display: grid; place-items: center; color: #fff;
  flex-shrink: 0;
}
.lock-viz .lines div {
  height: 6px; border-radius: 3px;
  background: rgba(237,233,224,0.12);
  margin-bottom: 6px;
}
.lock-viz .lines div:nth-child(1) { width: 100px; background: rgba(232,103,42,0.35); }
.lock-viz .lines div:nth-child(2) { width: 140px; }
.lock-viz .lines div:nth-child(3) { width: 80px; }

/* ---------- HOW IT WORKS ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.how-step {
  padding: 40px 28px;
  position: relative;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.how-step:first-child { border-left: none; }
.how-step .step-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  color: var(--brand-500);
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.how-step h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.how-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0 0 20px;
}
.how-step .step-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.how-step .step-visual {
  margin-top: 28px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray-700);
  min-height: 110px;
}
.how-step .step-visual .k { color: #6366F1; }
.how-step .step-visual .s { color: #059669; }
.how-step .step-visual .hi { background: var(--brand-100); padding: 0 3px; border-radius: 2px; }

/* ---------- INTERACTIVE: URL TEST ---------- */
.reach {
  margin: 40px 0 0;
  padding: 36px;
  border-radius: 20px;
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.reach-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.reach-head h3 {
  font-family: var(--serif);
  font-size: 32px; font-weight: 400;
  margin: 0; line-height: 1.1;
  letter-spacing: -0.015em;
  color: #F5F1EA;
}
.reach-head h3 .em { font-style: italic; color: var(--brand-400); }
.reach-head .sub {
  font-size: 13px; color: rgba(237,233,224,0.5);
  max-width: 300px;
}
.reach-input-wrap {
  display: flex; gap: 10px; margin-bottom: 28px;
}
.reach-input {
  flex: 1;
  font-family: var(--mono);
  font-size: 14px;
  padding: 14px 16px;
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #F5F1EA;
  outline: none;
  transition: border-color .2s;
}
.reach-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(232,103,42,0.15); }
.reach-go {
  padding: 14px 22px;
  background: var(--brand-500);
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: all .2s;
}
.reach-go:hover { background: var(--brand-400); }
.reach-suggest {
  display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
}
.reach-suggest .chip {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(237,233,224,0.65);
  cursor: pointer;
  transition: all .15s;
}
.reach-suggest .chip:hover { border-color: var(--brand-500); color: var(--brand-400); }
.reach-duel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.reach-panel {
  padding: 22px;
  border-radius: 14px;
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 240px;
  position: relative;
}
.reach-panel.ok { border-color: rgba(232,103,42,0.3); }
.reach-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.reach-panel-head .who {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(237,233,224,0.5);
}
.reach-panel.ok .reach-panel-head .who { color: var(--brand-400); }
.reach-panel-head .stat {
  font-family: var(--mono); font-size: 11px;
  padding: 3px 8px; border-radius: 999px;
}
.reach-panel.fail .reach-panel-head .stat { background: rgba(220,38,38,0.15); color: #FCA5A5; }
.reach-panel.ok .reach-panel-head .stat { background: rgba(34,197,94,0.12); color: #86EFAC; }
.reach-output {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(237,233,224,0.75);
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 140px;
}
.reach-output .err { color: #FCA5A5; }
.reach-output .ok { color: #86EFAC; }
.reach-output .accent { color: var(--brand-400); }
.reach-output .dim { color: rgba(237,233,224,0.4); }
.reach-output .cursor-dot {
  display: inline-block; width: 6px; height: 12px; background: var(--brand-400);
  vertical-align: -2px; animation: caret 0.9s step-end infinite;
}

/* ---------- PRICING ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.price-card {
  padding: 32px;
  border-radius: 18px;
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(232,103,42,0.08), var(--ink-850));
  border-color: rgba(232,103,42,0.4);
  box-shadow: 0 0 60px rgba(232,103,42,0.1);
  transform: translateY(-8px);
}
.price-card .plan {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(237,233,224,0.5);
  margin-bottom: 12px;
}
.price-card.featured .plan { color: var(--brand-400); }
.price-card .featured-tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--mono); font-size: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--brand-500); color: #fff;
  font-weight: 500; letter-spacing: 0.04em;
}
.price-card .price {
  font-family: var(--serif); font-weight: 400;
  font-size: 56px; line-height: 1; letter-spacing: -0.02em;
  color: #F5F1EA;
  margin-bottom: 6px;
}
.price-card .price .period {
  font-family: var(--sans); font-size: 14px;
  color: rgba(237,233,224,0.5);
  margin-left: 4px;
}
.price-card .meta {
  font-size: 12.5px; color: rgba(237,233,224,0.5);
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card li {
  font-size: 13.5px; color: rgba(237,233,224,0.75);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.price-card li .chk {
  flex-shrink: 0; margin-top: 3px;
  color: var(--brand-400);
  font-family: var(--mono); font-size: 12px;
}
.price-card li.off { color: rgba(237,233,224,0.35); }
.price-card li.off .chk { color: rgba(237,233,224,0.25); }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.test-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--ink-850);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.test-card .quote-mark {
  font-family: var(--serif);
  font-size: 56px; line-height: 0.3;
  color: var(--brand-500);
  margin-bottom: 12px;
  display: block;
}
.test-card blockquote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 24px;
  color: #F5F1EA;
  letter-spacing: -0.005em;
}
.test-card .author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.test-card .avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 600;
}
.test-card .who { font-size: 13px; font-weight: 500; color: #F5F1EA; margin-bottom: 2px; }
.test-card .role { font-size: 11.5px; color: rgba(237,233,224,0.5); }

/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px;
  margin-top: 40px;
}
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: #F5F1EA;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--brand-400); }
.faq-q .plus {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--brand-500);
  transition: transform .3s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(237,233,224,0.65);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  padding: 160px 32px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,103,42,0.2), transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  color: #F5F1EA;
  position: relative;
}
.final-cta h2 .em {
  font-style: italic;
  background: linear-gradient(120deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta .btn { position: relative; }

/* ---------- FOOTER ---------- */
footer {
  padding: 80px 32px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--ink-900);
}
.footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand p { color: rgba(237,233,224,0.5); font-size: 13px; line-height: 1.6; margin: 12px 0 20px; max-width: 280px; }
.footer-brand .fb-logo { display: flex; gap: 10px; align-items: center; }
.footer-brand .fb-tag {
  display: inline-flex; gap: 6px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px;
  color: rgba(237,233,224,0.5);
}
.footer-brand .fb-tag span {
  padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237,233,224,0.4);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(237,233,224,0.75);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand-400); }
.footer-bottom {
  max-width: 1440px; margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11.5px;
  color: rgba(237,233,224,0.4);
  flex-wrap: wrap; gap: 16px;
}

/* ---------- TWEAKS ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: rgba(22,27,34,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  z-index: 200;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--brand-400);
  display: flex; align-items: center; justify-content: space-between;
}
.tweak-row {
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: rgba(237,233,224,0.7);
}
.tweak-row label { flex: 1; }
.tweak-row input[type=color] {
  width: 32px; height: 24px; border: none; background: none; cursor: pointer;
  border-radius: 4px; overflow: hidden; padding: 0;
}
.tweak-row select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #F5F1EA; font-size: 11.5px;
  padding: 5px 8px; border-radius: 6px;
  font-family: var(--mono);
}
.tweak-row input[type=range] { width: 110px; accent-color: var(--brand-500); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .hero-visual { height: 500px; }
  .nav-links { display: none; }
  .section { padding: 80px 24px; }
  .section-light { padding: 80px 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .flow-viz { grid-template-columns: 1fr; gap: 20px; }
  .flow-connector { transform: rotate(90deg); height: 40px; margin: -10px auto; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat.wide, .feat.tall { grid-column: auto; grid-row: auto; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); }
  .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .testimonials { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .reach-duel { grid-template-columns: 1fr; }
  .trust-bar .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { border-right: none; border-bottom: 1px dashed rgba(255,255,255,0.08); padding: 8px 0; }
}
