/* 小火箭官网：官方下载 全局样式表 (赛博黑曜石翡翠绿交替架构风格) */
:root {
  --bg: #0A0D14;
  --surface: #121824;
  --surface-alt: #1A2234;
  --border: #26334A;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --primary: #10B981;
  --primary-hover: #059669;
  --primary-text: #0A0D14;
  --accent: #34D399;
  --accent-blue: #38BDF8;
  --radius: 8px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 公告条 */
.announcement {
  background: #0E1624;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
}

/* 顶栏导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-btn {
  background: var(--surface-alt);
  color: var(--accent) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
}

/* 首屏 Cover 区域 */
.hero-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0 40px;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.18) 0%, rgba(10, 13, 20, 0.95) 75%), var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--primary);
  color: var(--accent);
}

.hero-media {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 平台横排 */
.platforms-section {
  padding: 50px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 22px 16px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.platform-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.platform-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* 能力交替图文 */
.features-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 60px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-index {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.feature-tag {
  font-size: 12px;
  background: var(--surface-alt);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.feature-h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-box {
  flex: 1;
  height: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.feature-graphic {
  width: 100%;
  height: 100%;
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.01);
}

.feature-graphic span:first-child {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

/* 评价模块 */
.reviews-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.review-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* 常见问题 FAQ */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}

details:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 18px;
  color: var(--accent);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 底部下载动作区 */
.cta-download-section {
  padding: 70px 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.14) 0%, rgba(18, 24, 36, 0.8) 100%), var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  min-width: 150px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.cta-btn:hover {
  border-color: var(--primary);
  color: var(--accent);
}

/* 页脚 */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.footer-intro {
  line-height: 1.6;
  max-width: 320px;
}

.footer-copy {
  margin-top: 10px;
  color: #556070;
}

.footer-links-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.link-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-group a:hover {
  color: var(--accent);
}

/* 专属下载落地页特别样式 */
.download-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
  text-align: left;
}

.meta-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.meta-item-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-item-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
}

/* 移动端适配 */
@media (max-width: 900px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .feature-item, .feature-item.reverse {
    flex-direction: column;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
  .stats-row {
    gap: 20px;
  }
  .stat-num {
    font-size: 20px;
  }
  .meta-grid {
    grid-template-columns: 1fr;
  }
}
