:root {
  --bg: #050810;
  --bg-elevated: #0b1120;
  --bg-card: rgba(12, 18, 34, 0.78);
  --border: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(125, 211, 252, 0.35);
  --text: #e8eef7;
  --text-muted: #8b9cb8;
  --primary: #38bdf8;
  --primary-2: #818cf8;
  --accent: #22d3ee;
  --violet: #a78bfa;
  --success: #4ade80;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
  --font: "Noto Sans SC", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Background ── */
.aurora {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.a1 {
  width: 55vw; height: 55vw; max-width: 600px; max-height: 600px;
  top: -15%; left: -10%;
  background: radial-gradient(circle, rgba(56,189,248,.5), transparent 70%);
}

.a2 {
  width: 45vw; height: 45vw; max-width: 500px; max-height: 500px;
  top: 5%; right: -8%;
  background: radial-gradient(circle, rgba(129,140,248,.45), transparent 70%);
  animation-delay: -6s;
}

.a3 {
  width: 35vw; height: 35vw; max-width: 400px; max-height: 400px;
  bottom: 10%; left: 30%;
  background: radial-gradient(circle, rgba(34,211,238,.25), transparent 70%);
  animation-delay: -12s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.site-header.scrolled {
  background: rgba(5, 8, 16, .82);
  border-color: var(--border);
  backdrop-filter: blur(16px) saturate(1.4);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(56,189,248,.3);
}

.brand-mark svg { width: 20px; height: 20px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; font-weight: 700; }
.brand-text small { font-size: .72rem; color: var(--text-muted); }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-size: .88rem; color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width .25s;
}
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(5,8,16,.95);
  backdrop-filter: blur(16px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0; font-size: .95rem;
  border-bottom: 1px solid rgba(148,163,184,.08);
  color: var(--text-muted);
}
.mobile-nav a:last-child { border: none; color: var(--primary); font-weight: 600; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #0a1628;
  background: linear-gradient(135deg, #7dd3fc, #a5b4fc);
  box-shadow: 0 8px 28px rgba(56,189,248,.3);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(56,189,248,.4); }

.btn-outline {
  border-color: var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--border-hover); background: rgba(56,189,248,.06); }

.btn-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }

.btn-xl { padding: 14px 26px; font-size: .95rem; border-radius: 14px; }
.btn-lg { width: 100%; padding: 15px 20px; font-size: .92rem; }

/* ── Hero ── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.pill {
  padding: 5px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
}
.pill-accent {
  border-color: rgba(34,211,238,.3);
  background: rgba(34,211,238,.08);
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #7dd3fc 0%, #a5b4fc 50%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 520px;
}
.hero-lead strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}

.metric {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  text-align: center;
}
.metric strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.metric span { font-size: .72rem; color: var(--text-muted); line-height: 1.3; }

/* ── App preview ── */
.hero-visual { position: relative; }

.app-window {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(14,22,42,.95), rgba(7,11,20,.98));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
}

.app-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.25);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #4ade80; }
.app-chrome em { margin-left: auto; font-style: normal; font-size: .74rem; color: var(--text-muted); }

.app-layout { display: grid; grid-template-columns: 148px 1fr; min-height: 300px; }

.app-sidebar {
  padding: 14px 10px;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.15);
}
.app-nav-group { margin-bottom: 14px; }
.app-nav-group small {
  display: block; padding: 0 8px 6px;
  font-size: .65rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.app-nav {
  padding: 7px 10px; border-radius: 8px;
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: 2px; cursor: pointer;
  transition: background .2s, color .2s;
}
.app-nav:hover { background: rgba(255,255,255,.04); color: var(--text); }
.app-nav.active {
  background: rgba(56,189,248,.12);
  color: #7dd3fc; font-weight: 600;
}

.app-main { padding: 16px; position: relative; min-height: 280px; }

.tab-panel { display: none; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-header h3 { margin: 0; font-size: .92rem; }
.panel-desc { margin: 0 0 12px; font-size: .8rem; color: var(--text-muted); }

.tag {
  font-size: .68rem; font-weight: 600; padding: 3px 8px;
  border-radius: 6px; background: rgba(255,255,255,.06); color: var(--text-muted);
}
.tag-green { background: rgba(74,222,128,.12); color: var(--success); }
.tag-violet { background: rgba(167,139,250,.12); color: var(--violet); }

.mock-table { font-size: .74rem; }
.mock-row {
  display: grid; grid-template-columns: 1.4fr .7fr .7fr .7fr;
  gap: 6px; padding: 8px 10px;
  border-radius: 8px;
}
.mock-row.head { color: var(--text-muted); font-weight: 600; font-size: .68rem; }
.mock-row:not(.head) { background: rgba(255,255,255,.03); margin-bottom: 4px; }
.status.ok { color: var(--success); }
.status.warn { color: var(--warn); }
.status.pend { color: var(--accent); }
.status.mute { color: var(--text-muted); }

.mock-files { display: flex; flex-wrap: wrap; gap: 6px; }
.file-chip {
  padding: 6px 10px; border-radius: 8px; font-size: .72rem;
  border: 1px solid var(--border); background: rgba(255,255,255,.04);
}

.mock-cover-grid { display: flex; gap: 8px; }
.cover-thumb {
  width: 64px; height: 84px; border-radius: 8px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid transparent;
}
.cover-thumb.sel { border-color: var(--primary); box-shadow: 0 0 12px rgba(56,189,248,.3); }

.mock-code {
  padding: 12px; border-radius: 10px; font-size: .74rem;
  background: rgba(0,0,0,.3); border: 1px solid var(--border);
  color: var(--text-muted); font-family: ui-monospace, monospace;
}

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10,16,30,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .78rem; }
.float-card small { font-size: .68rem; color: var(--text-muted); }
.fc-icon { font-size: 1.2rem; }
.fc-1 { top: -12px; right: -16px; animation-delay: 0s; }
.fc-2 { bottom: 24px; left: -20px; animation-delay: -2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Sections ── */
main { position: relative; z-index: 1; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-alt { padding-top: 32px; }

.section-glow {
  position: relative;
}
.section-glow::before {
  content: '';
  position: absolute; inset: 10% 5%;
  background: radial-gradient(ellipse, rgba(56,189,248,.06), transparent 70%);
  pointer-events: none;
}

.section-head { text-align: center; margin-bottom: 44px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.025em; font-weight: 800;
}

.section-desc {
  margin: 0 auto; max-width: 620px;
  color: var(--text-muted); font-size: .95rem;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Pain cards ── */
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.pain-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s;
}
.pain-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.pain-before, .pain-after {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  margin-bottom: 8px;
}
.pain-before { background: rgba(248,113,113,.12); color: #fca5a5; }
.pain-after { background: rgba(74,222,128,.12); color: var(--success); margin-top: 12px; }

.pain-card p { margin: 0; font-size: .88rem; color: var(--text-muted); }
.pain-card p + .pain-after { display: block; width: fit-content; }

/* ── Modules ── */
.module-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}

.module-block {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: border-color .25s;
}
.module-block:hover { border-color: rgba(129,140,248,.25); }

.module-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.module-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0;
}
.module-icon.blue { background: rgba(56,189,248,.12); }
.module-icon.violet { background: rgba(139,92,246,.12); }
.module-icon.cyan { background: rgba(34,211,238,.12); }
.module-icon.emerald { background: rgba(52,211,153,.12); }
.module-icon.rose { background: rgba(251,113,133,.12); }
.module-icon.amber { background: rgba(251,191,36,.12); }

.module-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.module-head p { margin: 0; font-size: .82rem; color: var(--text-muted); }

.detail-list {
  margin: 0; padding: 0; list-style: none;
}
.detail-list li {
  position: relative; padding: 7px 0 7px 18px;
  font-size: .86rem; color: var(--text-muted);
  border-top: 1px solid rgba(148,163,184,.06);
}
.detail-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

/* ── Directory tree ── */
.dir-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px;
}

.dir-tree {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  overflow-x: auto;
}
.dir-tree pre { margin: 0; }
.dir-tree code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: .8rem; line-height: 1.7; color: #a8b8d0;
}
.dir-tree .cmt { color: #64748b; }
.dir-tree .file { color: #7dd3fc; }

.dir-notes { display: flex; flex-direction: column; gap: 14px; }
.note-card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.note-card h4 { margin: 0 0 6px; font-size: .92rem; }
.note-card p { margin: 0; font-size: .86rem; color: var(--text-muted); }

/* ── Timeline ── */
.timeline { max-width: 760px; margin: 0 auto; }

.timeline-item {
  display: flex; gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute; left: 19px; top: 44px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(56,189,248,.4), transparent);
}

.tl-marker {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56,189,248,.2), rgba(129,140,248,.2));
  border: 1px solid rgba(56,189,248,.35);
  font-weight: 800; font-size: .95rem; color: var(--primary);
}

.tl-body h3 { margin: 0 0 8px; font-size: 1.05rem; }
.tl-body p { margin: 0 0 12px; font-size: .9rem; color: var(--text-muted); }

.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tags span {
  font-size: .72rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
  background: rgba(255,255,255,.03);
}

/* ── Compare table ── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(148,163,184,.08);
}
.compare-table th {
  background: rgba(0,0,0,.2);
  font-weight: 700; font-size: .82rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em;
}
.compare-table td { color: var(--text-muted); }
.compare-table td.hl, .compare-table th.hl {
  color: var(--text);
  background: rgba(56,189,248,.06);
}
.compare-table tr:last-child td { border-bottom: none; }

/* ── Specs ── */
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}

.spec-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.spec-card h4 { margin: 0 0 12px; font-size: .95rem; color: var(--primary); }
.spec-card ul { margin: 0; padding-left: 18px; }
.spec-card li { font-size: .86rem; color: var(--text-muted); margin-bottom: 6px; }

/* ── Changelog ── */
.changelog-card {
  max-width: 720px; margin: 0 auto;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(56,189,248,.2);
  background: linear-gradient(135deg, rgba(56,189,248,.06), rgba(129,140,248,.04)), var(--bg-card);
}

.changelog-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.version-badge {
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #0a1628; font-weight: 800; font-size: .88rem;
}
.changelog-head time { font-size: .82rem; color: var(--text-muted); }

.changelog-list {
  margin: 0; padding: 0; list-style: none;
}
.changelog-list li {
  position: relative; padding: 8px 0 8px 20px;
  font-size: .9rem; color: var(--text-muted);
  border-top: 1px solid rgba(148,163,184,.08);
}
.changelog-list li::before {
  content: '✦'; position: absolute; left: 0; color: var(--accent); font-size: .7rem; top: 11px;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(56,189,248,.25); }

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600; font-size: .92rem;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.2rem; color: var(--text-muted);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; color: var(--primary); }

.faq-item p {
  margin: 0; padding: 0 22px 18px;
  font-size: .88rem; color: var(--text-muted);
  line-height: 1.7;
}

/* ── Download ── */
.download-section { padding-top: 32px; }

.download-panel {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(56,189,248,.22);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(56,189,248,.12), transparent),
    radial-gradient(ellipse 50% 60% at 100% 30%, rgba(129,140,248,.1), transparent);
  pointer-events: none;
}

.download-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; padding: 40px 44px;
}

.download-copy h2 { margin: 0 0 10px; font-size: 1.9rem; font-weight: 800; }
.download-version { margin: 0 0 12px; color: var(--text-muted); }
.download-version strong { color: var(--primary); font-size: 1.1rem; }
.download-copy > p { margin: 0 0 18px; color: var(--text-muted); font-size: .9rem; }

.check-list {
  margin: 0; padding: 0; list-style: none;
}
.check-list li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: .86rem; color: var(--text-muted);
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--success); font-weight: 700;
}

.download-actions { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.download-hint { margin: 6px 0 0; text-align: center; font-size: .76rem; color: var(--text-muted); }

/* ── Roadmap ── */
.roadmap-panel {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px;
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px dashed rgba(148,163,184,.22);
  background: rgba(12,18,34,.5);
  align-items: center;
}

.roadmap-content h2 { margin: 0 0 10px; font-size: 1.45rem; }
.roadmap-content > p { margin: 0 0 18px; color: var(--text-muted); font-size: .9rem; }

.roadmap-features { display: flex; flex-wrap: wrap; gap: 8px; }
.roadmap-features span {
  padding: 6px 12px; border-radius: 999px; font-size: .78rem;
  border: 1px solid rgba(251,191,36,.25);
  background: rgba(251,191,36,.08); color: #fcd34d;
}

.roadmap-orbit {
  position: relative; width: 200px; height: 200px; margin: 0 auto;
}
.orbit-center {
  position: absolute; inset: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #0a1628; font-weight: 800; font-size: .78rem;
  box-shadow: 0 0 30px rgba(56,189,248,.35);
}
.orbit-item {
  position: absolute; padding: 6px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card);
  animation: orbit 12s linear infinite;
}
.o1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.o2 { bottom: 15%; right: 0; animation-delay: -4s; }
.o3 { bottom: 15%; left: 0; animation-delay: -8s; }

@keyframes orbit {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

/* ── Footer ── */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  background: rgba(0,0,0,.2);
}

.footer-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px;
}

.footer-brand strong { font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-brand p { margin: 0; font-size: .86rem; color: var(--text-muted); max-width: 280px; }

.footer-col h5 {
  margin: 0 0 14px; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted);
}
.footer-col a, .footer-col span {
  display: block; font-size: .86rem;
  color: var(--text-muted); margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-domain { color: var(--text-muted); }

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 20px 24px 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .module-list, .dir-layout, .spec-grid, .roadmap-panel, .download-inner, .pain-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 32px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .app-layout { grid-template-columns: 1fr; }
  .app-sidebar {
    display: flex; gap: 4px; overflow-x: auto;
    border-right: none; border-bottom: 1px solid var(--border);
    padding: 10px;
  }
  .app-nav-group { display: contents; }
  .app-nav-group small { display: none; }
  .app-nav { white-space: nowrap; margin: 0; }
  .mock-row { grid-template-columns: 1fr 1fr; font-size: .68rem; }
  .mock-row span:nth-child(3), .mock-row span:nth-child(4) { display: none; }
  .mock-row.head { display: none; }
  .section { padding: 52px 20px; }
  .download-inner { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
