/* ==========================================================================
   极速VPN / 极速加速器 (NebulaMesh Architecture)
   Official Landing Page Stylesheet
   Theme: Titanium Deep Obsidian (#080A0F) + Quantum Amber Gold (#F59E0B) 
          + Pulse Solar Orange (#F97316) + Ion Aurora Mint (#10B981)
   ========================================================================== */

:root {
  --bg-primary: #080A0F;
  --bg-secondary: #0D111A;
  --bg-card: #111723;
  --bg-card-hover: #172030;
  --bg-card-glass: rgba(17, 23, 35, 0.82);
  --border-subtle: rgba(245, 158, 11, 0.15);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);

  --accent-amber: #F59E0B;
  --accent-orange: #F97316;
  --accent-amber-light: #FCD34D;
  --gradient-amber: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.18) 0%, transparent 70%);

  --accent-mint: #10B981;
  --accent-mint-glow: #34D399;
  --accent-cyan: #06B6D4;
  --accent-red: #EF4444;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, "SF Mono", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;

  --shadow-amber: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-mint: 0 0 25px rgba(16, 185, 129, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* 导航锚点与平滑滚动铁律注入 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

[id] {
  scroll-margin-top: 86px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.12), transparent),
    radial-gradient(circle at 90% 40%, rgba(249, 115, 22, 0.05), transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(16, 185, 129, 0.05), transparent 50%);
  background-attachment: fixed;
}

/* 容器与网格 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

ul {
  list-style: none;
}

/* 极客网格背景点缀 */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   导航栏 Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  background: rgba(8, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient-amber);
  border-radius: var(--radius-sm);
  color: #080A0F;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.logo-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.72rem;
  padding: 2px 7px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.active {
  color: var(--accent-amber);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-amber);
  color: #080A0F;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  color: #000000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-mint {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-mint-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-mint:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-mint);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* 汉堡按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero 首屏设计
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--accent-amber);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title span.gradient-text {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item:last-child {
  border-right: none;
}

.metric-val {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-mono);
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   差异化原生 JS 交互看板区 (Three Core Interactive Dashboards)
   ========================================================================== */
.dashboards-section {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 看板卡片容器 */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: border-color 0.3s ease;
}

.dashboard-card:hover {
  border-color: var(--border-focus);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-card);
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.indicator-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
}

.indicator-led.warning {
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
}

.indicator-led.danger {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

.dashboard-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

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

.control-btn.active {
  background: var(--gradient-amber);
  color: #080A0F;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.dashboard-body {
  padding: 24px;
}

/* Canvas 容器标准 */
.canvas-container {
  width: 100%;
  position: relative;
  background: #090D14;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.canvas-container canvas {
  display: block;
  width: 100%;
}

.dashboard-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
}

.stat-box-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stat-box-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

.stat-box-val.text-mint {
  color: var(--accent-mint-glow);
}

.stat-box-val.text-amber {
  color: var(--accent-amber);
}

.stat-box-val.text-red {
  color: var(--accent-red);
}

.stat-box-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* 看板 3: 左右双列排布 */
.flow-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

/* ==========================================================================
   核心技术特性与优势网格
   ========================================================================== */
.features-section {
  padding: 80px 0;
  position: relative;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
}

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

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--accent-amber-light);
}

/* ==========================================================================
   阶梯定价卡片 (Pricing Matrix)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, #161D2C 0%, #101622 100%);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.18);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-amber);
  color: #080A0F;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-price {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.amount {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
}

.period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.spec-item .check-icon {
  color: var(--accent-mint);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-guarantee {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pricing-guarantee span.highlight {
  color: var(--accent-mint-glow);
  font-weight: 600;
}

/* ==========================================================================
   硬核技术 FAQ 手风琴
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  position: relative;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  user-select: none;
}

.faq-chevron {
  font-size: 1.2rem;
  color: var(--accent-amber);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  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-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px 24px;
}

/* ==========================================================================
   官方公报速览 (News Quick View on Index)
   ========================================================================== */
.news-preview-section {
  padding: 80px 0 100px;
}

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

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}

.news-badge {
  padding: 3px 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border-radius: 4px;
  font-size: 0.74rem;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--accent-amber);
  font-weight: 600;
}

.news-readmore:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   页面内专属模块: 资讯公告中心 (news.html)
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: #FFFFFF;
  border-color: rgba(245, 158, 11, 0.3);
}

.filter-chip.active {
  background: var(--gradient-amber);
  color: #080A0F;
  border-color: transparent;
  font-weight: 700;
}

.news-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-article-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s ease;
}

.news-article-item:hover {
  border-color: var(--border-focus);
}

.news-article-header {
  cursor: pointer;
}

.news-full-content {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

.news-full-content.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.page-btn.active {
  background: var(--gradient-amber);
  color: #080A0F;
  border-color: transparent;
  font-weight: 700;
}

/* ==========================================================================
   页面内专属模块: 使用文档与帮助中心 (help.html)
   ========================================================================== */
.client-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(245, 158, 11, 0.4);
}

.tab-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.guide-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.code-terminal {
  background: #06080C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38BDF8;
  margin: 14px 0;
  overflow-x: auto;
}

/* ==========================================================================
   页面内专属模块: 关于/协议/条款 (about / privacy / terms)
   ========================================================================== */
.doc-article {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 40px auto 80px;
  max-width: 960px;
  line-height: 1.8;
}

.doc-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 36px 0 16px;
  border-left: 4px solid var(--accent-amber);
  padding-left: 14px;
}

.doc-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.doc-article p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1rem;
}

.doc-article ul, .doc-article ol {
  margin: 16px 0 24px 24px;
  color: var(--text-secondary);
}

.doc-article li {
  margin-bottom: 10px;
}

.callout-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.callout-box.mint {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   404 & Go 跳转页
   ========================================================================== */
.status-page-hero {
  min-height: calc(100vh - 86px - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.status-box {
  max-width: 600px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.status-code {
  font-size: 5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.terminal-loader {
  background: #06080C;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  text-align: left;
  font-size: 0.85rem;
  color: #38BDF8;
  margin: 24px 0;
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-amber);
  width: 0%;
  transition: width 1s linear;
}

/* ==========================================================================
   页脚 Footer (严禁出现 XML 网站地图 文本链接)
   ========================================================================== */
.site-footer {
  background: #05070B;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 36px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

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

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--accent-amber);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-compliance-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-split-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
  .features-grid, .news-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: #080A0F;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    z-index: 998;
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .doc-article {
    padding: 24px 18px;
  }
}

