:root {
  --bg: #04070e;
  --bg-2: #07111c;
  --ink: #f4fbff;
  --muted: #9bb0c4;
  --cyan: #00e8d0;
  --cyan-2: #67fff0;
  --violet: #6d5cff;
  --line: rgba(0, 232, 208, 0.16);
  --glass: rgba(8, 16, 28, 0.72);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(0, 232, 208, 0.12), transparent 60%),
    radial-gradient(700px 480px at -10% 20%, rgba(109, 92, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #04070e, #060b14 40%, #04070e);
  z-index: -2;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 7, 14, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 13px;
}

.brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(0, 232, 208, 0.45)); }

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover { color: var(--cyan); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 0 80px;
}

.kicker {
  color: var(--cyan);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: "Syne", sans-serif; line-height: 1.05; }
h1 { font-size: clamp(42px, 6vw, 78px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
.accent { color: var(--cyan); text-shadow: 0 0 24px rgba(0, 232, 208, 0.25); }

.lede {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  max-width: 36rem;
}

.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--cyan);
  color: #04110f;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(0, 232, 208, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.hero-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(0, 232, 208, 0.08);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

section { padding: 96px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.muted { color: var(--muted); }
.mt { margin-top: 16px; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.9), rgba(7, 12, 22, 0.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 180px;
}

.card h3 { font-size: 22px; margin-bottom: 10px; }
.icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 14px;
  font-weight: 800;
}

.stat {
  font-family: "Syne", sans-serif;
  font-size: clamp(64px, 8vw, 110px);
  color: var(--cyan);
  line-height: 0.9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.tl {
  padding: 18px 14px;
  border-top: 2px solid var(--cyan);
  background: rgba(0, 232, 208, 0.04);
}

.tl b { display: block; color: var(--cyan); margin-bottom: 8px; }

.ask-list { display: grid; gap: 12px; }
.ask-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ask-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex: 0 0 14px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input, textarea, select {
  width: 100%;
  background: #0b1522;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.ok { color: var(--cyan); }
.err { color: #ff8a8a; }
pre, code { font-family: "IBM Plex Mono", ui-monospace, monospace; }
pre {
  background: #070d16;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.55;
}
.keybox {
  word-break: break-all;
  background: #07131c;
  border: 1px dashed var(--cyan);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}
.chat {
  display: grid;
  gap: 10px;
  min-height: 280px;
  margin-bottom: 16px;
}
.bubble {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.bubble.user { margin-left: auto; background: rgba(0,232,208,.08); }
.bubble.assistant { background: #0b1522; }
.meta { font-size: 12px; color: var(--muted); margin-top: 8px; }
.lang {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); font-size: 13px; }

@media (max-width: 860px) {
  .hero, .split, .grid-2, .grid-3, .grid-4, .timeline { grid-template-columns: 1fr; }
  .nav-inner { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .nav-links { width: 100%; flex-wrap: wrap; gap: 12px; }
  .hero { min-height: auto; padding-top: 28px; }
}
