@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --bg-color: #0a0c10;
  --surface-color: #12151c;
  --surface-card: #181c25;
  --border-color: #1e2430;
  --text-main: #eef2f7;
  --text-muted: #8b95a7;
  --metal-primary: #9db4cc;
  --metal-gradient: linear-gradient(135deg, #e8eef5 0%, #9db4cc 50%, #6b8499 100%);
  --metal-hover: #b7c9db;
  --metal-on-text: #0a0c10;
  --accent-soft: rgba(157, 180, 204, 0.12);
  --radius: 12px;
  --container-max: 1120px;
  --font: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--bg-color);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--metal-primary);
  text-decoration: none;
  transition: 0.2s ease;
}
a:hover { color: #fff; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.narrow-container {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a { color: var(--text-muted); }
.nav-links a:hover,
.nav-links a.is-on { color: #fff; }

.btn-gold {
  background: var(--metal-gradient);
  color: var(--metal-on-text) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(157, 180, 204, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(157, 180, 204, 0.42);
  color: var(--metal-on-text) !important;
}

.btn-outline {
  background: transparent;
  color: var(--metal-primary) !important;
  border: 1px solid var(--metal-primary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: #fff !important;
}

/* Hero */
.hero-section {
  padding: 150px 0 70px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--metal-primary);
  background: var(--accent-soft);
  border: 1px solid rgba(157, 180, 204, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 20px;
  background: var(--metal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-preview {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.hero-preview-card {
  max-width: 760px;
  width: 100%;
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.hero-preview-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
  display: block;
}

/* Sections common */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.section-desc {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 16px;
}

.stats-section,
.features-section,
.platforms-section,
.faq-section,
.news-section {
  padding: 72px 0;
}

.stats-section { padding-top: 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 180, 204, 0.45);
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--metal-primary);
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: 0.25s;
}

.feature-card:hover {
  border-color: rgba(157, 180, 204, 0.4);
  transform: translateY(-2px);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: 0.25s;
}

.platform-card:hover {
  border-color: rgba(157, 180, 204, 0.4);
  transform: translateY(-3px);
}

.platform-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.platform-ver {
  display: inline-block;
  font-size: 12px;
  color: var(--metal-primary);
  border: 1px solid rgba(157, 180, 204, 0.35);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 980px;
}

.platform-card .btn-gold,
.platform-card .btn-outline {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: 0.2s;
}

details.faq-item[open] {
  border-color: rgba(157, 180, 204, 0.45);
  background: var(--surface-card);
}

details.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--metal-primary);
}

details.faq-item[open] summary::after { content: "–"; }

details.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* News */
.news-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.news-header-wrap .section-title {
  margin-bottom: 6px;
  text-align: left;
}

.news-header-wrap .section-desc {
  margin: 0;
  text-align: left;
}

.news-more-link {
  color: var(--metal-primary);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}

.news-card:hover {
  border-color: rgba(157, 180, 204, 0.4);
  transform: translateY(-2px);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12.5px;
}

.news-category { color: var(--metal-primary); font-weight: 700; }
.news-date { color: var(--text-muted); }

.news-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #fff;
}

.news-excerpt {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
}

.news-tag {
  align-self: flex-start;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 980px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: radial-gradient(circle, #161a22 0%, #0a0c10 70%);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.cta-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Download page extras */
.page-hero {
  padding: 130px 0 40px;
  text-align: center;
}

.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.dl-step {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}

.dl-step .num {
  color: var(--metal-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.dl-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
}

.dl-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
.footer {
  background: #08090b;
  border-top: 1px solid #151820;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand { max-width: 360px; }

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}

.footer-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li { margin-bottom: 10px; }

.footer-column a { color: var(--text-muted); }
.footer-column a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .stats-grid,
  .features-grid,
  .platforms-grid,
  .news-grid,
  .dl-steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .features-grid,
  .platforms-grid,
  .news-grid,
  .dl-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-section { padding-top: 120px; }
  .hero-preview { display: none; }
}
