/* ═════════ Pingate — landing page ═════════ */
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-500-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 600; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-600-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 800; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-800-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 900; font-display: swap; src: url(../assets/fonts/vazirmatn-arabic-900-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-arabic-900-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-weight: 600; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-weight: 800; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; font-weight: 900; font-display: swap; src: url(../assets/fonts/vazirmatn-latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/npm/@fontsource/vazirmatn@5.1.0/files/vazirmatn-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #060a14;
  --bg-2: #0a1120;
  --panel: rgba(130, 170, 255, 0.05);
  --panel-2: rgba(130, 170, 255, 0.09);
  --line: rgba(130, 170, 255, 0.14);
  --line-soft: rgba(130, 170, 255, 0.07);
  --text: #eaf0ff;
  --muted: #8c9bbf;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-3: #22d3ee;
  --glow: rgba(59, 130, 246, 0.5);
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --r-lg: 10px;
  --r-md: 7px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --mono: "Vazirmatn", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 84px; background: var(--bg); }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.8; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--font); direction: ltr; unicode-bidi: plaintext; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: .2px; }
.muted { color: var(--muted); font-size: 14px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

/* ═════ background ═════ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #0e1b3a 0%, var(--bg) 60%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .38; will-change: transform; }
.a1 { width: 620px; height: 620px; background: #1d4ed8; top: -240px; right: -120px; animation: drift1 44s ease-in-out infinite alternate; }
.a2 { width: 520px; height: 520px; background: #0e7490; top: 30%; left: -200px; opacity: .32; animation: drift2 54s ease-in-out infinite alternate; }
.a3 { width: 480px; height: 480px; background: #4338ca; bottom: -200px; right: 25%; opacity: .3; animation: drift1 50s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(120px, -60px) scale(1.15); } }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 100%); opacity: .55; }
.noise { position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ═════ nav ═════ */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 10, 20, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { filter: drop-shadow(0 4px 14px var(--glow)); }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.links { display: flex; gap: 6px; margin-inline-start: auto; }
.links a { padding: 6px 13px; border-radius: 7px; color: var(--muted); font-size: 14.5px; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: var(--panel-2); }

/* ═════ buttons ═════ */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; border-radius: 8px; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn-sm { padding: 7px 16px; font-size: 14px; border-radius: 7px; }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #38a9ff 0%, #2563eb 55%, #3a3fe0 100%); box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(120%); transition: transform .7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover::after { transform: translateX(-120%); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--panel); border: 1px solid var(--line); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(130,170,255,.3); transform: translateY(-2px); }

/* ═════ hero ═════ */
.hero { padding-top: 112px; padding-bottom: 28px; display: grid; gap: 40px; justify-items: center; text-align: center; }
.hero-copy { display: grid; justify-items: center; gap: 22px; max-width: 760px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 14px; border: 1px solid rgba(96,165,250,.35); background: rgba(59,130,246,.1); color: #bcd6ff; border-radius: 7px; font-size: 14px; font-weight: 600; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 3.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.25; font-weight: 800; letter-spacing: -.3px; display: grid; }
h1 span { display: block; }
.grad { background: linear-gradient(100deg, #7dd3fc 0%, #3b82f6 45%, #818cf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 16s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19.5px); max-width: 600px; line-height: 2; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips svg { width: 16px; height: 16px; fill: none; stroke: var(--good); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* route stage */
.stage { position: relative; width: 100%; height: clamp(340px, 40vw, 470px); border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,34,70,.55), rgba(8,14,30,.55)); backdrop-filter: blur(10px); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(37,99,235,.55), inset 0 1px 0 rgba(255,255,255,.07); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 75%, rgba(59,130,246,.22), transparent 70%), radial-gradient(rgba(130,170,255,.18) 1px, transparent 1.4px) 0 0 / 26px 26px; -webkit-mask-image: radial-gradient(80% 90% at 50% 55%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 90% at 50% 55%, #000 30%, transparent 100%); pointer-events: none; }
#route { position: absolute; inset: 0; width: 100%; height: 100%; }
.lane-tag { position: absolute; inset-inline-start: 22px; display: grid; gap: 0; padding: 7px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; backdrop-filter: blur(8px); text-align: start; }
.lane-tag b { font-size: 13.5px; }
.lane-tag span { font-size: 12.5px; opacity: .9; }
.lane-tag em { font-style: normal; font-weight: 700; }
.lane-direct { top: 14px; background: rgba(251,113,133,.09); border: 1px solid rgba(251,113,133,.28); color: #fecdd3; }
.lane-gate { bottom: 14px; background: rgba(59,130,246,.14); border: 1px solid rgba(96,165,250,.4); color: #cfe3ff; }
.node-label { position: absolute; top: calc(var(--ny, 70%) + 30px); right: var(--x); transform: translateX(50%); font-size: 13px; font-weight: 600; color: #cfe3ff; white-space: nowrap; pointer-events: none; }
.node-label span { padding: 2px 9px; border-radius: 6px; background: rgba(8,14,30,.7); border: 1px solid var(--line); }
.sim { position: absolute; bottom: 12px; inset-inline-end: 16px; font-size: 11px; color: rgba(140,155,191,.7); }

/* ═════ sections ═════ */
.sec { padding-block: 68px; }
.narrow { max-width: 860px; }
.sec-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 36px; }
.eyebrow { color: var(--accent-2); font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.4; font-weight: 800; }
.sec-head p { color: var(--muted); max-width: 560px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding: 24px 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.45); }
.step::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(59,130,246,.28), transparent 70%); opacity: 0; transition: opacity .4s; }
.step:hover::after { opacity: 1; }
.step-n { position: absolute; top: 14px; inset-inline-start: 22px; font-size: 46px; font-weight: 800; color: rgba(130,170,255,.1); line-height: 1; }
.step-ico { width: 46px; height: 46px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, rgba(56,169,255,.25), rgba(58,63,224,.25)); border: 1px solid rgba(96,165,250,.4); box-shadow: 0 8px 24px -8px var(--glow); }
.step-ico svg, .step-ico { }
.step-ico svg { width: 26px; height: 26px; fill: none; stroke: #bfdcff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* marquee */
.marquee { display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; direction: ltr; }
.track { display: flex; gap: 10px; width: max-content; animation: scroll 140s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 160s; }
.track:hover { animation-play-state: paused; }
.track.slow { animation-duration: 180s; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tile { flex: none; width: 60px; height: 60px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(130,170,255,.1), rgba(130,170,255,.04)); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.tile i { width: 28px; height: 28px; background: #dbe7ff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: .88; }
.tile img { width: 30px; height: 30px; object-fit: contain; border-radius: 5px; }
.tile.cover { padding: 0; overflow: hidden; }
.tile.cover img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; opacity: .9; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; transition: border-color .35s, transform .35s var(--ease); }
.card:hover { border-color: rgba(96,165,250,.4); transform: translateY(-4px); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-top: auto; padding-inline: 4px; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 2px; padding-inline: 4px; padding-bottom: 4px; }
.card-vis { position: relative; flex: 1; min-height: 250px; margin-bottom: 14px; border-radius: 7px; background: rgba(4, 8, 20, .45); border: 1px solid var(--line-soft); overflow: hidden; }
.c-split { grid-column: span 3; }
.c-test { grid-column: span 3; }
.c-stable { grid-column: span 2; }
.c-modes { grid-column: span 2; }
.c-soon { grid-column: span 2; }

.split-vis { display: grid; align-content: center; gap: 10px; padding: 16px 18px; }
.srow { display: grid; grid-template-columns: 36px 80px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.app { width: 36px; height: 36px; border-radius: 7px; background: rgba(130,170,255,.1); border: 1px solid var(--line); display: grid; place-items: center; }
.app img { width: 20px; height: 20px; filter: brightness(0) invert(.9); opacity: .9; }
.pipe { position: relative; height: 3px; border-radius: 3px; background: rgba(130,170,255,.18); overflow: hidden; }
.pipe::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #60a5fa 0 14px, transparent 14px 34px); animation: flow 2.8s linear infinite; }
.pipe.off::after { background: repeating-linear-gradient(90deg, rgba(140,155,191,.5) 0 5px, transparent 5px 16px); animation: none; opacity: .5; }
@keyframes flow { to { background-position: -34px 0; } }
.tag { font-size: 12px; padding: 2px 9px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); }
.tag.good { color: #a7f3d0; border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.1); }

.test-vis { display: grid; place-items: end center; padding: 16px; }
.bars { position: absolute; inset: 18px 18px 54px; display: flex; align-items: flex-end; justify-content: space-around; gap: 8px; }
.bar { position: relative; flex: 1; max-width: 46px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--c), transparent 130%); border: 1px solid var(--c); transition: height 2.2s var(--ease); height: 40%; }
.bar b { position: absolute; top: -22px; inset-inline: -14px; text-align: center; font-size: 11.5px; font-family: var(--mono); direction: ltr; color: var(--c); }
.fake-btn { position: relative; z-index: 2; padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line); transition: background .2s; }
.fake-btn:hover { background: rgba(59,130,246,.25); }

.stable-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.legend { position: absolute; bottom: 8px; inset-inline: 12px; display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }
.l1 i { background: var(--bad); } .l2 i { background: var(--accent-2); }

.modes-vis { display: grid; align-content: center; gap: 16px; padding: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.seg button { padding: 5px 12px; font-size: 13px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.seg button.on { color: #fff; background: linear-gradient(135deg, #38a9ff, #2563eb); border-color: transparent; box-shadow: 0 6px 18px -6px var(--glow); }
.seg-desc { text-align: center; color: #cfe3ff !important; font-size: 13.5px !important; min-height: 44px; transition: opacity .25s; }

.soon-vis { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 16px; }
.pill { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; background: rgba(130,170,255,.06); border: 1px dashed rgba(130,170,255,.28); color: #cdd9f5; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); animation: blink 3.6s ease-in-out infinite; }
.pill:nth-child(2) i { animation-delay: .4s; } .pill:nth-child(3) i { animation-delay: .8s; } .pill:nth-child(4) i { animation-delay: 1.2s; }
@keyframes blink { 50% { opacity: .25; } }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(96,165,250,.4); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent-2); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 15.5px; }

/* final */
.final { position: relative; display: grid; justify-items: center; gap: 16px; padding: 52px 24px; text-align: center; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(8,14,30,.5)); overflow: hidden; }
#ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final > * { position: relative; }
.final-logo { filter: drop-shadow(0 12px 40px var(--glow)); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.final h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.4; }
.final p { color: var(--muted); font-size: 17px; max-width: 480px; }
.final small { color: var(--muted); font-size: 13px; }

.foot { border-top: 1px solid var(--line); padding-block: 28px; margin-top: 30px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px) scale(.985); filter: blur(2.5px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 160ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* responsive */
@media (max-width: 960px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-split, .c-test { grid-column: span 2; }
  .c-stable, .c-modes, .c-soon { grid-column: span 1; }
  .c-soon { grid-column: span 2; }
}
@media (max-width: 620px) {
  .hero { padding-top: 104px; }
  .sec { padding-block: 64px; }
  .bento { grid-template-columns: 1fr; }
  .c-split, .c-test, .c-stable, .c-modes, .c-soon { grid-column: span 1; }
  .stage { height: 330px; }
  .lane-tag { inset-inline-start: 12px; padding: 6px 10px; }
  .node-label { font-size: 11.5px; }
  .srow { grid-template-columns: 34px 64px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* toast */
.toast { position: fixed; bottom: 28px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 40px); padding: 11px 20px; border-radius: 8px; background: rgba(10,18,40,.92); border: 1px solid rgba(96,165,250,.4); color: #dbe9ff; font-size: 14.5px; box-shadow: 0 18px 50px -12px rgba(0,0,0,.6); backdrop-filter: blur(12px); opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; z-index: 100; }
.toast.show { opacity: 1; transform: none; }

/* nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 7px 14px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav-login:hover { color: var(--text); background: var(--panel-2); }
.btn-outline { border: 1px solid rgba(96,165,250,.45); color: #cfe3ff; background: rgba(59,130,246,.08); }
.btn-outline:hover { background: rgba(59,130,246,.18); }
@media (max-width: 620px) { .nav-login, .btn-outline { display: none; } }

/* ═════ hero: two columns (copy + live app card) ═════ */
.hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; justify-items: stretch; text-align: start; gap: 56px; min-height: min(760px, 100vh); padding-bottom: 48px; }
.hero-copy { justify-items: start; max-width: none; gap: 20px; }
.hero .lead { max-width: 540px; }
.hero .cta, .hero .chips { justify-content: flex-start; }
.compare { padding-top: 24px; }

.hero-card { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid rgba(130,170,255,.2); background: linear-gradient(180deg, rgba(22,36,72,.85), rgba(9,15,32,.92)); box-shadow: 0 50px 120px -40px rgba(37,99,235,.65), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.hero-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(96,165,250,.7), transparent 40%, transparent 60%, rgba(129,140,248,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hc-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 6px; border-bottom: 1px solid var(--line-soft); }
.hc-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.hc-state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #a7f3d0; padding: 3px 10px; border-radius: 6px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.hc-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: ping 3.2s infinite; }
.hc-game { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; background: rgba(4,8,20,.45); border: 1px solid var(--line-soft); }
.hc-game img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; }
.hc-game b { display: block; font-size: 16px; }
.hc-game span { font-size: 13px; color: var(--muted); }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hc-stats > div { padding: 10px 12px; border-radius: 8px; background: rgba(4,8,20,.45); border: 1px solid var(--line-soft); }
.hc-stats span { display: block; font-size: 12.5px; color: var(--muted); }
.hc-stats b { font-size: 26px; font-weight: 800; line-height: 1.3; color: #eaf2ff; }
.hc-stats em { font-style: normal; }
.hc-stats small { font-size: 13px; font-weight: 600; color: var(--muted); margin-inline-start: 3px; }
.hc-graph { position: relative; height: 110px; border-radius: 8px; background: rgba(4,8,20,.45); border: 1px solid var(--line-soft); overflow: hidden; }
.hc-graph canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-chain { display: flex; align-items: center; gap: 0; padding: 12px 10px; border-radius: 8px; background: rgba(4,8,20,.45); border: 1px solid var(--line-soft); }
.hc-node { flex: none; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: rgba(59,130,246,.14); border: 1px solid rgba(96,165,250,.35); color: #d6e6ff; }
.hc-node.end { background: linear-gradient(135deg, #38a9ff, #2563eb); border-color: transparent; color: #fff; }
.hc-link { position: relative; flex: 1; height: 2px; margin-inline: 6px; background: rgba(96,165,250,.25); overflow: hidden; border-radius: 2px; }
.hc-link::after { content: ""; position: absolute; top: -1px; width: 26px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, #7dd3fc, transparent); inset-inline-start: -26px; animation: travel 3.6s linear infinite; }
.hc-link:nth-of-type(2)::after { animation-delay: 1.2s; } .hc-link:nth-of-type(3)::after { animation-delay: 2.4s; }
@keyframes travel { to { inset-inline-start: 100%; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .hero-card { max-width: 520px; width: 100%; justify-self: center; }
}
.card.reveal.in:hover, .step.reveal.in:hover { transform: translateY(-5px); transition: transform .4s var(--ease), border-color .4s; }

/* ═════ motto: gamers + coders ═════ */
.motto { text-align: center; display: grid; justify-items: center; gap: 12px; margin-bottom: 34px; }
.motto-title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.35; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo-card { position: relative; padding: 22px 22px 20px; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.duo-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); pointer-events: none; }
.duo-head { display: flex; align-items: center; gap: 10px; color: var(--accent-2); font-weight: 700; font-size: 15px; }
.duo-head svg { width: 30px; height: 30px; padding: 5px; border-radius: 7px; background: rgba(59,130,246,.14); border: 1px solid rgba(96,165,250,.35); fill: none; stroke: #bfdcff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.duo-line { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 14px; line-height: 1.5; }
.duo-sub { color: var(--muted); font-size: 15.5px; margin-top: 4px; max-width: 460px; }
.duo-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.duo-tags li { font-size: 12.5px; padding: 3px 10px; border-radius: 5px; background: rgba(130,170,255,.07); border: 1px solid var(--line); color: #cdd9f5; direction: ltr; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
