/* ─── self-hosted variable fonts (latin) ─────────────────── */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/sora.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════
   KKL TECHNOLOGY — The AI Token Factory
   ═══════════════════════════════════════════════════════════ */

:root {
  --indigo-900: #312e81;
  --indigo-700: #4338ca;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --violet-600: #7c3aed;
  --violet-100: #ede9fe;
  --indigo-50: #eef2ff;
  --ink: #0b1020;
  --ink-2: #1e293b;
  --slate-600: #475569;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f7f7fc;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --green: #10b981;
  --cyan: #67e8f9;
  --font-display: "Sora", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --container: 1180px;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 40px -16px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 40px 90px -30px rgba(15, 23, 42, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

::selection { background: var(--indigo-600); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.section { padding: 110px 0; }
section[id] { scroll-margin-top: 88px; }

/* ─── buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 12px; }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.6);
}
.btn-primary:hover {
  background: var(--indigo-700);
  box-shadow: 0 14px 30px -10px rgba(79, 70, 229, 0.65);
}

.btn-white {
  background: #fff;
  color: var(--indigo-700);
  box-shadow: 0 16px 40px -14px rgba(2, 6, 23, 0.5);
}
.btn-white:hover { box-shadow: 0 22px 50px -14px rgba(2, 6, 23, 0.55); }

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--indigo-500);
  color: var(--indigo-700);
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.35);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-play {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-play svg { width: 11px; height: 11px; margin-left: 1px; }

/* ─── nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--indigo-600), var(--violet-600));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.7);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-text span {
  margin-top: 4px;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-right: auto;
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 13.5px; font-weight: 500; color: var(--slate-600); transition: color 0.2s; }
.nav-signin:hover { color: var(--indigo-600); }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:not(.btn) {
  padding: 13px 2px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu.open { display: flex; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: 132px 0 72px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(103, 232, 249, 0.2), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(167, 139, 250, 0.28), transparent 60%),
    linear-gradient(135deg, #3f35c7 0%, #5246d8 45%, #7138d8 100%);
  text-align: center;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 30%, #000 20%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.75;
}
.hg-1 {
  width: 520px; height: 520px;
  left: -140px; top: 80px;
  background: rgba(167, 139, 250, 0.5);
  animation: drift 18s ease-in-out infinite alternate;
}
.hg-2 {
  width: 460px; height: 460px;
  right: -120px; top: 20px;
  background: rgba(34, 211, 238, 0.28);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.hg-3 {
  width: 700px; height: 360px;
  left: 50%; bottom: -220px;
  transform: translateX(-50%);
  background: rgba(236, 72, 153, 0.2);
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(36px, 28px, 0) scale(1.1); }
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.hr-1 { width: 720px; height: 720px; left: 50%; top: 280px; transform: translateX(-50%); }
.hr-2 { width: 1040px; height: 1040px; left: 50%; top: 120px; transform: translateX(-50%); border-color: rgba(255, 255, 255, 0.06); }

.token-float {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 30px -10px rgba(2, 6, 23, 0.45);
  animation: bob 7s ease-in-out infinite;
}
.tf-1 { left: 7%; top: 32%; animation-delay: -1s; transform: rotate(-12deg); }
.tf-2 { right: 8%; top: 24%; width: 34px; height: 34px; font-size: 14px; animation-delay: -3s; }
.tf-3 { right: 13%; top: 62%; width: 26px; height: 26px; font-size: 11px; opacity: 0.7; animation-delay: -5s; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.hero-inner { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  animation: rise 0.9s var(--ease) 0.05s both;
  transition: background 0.25s, border-color 0.25s;
}
.hero-badge:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.6);
  animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.55); }
  60% { box-shadow: 0 0 0 7px rgba(103, 232, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); }
}
.hero-badge-arrow { font-size: 12px; opacity: 0.7; transition: transform 0.25s var(--ease); }
.hero-badge:hover .hero-badge-arrow { transform: translate(2px, -2px); }

.hero-title {
  margin: 26px auto 22px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7.3vw, 98px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-wrap: balance;
  animation: rise 1s var(--ease) 0.15s both;
}
.hero-grad {
  background: linear-gradient(100deg, #ffffff 0%, #ddd6fe 32%, #a5f3fc 62%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 8s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  animation: rise 1s var(--ease) 0.25s both;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: rise 1s var(--ease) 0.35s both;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.58);
  animation: rise 1s var(--ease) 0.42s both;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--cyan); font-style: normal; font-size: 10px; }
.nowrap { white-space: nowrap; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── factory card ───────────────────────────────────────── */
.factory-wrap {
  position: relative;
  max-width: 1060px;
  margin: 46px auto 0;
  animation: rise 1.2s var(--ease) 0.5s both;
}

.float-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px -18px rgba(2, 6, 23, 0.45);
  animation: bob 6s ease-in-out infinite;
}
.float-badge strong { display: block; font-family: var(--font-display); font-size: 14px; line-height: 1.2; }
.float-badge small { display: block; font-size: 9px; color: var(--muted); letter-spacing: 0.02em; }
.fb-uptime { top: 52px; right: -132px; }
.fb-sdk { top: 52px; left: -132px; bottom: auto; animation-delay: -3s; }
@media (max-width: 1360px) { .float-badge { display: none; } }
.fb-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #ecfdf5;
  color: #059669;
  display: grid;
  place-items: center;
}
.fb-icon svg { width: 18px; height: 18px; }
.fb-sdk-dots { display: flex; gap: 3px; }
.fb-sdk-dots i { width: 7px; height: 7px; border-radius: 2px; background: var(--indigo-500); }
.fb-sdk-dots i:nth-child(2) { opacity: 0.55; }
.fb-sdk-dots i:nth-child(3) { opacity: 0.3; }

.factory-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 50px 110px -30px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(2, 6, 23, 0.06);
  overflow: hidden;
  color: var(--ink);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.fc-head {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line-soft);
}
.fc-dots { display: flex; gap: 5px; }
.fc-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.fc-dots i:first-child { background: #fca5a5; }
.fc-dots i:nth-child(2) { background: #fcd34d; }
.fc-dots i:nth-child(3) { background: #86efac; }
.fc-url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f1f5f9;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}
.fc-url svg { width: 10px; height: 10px; color: #10b981; }
.fc-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 3px 7px;
  border-radius: 4px;
}
.fc-live i { width: 4px; height: 4px; border-radius: 50%; background: #10b981; animation: pulseRing 2s infinite; }

.fc-body {
  display: grid;
  grid-template-columns: 1.08fr 74px 1fr 74px 1.08fr;
  align-items: center;
  gap: 0;
  padding: 26px 26px 24px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(99, 102, 241, 0.04), transparent 70%),
    #fff;
}
.fc-node { min-width: 0; }
.fc-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 11px;
}
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.provider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fbfcfe;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--slate-600);
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s;
}
.provider:hover { border-color: var(--indigo-500); background: #fff; }
.pd { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pd-openai { background: #10a37f; }
.pd-anthropic { background: #d97757; }
.pd-google { background: #4285f4; }
.pd-mistral { background: #ff7000; }
.pd-meta { background: #0866ff; }
.pd-deepseek { background: #4d6bfe; }
.fc-node-foot { margin-top: 9px; font-size: 8.5px; color: var(--muted-2); }

.fc-pipe {
  position: relative;
  align-self: center;
  text-align: center;
  padding: 0 4px;
}
.pipe-track {
  position: relative;
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 4px, transparent 4px 8px);
  margin-bottom: 9px;
}
.pipe-dot {
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo-500);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
  animation: pipeFlow 2.8s linear infinite;
}
.pipe-dot.pd-2 { animation-delay: -1.4s; background: var(--violet-600); }
.pipe-dot.pd-3 { animation-delay: -0.7s; background: var(--violet-600); }
.pipe-dot.pd-4 { animation-delay: -2.1s; }
@keyframes pipeFlow {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
.pipe-label { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.14em; color: var(--muted-2); }

.fc-core { text-align: center; padding: 0 6px; }
.core-orb {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #818cf8, #4f46e5 55%, #3b2fb0);
  box-shadow: 0 16px 40px -12px rgba(79, 70, 229, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.core-ring {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.28);
  animation: ringSpin 12s linear infinite;
}
.cr-1 { inset: -9px; border-style: dashed; }
.cr-2 { inset: -17px; border-color: rgba(99, 102, 241, 0.16); animation-duration: 18s; animation-direction: reverse; }
.cr-3 { inset: -25px; border-color: rgba(99, 102, 241, 0.08); animation-duration: 26s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.core-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}
.core-mark svg { width: 26px; height: 26px; }
.fc-label-core { margin: 16px 0 7px; color: var(--indigo-700); font-weight: 600; font-size: 9px; }
.core-tags { display: flex; justify-content: center; gap: 4px; }
.core-tags span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--indigo-700);
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--indigo-50);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.app-grid span {
  padding: 8px 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #eef2ff, #e8ecff);
  border: 1px solid #e0e7ff;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--indigo-700);
  text-align: center;
}

.fc-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
}
.fc-stat {
  padding: 14px 20px;
  border-right: 1px solid var(--line-soft);
  text-align: left;
}
.fc-stat-last { border-right: 0; }
.fc-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.fc-stat > span { font-size: 8.5px; color: var(--muted-2); letter-spacing: 0.01em; }
.fc-stat strong span { font-size: inherit; color: inherit; letter-spacing: inherit; }

/* ═══════════ PROVIDERS ═══════════ */
.providers {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.providers-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.providers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 44px;
}
.plogo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #94a3b8;
  filter: grayscale(1);
  transition: color 0.3s, filter 0.3s;
  cursor: default;
}
.plogo:hover { color: var(--indigo-600); filter: none; }
.plogo-anthropic { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.12em; font-size: 13px; }
.plogo-google { font-weight: 500; }
.plogo-mistral { letter-spacing: 0.14em; font-size: 13px; }
.plogo-deepseek { font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.plogo-meta { font-weight: 500; }

/* ═══════════ ABOUT ═══════════ */
.about {
  background: linear-gradient(180deg, #f7f7fc 0%, #fbfbfe 100%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  right: -240px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 65%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--indigo-600);
  transform: rotate(45deg);
}
.about-copy h2,
.section-head h2,
.usecases-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.7vw, 47px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
}
.about-lede {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-600);
}
.about-lede strong { color: var(--indigo-700); font-weight: 600; }
.about-body { margin-top: 14px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.pillars { margin-top: 30px; }
.pillar {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid #e8eaf5;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--indigo-500);
  padding-top: 4px;
  flex-shrink: 0;
}
.pillar h3 { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.pillar p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--indigo-600);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* blueprint */
.about-visual { position: relative; padding-top: 8px; }
.blueprint {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #e6e8f4;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 70px -34px rgba(48, 39, 131, 0.3);
}
.bp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.bp-title { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; color: var(--muted-2); }
.bp-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: #059669;
}
.bp-status i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; animation: pulseRing 2.2s infinite; }

.bp-stage { padding: 16px 2px 4px; }
.bp-stage-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 9px; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bp-chips span {
  font-size: 9.5px;
  color: var(--slate-600);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 8px;
  background: #fbfcfe;
}
.bp-connector { height: 24px; display: flex; justify-content: center; align-items: center; position: relative; }
.bp-connector::before {
  content: "";
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, #c7d2fe, #a5b4fc);
}
.bp-connector span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo-500);
  animation: connectorFlow 2.4s linear infinite;
}
@keyframes connectorFlow {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.bp-machine {
  padding: 15px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4338ca 0%, #5b47e0 55%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 18px 36px -18px rgba(67, 56, 202, 0.65);
}
.bp-machine-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bp-machine-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  padding: 2px 5px;
}
.bp-machine-live { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 7px; color: #a7f3d0; }
.bp-machine-live i { width: 4px; height: 4px; border-radius: 50%; background: #6ee7b7; animation: pulseRing 2s infinite; }
.bp-machine-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.bp-meter { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); margin: 12px 0; overflow: hidden; }
.bp-meter span {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 3px;
  background: linear-gradient(90deg, #a5f3fc, #c4b5fd);
  animation: meterSlide 3.2s ease-in-out infinite alternate;
}
@keyframes meterSlide { from { width: 58%; } to { width: 92%; } }
.bp-machine-stats { display: flex; justify-content: space-between; gap: 8px; }
.bp-machine-stats span { font-size: 8px; color: rgba(255, 255, 255, 0.62); }
.bp-machine-stats b { display: block; font-family: var(--font-display); font-size: 12px; color: #fff; font-weight: 600; }

.bp-stage-output { padding-bottom: 8px; }
.bp-output { display: flex; align-items: center; gap: 6px; }
.bp-token {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: linear-gradient(140deg, #eef2ff, #ddd6fe);
  border: 1px solid #c7d2fe;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--indigo-700);
}
.bp-key {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--slate-600);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 8px;
}
.bp-key em { font-style: normal; color: #059669; margin-left: 6px; font-size: 7.5px; }
.bp-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.blueprint-glow {
  position: absolute;
  inset: 12% 8% 4%;
  background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.3), transparent 68%);
  filter: blur(50px);
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 68px;
  padding-top: 34px;
  border-top: 1px solid #e6e8f4;
}
.astat { text-align: left; padding-left: 26px; border-left: 1px solid #e6e8f4; }
.astat:first-child { padding-left: 0; border-left: 0; }
.astat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}
.astat > span { font-size: 11px; color: var(--muted); }
.astat strong span { font-size: inherit; color: inherit; letter-spacing: inherit; }

/* ═══════════ FEATURES ═══════════ */
.features { background: #f8fafc; border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 46px); }
.section-head p { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.07), transparent 65%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 24px 50px -24px rgba(48, 39, 131, 0.25);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--indigo-50);
  border: 1px solid #e0e7ff;
  color: var(--indigo-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}
.feature-card p { font-size: 13px; line-height: 1.72; color: var(--muted); }
.feature-meta { display: flex; gap: 5px; margin-top: auto; padding-top: 20px; }
.feature-meta span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--slate-600);
  background: #f1f5f9;
  border: 1px solid #e9eef5;
  border-radius: 999px;
  padding: 3px 8px;
}

/* ═══════════ USE CASES ═══════════ */
.usecases { background: #fff; }
.usecases-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: center;
}
.usecases-copy h2 { font-size: clamp(32px, 3.8vw, 46px); }
.usecases-lede { margin-top: 18px; font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 430px; }
.scenario-list { margin-top: 28px; }
.scenario {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.scenario-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--indigo-500);
  padding-top: 4px;
  flex-shrink: 0;
}
.scenario h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.scenario p { font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 400px; }

.code-card {
  position: relative;
  background: #0b1020;
  border-radius: 18px;
  border: 1px solid #1e293b;
  box-shadow: 0 40px 90px -34px rgba(2, 6, 23, 0.6);
  overflow: hidden;
  color: #e2e8f0;
}
.cc-glow {
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.cc-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.cc-tabs { display: flex; gap: 2px; }
.cc-tab {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, background 0.2s;
}
.cc-tab:hover { color: #cbd5e1; }
.cc-tab.active { color: #e2e8f0; background: rgba(255, 255, 255, 0.08); }
.cc-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #94a3b8;
  font-size: 9px;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cc-copy:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.cc-copy svg { width: 11px; height: 11px; }
.cc-code { margin: 0; padding: 20px 22px; overflow-x: auto; }
.cc-code code,
.cc-response code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.85;
  color: #cbd5e1;
  white-space: pre;
}
.tok-cmd { color: #67e8f9; }
.tok-str { color: #a7f3d0; }
.tok-key { color: #93c5fd; }
.tok-num { color: #fca5a5; }
.cc-response {
  padding: 14px 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}
.cc-response-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: #475569;
  margin-bottom: 8px;
}
.cc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #64748b;
}
.cc-foot span { display: inline-flex; align-items: center; gap: 5px; }
.cc-foot i { width: 4px; height: 4px; border-radius: 50%; background: #34d399; }
.cc-foot a { color: #a5b4fc; display: inline-flex; align-items: center; gap: 4px; }
.cc-foot a:hover { color: #fff; }

/* ═══════════ PRICING ═══════════ */
.pricing { background: #f8fafc; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-pro {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 24px 60px -30px rgba(79, 70, 229, 0.4);
  transform: translateY(-8px);
}
.plan-pro:hover { transform: translateY(-12px); box-shadow: 0 30px 70px -30px rgba(79, 70, 229, 0.5); }
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.6);
}
.plan-top { margin-bottom: 20px; }
.plan-name { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.plan-desc { display: block; margin-top: 3px; font-size: 11px; color: var(--muted-2); }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 20px; }
.plan-currency { font-size: 17px; font-weight: 500; color: var(--muted); align-self: flex-start; margin-top: 8px; }
.plan-amount {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.plan-custom { font-size: 46px; letter-spacing: -0.05em; line-height: 1.06; }
.plan-period { font-size: 11px; color: var(--muted-2); margin-left: 3px; }
.plan-cta { width: 100%; margin-bottom: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.plan-features li {
  position: relative;
  padding-left: 21px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-600);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ecfdf5;
}
.plan-features li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 6.5px;
  width: 4px;
  height: 2px;
  border-left: 1.4px solid #059669;
  border-bottom: 1.4px solid #059669;
  transform: rotate(-45deg);
}
.plan-features li.no { color: #cbd5e1; }
.plan-features li.no::before { background: #f1f5f9; }
.plan-features li.no::after { border: 0; left: 4px; top: 7px; width: 4px; height: 1px; background: #cbd5e1; transform: rotate(45deg); }
.pricing-note { text-align: center; margin-top: 26px; font-size: 10.5px; color: var(--muted-2); }

/* ═══════════ QUICK START ═══════════ */
.quickstart { background: #fff; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 8px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 5px, transparent 5px 11px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #c7d2fe;
  box-shadow: 0 12px 26px -12px rgba(79, 70, 229, 0.4);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--indigo-600);
}
.step h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 12px; line-height: 1.65; color: var(--muted); max-width: 230px; margin: 0 auto; }
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--indigo-600);
}
.step-link span { transition: transform 0.25s; }
.step-link:hover span { transform: translateX(3px); }

.stack-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.stack-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; color: var(--muted-2); margin-right: 6px; }
.stack-pill {
  font-size: 9.5px;
  color: var(--slate-600);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fbfcfe;
}
.stack-link { margin-left: 8px; font-size: 10.5px; font-weight: 600; color: var(--indigo-600); }
.stack-link span { display: inline-block; transition: transform 0.25s; }
.stack-link:hover span { transform: translateX(3px); }

/* ═══════════ CTA BAND ═══════════ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 104px 0 110px;
  background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6d28d9 100%);
  color: #fff;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 15%, transparent 72%);
}
.cta-orb {
  position: absolute;
  width: 720px; height: 420px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(165, 243, 252, 0.22), transparent 60%);
  filter: blur(50px);
}
.cta-ring {
  position: absolute;
  width: 640px; height: 640px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.cta-ring::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 2; }
.eyebrow-light { color: rgba(255, 255, 255, 0.6); }
.eyebrow-light .eyebrow-dot { background: var(--cyan); }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.cta-inner p {
  max-width: 480px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-meta { margin-top: 20px; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.02em; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: #070b18; color: #94a3b8; }
.footer-top {
  display: grid;
  grid-template-columns: 1.9fr repeat(3, 1fr);
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: #64748b; }
.brand-footer .brand-mark { box-shadow: 0 6px 18px -6px rgba(99, 102, 241, 0.8); }
.footer-brand p { max-width: 280px; margin: 16px 0 12px; font-size: 12px; line-height: 1.7; color: #64748b; }
.footer-mail { font-size: 12px; color: #a5b4fc; }
.footer-mail:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 12px;
  color: #94a3b8;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  color: #475569;
}
.footer-bottom-right { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom-right a { color: #64748b; transition: color 0.2s; }
.footer-bottom-right a:hover { color: #fff; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.8); }

/* ═══════════ TOAST / REVEAL ═══════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 16px 40px -14px rgba(2, 6, 23, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 9999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1120px) {
  .hero-title { font-size: clamp(44px, 7vw, 84px); }
  .fc-body { grid-template-columns: 1.05fr 56px 0.95fr 56px 1.05fr; padding: 22px 18px; }
  .fb-uptime { right: -12px; }
  .fb-sdk { left: -16px; }
  .about-grid { gap: 48px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .nav-burger { display: block; }
  .nav-actions { margin-left: auto; }
  .section { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { max-width: 580px; }
  .about-stats { margin-top: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .usecases-grid { grid-template-columns: 1fr; gap: 40px; }
  .code-card { max-width: 640px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan-pro { transform: none; }
  .plan-pro:hover { transform: translateY(-4px); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .hero { padding: 122px 0 66px; }
  .hero-title { font-size: clamp(42px, 10.2vw, 64px); }
  .fc-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .fc-pipe { display: none; }
  .fc-node { padding: 0 4px; }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .fc-core { padding: 6px 0; }
  .core-orb { width: 70px; height: 70px; }
  .fc-node-app .app-grid { grid-template-columns: repeat(4, 1fr); }
  .fc-foot { grid-template-columns: 1fr 1fr; }
  .fc-stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .fc-stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .fc-stat:nth-child(3), .fc-stat:nth-child(4) { border-bottom: 0; }
  .float-badge { display: none; }
  .providers-row { gap: 14px 26px; }
  .plogo { font-size: 14px; }
  .plogo-anthropic, .plogo-mistral { font-size: 11.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; max-width: 340px; }
  .steps::before { display: none; }
  .step p { max-width: 320px; }
  .stack-row { gap: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-ring { width: 480px; height: 480px; }
}

@media (max-width: 640px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-inner { height: 64px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 108px; }
  .hero-title { font-size: clamp(38px, 11.6vw, 52px); letter-spacing: -0.045em; }
  .hero-sub { font-size: 15px; }
  .token-float { display: none; }
  .section-head h2 br { display: none; }
  .section-head h2, .about-copy h2, .usecases-copy h2, .cta-inner h2 { text-wrap: balance; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { gap: 6px 14px; font-size: 10.5px; }
  .factory-wrap { margin-top: 38px; }
  .fc-url { font-size: 8px; }
  .fc-head { padding: 0 12px; }
  .fc-body { padding: 16px; }
  .provider-grid { grid-template-columns: 1fr 1fr; }
  .fc-node-app .app-grid { grid-template-columns: 1fr 1fr; }
  .fc-stat { padding: 12px 14px; }
  .fc-stat strong { font-size: 17px; }
  .providers { padding: 24px 0; }
  .providers-row { gap: 10px 18px; }
  .provider-row .plogo { font-size: 12px; }
  .plogo { font-size: 12.5px; }
  .plogo-anthropic, .plogo-mistral { font-size: 10.5px; }
  .about-copy h2, .section-head h2, .usecases-copy h2 { font-size: 31px; }
  .about-lede { font-size: 15px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .astat { padding-left: 0; border-left: 0; }
  .astat:nth-child(even) { padding-left: 18px; border-left: 1px solid #e6e8f4; }
  .blueprint { padding: 15px; }
  .bp-machine-stats { flex-wrap: wrap; }
  .feature-card { padding: 22px; min-height: 0; }
  .feature-meta { padding-top: 16px; }
  .scenario p { max-width: none; }
  .cc-code { padding: 16px; }
  .cc-code code, .cc-response code { font-size: 9px; }
  .cc-response { padding: 12px 16px; }
  .plan { padding: 24px; }
  .plan-amount { font-size: 44px; }
  .cta-band { padding: 82px 0 86px; }
  .cta-ring { width: 340px; height: 340px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-right { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
