@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0914;
  --bg-gradient: radial-gradient(circle at 50% 10%, rgba(124, 58, 237, 0.22), rgba(11, 9, 20, 0.98) 70%);
  --surface: rgba(28, 20, 48, 0.72);
  --surface-border: rgba(196, 181, 253, 0.2);
  --surface-hover: rgba(40, 28, 68, 0.88);
  --text-main: #f5f3ff;
  --text-muted: #a89bc4;
  --primary: #a78bfa;
  --primary-hover: #8b5cf6;
  --primary-text: #1a0b2e;
  --accent: #f472b6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-max: 1040px;
  --font: "Space Grotesk", -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);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s ease;
}
a:hover { color: #fff; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 9, 20, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav a { color: var(--text-muted); }
.nav a:hover,
.nav a.is-on { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-text) !important;
  box-shadow: 0 4px 18px rgba(167, 139, 250, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.5);
  color: var(--primary-text) !important;
}

.btn-secondary {
  background: rgba(167, 139, 250, 0.08);
  color: var(--primary) !important;
  border-color: rgba(167, 139, 250, 0.35);
}

.btn-secondary:hover {
  background: rgba(167, 139, 250, 0.16);
  border-color: var(--primary);
  color: #fff !important;
}

.hero-center {
  padding: 150px 0 70px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-center h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.5px;
  max-width: 820px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
  -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-bottom: 40px;
}

.hero-media {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.section-stats { padding: 40px 0 70px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-features,
.section-platforms,
.section-news,
.section-faq {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.section-desc {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: 0.3s;
}

.feature-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #fff;
}

.feature-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
}

.platform-card:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.platform-badge {
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.28);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.platform-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.platform-card .btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.85rem;
  margin-top: auto;
}

.news-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.news-header-wrap .section-header {
  text-align: left;
  margin-bottom: 0;
}

.news-header-wrap .section-desc { margin: 0; }

.news-more-link {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.news-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.news-category { color: var(--primary); font-weight: 700; }
.news-date { color: var(--text-muted); }

.news-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.45;
  color: #fff;
}

.news-summary {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
  flex: 1;
}

.news-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--surface-border);
  padding: 3px 10px;
  border-radius: 999px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: 0.2s;
}

details.faq-item[open] {
  border-color: rgba(167, 139, 250, 0.45);
  background: var(--surface-hover);
}

details.faq-item summary {
  font-weight: 700;
  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: "+";
  color: var(--primary);
  font-size: 1.2rem;
}
details.faq-item[open] summary::after { content: "–"; }

details.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section-cta {
  padding: 80px 0 100px;
  text-align: center;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.12);
}

.cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.cta-desc {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-muted);
}

.page-hero {
  padding: 130px 0 36px;
  text-align: center;
}

.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.dl-step {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}

.dl-step .num {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.dl-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}

.dl-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer {
  border-top: 1px solid var(--surface-border);
  background: rgba(5, 4, 12, 0.9);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand { max-width: 340px; }

.footer-brand .brand { margin-bottom: 12px; }

.footer-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-column h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: #fff; }

.footer-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .nav { 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-center { padding-top: 120px; }
  .hero-media { display: none; }
}
