/* Helix-Ware tanıtım sitesi — ürün arayüzüyle aynı mor/indigo palet */
:root {
  --brand: #6d4aff;
  --brand-2: #8b5cf6;
  --brand-3: #3b82f6;
  --brand-ink: #4c2fd6;
  --ok: #10b981;
  --warn: #f59e0b;
  --ink: #0f1222;
  --ink-2: #454a63;
  --muted: #6b7091;
  --line: #e7e8f2;
  --bg: #ffffff;
  --bg-alt: #f6f5ff;
  --dark: #0b0d1c;
  --dark-2: #14172b;
  --dark-line: rgba(255, 255, 255, .09);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 18, 34, .06), 0 8px 24px rgba(15, 18, 34, .06);
  --shadow-lg: 0 30px 60px -20px rgba(76, 47, 214, .35), 0 12px 24px -12px rgba(15, 18, 34, .18);
  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 45%, var(--brand-3) 100%);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
svg { flex: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible, .tabs button:focus-visible, .scenarios button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(109, 74, 255, .45); outline-offset: 2px;
}
.btn-primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 8px 20px -8px rgba(109, 74, 255, .7); animation: shimmer 6s ease infinite; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(109, 74, 255, .85); }
.btn-ghost { color: var(--brand-ink); background: rgba(109, 74, 255, .06); }
.btn-ghost:hover { background: rgba(109, 74, 255, .12); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(15, 18, 34, .2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .2s; border-radius: 2px; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--brand-ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; background: #a78bfa; top: -220px; right: -120px; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: #93c5fd; top: 120px; left: -200px; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 380px; height: 380px; background: #f0abfc; bottom: -200px; right: 30%; opacity: .35; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(76, 47, 214, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 47, 214, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); background: rgba(109, 74, 255, .1); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; }
.rotator { display: inline-block; position: relative; }
.rot-word { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, transform .35s; }
.rot-word.out { opacity: 0; transform: translateY(-12px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink-2); margin-top: 20px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16, 185, 129, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hero-visual { position: relative; }
.mini-chat {
  position: absolute; left: -36px; bottom: -28px; width: 300px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-lg); font-size: 13.5px;
}
.mini-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(109, 74, 255, .18); }
.mini-q { margin-left: auto; width: fit-content; max-width: 92%; background: var(--grad); color: #fff; padding: 8px 12px; border-radius: 12px 12px 4px 12px; min-height: 36px; }
.mini-a { margin-top: 8px; background: var(--bg-alt); padding: 8px 12px; border-radius: 12px 12px 12px 4px; min-height: 52px; color: var(--ink-2); }
.mini-a b { color: var(--ink); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.chip svg { width: 16px; height: 16px; fill: none; stroke: var(--brand-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: -18px; right: 24px; }
.chip-2 { right: -18px; bottom: 56px; }
.chip-2 svg { stroke: var(--ok); }
.float { animation: float 6s ease-in-out infinite; }
.float-rev { animation: float 7s ease-in-out infinite reverse; }
.float-slow { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.stat { text-align: center; padding: 20px 12px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(6px); }
.stat b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------- Browser frame ---------- */
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f3f8; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; }
.frame-bar i:nth-child(1) { background: #ff6159; }
.frame-bar i:nth-child(2) { background: #ffbd2e; }
.frame-bar i:nth-child(3) { background: #28c941; }
.frame-url { margin-left: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-weight: 700; color: var(--muted); font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: "✦"; color: var(--brand-2); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 74, 255, .12), transparent 40%);
}
.card:hover { border-color: rgba(109, 74, 255, .35); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 17px; margin: 16px 0 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(109, 74, 255, .14), rgba(59, 130, 246, .14)); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Agent demo ---------- */
.agent-wrap { display: grid; grid-template-columns: 240px 1fr 280px; gap: 24px; align-items: start; }
.scenarios { display: grid; gap: 10px; }
.scenarios button {
  text-align: left; font: inherit; cursor: pointer; padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: all .2s; position: relative; overflow: hidden;
}
.scenarios button b { display: block; font-size: 15px; }
.scenarios button span { font-size: 13px; color: var(--muted); }
.scenarios button:hover { border-color: rgba(109, 74, 255, .4); }
.scenarios button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 10px 24px -14px rgba(109, 74, 255, .8); }
.scenarios button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad);
  transform-origin: 0 50%; animation: scnbar var(--dur, 14s) linear forwards;
}
@keyframes scnbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.agent-stage { display: grid; gap: 14px; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pipe { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .3s; }
.pipe i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--bg-alt); color: var(--muted); transition: all .3s; }
.pipe.on { color: var(--brand-ink); border-color: rgba(109, 74, 255, .5); background: #fff; box-shadow: 0 6px 16px -10px rgba(109, 74, 255, .9); }
.pipe.on i { background: var(--grad); color: #fff; }
.pipe.done { color: var(--ink-2); }
.pipe.done i { background: rgba(16, 185, 129, .15); color: var(--ok); }
.pipe.skip { opacity: .45; }

.chat { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; height: 520px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.replay { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--bg-alt); border: 0; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-input { display: flex; align-items: center; gap: 2px; margin: 0 14px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; min-height: 46px; }
.chat-input.typing { color: var(--ink); }
.caret { width: 2px; height: 18px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.msg-user { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg-bot { align-self: flex-start; background: var(--bg-alt); border-radius: 14px 14px 14px 4px; color: var(--ink); }
.msg-bot ul { margin: 6px 0 0; padding-left: 18px; }
.msg-bot li { margin: 2px 0; }
.tool { align-self: flex-start; font-family: var(--mono); font-size: 12px; color: var(--brand-ink); background: rgba(109, 74, 255, .08); border: 1px dashed rgba(109, 74, 255, .35); padding: 6px 10px; border-radius: 8px; animation: pop .3s ease; display: inline-flex; gap: 8px; align-items: center; }
.tool .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(109, 74, 255, .25); border-top-color: var(--brand); animation: spin .7s linear infinite; }
.tool.ok .spin { border: 0; width: auto; height: auto; animation: none; }
.tool.ok .spin::before { content: "✓"; color: var(--ok); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots { display: inline-flex; gap: 4px; padding: 12px 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.card-ui { align-self: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); animation: pop .35s ease; }
.card-ui h4 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.card-ui .badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(245, 158, 11, .15); color: #b45309; }
.card-ui .badge.ok { background: rgba(16, 185, 129, .15); color: #047857; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kv div { background: var(--bg-alt); border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.kv small { display: block; color: var(--muted); font-size: 11px; }
.kv b { font-weight: 600; min-height: 1.3em; display: block; }
.kv .fill { animation: fillin .5s ease; }
@keyframes fillin { from { background: rgba(109, 74, 255, .25); } to { background: transparent; } }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.card-actions span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.card-actions .primary { background: var(--grad); color: #fff; border-color: transparent; }
.card-actions .primary.pressed { transform: scale(.95); box-shadow: 0 0 0 4px rgba(109, 74, 255, .25); }

.agent-notes { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.agent-notes h3 { font-size: 16px; margin-bottom: 12px; }
.agent-notes ol { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.agent-notes b { color: var(--ink); }

/* ---------- Why ---------- */
.why { grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 8px 4px; }
.why-item h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.why-item h3::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--grad); flex: none; }
.why-item p { color: var(--ink-2); font-size: 15px; }

/* ---------- Security (dark) ---------- */
.section-dark { background: radial-gradient(900px 500px at 80% 0%, rgba(109, 74, 255, .25), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(59, 130, 246, .18), transparent 60%), var(--dark); color: #e8e9f5; }
.section-dark .section-head p { color: #a9acc8; }
.eyebrow-dark { background: rgba(167, 139, 250, .15); color: #c4b5fd; }
.layers { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.layer {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--dark-line);
  transition: border-color .25s, transform .25s;
}
.layer:hover { border-color: rgba(167, 139, 250, .5); transform: translateX(4px); }
.layer h3 { font-size: 17px; color: #fff; margin-bottom: 6px; }
.layer p { color: #a9acc8; font-size: 14.5px; }
.layer-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(109, 74, 255, .35), rgba(59, 130, 246, .25)); border: 1px solid rgba(167, 139, 250, .3); }
.layer-ico svg { width: 26px; height: 26px; fill: none; stroke: #ddd6fe; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tests-head { text-align: center; margin: 64px auto 24px; }
.tests-head h3 { font-size: 22px; color: #fff; }
.tests-head p { color: #a9acc8; margin-top: 6px; }
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tests.tests-single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.tests.tests-pair { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 760px) { .tests.tests-pair { grid-template-columns: 1fr; } }
.test { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); }
.test b { display: block; color: #fff; font-size: 15px; }
.test span { color: #a9acc8; font-size: 13px; }
.grade { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #052e1f; background: linear-gradient(135deg, #34d399, #10b981); flex: none; }
.grade svg { width: 24px; height: 24px; fill: none; stroke: #052e1f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tests-foot { text-align: center; color: #a9acc8; font-size: 14px; margin-top: 22px; }
.tests-foot a { color: #c4b5fd; }

/* ---------- Tabs / screens ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tabs button { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.tabs button:hover { border-color: var(--brand); color: var(--brand-ink); }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.frame-wide { max-width: 1040px; margin: 0 auto; }
#shot { transition: opacity .2s ease; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(109, 74, 255, .35), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid rgba(109, 74, 255, .35); font-weight: 800; color: var(--brand-ink); margin-bottom: 16px; position: relative; font-family: var(--mono); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Team ---------- */
.team { grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); transition: transform .25s; }
.member:hover { transform: translateY(-4px); }
.avatar { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #fff; background: var(--grad); box-shadow: 0 0 0 6px rgba(109, 74, 255, .12); }
.member h3 { font-size: 18px; }
.role { color: var(--muted); font-size: 14px; margin-top: 4px; }
.link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(109, 74, 255, .4); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; font-size: 15px; }

/* ---------- CTA / form ---------- */
.section-cta { background: linear-gradient(135deg, #4c2fd6, #6d4aff 45%, #3b82f6); color: #fff; overflow: hidden; isolation: isolate; }
.aurora-cta i:nth-child(1) { background: #f0abfc; top: -200px; right: -100px; width: 480px; height: 480px; opacity: .35; }
.aurora-cta i:nth-child(2) { background: #93c5fd; bottom: -240px; left: -120px; width: 480px; height: 480px; opacity: .35; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.cta-grid h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta-grid > div > p { opacity: .9; margin-top: 12px; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field small { font-weight: 400; opacity: .8; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 10px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #c4b5fd; }
.field textarea { resize: vertical; }
.form-error { min-height: 1.2em; font-size: 14px; font-weight: 600; color: #fde68a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .brand { font-size: 17px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand-ink); }
.footer p { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .agent-wrap { grid-template-columns: 1fr; }
  .scenarios { grid-template-columns: repeat(3, 1fr); }
  .agent-notes { order: 3; }
}
@media (max-width: 1024px) {
  .features, .why { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin: 0 20px 20px; }
  .tests { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .features, .why, .tests, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .stat b { font-size: 32px; }
  .hero-visual { margin: 0 0 48px; }
  .mini-chat { left: 8px; right: 8px; width: auto; bottom: -44px; }
  .chip-1 { right: 8px; top: -14px; }
  .chip-2 { display: none; }
  .scenarios { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(5, 1fr); }
  .pipe { flex-direction: column; gap: 4px; padding: 8px 2px; font-size: 11px; }
  .chat { height: 480px; }
  .msg { max-width: 94%; }
  .kv { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; padding: 18px; }
  .lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; display: grid; justify-items: center; gap: 12px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-top: 24px; }
.notfound p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; }
