:root {
  --bg: #0c0b0e;
  --surface: #16141a;
  --surface-elevated: #201c26;
  --text-main: #f8fafc;
  --text-secondary: #a19fad;
  --accent: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --accent-glow: rgba(245, 158, 11, 0.28);
  --border-color: #2b2633;
  --border-gold: rgba(245, 158, 11, 0.45);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-narrow: 880px;
  --container-wide: 1140px;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.6;
  background-image: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container-wide {
  max-width: var(--container-wide);
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(12, 11, 14, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

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

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 6px;
  background: var(--accent-gradient);
  color: #0c0b0e;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--accent-glow);
  text-decoration: none;
}

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

/* 首屏 Hero - 居中架构 */
.hero-section {
  padding-top: 150px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 40%, #c9ccd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: var(--accent-gradient);
  color: #0c0b0e;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px var(--accent-glow);
  text-decoration: none;
}

.btn-gold:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.05);
}

.hero-media {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-media img {
  border-radius: 8px;
  width: 100%;
  display: block;
}

/* 数据三卡横排 */
.stats-section {
  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(--border-color);
  padding: 30px 24px;
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: var(--border-gold);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 模块通用标题区（居中） */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 优势四卡（宽屏两列） */
.features-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #100e14 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 平台四卡横排 */
.platforms-section {
  padding: 70px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.plat-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.plat-ver {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.plat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.5;
}

.plat-download {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--surface-elevated);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  text-decoration: none;
}

.plat-download:hover {
  background: var(--accent-gradient);
  color: #0c0b0e;
  border-color: transparent;
}

/* 常见问题 FAQ */
.faq-section {
  padding: 70px 0;
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 4px;
  padding-top: 14px;
}

/* 最新资讯（6卡，宽屏3列） */
.news-section {
  padding: 80px 0;
}

.news-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.news-header-wrap .section-title {
  margin-bottom: 0;
  text-align: left;
}

.news-more-link {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.news-more-link:hover {
  text-decoration: underline;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s;
}

.news-card:hover {
  border-color: var(--border-gold);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.news-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
}

.news-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.news-tag {
  font-size: 0.75rem;
  color: #8c8295;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  display: block;
}

/* 底部居中转化区 */
.cta-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* 页脚 */
.footer {
  background: var(--bg);
  padding: 60px 0 30px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: #6c6675;
  font-size: 0.82rem;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .platforms-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    flex-direction: column;
  }
}

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

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-media {
    display: none; /* 窄屏收起配图 */
  }

  .stats-grid,
  .features-grid,
  .platform-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
}
