:root {
  --bg: #0b101c;
  --bg-soft: #111827;
  --card: rgba(23, 30, 51, 0.72);
  --card-border: rgba(124, 140, 255, 0.16);
  --text: #eef1fb;
  --text-dim: #a7b0cc;
  --primary: #7c8cff;
  --primary-2: #b388ff;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

.bg-glow {
  position: fixed;
  inset: -30% -20% auto;
  height: 70vh;
  background:
    radial-gradient(46% 60% at 18% 20%, rgba(124, 140, 255, 0.28), transparent 70%),
    radial-gradient(40% 55% at 82% 8%, rgba(179, 136, 255, 0.24), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 28, 0.7);
  border-bottom: 1px solid rgba(124, 140, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 220deg, #7c8cff, #b388ff, #7c8cff);
  box-shadow: 0 0 18px rgba(124, 140, 255, 0.55);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-mark::before {
  content: "";
  position: absolute; left: 11px; top: 9px;
  border-left: 7px solid #fff;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  z-index: 1;
}

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14.5px; transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  border: 1px solid var(--card-border);
  background: rgba(124, 140, 255, 0.1);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.lang-toggle:hover { background: rgba(124, 140, 255, 0.2); }
.lang-toggle:active { transform: scale(0.96); }

.hero { padding: 88px 24px 40px; text-align: center; }

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(124, 140, 255, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.version-badge .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

.hero h1 {
  font-size: clamp(44px, 8vw, 76px);
  margin: 22px 0 6px;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffffff 10%, #b9c3ff 55%, #d9c2ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline { color: var(--text-dim); max-width: 640px; margin: 0 auto 30px; font-size: 17px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(124, 140, 255, 0.35);
}
.btn.primary:hover { box-shadow: 0 14px 36px rgba(124, 140, 255, 0.5); }
.btn.ghost {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(124, 140, 255, 0.08);
}
.btn.ghost:hover { background: rgba(124, 140, 255, 0.16); }

.hero-meta { color: var(--text-dim); font-size: 13.5px; margin-top: 22px; }

.section { padding: 64px 24px; }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 8px; letter-spacing: -0.02em; }
.section-sub { color: var(--text-dim); margin: 0 0 30px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(8px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow: 0 18px 40px rgba(9, 12, 24, 0.6);
}
.card-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 13px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.9), rgba(179, 136, 255, 0.9));
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14px; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 44px rgba(6, 9, 18, 0.65);
  transition: transform .25s ease;
}
.shots img:hover { transform: translateY(-6px) scale(1.01); }
.shots figcaption { margin-top: 10px; color: var(--text-dim); font-size: 13px; }

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.dl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-card h4 { margin: 0; font-size: 17px; }
.dl-card p { margin: 0 0 6px; color: var(--text-dim); font-size: 13.5px; }
.dl-card .btn { width: 100%; margin-top: auto; }
.dl-card .size { opacity: .8; font-size: 13px; }
.download-note { color: var(--text-dim); font-size: 13px; margin-top: 18px; }
.download-note a { color: var(--primary); text-decoration: none; }

.footer { border-top: 1px solid rgba(124, 140, 255, 0.1); padding: 26px 0 40px; margin-top: 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--text-dim); font-size: 13.5px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links a:not(.lang-toggle) { display: none; }
  .hero { padding-top: 64px; }
}
