*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #e8ff60;
  --bg: #0a0a0a;
  --surface: #111110;
  --border: #1e1e1a;
  --text-muted: #a0a09a;
  --text-dim: #5a5a52;
  --text-faint: #3a3a34;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Scanline */
.scanline {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(255,255,255,0.013) 3px, rgba(255,255,255,0.013) 4px
  );
  pointer-events: none;
  z-index: 100;
}

.corner-tag {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  z-index: 101;
}

/* ── HERO ── */
.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-left { flex: 1; min-width: 0; }
.hero-right { flex: 1; min-width: 0; }

.badge {
  display: inline-block;
  background: var(--yellow);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.ascii-logo {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.2;
  color: var(--yellow);
  white-space: pre;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(232,255,96,0.4);
  animation: flicker 7s infinite;
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96%            { opacity: 0.8; }
  97%            { opacity: 1; }
  98.5%          { opacity: 0.88; }
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 14px;
  background: var(--yellow);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}

.blink-cursor {
  display: inline-block;
  width: 8px;
  height: 13px;
  background: var(--yellow);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.description {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 2.25rem;
}

.description strong { color: var(--yellow); font-weight: 700; }

.actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #0a0a0a;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,255,96,0.25);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid #2a2a24;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--text-muted); border-color: var(--text-dim); }

/* ── TERMINAL MOCKUP ── */
.terminal {
  background: #0f0f0e;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
}

.terminal-bar {
  background: #1a1a18;
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-18px);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1rem 1.25rem;
  line-height: 1.7;
}

.terminal-body p { margin: 0; }

.prompt { color: var(--yellow); margin-right: 8px; }
.out    { color: var(--text-dim); padding-left: 1.1rem; }
.hl     { color: var(--yellow); }
.success { color: #5dca8a; }

/* ── SHARED SECTION ── */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.title-accent {
  color: var(--yellow);
  margin-right: 10px;
}

/* ── COMMANDS ── */
.commands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

.cmd-row:nth-child(even) { border-left: 1px solid var(--border); }
.cmd-row:last-child,
.cmd-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }

.cmd-row:hover { background: var(--surface); }

.cmd-row code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--yellow);
  white-space: nowrap;
}

.cmd-row span {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.step {
  background: var(--bg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.12s;
}
.step:hover { background: var(--surface); }

.step-num {
  font-size: 28px;
  color: var(--border);
  line-height: 1;
  font-weight: 700;
}

.step-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--yellow);
  margin-bottom: 4px;
}

.step-desc {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.step-desc code {
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-muted);
  font-size: 11px;
}

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* ── PLATFORMS ── */
.platform-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.platform-row:last-child { border-bottom: none; }
.platform-row:hover { background: var(--surface); }

.os-icon {
  color: var(--text-dim);
  flex-shrink: 0;
}

.os {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 80px;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
}

.tag-yes {
  background: rgba(93,202,138,0.12);
  color: #5dca8a;
  border: 1px solid rgba(93,202,138,0.25);
}

.tag-no {
  background: rgba(255,95,87,0.08);
  color: #ff5f57;
  border: 1px solid rgba(255,95,87,0.2);
}

.tag-wip {
  background: rgba(232,255,96,0.08);
  color: #b0bf4a;
  border: 1px solid rgba(232,255,96,0.2);
}

.ver {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-faint);
}

/* ── ROADMAP ── */
.roadmap {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.roadmap li {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.12s;
}
.roadmap li:last-child { border-bottom: none; }
.roadmap li:hover { background: var(--surface); }

.roadmap li::before {
  content: '○';
  color: var(--text-faint);
  font-size: 12px;
  flex-shrink: 0;
}

.roadmap li.done {
  color: var(--text-muted);
}

.roadmap li.done::before {
  content: '●';
  color: var(--yellow);
}

/* ── FOOTER ── */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 3rem 2.5rem;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .commands-grid {
    grid-template-columns: 1fr;
  }

  .cmd-row:nth-child(even) { border-left: none; }
  .cmd-row:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--border); }
  .cmd-row:last-child { border-bottom: none; }

  .section { padding: 2.5rem 1.5rem; }
  footer   { padding: 1.5rem; }

  .ascii-logo { font-size: 10px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .ascii-logo { font-size: 8px; }
}

.command-box {
  background: #0d1117;
  border-radius: 10px;
  overflow: hidden;
  max-width: 900px;
  border: 1px solid #30363d;
  margin-top: 20px;
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #161b22;
  color: #8b949e;
  font-family: monospace;
}

.command-header button {
  background: #238636;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.command-header button:hover {
  background: #2ea043;
}

.command-content {
  padding: 20px;
  color: #58a6ff;
  font-family: monospace;
  font-size: 15px;
}

.command-content code {
  color: #f0f6fc;
}