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

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

:root {
  --bg:      #08090f;
  --surface: #0d1117;
  --border:  #1e2d45;
  --cyan:    #00c2ff;
  --green:   #00e5a0;
  --yellow:  #ffb800;
  --red:     #ff4560;
  --text:    #f0f4ff;
  --text2:   #9dafc8;
  --text3:   #6b8aad;
  --mono:    'JetBrains Mono', monospace;
  --ui:      'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--ui); line-height: 1.6; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; font-size: 13px; color: var(--cyan); }
pre { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; overflow-x: auto; margin: 16px 0; }
pre code { background: none; border: none; padding: 0; font-size: 13px; line-height: 1.8; color: var(--text2); }

/* ── Nav ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(8,9,15,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; gap: 32px; height: 60px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.nav-mark { width: 28px; height: 28px; border: 1.5px solid var(--cyan); border-radius: 7px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 5px; }
.nav-mark span { background: var(--cyan); border-radius: 1px; }
.nav-mark span:nth-child(2) { opacity: 0.4; }
.nav-mark span:nth-child(3) { opacity: 0.4; }
.nav-mark span:nth-child(4) { opacity: 0.7; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text2); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--cyan); color: var(--bg) !important; padding: 7px 18px; border-radius: 8px; font-weight: 600; font-size: 13px !important; }
.nav-cta:hover { opacity: 0.9; text-decoration: none !important; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }

/* ── Hero ── */
.hero { padding: 100px 0 80px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,194,255,0.08); border: 1px solid rgba(0,194,255,0.25); border-radius: 20px; padding: 5px 14px; font-size: 12px; color: var(--cyan); font-weight: 600; margin-bottom: 28px; }
.hero h1 { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 span { color: var(--cyan); }
.hero p { font-size: 20px; color: var(--text2); max-width: 580px; margin: 0 auto 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--cyan); color: var(--bg); padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: all 0.15s; }
.btn-primary:hover { opacity: 0.9; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--border); transition: all 0.15s; }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

/* ── Stats bar ── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 60px 0; }
.stat { background: var(--surface); padding: 24px; text-align: center; }
.stat-val { font-size: 32px; font-weight: 700; font-family: var(--mono); color: var(--cyan); }
.stat-lbl { font-size: 12px; color: var(--text3); margin-top: 4px; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: border-color 0.15s; }
.feature-card:hover { border-color: var(--cyan); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ── Section heading ── */
.section-tag { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: 38px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-sub { font-size: 17px; color: var(--text2); max-width: 520px; line-height: 1.7; margin-bottom: 48px; }

/* ── How it works ── */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,194,255,0.1); border: 1px solid rgba(0,194,255,0.3); color: var(--cyan); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--mono); }
.step-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step-body p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ── Changelog ── */
.cl-entry { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 16px; }
.cl-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cl-version { background: rgba(0,194,255,0.1); border: 1px solid rgba(0,194,255,0.3); color: var(--cyan); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; font-family: var(--mono); }
.cl-title { font-size: 15px; font-weight: 600; }
.cl-date { font-size: 12px; color: var(--text3); margin-left: auto; }
.cl-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cl-item { font-size: 13px; color: var(--text2); padding-left: 16px; position: relative; line-height: 1.6; }
.cl-item::before { content: '·'; position: absolute; left: 0; color: var(--cyan); }

/* ── Download ── */
.download-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.download-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: center; }
.download-icon { font-size: 36px; margin-bottom: 14px; }
.download-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.download-desc { font-size: 13px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }
.btn-tba { display: inline-block; background: var(--surface); border: 1px solid var(--border); color: var(--text3); padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: default; }
.btn-download { display: inline-block; background: var(--cyan); color: var(--bg); padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: all 0.15s; }
.btn-download:hover { opacity: 0.9; text-decoration: none; }

/* ── Docs ── */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.docs-nav { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.docs-nav a { display: block; font-size: 13px; color: var(--text2); padding: 7px 10px; border-radius: 7px; transition: all 0.15s; }
.docs-nav a:hover { background: rgba(0,194,255,0.08); color: var(--cyan); text-decoration: none; }
.docs-nav .nav-section { font-size: 10px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; padding: 10px 10px 4px; }
.docs-content h2 { font-size: 26px; font-weight: 700; margin: 36px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.docs-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.docs-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--cyan); }
.docs-content p { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 14px; }
.docs-content ul { padding-left: 20px; margin-bottom: 14px; }
.docs-content li { font-size: 14px; color: var(--text2); line-height: 1.8; }
.docs-content .note { background: rgba(0,194,255,0.06); border: 1px solid rgba(0,194,255,0.2); border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 13px; color: var(--text2); }
.docs-content .warning { background: rgba(255,184,0,0.06); border: 1px solid rgba(255,184,0,0.2); border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 13px; color: var(--text2); }

/* ── Legal ── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.legal-content p { font-size: 14px; color: var(--text2); line-height: 1.9; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content li { font-size: 14px; color: var(--text2); line-height: 1.9; margin-bottom: 6px; }
.legal-meta { font-size: 13px; color: var(--text3); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-left { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ── Page header ── */
.page-header { padding: 60px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.page-header h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.page-header p { font-size: 17px; color: var(--text2); }
