:root {
  --bg: #07080c;
  --card: #121722;
  --line: rgba(255,255,255,.08);
  --text: #eef2ff;
  --muted: #8b95b3;
  --lime: #c8ff3d;
  --cyan: #4de8ff;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 18px;
  --font: "Sora", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); min-height: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7,8,12,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #08100a; display: grid; place-items: center; font-weight: 800;
}
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px; padding: 12px 18px;
  font-weight: 600; font-family: inherit; font-size: 14px;
}
.btn-lime { background: var(--lime); color: #10160a; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-cyan { background: var(--cyan); color: #062026; }
.btn-full { width: 100%; }
.hero { padding: 88px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% auto auto 40%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,61,.18), transparent 60%);
  pointer-events: none;
}
.kicker {
  display: inline-flex; color: var(--lime); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
h1 { font-size: clamp(40px, 7vw, 76px); line-height: .92; letter-spacing: -.05em; max-width: 16ch; }
.lede { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 46ch; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.section { padding: 72px 0; }
.section h2 { font-size: 36px; letter-spacing: -.04em; margin-bottom: 10px; }
.muted { color: var(--muted); }
.price { font-size: 42px; font-weight: 700; }
.price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(440px, 100%); }
label { display: block; font-size: 13px; margin: 14px 0 6px; color: var(--muted); }
input, textarea, select {
  width: 100%; background: #0b0e14; border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 14px;
}
textarea { min-height: 120px; resize: vertical; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.alert-err { background: rgba(255,93,108,.12); color: #ffb3bb; }
.alert-ok { background: rgba(61,255,154,.1); color: #9dffce; }
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); padding: 22px 16px; background: #090b11; }
.side a {
  display: block; color: var(--muted); padding: 10px 12px; border-radius: 10px; margin-bottom: 4px;
}
.side a.active, .side a:hover { background: rgba(200,255,61,.1); color: var(--lime); }
.main { padding: 28px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.credits {
  background: #10151f; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 13px;
}
.chat-box { height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #0b0f16; }
.bubble { max-width: 80%; padding: 10px 12px; border-radius: 14px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.me { margin-left: auto; background: #1a2433; }
.bot { background: rgba(200,255,61,.1); }
.pack { white-space: pre-wrap; font-family: var(--mono); font-size: 13px; line-height: 1.55; }
@media (max-width: 900px) {
  .grid-3, .grid-2, .app { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
}
