/* === BASE === */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #060814;
  --bg-2: #0a0f24;
  --panel: rgba(14, 20, 40, 0.55);
  --panel-2: rgba(20, 28, 52, 0.7);
  --line: rgba(120, 160, 255, 0.12);
  --line-strong: rgba(140, 180, 255, 0.25);
  --text: #e8ecf7;
  --text-dim: #9aa4c0;
  --muted: #6b7591;
  --cyan: #22d3ee;
  --violet: #a855f7;
  --blue: #3b82f6;
  --pink: #ec4899;
  --emerald: #34d399;
  --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(34,211,238,.15), rgba(168,85,247,.15));
  --radius: 16px;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "微软雅黑", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
b, strong { color: #fff; font-weight: 600; }
code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34,211,238,.18);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  color: #67e8f9;
}
pre {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #c7d2fe;
}
button { font-family: inherit; cursor: pointer; }
.kicker {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 5px 12px;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 999px;
  background: rgba(34,211,238,.06);
  margin-bottom: 18px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.arrow { display: inline-block; transition: transform .25s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }
/* === BACKGROUND LAYERS === */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background-image:
    linear-gradient(rgba(120,160,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, #000 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, #000 50%, transparent 90%);
}
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: -2; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45;
  animation: float 22s ease-in-out infinite;
  will-change: transform;
}
.orb-a { width: 420px; height: 420px; background: #3b82f6; top: -160px; left: -120px; }
.orb-b { width: 460px; height: 460px; background: #a855f7; top: 30%; right: -180px; animation-delay: -7s; }
.orb-c { width: 380px; height: 380px; background: #22d3ee; bottom: -180px; left: 25%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(40px, -30px, 0) scale(1.05); }
  66% { transform: translate3d(-30px, 40px, 0) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .cursor { animation: none; }
  * { scroll-behavior: auto !important; }
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6, 8, 20, 0.55);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark { display: inline-flex; }
.logo-text { font-size: 18px; letter-spacing: 0.5px; }
.logo-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: var(--text-dim); position: relative; transition: color .25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--grad); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px rgba(99,102,241,.4);
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(168,85,247,.5); }
/* === HERO === */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 80px 140px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-inner { max-width: 720px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25);
  font-size: 13px; color: #a5f3fc; margin-bottom: 28px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero-title {
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-sub { font-size: 17px; color: var(--text-dim); margin: 0 0 36px; max-width: 640px; }
.hero-sub b { color: #c4d3ff; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 60px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 36px rgba(99,102,241,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 52px rgba(168,85,247,.55); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: #d8e0f5;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(140,180,255,.45); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 38px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num i { font-style: normal; font-size: 13px; color: var(--text-dim); margin-left: 4px; -webkit-text-fill-color: var(--text-dim); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.05em; }

/* terminal */
.hero-terminal {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,22,46,.85), rgba(10,15,36,.85));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(34,211,238,.08) inset;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(12px);
}
.hero-terminal::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,211,238,.5), transparent 30%, transparent 70%, rgba(168,85,247,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; pointer-events: none;
}
.term-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.term-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.term-head .dot.r { background: #ef4444; }
.term-head .dot.y { background: #f59e0b; }
.term-head .dot.g { background: #10b981; }
.term-title { margin-left: 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }
.term-body { padding: 22px 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 2; }
.t-line { margin: 0; color: #cbd5ff; }
.prompt { color: var(--cyan); margin-right: 8px; }
.t-cmd { color: #f0abfc; }
.t-arg { color: #fde68a; }
.t-out { color: #94a3b8; padding-left: 18px; font-size: 12.5px; }
.cursor { color: var(--cyan); animation: blink 1.1s steps(2) infinite; }
/* === SECTIONS === */
.section { padding: 120px 80px; max-width: 1400px; margin: 0 auto; position: relative; }
.section-dark {
  background: linear-gradient(180deg, transparent, rgba(10,15,36,.4) 20%, rgba(10,15,36,.4) 80%, transparent);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  line-height: 1.15;
}
.section-desc { color: var(--text-dim); font-size: 16px; max-width: 680px; margin: 0 auto; }
.section-desc code { font-size: 14px; }
/* === MODULES / ROADMAP === */
.roadmap-track {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  position: relative;
}
/* horizontal connecting line on desktop */
.roadmap-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 12%, #6366f1 50%, var(--violet) 88%, transparent);
  opacity: .55;
  z-index: 0;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.step-node {
  position: relative;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  z-index: 2;
}
.step-node::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--grad);
}
.step-node::after {
  content: ''; position: absolute; inset: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0a0f24, #060814);
}
.step-node span {
  position: relative; z-index: 1;
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step:hover .step-node::before {
  box-shadow: 0 0 30px rgba(99,102,241,.6), 0 0 60px rgba(168,85,247,.3);
}
.step-card {
  width: 100%; flex: 1;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
  text-align: left;
}
.step:hover .step-card {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.step-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.step-card h3 { font-size: 16px; margin: 0; color: #fff; font-weight: 700; line-height: 1.35; }
.step-time {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--cyan); padding: 3px 8px;
  border: 1px solid rgba(34,211,238,.3); border-radius: 6px;
}
.step-card p {
  font-size: 13px; color: var(--text-dim);
  margin: 0 0 14px; line-height: 1.65; min-height: 84px;
}
.step-card ul {
  list-style: none; padding: 12px 0 0; margin: 0;
  border-top: 1px solid var(--line);
}
.step-card li {
  font-size: 12.5px; color: #b8c2dd;
  padding: 4px 0 4px 14px; position: relative;
}
.step-card li::before {
  content: '▸'; position: absolute; left: 0; color: var(--cyan); font-size: 10px;
}
/* === SCENES === */
.scenes { display: flex; flex-direction: column; gap: 16px; }
.scene {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s;
}
.scene[open] {
  border-color: rgba(140,180,255,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.scene summary {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 28px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.scene summary::-webkit-details-marker { display: none; }
.scene-tag {
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: 8px;
  background: var(--grad-soft); border: 1px solid rgba(168,85,247,.3);
  color: #e0e7ff; letter-spacing: 0.06em;
}
.scene-title { flex: 1; font-size: 17px; font-weight: 600; color: #fff; }
.scene-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim);
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px;
}
.chev {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong);
  color: var(--cyan); font-size: 18px; font-weight: 300;
  transition: transform .3s, background .3s;
}
.scene[open] .chev { transform: rotate(45deg); background: var(--grad); color: #fff; border-color: transparent; }
.scene-body { padding: 0 28px 32px; border-top: 1px solid var(--line); margin-top: 4px; }
.scene-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px;
  padding-top: 28px;
}
.scene-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cyan); margin: 0 0 12px; font-weight: 600;
}
.scene-col h4 + p, .scene-col h4 + ol, .scene-col h4 + ul, .scene-col h4 + div { margin-bottom: 24px; }
.scene-col p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.scene-col ol, .scene-col ul { padding-left: 18px; color: var(--text-dim); font-size: 14px; margin: 0; }
.scene-col li { margin: 6px 0; }

.prompt-box {
  background: linear-gradient(180deg, rgba(8,12,28,.85), rgba(12,18,38,.85));
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.prompt-box::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--grad);
}
.prompt-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.prompt-head span {
  font-family: 'Orbitron', sans-serif; font-size: 11px; letter-spacing: 0.16em;
  color: var(--cyan); text-transform: uppercase;
}
.copy {
  font-size: 11px; padding: 5px 12px; border-radius: 6px;
  background: rgba(34,211,238,.1); color: var(--cyan);
  border: 1px solid rgba(34,211,238,.3);
  font-family: 'JetBrains Mono', monospace;
  transition: all .2s;
}
.copy:hover { background: rgba(34,211,238,.2); }
.copy.copied { background: var(--emerald); color: #fff; border-color: transparent; }
.prompt-box pre { padding: 16px 20px; }

.tips {
  margin-top: 8px; padding: 14px 18px;
  background: rgba(34,211,238,.04); border: 1px dashed rgba(34,211,238,.25);
  border-radius: 12px;
}
.tips h5 {
  font-size: 12px; margin: 0 0 8px; color: var(--cyan);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.tips ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-dim); }
.tips li { margin: 3px 0; }

.file-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.file-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.3);
  font-size: 13px; color: #ddd6fe; font-family: 'JetBrains Mono', monospace;
  transition: all .25s;
}
.file-pill:hover { background: rgba(168,85,247,.2); border-color: rgba(168,85,247,.5); transform: translateY(-1px); }
.file-list { font-size: 13px; color: var(--text-dim); list-style: none; padding: 0; margin: 0 0 18px; }
.file-list li {
  padding: 6px 12px; margin-bottom: 4px;
  background: rgba(255,255,255,.02); border-radius: 6px;
  border-left: 2px solid var(--violet);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.callout {
  margin-top: 12px; padding: 12px 16px;
  background: linear-gradient(90deg, rgba(34,211,238,.08), rgba(168,85,247,.08));
  border: 1px solid rgba(34,211,238,.2);
  border-radius: 10px;
  font-size: 13px; color: #e0e7ff;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong);
  font-size: 12.5px; color: #c4d3ff;
}
/* === DOWNLOADS === */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}
.download-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.download-card.primary {
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(168,85,247,.12));
  border-color: rgba(168,85,247,.4);
  grid-column: 1 / -1;
}
.download-card.primary .dl-icon { background: var(--grad); color: #fff; }
.dl-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(34,211,238,.1); color: var(--cyan);
  border: 1px solid rgba(34,211,238,.25);
}
.dl-body { flex: 1; min-width: 0; }
.dl-name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.dl-meta { font-size: 12.5px; color: var(--text-dim); }
.dl-btn {
  font-family: 'Orbitron', sans-serif; font-size: 12px; letter-spacing: 0.1em;
  color: var(--cyan); padding: 8px 14px; border-radius: 8px;
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3);
  white-space: nowrap;
  transition: all .25s;
}
.download-card:hover .dl-btn { background: var(--grad); color: #fff; border-color: transparent; }

.checklist {
  padding: 32px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}
.checklist h3 { margin: 0 0 18px; font-size: 18px; color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); }
.checks input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--cyan);
  cursor: pointer;
}
/* === PROMPTS === */
.principles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.principle {
  padding: 26px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s;
  position: relative;
}
.principle:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); }
.p-num {
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 24px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.principle h4 { margin: 12px 0 8px; font-size: 16px; color: #fff; }
.principle p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.7; }
.principle code { font-size: 12px; }

.templates {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.tpl {
  background: linear-gradient(180deg, rgba(8,12,28,.85), rgba(12,18,38,.85));
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
}
.tpl-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.tpl-tag {
  font-family: 'Orbitron', sans-serif; font-size: 12px; letter-spacing: 0.14em;
  color: #f0abfc;
}
.tpl pre { padding: 18px 22px; font-size: 13px; }
/* === FAQ === */
.faqs { display: flex; flex-direction: column; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color .25s;
}
.faq[open] { border-color: rgba(140,180,255,.3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 26px 22px; margin: 0; color: var(--text-dim); font-size: 14.5px; }
/* === CTA + FOOTER === */
.cta-band {
  margin: 80px auto;
  max-width: 1400px;
  padding: 0 80px;
}
.cta-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  padding: 60px 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34,211,238,.12), rgba(168,85,247,.18));
  border: 1px solid rgba(168,85,247,.3);
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 80% 50%, rgba(168,85,247,.3), transparent 50%),
    radial-gradient(500px circle at 10% 100%, rgba(34,211,238,.25), transparent 50%);
  pointer-events: none;
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 12px; line-height: 1.2; color: #fff; }
.cta-inner p { color: #d8e0f5; margin: 0; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 80px; max-width: 1400px; margin: 0 auto;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-dim);
}
.foot-left { display: flex; align-items: center; gap: 16px; }
.foot-left .logo-text { font-size: 16px; }
.muted { color: var(--muted); }
/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 80px 40px 100px; gap: 60px; }
  .hero-terminal { max-width: 600px; }
  /* roadmap → vertical timeline */
  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 44px;
    position: relative;
  }
  .roadmap-track::before {
    top: 32px; bottom: 32px;
    left: 31px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--cyan), #6366f1, var(--violet));
  }
  .step { flex-direction: row; align-items: flex-start; gap: 22px; }
  .step-node {
    margin-bottom: 0;
    margin-left: -75px;
    width: 56px; height: 56px;
    flex-shrink: 0;
  }
  .step-node span { font-size: 18px; }
  .step-card p { min-height: 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 100px 40px; }
  .cta-band { padding: 0 40px; }
  .cta-inner { grid-template-columns: 1fr; padding: 48px 40px; }
  .cta-actions { justify-content: flex-start; }
  .nav-links { display: none; }
  .nav { padding: 14px 24px; }
  .foot { padding: 30px 40px; flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 700px) {
  .hero { padding: 60px 22px 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 28px; }
  .section { padding: 80px 22px; }
  .section-head { margin-bottom: 48px; }
  .roadmap-track { padding-left: 36px; gap: 14px; }
  .roadmap-track::before { left: 23px; }
  .step { gap: 16px; }
  .step-node { margin-left: -60px; width: 48px; height: 48px; }
  .step-node span { font-size: 15px; }
  .step-card { padding: 20px 18px; }
  .principles { grid-template-columns: 1fr; }
  .templates { grid-template-columns: 1fr; }
  .scene summary { flex-wrap: wrap; padding: 18px 20px; }
  .scene-title { width: 100%; order: 3; font-size: 15.5px; }
  .scene-tag { order: 1; }
  .scene-meta { order: 2; margin-left: auto; }
  .chev { order: 4; margin-left: auto; }
  .scene-body { padding: 0 20px 26px; }
  .scene-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 22px; }
  .checks { grid-template-columns: 1fr; }
  .cta-band { padding: 0 22px; }
  .cta-inner { padding: 36px 24px; }
  .foot { padding: 24px 22px; }
  .download-card { padding: 18px; }
  .download-card.primary { grid-column: auto; }
  .checklist { padding: 24px; }
}

/* fade-in on scroll */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.in { opacity: 1; transform: translateY(0); }
