:root {
  --bg-canvas: #04060d;
  --bg-card: rgba(8, 11, 20, 0.66);
  --bg-card-strong: rgba(10, 14, 25, 0.8);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --accent-cyan: #38bdf8;
  --accent-blue: #0ea5e9;
  --accent-indigo: #6366f1;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8b98ad;

  --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 65% 20%, rgba(14, 165, 233, 0.12), transparent 65%),
    radial-gradient(ellipse 70% 55% at 25% 80%, rgba(99, 102, 241, 0.12), transparent 70%),
    var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.hidden {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

/* ==================== 3D WEBGL BACKDROP ==================== */

#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 60% 45%, transparent 35%, rgba(4, 6, 13, 0.68) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, 0.45) 0%, transparent 20%, transparent 78%, rgba(4, 6, 13, 0.85) 100%);
}

/* Content layer sits above WebGL; empty areas allow clicks through to 3D objects */
.spatial-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.navbar,
.hero-copy,
.command-dock,
.glass-card,
.releases-section,
.footer,
.section-header a,
.section-header button {
  pointer-events: auto;
}

/* ==================== BUTTONS ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 14.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: rgba(251, 191, 36, 0.5);
  color: #0b0d14;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-glass {
  background: rgba(15, 20, 34, 0.65);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: rgba(25, 32, 54, 0.8);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* ==================== NAVBAR ==================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 13, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(99, 102, 241, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.95);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ==================== SPATIAL HERO ==================== */

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: stretch;
  padding: 36px 0 28px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.hero-copy {
  max-width: 540px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(8, 11, 20, 0.72), rgba(8, 11, 20, 0.45));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), var(--inner-highlight);
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(15, 20, 35, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 18px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.release-pill:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--text-main);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.gradient-text {
  display: block;
  background: linear-gradient(120deg, #38bdf8 0%, #818cf8 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.primary-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.secondary-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ==================== FLOATING COMMAND DOCK ==================== */

.command-dock {
  align-self: center;
  width: min(860px, 100%);
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(8, 11, 20, 0.74);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), var(--inner-highlight);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.command-dock-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.16s ease, border-color 0.16s ease;
}

.dock-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.dock-btn-cyan {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

.dock-btn-cyan:hover {
  background: rgba(56, 189, 248, 0.22);
}

.dock-btn-amber {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}

.dock-btn-amber:hover {
  background: rgba(245, 158, 11, 0.22);
}

.dock-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dock-led.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.dock-led.amber {
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
}

.command-dock-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.telemetry-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #7dd3fc;
  letter-spacing: 0.03em;
}

.telemetry-hint {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==================== SCROLL-CHOREOGRAPHED CHAPTERS ==================== */

.chapter-section {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.chapter-container {
  display: flex;
}

.chapter-left .chapter-container {
  justify-content: flex-start;
}

.chapter-right .chapter-container {
  justify-content: flex-end;
}

.glass-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), var(--inner-highlight);
}

.chapter-card {
  width: min(490px, 100%);
  padding: 28px;
}

.card-cyan {
  border-top: 1px solid rgba(56, 189, 248, 0.42);
  background:
    radial-gradient(ellipse 80% 45% at 20% 0%, rgba(56, 189, 248, 0.14), transparent 70%),
    var(--bg-card);
}

.card-amber {
  border-top: 1px solid rgba(245, 158, 11, 0.42);
  background:
    radial-gradient(ellipse 80% 45% at 80% 0%, rgba(245, 158, 11, 0.14), transparent 70%),
    var(--bg-card);
}

.tool-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tool-badge-cyan {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.tool-badge-amber {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: #fcd34d;
}

.tool-badge-indigo {
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.34);
  color: #a5b4fc;
}

.chapter-card-head h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.chapter-card-head p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.feature-list li strong {
  color: var(--text-main);
}

.check-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.check-dot.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.check-dot.amber {
  background: var(--accent-amber);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.chapter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== ECOSYSTEM & ROADMAP ==================== */

.section {
  padding: 76px 0;
}

.section-header {
  max-width: 660px;
  margin-bottom: 32px;
  pointer-events: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
}

.bento-wide {
  padding: 28px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(99, 102, 241, 0.4);
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(99, 102, 241, 0.14), transparent 70%),
    var(--bg-card);
}

.wide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.wide-head h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
}

.wide-head p {
  font-size: 14px;
  color: var(--text-secondary);
}

.hub-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hub-mini-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(6, 8, 15, 0.58);
  border: 1px solid var(--border-subtle);
}

.hub-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.32);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hub-mini-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.hub-mini-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card {
  padding: 22px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.16);
}

.roadmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.roadmap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.status-planned {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.roadmap-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
}

.roadmap-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==================== RELEASES & DOWNLOADS ==================== */

.releases-section {
  background: linear-gradient(180deg, transparent 0%, rgba(4, 6, 13, 0.85) 14%, rgba(4, 6, 13, 0.94) 100%);
  padding-bottom: 96px;
}

.releases-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.inline-repo-link:hover code {
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.releases-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-pill {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.releases-notice {
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fde68a;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.subsection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.subsection-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.subsection-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.download-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--inner-highlight);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.download-card.recommended {
  border-color: rgba(56, 189, 248, 0.48);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(56, 189, 248, 0.16), transparent 70%),
    var(--bg-card-strong);
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.platform-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.recommended-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.download-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-filename {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  word-break: break-all;
}

.download-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.releases-list-head {
  margin-top: 12px;
}

.meta-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.meta-toggle input {
  accent-color: var(--accent-cyan);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.releases-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.release-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card-strong);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--inner-highlight);
  padding: 24px;
}

.release-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.release-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.release-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.release-latest-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.release-card-header h4 {
  font-size: 19px;
  font-weight: 700;
}

.release-meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.release-notes {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}

.release-notes a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.assets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(6, 8, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.asset-row:hover {
  border-color: var(--border-strong);
  background: rgba(18, 24, 40, 0.9);
}

.asset-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.asset-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-main);
  word-break: break-all;
}

.asset-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.asset-badge.win {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
}

.asset-badge.mac {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

.asset-badge.meta {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.asset-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.asset-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* Skeleton Loader */
.skeleton,
.skeleton-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-radius: var(--radius-md);
  background: rgba(14, 18, 30, 0.75);
  border: 1px solid var(--border-subtle);
}

.skeleton-card {
  min-height: 220px;
  border-radius: var(--radius-lg);
}

.skeleton::after,
.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.4s infinite;
}

/* ==================== FOOTER ==================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 6, 13, 0.94);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-brand strong {
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==================== REVEAL & KEYFRAMES ==================== */

.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.88); }
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 960px) {
  .chapter-section {
    min-height: auto;
    padding: 40px 0;
  }

  .chapter-left .chapter-container,
  .chapter-right .chapter-container {
    justify-content: center;
  }

  .hub-features-grid,
  .downloads-grid,
  .releases-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .command-dock-meta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links,
  .version-badge {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hub-features-grid,
  .downloads-grid,
  .releases-stats {
    grid-template-columns: 1fr;
  }

  .asset-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-card {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
