/* MSI Kombustor v2.0 — Dark GPU Theme */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --bg-nav: rgba(10, 10, 15, 0.85);
  --bg-stats: #0d1117;
  --accent: #DD2222;
  --accent-glow: rgba(221, 34, 34, 0.15);
  --accent-border: rgba(221, 34, 34, 0.25);
  --accent-dark: #b01b1b;
  --accent-secondary: #7c3aed;
  --text: #e8e8f0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(221, 34, 34, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1100px;
  --nav-h: 64px;
  --glow: 0 0 20px rgba(221, 34, 34, 0.2);
  --glow-strong: 0 0 40px rgba(221, 34, 34, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #e84040; }

img { max-width: 100%; height: auto; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.nav-brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: #e84040;
  box-shadow: var(--glow);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ── THEME TOGGLE (in nav bar) ── */
.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.theme-toggle:hover svg {
  transform: rotate(30deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }

/* Dark mode (default) — show sun icon */
.theme-toggle .icon-sun { display: block; }

/* Light mode — show moon icon */
html.light .theme-toggle .icon-sun { display: none; }
html.light .theme-toggle .icon-moon { display: block; }

/* ── LIGHT THEME OVERRIDES ── */
html.light {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-elevated: #f0f0f4;
  --bg-nav: rgba(245, 245, 247, 0.9);
  --bg-stats: #eaeaef;
  --text: #1a1a2e;
  --text-secondary: #555566;
  --text-muted: #888899;
  --border: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(221, 34, 34, 0.35);
  --glow: 0 0 20px rgba(221, 34, 34, 0.1);
  --glow-strong: 0 0 40px rgba(221, 34, 34, 0.15);
}

html.light .hero h1,
html.light .section-header h2,
html.light .feature-card h3,
html.light .download-card h3,
html.light .release-version,
html.light .page-hero h1,
html.light .about-content h2,
html.light .contact-content h2,
html.light .contact-links h3,
html.light .blog-card h2,
html.light .toc-title {
  color: #1a1a2e;
}

html.light .stat-value {
  color: var(--accent);
}

html.light .badge {
  background: rgba(221, 34, 34, 0.08);
  border-color: rgba(221, 34, 34, 0.2);
}

html.light .feature-card,
html.light .faq-item,
html.light .download-card,
html.light .release-card,
html.light .step-item,
html.light .req-item,
html.light .blog-card,
html.light .toc,
html.light .contact-link-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.light .section-alt .feature-card {
  background: #f8f8fc;
}

html.light .section-alt {
  background: #eeeef2;
}

html.light .stats-bar {
  background: linear-gradient(135deg, #e8e8ee 0%, #dddde5 100%);
}

html.light .nav {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.light .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html.light .footer-copy {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html.light .hero::before {
  background: radial-gradient(ellipse, rgba(221, 34, 34, 0.06) 0%, transparent 70%);
}

html.light .nav-brand {
  color: #1a1a2e;
}

html.light .step-item p strong,
html.light .req-item .req-value,
html.light .contact-link-card strong,
html.light .faq-item summary {
  color: #1a1a2e;
}

/* ── HERO ── */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
  z-index: 0;
}

.hero:hover .hero-glow,
.page-hero:hover .hero-glow {
  opacity: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: particleFade 1.5s ease-out forwards;
}

@keyframes particleFade {
  0% { opacity: 0.8; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(221, 34, 34, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

html.light .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

html.light .hero-glow {
  background: radial-gradient(circle, rgba(221,34,34,0.06) 0%, transparent 70%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e84040;
  box-shadow: var(--glow-strong);
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg { width: 14px; height: 14px; opacity: 0.6; }

/* ── SECTION COMMON ── */
.section {
  padding: 100px 24px;
}

.section-alt {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-alt .feature-card {
  background: var(--bg-elevated);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, #0d1117 0%, #111827 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

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

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent-border);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '-';
  color: var(--accent);
}

.faq-item summary:hover { color: #fff; }

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 32px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(221, 34, 34, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── DOWNLOAD CARDS ── */
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.download-card.primary {
  border-color: var(--accent-border);
}

.download-card.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.download-card .dl-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.download-card .dl-badge.legacy {
  background: rgba(107, 114, 128, 0.15);
  border-color: rgba(107, 114, 128, 0.3);
  color: var(--text-muted);
}

.download-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.download-card .dl-filename {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  word-break: break-all;
  margin-bottom: 16px;
}

.download-card .dl-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.download-card .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ── DOWNLOAD DISCLAIMER ── */
.download-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 28px auto 0;
  line-height: 1.7;
}

/* ── DOWNLOAD PAGE (compact) ── */
.dl-page-hero {
  padding: 140px 24px 80px;
}

.dl-page-hero .hero-inner {
  max-width: var(--max-w);
  text-align: center;
}

.dl-page-hero .dl-page-main {
  text-align: left;
}
.dl-page-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.dl-page-main:hover {
  box-shadow: var(--glow);
}

.dl-page-main.dl-page-legacy {
  border-color: var(--border);
}

.dl-page-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.dl-page-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

html.light .dl-page-title { color: #1a1a2e; }

.dl-page-arch {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  vertical-align: middle;
  margin-left: 6px;
}

.dl-page-arch.legacy {
  background: rgba(107,114,128,0.12);
  border-color: rgba(107,114,128,0.25);
  color: var(--text-muted);
}

.dl-page-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.dl-page-file {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.dl-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.dl-page-btn:hover {
  box-shadow: var(--glow);
  transform: translateY(-1px);
  color: #fff;
}

.dl-page-btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.dl-page-btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Specs strip */
.dl-page-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}

.dl-page-spec {
  background: var(--bg-card);
  padding: 16px 20px;
  text-align: center;
}

html.light .dl-page-spec { background: #fff; }

.dl-page-spec-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dl-page-spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

html.light .dl-page-main {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .dl-page-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .dl-page-btn {
    width: 100%;
    justify-content: center;
  }
  .dl-page-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── SYSTEM REQUIREMENTS ── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.req-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.req-item .req-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.req-item .req-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ── INSTALL STEPS ── */
.steps-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.step-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-item p strong {
  color: var(--text);
}

/* ── ABOUT PAGE ── */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 48px 0 16px;
}

.about-content h2:first-child { margin-top: 0; }

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.about-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.about-content li::marker {
  color: var(--accent);
}

/* ── RELEASES PAGE ── */
.releases-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.2s;
}

.release-card:first-child {
  border-color: var(--accent-border);
}

.release-card:first-child .release-version {
  color: var(--accent);
}

.release-card:hover {
  border-color: var(--border-hover);
}

.release-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.release-version {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.release-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.release-card ul {
  padding-left: 20px;
}

.release-card li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.release-card li::marker {
  color: var(--accent);
}

/* ── CONTACT PAGE ── */
.contact-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.contact-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-content .btn-primary {
  justify-content: center;
}

.contact-links {
  max-width: 600px;
  margin: 60px auto 0;
  text-align: center;
}

.contact-links h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.contact-link-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link-card {
  display: block;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  text-decoration: none;
  transition: all 0.2s;
}

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

.contact-link-card strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-link-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.toc ol {
  padding-left: 20px;
  margin: 0;
}

.toc li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}

.toc a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.toc a:hover {
  color: var(--accent);
}

/* ── BLOG LISTING ── */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-meta .blog-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-meta .blog-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.blog-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.blog-card .read-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.blog-card:hover .read-more svg {
  transform: translateX(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .nav-cta.desktop-only { display: none; }

  .nav-brand {
    flex: 1;
    min-width: 0;
  }

  .theme-toggle,
  .nav-toggle {
    flex-shrink: 0;
  }

  .theme-toggle {
    display: none;
  }

  .hero { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
  .page-hero { padding: 110px 20px 40px; }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
  }

  .footer-links {
    gap: 16px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
}

.animate-in.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }
