:root {
  --bg: #0a0e14;
  --panel: rgba(18, 24, 34, 0.85);
  --panel-solid: #121822;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #e6edf3;
  --muted: #9198a1;
  --accent: #3b82f6;
  --accent-2: #6366f1;
  --teal: #5eead4;
  --accent-text: #ffffff;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── Background ─────────────────────────────────────────────── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("images/hero-bg.jpg") center / cover no-repeat fixed;
  filter: brightness(0.45) saturate(1.05);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 14, 20, 0.75) 0%,
    rgba(10, 14, 20, 0.55) 40%,
    rgba(10, 14, 20, 0.92) 100%);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.hero-inner { max-width: 720px; }

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.35));
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slogan {
  font-size: 26px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.sub-slogan {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 12px;
}

.warn-note {
  display: inline-block;
  font-size: 13px;
  color: var(--teal);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
  color: var(--accent-text);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.45);
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

/* ── Main sections ───────────────────────────────────────────── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

section { margin: 80px 0; }

.section-head { margin-bottom: 36px; }

.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ── Feature grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ── Screenshots ─────────────────────────────────────────────── */
.shot-section { text-align: center; }

.shot {
  margin: 24px 0;
}

.shot img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.shot.small img { height: auto; }

/* ── How it works ────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--muted);
  opacity: 0.5;
}

/* ── Download ────────────────────────────────────────────────── */
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.install-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: center;
}

.install-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.install-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.support-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 28px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.support-note strong { color: var(--text); }

/* ── Misc ────────────────────────────────────────────────────── */
code {
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 0.9em;
}

pre {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  text-align: left;
  margin: 0 auto 0;
  max-width: 320px;
}

pre code { padding: 0; background: none; font-size: 13px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  .hero h1 { font-size: 40px; }
  .slogan { font-size: 20px; }
  .sub-slogan { font-size: 14px; }
  .step-arrow { display: none; }
  .steps { gap: 16px; }
  section { margin: 56px 0; }
  .section-head h2 { font-size: 24px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 32px; }
  .btn { padding: 10px 20px; font-size: 14px; }
}
