:root {
  --bg: #07070b;
  --bg-soft: #0b0b12;
  --panel: #11111b;
  --panel-2: #151522;
  --panel-3: #1b1b2b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f4f4fa;
  --muted: #9b9bb0;
  --muted-2: #6f6f85;
  --violet: #7b5cf6;
  --violet-2: #a78bfa;
  --violet-3: #5533e0;
  --violet-soft: rgba(123, 92, 246, .14);
  --green: #46d19b;
  --red: #ff5c6c;
  --amber: #ffb454;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .55);
  --font: "Onest", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(123, 92, 246, .38); color: #fff; }

.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ------------------------------------------------------------------ nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 18px 0 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 9px 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 30, 46, .72), rgba(13, 13, 20, .78));
  backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--violet-2), var(--violet-3));
  box-shadow: 0 8px 22px rgba(123, 92, 246, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.nav-links a {
  padding: 9px 13px; border-radius: 11px; color: var(--muted);
  font-size: 14.5px; font-weight: 500; transition: .18s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-spacer { flex: 1; }
.nav-user { display: flex; align-items: center; gap: 8px; margin-right: 4px; }
.nav-user-name { color: var(--muted); font-size: 13.5px; }
.nav-user-name b { color: var(--text); font-weight: 600; }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05);
  color: var(--text); align-items: center; justify-content: center;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 650; font-size: 14.5px;
  color: var(--text); background: rgba(255, 255, 255, .06);
  transition: .18s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .1); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-3));
  border-color: rgba(180, 160, 255, .35);
  box-shadow: 0 14px 34px rgba(90, 55, 220, .35), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { background: linear-gradient(135deg, #8d6ffb, #6440ea); box-shadow: 0 18px 42px rgba(90, 55, 220, .45); }
.btn-ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); }
.btn-outline { border-color: var(--line-strong); background: transparent; }
.btn-sm { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 15.5px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-danger { background: rgba(255, 92, 108, .12); border-color: rgba(255, 92, 108, .3); color: #ffb3ba; }
.btn-danger:hover { background: rgba(255, 92, 108, .2); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: flex; align-items: center;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 48% at 50% 34%, rgba(123, 92, 246, .22) 0%, rgba(123, 92, 246, .08) 42%, transparent 72%),
    radial-gradient(40% 34% at 18% 20%, rgba(72, 92, 255, .13), transparent 70%),
    radial-gradient(42% 36% at 84% 22%, rgba(190, 92, 255, .12), transparent 70%),
    linear-gradient(180deg, #0a0a13 0%, #07070b 70%);
}
.hero-grid {
  position: absolute; inset: -10% -10%;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(62% 55% at 50% 38%, #000 0%, transparent 78%);
  transform: perspective(700px) rotateX(58deg) translateY(8%);
  transform-origin: center center;
  opacity: .55;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: float 9s ease-in-out infinite;
}
.hero-orb.a { width: 380px; height: 380px; left: 6%; top: 14%; background: rgba(88, 63, 220, .35); }
.hero-orb.b { width: 300px; height: 300px; right: 8%; top: 8%; background: rgba(160, 92, 246, .28); animation-delay: -3s; }
.hero-orb.c { width: 260px; height: 260px; right: 24%; bottom: 0; background: rgba(50, 120, 255, .16); animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
.hero-noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; text-align: center; margin: 0 auto; max-width: 920px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(160, 140, 255, .24);
  background: rgba(123, 92, 246, .1);
  color: #cfc6ff; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(52px, 9vw, 104px);
  line-height: .94; letter-spacing: -.055em; font-weight: 800;
  background: linear-gradient(180deg, #fff 18%, #d9d3ff 58%, #8d7cd8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 30px 90px rgba(123, 92, 246, .18);
}
.hero-title span { display: block; font-size: .42em; letter-spacing: .16em; font-weight: 700; color: #cfc6ff; -webkit-text-fill-color: #cfc6ff; margin-top: 12px; }
.hero-lead { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 1.8vw, 18.5px); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--muted-2); font-size: 12.5px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 760px; margin: 46px auto 0;
}
.stat {
  padding: 15px 12px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, .028); backdrop-filter: blur(10px);
}
.stat b { display: block; font-size: 22px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------------ hud mockup */
.hud-stage { position: relative; z-index: 2; margin: 54px auto 0; max-width: 1000px; }
.hud-window {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 22, 35, .92), rgba(10, 10, 16, .96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateX(2deg);
}
.hud-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.hud-dots { display: flex; gap: 6px; margin-right: 8px; }
.hud-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.hud-dots i:first-child { background: #ff6b7d; } .hud-dots i:nth-child(2) { background: #ffc46b; } .hud-dots i:nth-child(3) { background: #56d9a2; }
.hud-top-title { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.hud-top-title b { color: #cfc6ff; }
.hud-top-spacer { flex: 1; }
.hud-chip { font-family: var(--mono); font-size: 10.5px; color: var(--green); border: 1px solid rgba(70, 209, 155, .25); background: rgba(70, 209, 155, .08); padding: 3px 8px; border-radius: 999px; }
.hud-body { display: grid; grid-template-columns: 230px 1fr; min-height: 360px; }
.hud-side { border-right: 1px solid var(--line); padding: 14px; background: rgba(255, 255, 255, .018); }
.hud-side-title { font-size: 10px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; margin: 4px 0 10px; }
.hud-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.hud-module { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; color: var(--muted); font-size: 12.5px; }
.hud-module.active { background: var(--violet-soft); color: #e6e0ff; border: 1px solid rgba(123, 92, 246, .28); }
.hud-module .tick { width: 8px; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .16); margin-left: auto; }
.hud-module.active .tick { background: var(--violet-2); box-shadow: 0 0 10px rgba(167, 139, 250, .7); }
.hud-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.hud-row { display: grid; grid-template-columns: 1fr 130px; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .022); }
.hud-row b { display: block; font-size: 13px; }
.hud-row span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.hud-control { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.hud-control i { display: block; height: 100%; width: 68%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-3), var(--violet-2)); box-shadow: 0 0 12px rgba(167, 139, 250, .6); }
.hud-watermark { position: absolute; right: 18px; top: 62px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(8, 8, 14, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); font-size: 11px; color: #d8d3ff; }
.hud-watermark i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet-2); }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.kicker { color: var(--violet-2); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.section-lead { color: var(--muted); font-size: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  position: relative; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden; transition: .22s ease;
}
.feature-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 20% 0%, rgba(123, 92, 246, .13), transparent 65%); opacity: 0; transition: .22s; pointer-events: none; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(160, 140, 255, .24); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #dcd5ff; background: var(--violet-soft); border: 1px solid rgba(123, 92, 246, .22); margin-bottom: 16px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.feature-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.tag { font-family: var(--mono); font-size: 10.5px; color: #c9c2ea; padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase-copy .section-title { text-align: left; }
.showcase-copy .section-lead { text-align: left; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-item .check { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(70, 209, 155, .12); border: 1px solid rgba(70, 209, 155, .25); color: var(--green); font-size: 12px; }
.check-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.check-item span { color: var(--muted); font-size: 13px; }
.showcase-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.showcase-visual .glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 246, .28), transparent 68%); filter: blur(10px); }
.showcase-card { position: relative; width: 100%; max-width: 420px; padding: 22px; border-radius: 20px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(25, 25, 40, .9), rgba(11, 11, 18, .95)); box-shadow: var(--shadow); }
.showcase-card .row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.showcase-card .row:last-child { border-bottom: 0; }
.row-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--violet-soft); color: #d9d1ff; }
.showcase-card .row b { font-size: 13px; }
.showcase-card .row span { display: block; color: var(--muted); font-size: 11.5px; }
.showcase-card .row .value { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--green); }

/* ------------------------------------------------------------------ pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: .22s;
}
.price-card:hover { transform: translateY(-3px); border-color: rgba(160, 140, 255, .25); }
.price-card.featured { border-color: rgba(123, 92, 246, .45); background: linear-gradient(180deg, rgba(123, 92, 246, .14), rgba(255, 255, 255, .02)); box-shadow: 0 22px 60px rgba(80, 45, 200, .18); }
.price-badge { position: absolute; top: -10px; left: 18px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg, var(--violet-2), var(--violet-3)); color: #fff; box-shadow: 0 8px 20px rgba(90, 55, 220, .35); }
.price-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.price-top h3 { margin: 0; font-size: 16px; }
.price-days { color: var(--muted); font-size: 12px; }
.price-value { margin: 12px 0 2px; font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.price-value small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 12px; min-height: 18px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.price-list li { display: flex; gap: 8px; color: var(--muted); font-size: 12.5px; }
.price-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card .soon { font-size: 10px; color: var(--muted-2); text-align: center; margin-top: 8px; }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: none; border: 0; color: var(--text); text-align: left; font-size: 14.5px; font-weight: 600; }
.faq-q .plus { margin-left: auto; color: var(--violet-2); font-size: 18px; transition: .2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); font-size: 13.5px; }
.faq-a div { padding: 0 20px 18px; }
.faq-item.open .faq-a { max-height: 260px; }

/* ------------------------------------------------------------------ cta / footer */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px;
  border: 1px solid rgba(160, 140, 255, .22);
  background: linear-gradient(135deg, rgba(123, 92, 246, .22), rgba(20, 20, 34, .82) 55%, rgba(10, 10, 16, .92));
  padding: 56px 40px; text-align: center;
}
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(123, 92, 246, .25); filter: blur(80px); top: -220px; left: 20%; }
.cta-band h2 { position: relative; margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.cta-band p { position: relative; color: var(--muted); margin: 0 auto 24px; max-width: 560px; }
.cta-band .hero-actions { position: relative; margin-top: 0; }
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer p { color: var(--muted); font-size: 13px; max-width: 300px; }
.footer h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 12px; flex-wrap: wrap; }
.footer-bottom .legal { display: flex; gap: 16px; flex-wrap: wrap; }

.cookie {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 90;
  display: none; align-items: center; gap: 14px; justify-content: center;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(16, 16, 26, .94); backdrop-filter: blur(20px); box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--muted);
}
.cookie.show { display: flex; }
.cookie button { flex: 0 0 auto; }

/* ------------------------------------------------------------------ auth */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-visual { position: relative; overflow: hidden; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 36px; background: radial-gradient(60% 60% at 30% 20%, rgba(123, 92, 246, .2), transparent 68%), #08080e; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(60% 60% at 40% 40%, #000, transparent 74%); }
.auth-visual > * { position: relative; z-index: 2; }
.auth-visual h1 { font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; margin: 0 0 18px; }
.auth-visual h1 span { color: var(--violet-2); }
.auth-visual p { color: var(--muted); max-width: 460px; }
.auth-quote { border-left: 2px solid var(--violet); padding-left: 16px; color: #c9c2ea; font-size: 13.5px; max-width: 420px; }
.auth-form-side { display: grid; place-items: center; padding: 30px; }
.auth-card { width: min(430px, 100%); }
.auth-card .brand { margin-bottom: 28px; }
.auth-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.04em; }
.auth-card > p { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .035);
  color: var(--text); font-size: 14px; outline: none; transition: .18s;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { border-color: rgba(160, 140, 255, .55); box-shadow: 0 0 0 3px rgba(123, 92, 246, .14); background: rgba(255, 255, 255, .05); }
.input-wrap { position: relative; }
.input-wrap .toggle-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 6px; }
.checkbox { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; cursor: pointer; user-select: none; }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox .box { width: 19px; height: 19px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); display: grid; place-items: center; transition: .16s; flex: 0 0 auto; }
.checkbox .box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: .16s; }
.checkbox input:checked + .box { background: linear-gradient(135deg, var(--violet), var(--violet-3)); border-color: rgba(180, 160, 255, .5); box-shadow: 0 6px 16px rgba(90, 55, 220, .3); }
.checkbox input:checked + .box svg { opacity: 1; transform: scale(1); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; }
.auth-row a { color: var(--violet-2); font-size: 12.5px; }
.form-error { display: none; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 92, 108, .28); background: rgba(255, 92, 108, .1); color: #ffb3ba; font-size: 12.5px; }
.form-error.show { display: block; }
.auth-sub { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.auth-sub a { color: var(--violet-2); font-weight: 600; }
.code-hint { margin: 0 0 18px; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(123, 92, 246, .28); background: rgba(123, 92, 246, .09); color: var(--muted); font-size: 13px; line-height: 1.55; }
.code-hint b { color: var(--text); }
.code-input { font-family: "JetBrains Mono", monospace; font-size: 24px; font-weight: 600; letter-spacing: .38em; text-align: center; padding-left: .38em; }
.dev-code { margin: -4px 0 14px; color: var(--violet-2); }
.code-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.link-btn { border: 0; background: none; padding: 0; color: var(--violet-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.link-btn:disabled { color: var(--muted-2); cursor: default; }
.auth-foot { margin-top: 26px; color: var(--muted-2); font-size: 11.5px; text-align: center; }

/* ------------------------------------------------------------------ dashboard */
.dash { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.dash-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--line); background: #08080e; }
.dash-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 22px; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav a, .dash-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-size: 13.5px; text-align: left; transition: .16s; }
.dash-nav a:hover, .dash-nav button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.dash-nav .active { background: var(--violet-soft); color: #e6e0ff; border: 1px solid rgba(123, 92, 246, .22); }
.dash-nav svg { width: 17px; height: 17px; flex: 0 0 auto; }
.dash-side-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); }
.dash-user { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(145deg, var(--violet-2), var(--violet-3)); }
.dash-user b { display: block; font-size: 13px; }
.dash-user span { display: block; font-size: 11px; color: var(--muted); }
.dash-main { min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 14px; padding: 20px 28px; border-bottom: 1px solid var(--line); background: rgba(7, 7, 11, .7); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.dash-top h1 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.dash-top .muted { color: var(--muted); font-size: 12.5px; }
.dash-top-spacer { flex: 1; }
.dash-content { padding: 28px; max-width: 1180px; }
.dash-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); padding: 22px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.panel-head .muted { color: var(--muted); font-size: 12px; }
.panel-head .spacer { flex: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.stat-card span { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }
.stat-card b { font-size: 19px; letter-spacing: -.02em; }
.rank-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rank-badge.dev { color: #fff; background: linear-gradient(135deg, #ffb454, #e06a2c); }
.rank-badge.media { color: #fff; background: linear-gradient(135deg, #7b5cf6, #4a2ac8); }
.rank-badge.user { color: #cfc9e8; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.rank-badge.guest { color: var(--muted); background: rgba(255, 255, 255, .05); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.badge.ok { color: var(--green); background: rgba(70, 209, 155, .1); border: 1px solid rgba(70, 209, 155, .2); }
.badge.warn { color: var(--amber); background: rgba(255, 180, 84, .1); border: 1px solid rgba(255, 180, 84, .2); }
.badge.err { color: #ffb3ba; background: rgba(255, 92, 108, .1); border: 1px solid rgba(255, 92, 108, .2); }
.badge.muted { color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-3), var(--violet-2)); box-shadow: 0 0 14px rgba(167, 139, 250, .5); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; word-break: break-word; }
.mono { font-family: var(--mono); font-size: 12px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.notice strong { color: var(--text); }
.notice.warn { border-color: rgba(255, 180, 84, .25); background: rgba(255, 180, 84, .07); }
.notice.ok { border-color: rgba(70, 209, 155, .25); background: rgba(70, 209, 155, .06); }
.notice.err { border-color: rgba(255, 92, 108, .25); background: rgba(255, 92, 108, .07); }
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-actions .btn { flex: 1 1 150px; }
.plan-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.plan-mini { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 8px; }
.plan-mini b { font-size: 14px; }
.plan-mini span { color: var(--muted); font-size: 12px; }
.plan-mini .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { text-align: left; color: var(--muted-2); font-weight: 600; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table code { font-family: var(--mono); font-size: 11.5px; color: #cfc6ff; white-space: nowrap; }
.table .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { padding: 28px 10px; text-align: center; color: var(--muted); font-size: 13px; }
.section-title-sm { margin: 0 0 6px; font-size: 15px; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.tiny { font-size: 11.5px; }
.hidden { display: none !important; }

/* modal / toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(3, 3, 6, .72); backdrop-filter: blur(8px); }
.modal-backdrop.show { display: grid; }
.modal-card { width: min(440px, 100%); border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(180deg, #171724, #0d0d14); box-shadow: var(--shadow); padding: 24px; }
.modal-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.03em; }
.modal-card p { color: var(--muted); font-size: 13.5px; }
.modal-card .modal-actions { display: flex; gap: 8px; margin-top: 20px; }
.modal-card .modal-actions .btn { flex: 1; }
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 8px; }
.toast { min-width: 260px; max-width: 360px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(18, 18, 28, .96); box-shadow: var(--shadow); color: var(--text); font-size: 13px; animation: toastIn .2s ease; }
.toast.ok { border-color: rgba(70, 209, 155, .3); }
.toast.err { border-color: rgba(255, 92, 108, .3); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }

/* admin */
.admin-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-form .field { margin-bottom: 0; }
.admin-form .field.full { grid-column: 1 / -1; }
.admin-form .btn { align-self: end; }
.admin-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.admin-toolbar .input { max-width: 280px; min-height: 40px; }
.user-row { cursor: pointer; }
.user-row:hover td { background: rgba(255, 255, 255, .025); }
.user-detail { display: none; }
.user-detail.show { display: block; }
.code-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.code-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .025); }
.code-item code { flex: 1; font-family: var(--mono); font-size: 11.5px; color: #d8d1ff; word-break: break-all; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1050px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-user-name { display: none; }
  .burger { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(14, 14, 22, .98); box-shadow: var(--shadow); }
  .nav { position: relative; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hud-body { grid-template-columns: 1fr; }
  .hud-side { display: none; }
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase-visual { min-height: 320px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-sidebar { position: static; height: auto; min-width: 0; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 14px 12px; }
  .dash-brand { padding: 0 0 2px; }
  .dash-nav { flex-direction: row; flex-wrap: nowrap; flex: 1; width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a, .dash-nav button { width: auto; padding: 8px 10px; font-size: 12.5px; white-space: nowrap; }
  .dash-side-foot { display: none; }
  .dash-content { padding: 18px; }
  .stat-grid { grid-template-columns: 1fr; }
  .mobile-only { display: inline-flex !important; }
}
.mobile-only { display: none; }
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1240px); }
  .hero { padding-top: 36px; }
  .hero-title { font-size: clamp(42px, 15vw, 68px); }
  .hero-actions .btn { width: 100%; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .dash-top { padding: 10px 14px; gap: 8px; flex-wrap: nowrap; }
  .dash-top h1 { font-size: 18px; }
  .dash-top .muted { display: none; }
  .dash-top a.btn { display: none; }
  .dash-top .btn { padding: 8px 12px; }
  .dash-top .avatar { flex: 0 0 auto; }
  .auth-form-side { padding: 20px; }
  .hud-stage { margin-top: 34px; }
  .hud-row { grid-template-columns: 1fr; }
  .price-card { padding: 22px 18px; }
  .table th, .table td { padding: 9px 7px; }
  .keys-table th, .keys-table td { padding-left: 6px; padding-right: 6px; }
}

/* ------------------------------------------------------------------ page extras */
.pricing-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) { .pricing-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .pricing-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid.cols-5 { grid-template-columns: 1fr; } }

.service-strip {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 18px 22px; border-radius: 16px;
  border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, .022);
}
.service-strip .service-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 180, 84, .1); border: 1px solid rgba(255, 180, 84, .2); color: var(--amber); flex: 0 0 auto; }
.service-strip b { display: block; font-size: 14px; }
.service-strip span { display: block; color: var(--muted); font-size: 12.5px; }
.service-strip .btn { margin-left: auto; }
@media (max-width: 600px) { .service-strip .btn { margin-left: 0; width: 100%; } }

.legal-page { padding: 72px 0 24px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.05em; margin: 0 0 10px; }
.legal-page .legal-lead { color: var(--muted); max-width: 680px; margin-bottom: 40px; }
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.legal h2 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); font-size: 14px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal .updated { color: var(--muted-2); font-size: 12px; }

.download-hero { padding: 84px 0 40px; text-align: center; }
.download-hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -.055em; line-height: 1; margin: 18px 0 16px; }
.download-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 0; }
.step-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.step-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; font-weight: 800; color: #ddd6ff; background: var(--violet-soft); border: 1px solid rgba(123, 92, 246, .25); }
.step-card h3 { margin: 0 0 6px; font-size: 16px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.download-panel { max-width: 760px; margin: 28px auto 0; padding: 26px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(255, 255, 255, .025); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.download-panel b { display: block; font-size: 16px; }
.download-panel span { display: block; color: var(--muted); font-size: 12.5px; }
.download-panel .btn { margin-left: auto; }
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } .download-panel .btn { margin-left: 0; width: 100%; } }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .field { margin-bottom: 0; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.textarea { min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select.input option { background: #12121c; color: var(--text); }

.dash-panel, .admin-panel { display: none; }
.dash-panel.active, .admin-panel.active { display: block; }
.panel + .panel { margin-top: 18px; }
.panel-sub { color: var(--muted); font-size: 12.5px; margin: -8px 0 18px; }

.plan-mini.selected { border-color: rgba(160, 140, 255, .5); background: rgba(123, 92, 246, .1); }
.plan-mini .price-line { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.plan-mini .price-line small { font-size: 11px; color: var(--muted); font-weight: 600; }

.copy-line { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .22); }
.copy-line code { flex: 1; font-family: var(--mono); font-size: 11.5px; color: #d8d1ff; word-break: break-all; user-select: all; }
.copy-line .icon-btn { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); display: grid; place-items: center; }
.copy-line .icon-btn:hover { color: var(--text); background: rgba(255,255,255,.08); }
.big-key { margin: 14px 0; }

.quota { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.quota .progress { flex: 1; margin: 0; }
.quota b { color: var(--text); }

.user-detail-panel { margin-top: 18px; border: 1px solid rgba(160, 140, 255, .25); border-radius: 16px; background: rgba(123, 92, 246, .055); padding: 20px; }
.user-detail-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.user-detail-head h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.user-detail-head .spacer { flex: 1; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.action-card { border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, .16); padding: 14px; }
.action-card h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.action-card .field { margin-bottom: 8px; }
.action-card .input { min-height: 38px; font-size: 13px; }
.action-card .btn { width: 100%; }
@media (max-width: 900px) { .action-grid { grid-template-columns: 1fr; } }

.small-note { color: var(--muted-2); font-size: 11.5px; }
.status-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.table .nowrap { white-space: nowrap; }
.table .right { text-align: right; }
.table .copy-code { cursor: pointer; transition: color .15s ease; }
.table .copy-code:hover { color: #fff; text-decoration: underline dotted; }
.keys-table th, .keys-table td { padding-left: 8px; padding-right: 8px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.empty .btn { margin-top: 12px; }
.section-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mono-wrap { word-break: break-all; }
.search-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-row .input { max-width: 300px; min-height: 40px; }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

.media-quote { border-left: 2px solid var(--violet); padding: 4px 0 4px 14px; color: #c9c2ea; font-size: 13px; margin: 12px 0 16px; }

.stat-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) { .stat-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .stat-grid.cols-5 { grid-template-columns: 1fr; } }


