/* Deep Space Cosmic / Nebula (未来深空科幻风) Design System */
:root {
  --bg-canvas: #030712; /* 虚空深蓝黑 (60%) */
  --bg-surface: #0F1123; /* 暗夜微透星云紫 (20%) */
  --bg-surface-glow: rgba(168, 85, 247, 0.15); /* 柔光星云紫 */
  --bg-card: rgba(15, 17, 35, 0.7);
  
  --border-color: rgba(192, 132, 252, 0.2); /* 星云紫边界 */
  --border-glow: rgba(6, 182, 212, 0.5); /* 极光蓝青光晕 */
  
  --text-main: #F9FAFB; /* 纯净星白 (10%) */
  --text-muted: #C084FC; /* 星云浅紫 */
  --text-dim: #9CA3AF; /* 深空灰 */
  
  --accent-gold: #F59E0B; /* 恒星日冕金 */
  --accent-cyan: #06B6D4; /* 极光蓝青 */
  --accent-purple: #A855F7; /* 绚丽星云紫 */
  
  --font-mono: "Fira Code", "JetBrains Mono", Consolas, Monaco, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Deep Space Holographic Button */
.btn-blueprint, .btn-broadsheet, .btn-space {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
  color: #030712;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.btn-blueprint:hover, .btn-broadsheet:hover, .btn-space:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6), 0 0 15px rgba(6, 182, 212, 0.8);
  transform: translateY(-2px) scale(1.02);
  color: #030712;
}

/* Holographic Stamp Badge */
.ink-stamp {
  display: inline-block;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Header & Nav */
header.site-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo-brand {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 12px var(--accent-purple);
}

.logo-brand .badge {
  font-size: 10px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.main-nav {
  display: flex;
  gap: 16px;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.main-nav a:hover {
  border-color: var(--border-glow);
  background: var(--bg-surface-glow);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* Announcement Header */
.top-banner {
  background: linear-gradient(90deg, #0d0b21 0%, #170d38 50%, #061e30 100%);
  color: var(--text-main);
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-color);
  box-shadow: inset 0 -1px 10px rgba(168, 85, 247, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px 0;
  position: relative;
}

.spec-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 17, 35, 0.5);
  padding: 10px 16px;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(192, 132, 252, 0.3);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.8;
  font-family: var(--font-sans);
}

.hero-specs-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 16px var(--bg-surface-glow);
}

.hero-specs-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(192, 132, 252, 0.1);
  font-size: 13px;
  font-family: var(--font-mono);
}

.hero-specs-row:last-child {
  border-bottom: none;
}

.hero-specs-row span {
  color: var(--text-dim);
}

.hero-specs-row strong {
  color: var(--accent-cyan);
}

/* Deep Space Holographic Visual Card */
.wireframe-visual {
  background: linear-gradient(160deg, rgba(15, 17, 35, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.2), inset 0 0 20px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.wireframe-visual::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: orbit-rotate 20s linear infinite;
}

@keyframes orbit-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.terminal-header {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.1em;
}

.node-pulse-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-family: var(--font-mono);
  padding: 12px 16px;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.node-item:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.status-online {
  color: #10B981;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Section Shared */
.section-padding {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--text-main), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: var(--font-sans);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 800px;
}

/* Section 1: Latency Table */
.nodes-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nodes-table th, .nodes-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(192, 132, 252, 0.1);
}

.nodes-table th {
  background: rgba(3, 7, 18, 0.9);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nodes-table tr:hover td {
  background: rgba(168, 85, 247, 0.08);
}

.latency-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: bold;
}

.lat-fast {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.lat-low {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Section 2: Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.25);
}

.price-card.popular {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-surface) 100%);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

.price-card .popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(90deg, var(--accent-gold), #EF4444);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.price-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.price-amount span {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: normal;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px solid rgba(192, 132, 252, 0.1);
  padding-top: 20px;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Section 2: Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.adv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.3s ease;
}

.adv-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
}

.adv-num {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.adv-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.adv-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Section 3: FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 28px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Section 3: Articles / Knowledge Base Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

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

.article-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.article-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 24px;
}

.article-link {
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.article-link:hover {
  color: var(--accent-cyan);
}

/* Section 4: Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

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

.review-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(192, 132, 252, 0.1);
  padding-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Footer */
footer.site-footer {
  background: rgba(3, 7, 18, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Article Detail Page Layout (Deep Space Cosmic) */
.article-container {
  max-width: 880px;
  margin: 60px auto 100px auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 56px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), inset 0 0 32px var(--bg-surface-glow);
}

.article-header-meta {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.article-main-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--text-main);
  background: linear-gradient(135deg, #FFFFFF 50%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-sub-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.article-body-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
  font-family: var(--font-sans);
}

.article-body-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 20px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  color: var(--accent-gold);
}

.article-body-content p {
  margin-bottom: 24px;
  color: #E5E7EB;
}

.article-body-content ul {
  margin: 0 0 24px 28px;
  color: #E5E7EB;
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-cta-box {
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 32px;
  margin: 48px 0;
  text-align: center;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .article-container {
    padding: 24px;
  }
}
