:root {
  --bg: #0f1419;
  --bg-alt: #1a2332;
  --surface: #243044;
  --surface-2: #2c3a52;
  --text: #e8eef7;
  --text-muted: #9aadc2;
  --primary: #c9a227;
  --primary-hover: #e8c547;
  --accent: #c9a227;
  --accent2: #e8c547;
  --border: rgba(255, 255, 255, 0.08);
  --gold-border: rgba(201, 162, 39, 0.28);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --font: "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(900px 500px at 10% -10%, #2a3f5f 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 0%, #3a2f18 0%, transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg-alt));
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 20, 25, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent2), var(--primary));
  color: #1a1408;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-hover), var(--primary));
  filter: brightness(1.05);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: auto;
}

.btn-outline {
  border-color: rgba(201, 162, 39, 0.45);
  background: transparent;
  color: var(--accent2);
}

.btn-outline:hover {
  border-color: rgba(201, 162, 39, 0.7);
  background: rgba(201, 162, 39, 0.08);
}

.btn-light {
  background: #fff;
  color: #0b1220;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-version {
  font-size: 0.82rem;
  opacity: 0.9;
  font-weight: 500;
}

.hero {
  padding: 4.5rem 0 3rem;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--accent2);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent2), #fff3c4, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.mock-window {
  width: min(100%, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
}

.mock-titlebar {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.mock-titlebar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mock-body {
  padding: 1.25rem;
}

.mock-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.mock-line.accent {
  width: 55%;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
}

.mock-line.short {
  width: 38%;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mock-card {
  height: 72px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.highlights {
  padding: 0 0 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlight-item {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}

.highlight-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent2);
  margin-bottom: 0.25rem;
}

.highlight-item span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: transparent;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent2);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}

.step-no {
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent2), var(--primary));
  color: #1a1408;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.release-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.release-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 600;
}

.release-version {
  font-size: 1.35rem;
  font-weight: 700;
}

.release-date,
.release-size {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.release-notes {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-height: 280px;
  overflow: auto;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%), var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cta-band {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.download-section {
  background: transparent;
}

.download-card {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.1), transparent 42%), var(--surface);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow);
}

.download-os-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.download-product {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.download-version-line {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent2);
}

.download-meta-line {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.download-notes {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.download-card-action {
  text-align: center;
  min-width: 180px;
}

.download-main-btn {
  min-width: 180px;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.download-hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 220px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
}

.cta-inner p {
  margin: 0;
  opacity: 0.9;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .features-grid,
  .highlights-grid,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-notes {
    text-align: left;
  }

  .download-card-action {
    margin: 0 auto;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
