:root {
  /* Day Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --border-color: rgba(226, 232, 240, 0.9);
  --border-hover: rgba(0, 210, 180, 0.5);
  
  --text-primary: #040508;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-cyan: #00d2b4;
  --accent-teal: #00f5d4;
  --accent-violet: #9333ea;
  --accent-blue: #2563eb;
  --accent-gradient: linear-gradient(135deg, #00d2b4 0%, #2563eb 50%, #9333ea 100%);
  --accent-gradient-hover: linear-gradient(135deg, #00b89d 0%, #1d4ed8 50%, #7e22ce 100%);
  --badge-bg: rgba(0, 210, 180, 0.08);
  --badge-border: rgba(0, 210, 180, 0.25);
  --badge-text: #059669;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(0, 210, 180, 0.25);
  
  --nav-bg: rgba(248, 250, 252, 0.88);
  --glass-blur: blur(14px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Deep Network-Void Palette (#040508, #00f5d4, #a855f7) */
  --bg-primary: #040508;
  --bg-secondary: #080c14;
  --bg-tertiary: #0e1524;
  --bg-card: rgba(10, 16, 28, 0.72);
  --bg-card-hover: rgba(14, 22, 38, 0.88);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 245, 212, 0.5);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-cyan: #00f5d4;
  --accent-teal: #00f5d4;
  --accent-violet: #a855f7;
  --accent-blue: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #00f5d4 0%, #3b82f6 50%, #a855f7 100%);
  --accent-gradient-hover: linear-gradient(135deg, #00dbc0 0%, #2563eb 50%, #9333ea 100%);
  --badge-bg: rgba(0, 245, 212, 0.12);
  --badge-border: rgba(0, 245, 212, 0.28);
  --badge-text: #00f5d4;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 35px rgba(0, 245, 212, 0.28), 0 0 50px rgba(168, 85, 247, 0.18);

  --nav-bg: rgba(4, 5, 8, 0.88);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glow */
.bg-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow-1 {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.14) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 80%);
  filter: blur(90px);
}

.bg-glow-2 {
  position: absolute;
  top: 38%;
  right: -120px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(0, 245, 212, 0.05) 60%, transparent 80%);
  filter: blur(100px);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.neon-cyan {
  color: #00f5d4;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.4);
}

.neon-violet {
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.neon-teal {
  color: #00f5d4;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00f5d4;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f5d4;
  vertical-align: middle;
  margin-left: 3px;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

/* Theme Toggle Button - Refined & Translucent */
.theme-toggle-btn {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(148, 163, 184, 0.2);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.icon-sun {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg) scale(1);
  stroke: #d97706;
}

.icon-moon {
  position: absolute;
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
  stroke: #00f5d4;
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 245, 212, 0.3), 0 0 25px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 26px rgba(0, 245, 212, 0.45), 0 0 35px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 34px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Section Common Styles */
.section {
  padding: 85px 0;
  position: relative;
  scroll-margin-top: 86px;
  transition: background-color 0.5s ease;
}

.section-highlight {
  animation: flash-highlight 1.4s ease-out;
}

@keyframes flash-highlight {
  0% { box-shadow: 0 0 0 4px rgba(0, 245, 212, 0.5); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* =================================================================
   Hero Section: Self-Healing Topology Layout
   Authoritative Left Typography + Right 3D Isometric Cyber Gateway
   ================================================================= */
.hero-section {
  padding: 70px 0 60px;
}

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

.hero-text-col {
  text-align: left;
}

.hero-headline {
  font-size: 3.3rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin: 18px 0 20px;
}

.hero-headline .brand-highlight {
  color: var(--text-primary);
}

.hero-subheadline {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Right Column: Interactive 3D Cyber Gateway & Self-Healing Canvas */
.hero-topology-wrapper {
  position: relative;
}

.topology-container {
  background: #040508;
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: 24px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 245, 212, 0.15), 0 0 70px rgba(168, 85, 247, 0.1);
}

.topology-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot.live {
  width: 8px;
  height: 8px;
  background: #00f5d4;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f5d4;
  animation: pulse-dot 1.5s infinite;
}

.hud-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Canvas Area */
#neural-mesh-canvas {
  width: 100%;
  height: 340px;
  display: block;
  cursor: crosshair;
}

/* 3D Isometric Cyber Gateway Core */
.gateway-core-anchor {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.core-rings {
  width: 86px;
  height: 86px;
  position: relative;
}

.core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(0, 245, 212, 0.6);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
}

.ring-1 {
  animation: spin-core 10s linear infinite;
}

.ring-2 {
  inset: 12px;
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  animation: spin-core-rev 7s linear infinite;
}

.ring-3 {
  inset: 24px;
  background: radial-gradient(circle, #00f5d4 0%, #a855f7 100%);
  border: none;
  box-shadow: 0 0 25px #00f5d4;
  animation: pulse-dot 2.5s infinite;
}

@keyframes spin-core {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-core-rev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.core-label {
  margin-top: 8px;
  text-align: center;
}

.core-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  display: block;
  text-shadow: 0 0 8px #00f5d4;
}

.core-sub {
  font-size: 0.65rem;
  color: #00f5d4;
}

/* Datum Line */
.topology-datum-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.datum-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #00f5d4;
  display: inline-block;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}

.datum-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.datum-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00f5d4, #a855f7, transparent);
  animation: datum-sweep 2.8s ease-in-out infinite;
}

@keyframes datum-sweep {
  0% { left: -25%; }
  100% { left: 100%; }
}

.datum-info {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 6px;
}

/* Self-Healing Toast Alert */
.self-heal-toast {
  position: absolute;
  bottom: 65px;
  left: 20px;
  right: 20px;
  background: rgba(8, 12, 20, 0.94);
  border: 1px solid #a855f7;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.self-heal-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 1.4rem;
  color: #00f5d4;
}

.toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.toast-desc {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* =================================================================
   Core Advantages (3 Cards)
   ================================================================= */
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

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

/* =================================================================
   Streaming & AI Cards Showcase
   (Completely devoid of generic AI bot icons)
   ================================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.showcase-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.showcase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

.showcase-icon svg {
  width: 24px;
  height: 24px;
}

.showcase-meta h4 {
  font-size: 1.1rem;
}

.showcase-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  font-weight: 500;
}

/* =================================================================
   Pricing Section (Real-world reference pricing)
   ================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 245, 212, 0.4);
}

.plan-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

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

.amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

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

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: #10b981;
  flex-shrink: 0;
}

/* =================================================================
   User Reviews Section
   ================================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--badge-bg);
  border: 2px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1rem;
}

.author-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =================================================================
   FAQ Section
   ================================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--accent-cyan);
}

/* =================================================================
   Bottom CTA Banner
   ================================================================= */
.cta-banner-section {
  padding: 40px 0 90px;
}

.cta-banner-card {
  background: var(--accent-gradient);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 245, 212, 0.25), 0 0 50px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-banner-sub {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto 32px;
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: #040508;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* =================================================================
   Footer Specification
   Strict Requirement: 页脚只保留这四个标题，内容打开新的页面展示
   ================================================================= */
.site-footer {
  margin-top: auto;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 35px;
  position: relative;
  z-index: 10;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-nav-item a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-item a:hover {
  color: var(--accent-cyan);
  background: var(--badge-bg);
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* Documentation / Auxiliary Pages Style */
.doc-article {
  padding: 70px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}

.doc-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.doc-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.doc-header .doc-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-content h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.doc-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.doc-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.doc-content ul, .doc-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.doc-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}

/* =================================================================
   Responsive Media Queries
   ================================================================= */
@media (max-width: 1024px) {
  .hero-topology-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-text-col {
    text-align: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .core-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
    scroll-margin-top: 74px;
  }
  
  .hero-section {
    padding: 50px 0 30px;
  }
  
  .hero-headline {
    font-size: 2.3rem;
    letter-spacing: -0.5px;
  }
  
  .hero-subheadline {
    font-size: 1.05rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }
  
  .stat-number {
    font-size: 1.45rem;
  }
  
  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  
  .cta-banner-card {
    padding: 36px 20px;
  }
  
  .cta-banner-title {
    font-size: 1.8rem;
  }

  #neural-mesh-canvas {
    height: 280px;
  }
}

/* =================================================================
   SEO Long-form Article Styles
   (TOC, Tables, Callouts, Article FAQ, Related Reading Grid)
   ================================================================= */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.article-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  font-size: 0.78rem;
  font-weight: 600;
}

.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 30px 0 36px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 6px;
}

.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  transition: var(--transition);
  display: inline-block;
}

.toc-list li a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.article-callout {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-callout.tip {
  border-left-color: #10b981;
}

.article-callout.warn {
  border-left-color: #f59e0b;
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.article-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  font-weight: 700;
}

.article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.article-table tr:nth-child(even) td {
  background: var(--bg-card);
}

.article-faq-section {
  margin: 48px 0 36px;
}

.related-articles-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 30px;
  margin: 50px 0 30px;
  box-shadow: var(--shadow-sm);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card h4 {
  font-size: 0.96rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.related-card .read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-cta-box {
  background: var(--accent-gradient);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  color: #ffffff;
  margin: 40px 0;
  box-shadow: var(--shadow-glow);
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
}
