:root {
  --bg: #0a0b14;
  --bg-2: #0f1120;
  --surface: #141729;
  --surface-2: #1a1e35;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceefa;
  --muted: #9aa0c0;
  --accent: #8b6cff;
  --accent-2: #2dd4ef;
  --grad: linear-gradient(120deg, #8b6cff 0%, #5b8cff 50%, #2dd4ef 100%);
  --ok: #34d399;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -15%, rgba(139, 108, 255, 0.2), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(45, 212, 239, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.5em; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.86em; background: var(--surface-2); border: 1px solid var(--border); padding: 0.1em 0.4em; border-radius: 6px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topbar { position: sticky; top: 0; z-index: 20; background: rgba(10, 11, 20, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.04em; }
.brand.small { font-size: 1.1rem; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.nav a.btn { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--grad); color: #fff; border: 0; border-radius: 12px; padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(139, 108, 255, 0.9); transition: transform 0.15s, filter 0.15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: none; color: var(--text); }
.btn-block { width: 100%; }
.btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); background: rgba(45, 212, 239, 0.08); border: 1px solid rgba(45, 212, 239, 0.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
.lead { font-size: 1.15rem; color: #c9cde6; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.hero-points li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 8px; }

.hero-visual { position: relative; }
.glow { position: absolute; inset: 10% 5% -5%; background: var(--grad); filter: blur(80px); opacity: 0.28; z-index: -1; border-radius: 50%; }
.window { background: linear-gradient(180deg, #171a30, #0f1120); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a2f4a; }
.window-bar span:nth-child(1) { background: #ff6b6b; } .window-bar span:nth-child(2) { background: #ffd166; } .window-bar span:nth-child(3) { background: #06d6a0; }
.window-bar em { margin-left: 12px; font-style: normal; font-size: 0.8rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.window-body { padding: 18px; display: grid; gap: 10px; }
.pane-title { font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.pane-title small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.srv { display: grid; grid-template-columns: 12px 1fr auto 90px 52px; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); padding: 11px 14px; border-radius: 11px; font-size: 0.9rem; }
.srv span { color: var(--muted); font-size: 0.78rem; }
.srv small { color: var(--muted); text-align: right; font-size: 0.78rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #4b5070; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar div { height: 100%; background: var(--grad); }
.console { margin-top: 6px; background: #07080f; border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: #cfd3ee; line-height: 1.7; }
.c-mute { color: #5d6388; } .c-acc { color: var(--accent-2); }
.caret { display: inline-block; width: 7px; height: 13px; background: var(--accent-2); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.strip { border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.strip-inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 0.9rem; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; }
.strip li { color: #c5c9e4; font-weight: 600; }

.section { padding-block: 88px 8px; }
.section.narrow { max-width: 820px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: -4px auto 40px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); font-weight: 800; margin-bottom: 16px; }
.steps p, .features p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features article { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s, transform 0.2s; }
.features article:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(139, 108, 255, 0.14); color: var(--accent-2); font-size: 1.1rem; margin-bottom: 16px; border: 1px solid rgba(139, 108, 255, 0.3); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-strong); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: transparent; background: linear-gradient(180deg, #1b1e3a, #10122a) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 60px -30px rgba(139, 108, 255, 0.6); }
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-card > p { min-height: 3em; margin: 0 0 12px; font-size: 0.95rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.price-card li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 10px; }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); font-size: 0.78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.soldout { color: #fbbf24; font-size: 0.85rem; text-align: center; margin: -14px 0 12px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent-2); font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }

.cta-band { text-align: center; padding: 56px 24px; border-radius: 24px; background: radial-gradient(600px 200px at 50% 0%, rgba(139, 108, 255, 0.35), transparent), var(--surface); border: 1px solid var(--border-strong); margin-bottom: 40px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

.footer { border-top: 1px solid var(--border); padding-block: 36px; margin-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.footer nav a { color: var(--muted); font-size: 0.92rem; }
.footer nav a:hover { color: var(--text); }

.legal { max-width: 780px; padding-block: 56px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal p, .legal li { color: #c9cde6; }
.todo { background: rgba(251, 191, 36, 0.12); color: #fde68a; padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 48px; }
  .window { transform: none; }
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .nav { gap: 14px; }
  .srv { grid-template-columns: 10px 1fr 60px; }
  .srv span, .srv small { display: none; }
  .section { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
