:root {
  --bg: #0d0c1d;
  --surface: rgba(24, 22, 48, 0.86);
  --surface-strong: #19172f;
  --surface-soft: #211e3b;
  --text: #f7f5ff;
  --muted: #b8b4d2;
  --line: rgba(151, 139, 226, 0.22);
  --violet: #7968ff;
  --violet-strong: #6152e8;
  --gold: #ffc86b;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(104, 78, 229, 0.28), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(51, 86, 192, 0.18), transparent 28%),
    linear-gradient(180deg, #0d0c1d 0%, #111024 45%, #0a0917 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 12, 29, 0.78);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 23px;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(94, 75, 218, 0.34);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); color: #d1cdeb; font-weight: 650; }
.nav a, .footer-links a { transition: color 0.18s ease; }
.nav a:hover, .footer-links a:hover { color: #a99fff; }
.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 28, 55, 0.8);
}
.language-switch button {
  min-width: 38px;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.language-switch button.is-active { color: #fff; background: linear-gradient(135deg, #7b6bff, #5c4bdc); }
.version-pill, .badge, .download-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dcd8ff;
  background: rgba(36, 32, 67, 0.82);
  font-weight: 800;
}
.version-pill { min-height: 40px; padding: 0 16px; white-space: nowrap; }
.version-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(255, 200, 107, 0.8); }
.section-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) 0 52px;
}
.eyebrow { margin: 0 0 14px; color: #a99fff; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 7vw, 78px); line-height: 1.05; letter-spacing: -0.055em; }
h1 strong { background: linear-gradient(135deg, #9f91ff, #ffc86b); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin-bottom: 16px; font-size: clamp(31px, 4vw, 48px); letter-spacing: -0.035em; }
h3 { margin-bottom: 10px; font-size: 20px; }
.hero-text, .section-heading p, .feature-card p, .screenshot-copy p, .step p, .download-card p, .preview-copy p {
  color: var(--muted);
  line-height: 1.76;
}
.hero-text { max-width: 600px; font-size: 18px; }
.hero-actions, .release-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 820;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: linear-gradient(135deg, #7564f1, #5c4bd7); box-shadow: 0 15px 34px rgba(92, 75, 215, 0.28); }
.button.secondary { border-color: rgba(157, 145, 255, 0.36); background: rgba(52, 47, 91, 0.76); }
.button.ghost { border-color: var(--line); color: #d1cdeb; background: transparent; }
.button.large { width: 100%; min-height: 56px; font-size: 17px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #d1cdeb; font-weight: 700; }
.trust-row span::before { content: "✦"; margin-right: 8px; color: var(--gold); }
.showcase-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(40, 35, 76, 0.9), rgba(20, 18, 42, 0.92));
  box-shadow: var(--shadow);
}
.showcase-card img { width: 100%; border-radius: 15px; }
.section-heading { max-width: 740px; margin: 0 auto 34px; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.features { padding: 42px 0 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .step, .download-card, .screenshot-card, .preview-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(31, 28, 59, 0.9), rgba(20, 18, 42, 0.9));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}
.feature-card { min-height: 245px; padding: 26px; border-radius: 18px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  font-size: 23px;
  font-weight: 900;
}
.feature-icon.violet { color: #c6beff; background: rgba(117, 100, 241, 0.2); }
.feature-icon.blue { color: #8bb5ff; background: rgba(57, 112, 225, 0.2); }
.feature-icon.cyan { color: #82e3ef; background: rgba(49, 166, 183, 0.18); }
.feature-icon.orange { color: #ffd18b; background: rgba(218, 137, 47, 0.18); }
.feature-icon.green { color: #82e1ad; background: rgba(42, 165, 99, 0.18); }
.feature-icon.rose { color: #ff9db9; background: rgba(207, 66, 112, 0.18); }
.screenshots { padding: 64px 0 38px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.screenshot-card { overflow: hidden; border-radius: 22px; }
.screenshot-copy { padding: 28px 28px 12px; }
.badge { padding: 7px 12px; margin-bottom: 16px; font-size: 13px; }
.screenshot-card img { width: 100%; padding: 12px 20px 22px; object-fit: contain; }
.quickstart { padding: 58px 0 34px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; min-height: 196px; padding: 27px 24px 24px 82px; border-radius: 18px; }
.step > span {
  position: absolute;
  left: 24px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #7564f1, #5c4bd7);
  font-weight: 900;
}
.preview { padding: 34px 0 28px; }
.preview-card { display: grid; grid-template-columns: 0.8fr 1.25fr; gap: 38px; align-items: center; padding: 34px; border-radius: 22px; }
.note { padding-left: 14px; border-left: 3px solid var(--gold); }
.download { padding: 50px 0 72px; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.download-card { padding: 30px; border-radius: 22px; }
.download-label { padding: 7px 12px; margin-bottom: 18px; font-size: 13px; }
.download-card h3 { font-family: Consolas, "SFMono-Regular", monospace; font-size: 19px; overflow-wrap: anywhere; }
.download-card .button { margin-top: 12px; }
.text-link { display: inline-block; margin-top: 18px; color: #b8afff; font-weight: 800; }
.text-link:hover { color: #fff; }
.release-links { justify-content: center; margin-top: 24px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(22px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(9, 8, 21, 0.72);
  color: #908ba9;
}
.footer-brand { font-size: 18px; color: #f6f4ff; }
.footer-brand span { display: block; color: #928dab; font-size: 14px; font-weight: 600; }
.footer-links { display: flex; gap: 18px; font-weight: 760; color: #c2bddb; }

@media (max-width: 1040px) {
  .hero, .preview-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 16px; }
  .brand { font-size: 20px; }
  .version-pill { display: none; }
  .language-switch button { min-width: 34px; height: 28px; padding: 0 9px; font-size: 12px; }
  .section-shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 38px; }
  .feature-grid, .screenshot-grid, .steps, .download-grid { grid-template-columns: 1fr; }
  .feature-card, .step { min-height: 0; }
  .hero-actions .button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
