/* ===== 全局基础样式 ===== */
:root {
  --primary: #0F172A;
  --secondary: #1E293B;
  --accent-blue: #3B82F6;
  --accent-orange: #F59E0B;
  --accent-cyan: #06B6D4;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --border: rgba(59, 130, 246, 0.25);
  --card-bg: rgba(30, 41, 59, 0.8);
  --glow: 0 0 20px rgba(59, 130, 246, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary);
  color: var(--text-primary);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== 背景动态网格 ===== */
.grid-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--glow);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
  background: rgba(59,130,246,0.1);
}

.nav-cta {
  background: linear-gradient(135deg, #3B82F6, #06B6D4) !important;
  color: white !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(59,130,246,0.4) !important;
  background: linear-gradient(135deg, #2563EB, #0891B2) !important;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(15, 23, 42, 0.98);
  padding: 1rem;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  background: rgba(59,130,246,0.1);
  color: var(--accent-blue);
}

/* ===== 主内容区域 ===== */
.page-content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

/* ===== 通用组件 ===== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 5rem 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #F1F5F9, #94A3B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.badge-blue {
  background: rgba(59,130,246,0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59,130,246,0.3);
}

.badge-orange {
  background: rgba(245,158,11,0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(245,158,11,0.3);
}

.badge-cyan {
  background: rgba(6,182,212,0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6,182,212,0.3);
}

/* 卡片 */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.card:hover {
  border-color: rgba(59,130,246,0.5);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card-icon-blue { background: rgba(59,130,246,0.15); }
.card-icon-orange { background: rgba(245,158,11,0.15); }
.card-icon-cyan { background: rgba(6,182,212,0.15); }
.card-icon-green { background: rgba(16,185,129,0.15); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: white;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.5);
}

.btn-orange {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
  background: rgba(59,130,246,0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* 分隔线 */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
}

/* 统计数字 */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: rgba(59,130,246,0.15);
  color: var(--accent-blue);
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(59,130,246,0.08);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(59,130,246,0.05);
  color: var(--text-primary);
}

/* 免责声明 */
.disclaimer-bar {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  color: #D97706;
  text-align: center;
  margin: 1.5rem 0;
}

/* 页脚 */
.footer {
  background: rgba(15,23,42,0.95);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* 进度条 */
.progress-bar {
  height: 6px;
  background: rgba(59,130,246,0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  transition: width 1s ease;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-green { background: rgba(16,185,129,0.15); color: #10B981; }
.tag-red { background: rgba(239,68,68,0.15); color: #EF4444; }
.tag-yellow { background: rgba(245,158,11,0.15); color: #F59E0B; }
.tag-blue { background: rgba(59,130,246,0.15); color: #3B82F6; }

/* 定价卡片 */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--accent-orange);
  box-shadow: 0 0 30px rgba(245,158,11,0.2);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.pricing-card .price-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card li i {
  color: #10B981;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* 微信弹窗 */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.wechat-modal.active {
  display: flex;
}

.wechat-modal-box {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--glow);
}

.wechat-modal-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.wechat-modal-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  background: white;
  border-radius: 10px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.qr-grid {
  position: absolute;
  inset: 12px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
}

.qr-cell {
  background: #0F172A;
  border-radius: 1px;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.wechat-id {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-question {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(59,130,246,0.05);
}

.faq-arrow {
  transition: transform 0.3s;
  color: var(--accent-blue);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  display: block;
}

/* 动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(59,130,246,0.3); }
  50% { box-shadow: 0 0 25px rgba(59,130,246,0.7); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes data-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* 滚动数据跑马灯 */
.ticker-wrap {
  background: rgba(15,23,42,0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: data-scroll 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  margin-right: 3rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ticker-item .up { color: #10B981; }
.ticker-item .down { color: #EF4444; }

/* 雷达图占位 */
.chart-placeholder {
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.radar-svg {
  width: 220px;
  height: 220px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }

  .section { padding: 3.5rem 1rem; }
  .section-title h2 { font-size: 1.6rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .pricing-card .price { font-size: 2.4rem; }
}
