/* 小火箭官网：软件下载 全局样式表 (赛博暗黑荧光风格) */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00F5A0;
  --primary-dark: #00D2FF;
  --secondary: #3B82F6;
  --accent: #F59E0B;
  --bg-dark: #080C14;
  --bg-darker: #04070D;
  --bg-card: rgba(14, 21, 37, 0.72);
  --bg-card-hover: rgba(20, 32, 56, 0.88);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 160, 0.4);
  --text-white: #FFFFFF;
  --text-gray: #94A3B8;
  --text-muted: #64748B;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-max: 1200px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 245, 160, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #04070D;
  box-shadow: 0 4px 22px rgba(0, 245, 160, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 160, 0.55);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* 顶栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.4);
}

.logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 500;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 6px;
}

/* 首屏 Hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00F5A0 15%, #00D2FF 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-gray);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 45px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  color: var(--primary);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.stat-box {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-box:last-child {
  border-right: none;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-gray);
}

/* 通用区块排版 */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-gray);
}

/* 核心特性 6 卡 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(0, 245, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 22px var(--primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 测速实测性能对比 */
.perf-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.perf-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.perf-item {
  margin-bottom: 26px;
}

.perf-item:last-child {
  margin-bottom: 0;
}

.perf-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.perf-bar-bg {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}

.perf-bar-fill {
  height: 100%;
  border-radius: 6px;
}

.bar-before {
  background: #EF4444;
}

.bar-after {
  background: linear-gradient(90deg, #00F5A0, #00D2FF);
}

.perf-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.meta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.meta-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.meta-desc {
  font-size: 13px;
  color: var(--text-gray);
}

/* 场景覆盖 3 卡 */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
}

.scene-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.scene-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 245, 160, 0.12);
  color: var(--primary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.scene-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.scene-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.scene-list {
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.scene-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.scene-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* 3 步使用流程 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #04070D;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.4);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 规格方案 3 卡 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: center;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.price-card.featured {
  background: rgba(18, 30, 52, 0.92);
  border: 2px solid var(--primary);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0, 245, 160, 0.25);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #F59E0B, #10B981);
  color: #04070D;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.price-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-val {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.price-val span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-gray);
}

.price-features {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 22px 0;
  margin: 20px 0 26px;
  text-align: left;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.price-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* 真实评价 3 卡 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
}

.review-stars {
  color: #FBBF24;
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #04070D;
}

.review-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.review-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ 折叠框 */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 245, 160, 0.4);
  background: rgba(20, 32, 56, 0.7);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-answer ol {
  padding-left: 20px;
  margin-top: 8px;
}

.faq-answer li {
  margin-bottom: 6px;
  list-style-type: decimal;
}

/* 底部 CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.12), rgba(0, 210, 255, 0.12));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.cta-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* 页脚 */
.footer {
  background: var(--bg-darker);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
  color: var(--text-gray);
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 专属下载落地页特别样式 */
.download-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  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: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  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(--primary);
  word-break: break-all;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .hero-title { font-size: 38px; }
  .features-grid, .scenes-grid, .pricing-grid, .reviews-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured { transform: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-box { border-right: none; }
  .perf-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 18px;
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
}
