:root {
  --bg: #0b0d12;
  --surface: #121620;
  --surface-2: #181d29;
  --line: rgba(255,255,255,.09);
  --text: #f6f7fb;
  --muted: #9ba4b7;
  --accent: #8b7cf6;
  --accent-2: #4da5ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: .13; z-index: -1; }
.ambient-one { width: 540px; height: 540px; background: #664cff; top: -280px; left: -180px; }
.ambient-two { width: 460px; height: 460px; background: #148dff; top: 520px; right: -260px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 30px; color: #b8bfcd; font-size: 14px; }
nav a:hover, footer a:hover { color: #fff; }
.github-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 100px 0 0; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(139,124,246,.25); border-radius: 999px; background: rgba(139,124,246,.08); color: #c9c2ff; font-size: 12px; font-weight: 600; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #9b8eff; box-shadow: 0 0 12px #8b7cf6; }
h1 { margin: 28px auto 24px; max-width: 830px; font-size: clamp(54px, 8vw, 92px); line-height: .98; letter-spacing: -.065em; font-weight: 760; }
h1 em { color: transparent; background: linear-gradient(110deg, #9d91ff 15%, #63b1ff 85%); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.hero-copy { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.primary-button { gap: 13px; min-width: 234px; padding: 13px 18px; color: #fff; background: linear-gradient(135deg, #7563ef, #337ed9); box-shadow: 0 12px 35px rgba(85,83,220,.25); text-align: left; }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button strong { display: block; font-size: 14px; }
.primary-button small { display: block; margin-top: 2px; color: rgba(255,255,255,.7); font-size: 10px; }
.download-icon { font-size: 23px; line-height: 1; }
.secondary-button { min-height: 58px; padding: 0 22px; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: #d8dce5; font-size: 14px; }
.hero-note { color: #6f7787; font-size: 11px; margin: 15px 0 0; }

.app-window { position: relative; margin: 74px auto 0; padding: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: linear-gradient(140deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); box-shadow: 0 45px 100px rgba(0,0,0,.5); }
.app-window img { position: relative; display: block; width: 100%; border-radius: 11px; z-index: 1; }
.window-glow { position: absolute; inset: 15% 12% -7%; background: #6252e9; filter: blur(90px); opacity: .16; }

.quick-facts { margin: 100px 0 130px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.quick-facts div { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.quick-facts div:last-child { border: 0; }
.quick-facts strong { font-size: 21px; }
.quick-facts span { color: var(--muted); font-size: 12px; }

.section { padding: 0 0 140px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; margin-bottom: 45px; }
.section-heading > p, .section-kicker { margin: 9px 0; color: #978bfa; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); overflow: hidden; }
.feature-large { grid-column: span 2; min-height: 330px; position: relative; }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(139,124,246,.3); border-radius: 11px; color: #b4aaff; background: rgba(139,124,246,.1); font-size: 19px; }
.feature-card h3 { margin: 26px 0 10px; font-size: 22px; letter-spacing: -.025em; }
.feature-card p { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.format-cloud { position: absolute; right: 35px; bottom: 35px; width: 42%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.format-cloud span { padding: 13px 17px; border-radius: 10px; background: #202637; border: 1px solid rgba(255,255,255,.08); color: #cdd2dc; font-family: Consolas, monospace; font-size: 12px; }

.formats-section { padding-top: 20px; }
.section-heading.compact { grid-template-columns: 1fr; max-width: 700px; }
.formats-list { margin-top: 50px; border-top: 1px solid var(--line); }
.formats-list div { display: grid; grid-template-columns: 220px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.formats-list span { font-weight: 650; }
.formats-list p { margin: 0; color: var(--muted); font-family: Consolas, monospace; font-size: 13px; }

.download-section { margin-bottom: 120px; padding: 70px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; border: 1px solid rgba(139,124,246,.2); border-radius: 24px; background: radial-gradient(circle at 80% 0%, rgba(100,83,232,.15), transparent 45%), #11151e; }
.download-section > div > p:not(.section-kicker) { color: var(--muted); }
.download-panel { padding: 25px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.download-panel > img { width: 54px; height: 54px; }
.download-meta { display: flex; flex-direction: column; gap: 3px; }
.download-meta strong { font-size: 16px; }
.download-meta span { color: var(--muted); font-size: 11px; }
.compact-button { grid-column: span 2; min-width: 0; padding: 15px; text-align: center; font-weight: 650; }
.checksum { grid-column: span 2; margin: 0; color: #626b7c !important; font-size: 9px; text-align: center; overflow-wrap: anywhere; }
.checksum code { font-size: inherit; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 50px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: #747d8d; font-size: 11px; }
.footer-brand img { width: 25px; height: 25px; }
.footer-brand { font-size: 14px; color: #dfe3eb; }
footer p { text-align: center; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; }

@media (max-width: 800px) {
  .site-header nav a:not(.github-link) { display: none; }
  .hero { padding-top: 70px; }
  .hero-actions { flex-direction: column; }
  .primary-button, .secondary-button { width: min(100%, 300px); }
  .quick-facts { grid-template-columns: repeat(2,1fr); gap: 25px 0; }
  .quick-facts div:nth-child(2) { border: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; min-height: 390px; }
  .format-cloud { left: 34px; right: 34px; width: auto; justify-content: flex-start; }
  .formats-list div { grid-template-columns: 1fr; gap: 9px; }
  .download-section { padding: 36px 24px; grid-template-columns: 1fr; gap: 35px; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  footer p { margin: 0; }
  footer > div { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
