@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-2: #1a1a1a;
  --bg-elevated: #1f1f1f;
  --border: #232323;
  --border-soft: #1c1c1c;
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-dim: #6a6a6a;
  --accent: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(20px); background: rgba(10,10,10,0.85); border-bottom: 1px solid var(--border-soft); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-icon { width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2a2a2a, #0a0a0a); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); }
.logo-icon svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 36px; font-size: 15px; color: var(--text-muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.discord-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: all .2s; }
.discord-btn:hover { background: var(--bg-elevated); }

/* ===== HERO ===== */
.hero { max-width: 1280px; margin: 0 auto; padding: 80px 32px 40px; text-align: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== DOWNLOAD CARD (used on home + download) ===== */
.dl-hero, .download-card {
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
.release-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.release-icon { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2a2a2a, #050505); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); }
.release-icon svg { width: 32px; height: 32px; }
.release-title { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.release-meta { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.release-meta svg { width: 14px; height: 14px; color: var(--text-dim); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.feature { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px; transition: all .2s; }
.feature:hover { border-color: var(--border); transform: translateY(-2px); }
.feature-icon { width: 28px; height: 28px; color: var(--text); margin-bottom: 14px; opacity: 0.9; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.meta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 32px; }
.meta-cell { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.meta-cell-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 4px; }
.meta-cell-val { font-size: 14px; font-weight: 600; color: var(--text); }

.download-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all .2s; cursor: pointer; }
.download-btn:hover { background: var(--bg-elevated); transform: translateX(2px); }
.download-btn.primary { background: #fff; color: #0a0a0a; border-color: #fff; }
.download-btn.primary:hover { background: #ddd; }
.download-btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== SIDEBAR ===== */
.sidebar { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 24px; height: fit-content; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sidebar-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.sidebar-title svg { width: 18px; height: 18px; }
.update-list, .check-list { display: flex; flex-direction: column; gap: 10px; }
.update { background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--text-muted); }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.check-item svg { width: 18px; height: 18px; color: var(--text); flex-shrink: 0; margin-top: 1px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ===== FEATURE CARDS ===== */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px; transition: all .2s; }
.fcard:hover { border-color: var(--border); }
.fcard-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--text); }
.fcard-icon svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.fcard p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== TABLES ===== */
.compare-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 22px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border-soft); }
th { font-weight: 600; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg-elevated); }
tr:last-child td { border-bottom: none; }
td.check { color: var(--text); }
td.cross { color: var(--text-dim); }

/* ===== MIRRORS ===== */
.mirror-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mirror { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: all .2s; }
.mirror:hover { border-color: var(--border); transform: translateY(-2px); }
.mirror-info { display: flex; align-items: center; gap: 16px; }
.mirror-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; color: var(--text); }
.mirror-icon svg { width: 22px; height: 22px; }
.mirror-name { font-size: 16px; font-weight: 700; }
.mirror-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.mirror-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); flex-shrink: 0; }
.mirror-link svg { width: 14px; height: 14px; }

/* ===== REQUIREMENTS ===== */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.req-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px; }
.req-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.req-card h3 svg { width: 20px; height: 20px; color: var(--text); }
.req-list { list-style: none; }
.req-list li { display: flex; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.req-list li:last-child { border-bottom: none; }
.req-list li span:first-child { color: var(--text-muted); flex: 1; }
.req-list li span:last-child { color: var(--text); font-weight: 600; }

/* ===== CHANGELOG ===== */
.changelog { max-width: 880px; margin: 0 auto; }
.changelog-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 28px 32px; margin-bottom: 16px; }
.changelog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.changelog-version { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.changelog-version-tag { background: var(--bg-elevated); border: 1px solid var(--border); padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.changelog-date { font-size: 13px; color: var(--text-dim); }
.changelog-list { list-style: none; padding: 0; }
.changelog-list li { padding: 6px 0 6px 22px; position: relative; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.changelog-list li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; background: var(--text-dim); border-radius: 50%; }

/* ===== VERIFICATION ===== */
.verify-card { background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.verify-icon { width: 76px; height: 76px; border-radius: 20px; background: var(--bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); }
.verify-icon svg { width: 36px; height: 36px; }
.verify-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.verify-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== PROSE / ARTICLES ===== */
.prose { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 40px 48px; max-width: 880px; margin: 0 auto; }
.prose h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.prose h4 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; color: var(--text); }
.prose p { color: var(--text-muted); margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.prose ul { color: var(--text-muted); padding-left: 22px; margin-bottom: 14px; }
.prose ol { color: var(--text-muted); padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--text); }
.prose code { background: var(--bg-elevated); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; font-family: 'SF Mono', Consolas, monospace; }
.prose hr { border: 0; border-top: 1px solid var(--border-soft); margin: 32px 0; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
details.faq { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px 28px; transition: border-color .2s; }
details.faq[open] { border-color: var(--border); }
details.faq summary { list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--text-muted); font-size: 22px; font-weight: 300; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-top: 12px; }

/* ===== CTA ===== */
.cta-card { background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; }
.cta-card h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-card p { color: var(--text-muted); font-size: 17px; max-width: 540px; margin: 0 auto 28px; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 32px; }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 svg { width: 20px; height: 20px; }
.contact-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 14px; transition: border-color .2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--border); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border-soft); padding: 60px 32px 40px; margin-top: 80px; background: var(--bg); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 360px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 13px; }
.footer-bottom-links a { color: var(--text-dim); margin-left: 20px; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .dl-hero, .download-card { grid-template-columns: 1fr; padding: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: repeat(2, 1fr); }
  .mirror-grid, .req-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .verify-card { grid-template-columns: 1fr; text-align: center; }
  .verify-icon { margin: 0 auto; }
  .nav-links { display: none; }
  .prose { padding: 28px 24px; }
  table { font-size: 13px; }
  th, td { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
