/* ==========================================================================
   魔戒机场官网 (Moji Airport) - 宇宙星云流 (Cosmic Nebula / Deep Purple)
   Bespoke Next-Gen Design System & High-Converting Layout
   ========================================================================== */

:root {
  --bg-deep: #090514;
  --bg-surface: #100722;
  --bg-card: rgba(19, 9, 36, 0.72);
  --bg-card-hover: rgba(30, 15, 58, 0.9);
  --bg-glass: rgba(16, 8, 32, 0.68);
  
  --border-subtle: rgba(139, 92, 246, 0.18);
  --border-glow: rgba(217, 70, 239, 0.45);
  --border-neon: rgba(139, 92, 246, 0.6);
  
  --primary-violet: #8B5CF6;
  --secondary-magenta: #D946EF;
  --cta-btn: #7C3AED;
  --cta-hover: #6D28D9;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  
  --text-main: #FAF5FF;
  --text-muted: #A8A29E;
  --text-dim: #71717A;
  
  --gradient-nebula: linear-gradient(135deg, #A855F7 0%, #D946EF 50%, #EC4899 100%);
  --gradient-violet-blue: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(217, 70, 239, 0.2) 50%, transparent 100%);
  
  --shadow-neon: 0 0 30px rgba(139, 92, 246, 0.35);
  --shadow-magenta: 0 0 35px rgba(217, 70, 239, 0.35);
  --shadow-button: 0 4px 25px rgba(124, 58, 237, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  min-height: 100vh;
}

/* Cosmic Nebula Background & Interactive Canvas */
#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cosmic-nebula-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  transition: opacity 1s ease;
}

.nebula-1 {
  top: -15%;
  left: 15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, #8B5CF6, transparent 65%);
}

.nebula-2 {
  top: 35%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #D946EF, transparent 65%);
}

.nebula-3 {
  bottom: 0%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #7C3AED, transparent 65%);
}

/* Subtle Sci-Fi Grid Overlay */
.cosmic-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Shared Utilities */
.gradient-text {
  background: var(--gradient-nebula);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: #C084FC;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   1. FLOATING ISLAND NAVBAR (悬浮灵动胶囊导航)
   ========================================================================== */
.floating-nav-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  background: rgba(14, 7, 28, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
  transition: var(--transition);
  margin: 0 auto;
}

/* Fallback when navbar is not inside .floating-nav-wrapper (e.g. standalone subpages) */
header.navbar:not(.floating-nav-wrapper .navbar) {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 100;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #D946EF);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #D4D4D8;
  transition: var(--transition);
  position: relative;
  padding: 6px 4px;
}

.nav-link:hover, .nav-link.active {
  color: #FAF5FF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--gradient-nebula);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.nav-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #34D399;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.8s infinite;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cta-btn);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(217, 70, 239, 0.45);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.65);
  border-color: rgba(217, 70, 239, 0.8);
}

.btn-cta-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.3);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary-violet);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   2. HERO SECTION: ASYMMETRIC COSMIC COMMAND CENTER (双栏异构深空控制台)
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
}

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

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(24, 11, 48, 0.85);
  border: 1px solid rgba(217, 70, 239, 0.4);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #F5D0FE;
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.25);
}

.sparkle-icon {
  color: #F43F5E;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 620px;
}

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

.hero-feature-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.feat-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 0.85rem;
  color: #E9D5FF;
}

.feat-tag-pill svg {
  color: #C084FC;
}

/* Hero Right: Holographic Cyber Deck Card (全息控制台卡片) */
.hero-cockpit-card {
  background: linear-gradient(135deg, rgba(26, 12, 52, 0.85) 0%, rgba(14, 7, 28, 0.9) 100%);
  border: 1px solid rgba(217, 70, 239, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-cockpit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-nebula);
}

.cockpit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cockpit-telemetry-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #34D399;
  font-weight: 600;
}

.cockpit-signal-box {
  background: rgba(8, 4, 18, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
}

.signal-wave-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #C084FC;
  margin-bottom: 12px;
}

.signal-canvas-wrap {
  height: 60px;
  width: 100%;
  position: relative;
}

#signal-wave-canvas {
  width: 100%;
  height: 100%;
}

.cockpit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FAF5FF;
}

.cockpit-footer-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #E9D5FF;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.cockpit-footer-btn:hover {
  background: rgba(139, 92, 246, 0.35);
  color: white;
}

/* Stats Ribbon Matrix */
.hero-matrix-bar {
  margin-top: 60px;
  background: linear-gradient(90deg, rgba(20, 9, 40, 0.6) 0%, rgba(28, 13, 56, 0.7) 50%, rgba(20, 9, 40, 0.6) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.matrix-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.matrix-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D946EF;
  flex-shrink: 0;
}

.matrix-val {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-nebula);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.matrix-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. SECTION 3: RADAR PING & LIVE DIAGNOSTIC DECK (深空雷达测速站)
   ========================================================================== */
.nodes-section {
  padding: 100px 0;
  position: relative;
}

.nodes-deck-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
}

/* Left: Simulated Live Terminal / Console */
.terminal-console-card {
  background: rgba(10, 4, 22, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.terminal-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #EF4444; }
.term-dot.yellow { background: #F59E0B; }
.term-dot.green { background: #10B981; }

.terminal-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: #A855F7;
}

.terminal-logs-window {
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #A7F3D0;
  line-height: 1.7;
  flex-grow: 1;
  min-height: 240px;
  max-height: 380px;
  overflow-y: auto;
}

.log-line {
  margin-bottom: 6px;
}

.log-line.cmd {
  color: #C084FC;
}

.log-line.ok {
  color: #34D399;
}

.log-line.info {
  color: #93C5FD;
}

.terminal-bottom-action {
  margin-top: 18px;
}

/* Right: Node Radar Grid */
.node-radar-deck {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.deck-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.deck-filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--primary-violet);
  color: var(--text-main);
}

.btn-refresh-ping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(217, 70, 239, 0.15);
  border: 1px solid rgba(217, 70, 239, 0.4);
  color: #F0ABFC;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-refresh-ping:hover {
  background: rgba(217, 70, 239, 0.3);
  transform: scale(1.02);
}

.radar-node-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.radar-node-item {
  background: rgba(14, 7, 28, 0.65);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: var(--transition);
  position: relative;
}

.radar-node-item:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
  background: rgba(24, 12, 48, 0.7);
}

.r-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.r-node-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.r-node-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 4px;
  color: #C084FC;
}

.r-node-ping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.r-latency {
  font-weight: 800;
}

.latency-green {
  color: #34D399;
}

.latency-yellow {
  color: #FBBF24;
}

.r-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.r-pill {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #A8A29E;
}

/* ==========================================================================
   4. SECTION 4: BENTO GRID CORE ADVANTAGES (便当盒流式不对称核心优势)
   ========================================================================== */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 16px 45px rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
}

/* Span classes for asymmetrical Bento layout */
.bento-col-span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(217, 70, 239, 0.25));
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #E879F9;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.3);
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 12px;
  color: var(--text-main);
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Micro visual inside Bento 1 (IPLC Light Path) */
.bento-optical-visual {
  margin-top: 24px;
  background: rgba(10, 5, 22, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.optical-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.optical-pipe {
  flex-grow: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 16px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.optical-pipe::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #D946EF, #8B5CF6, transparent);
  animation: pipe-light 2s linear infinite;
}

@keyframes pipe-light {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* Micro visual inside Bento 2 (AI Typing simulator) */
.bento-ai-bubble {
  margin-top: 18px;
  background: rgba(10, 5, 22, 0.75);
  border: 1px solid rgba(217, 70, 239, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #E9D5FF;
}

.typing-dot-anim::after {
  content: ' ●';
  color: #34D399;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ==========================================================================
   5. SECTION 4: PRICING PLANS (星系能级阶梯·高科技悬浮矩阵)
   ========================================================================== */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 70, 239, 0.6);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

/* Featured Supernova Card with Aceternity Border Glow */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(35, 17, 68, 0.95) 0%, rgba(18, 9, 36, 0.95) 100%);
  border: 2px solid #A855F7;
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.4);
  transform: scale(1.03);
}

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

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-nebula);
  color: white;
  padding: 4px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(217, 70, 239, 0.6);
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
}

.plan-tier-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C084FC;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: #C084FC;
}

.price-number {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: #FAF5FF;
}

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

.plan-features {
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.94rem;
  color: #E4E4E7;
}

.plan-feature-item svg {
  color: #A855F7;
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-feature-item.muted {
  color: var(--text-dim);
  text-decoration: line-through;
}

.plan-feature-item.muted svg {
  color: var(--text-dim);
}

/* ==========================================================================
   6. SECTION 5: SPLIT FAQ HUB (星系问答中枢·左侧卡片+右侧风琴)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: flex-start;
}

.faq-sticky-sidebar {
  position: sticky;
  top: 110px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.faq-sidebar-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: #C084FC;
  font-weight: 700;
  margin-bottom: 16px;
}

.faq-sidebar-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.faq-sidebar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.faq-quick-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.faq-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #E4E4E7;
}

.faq-stat-row svg {
  color: #34D399;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(217, 70, 239, 0.4);
}

.faq-item.active {
  border-color: #8B5CF6;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

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

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C084FC;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  background: rgba(12, 6, 24, 0.5);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 24px;
}

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

/* ==========================================================================
   7. SECTION 6: KNOWLEDGE BASE SPOTLIGHT & MASONRY (知识库精选与流式卡片)
   ========================================================================== */
.kb-section {
  padding: 100px 0;
  position: relative;
}

/* Featured Hero Article Banner */
.kb-spotlight-card {
  background: linear-gradient(135deg, rgba(30, 14, 60, 0.9) 0%, rgba(16, 8, 34, 0.9) 100%);
  border: 1px solid rgba(217, 70, 239, 0.4);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 16px 45px rgba(139, 92, 246, 0.25);
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--gradient-nebula);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.spotlight-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #FAF5FF;
}

.spotlight-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.spotlight-side-box {
  background: rgba(10, 5, 22, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.spotlight-side-box h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.spotlight-side-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Secondary Articles Grid */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kb-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.kb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
}

.kb-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #C084FC;
  margin-bottom: 12px;
}

.kb-tag {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.kb-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.kb-card:hover .kb-card-title {
  color: #E879F9;
}

.kb-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.kb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C084FC;
  font-weight: 600;
  transition: var(--transition);
}

.read-more-link:hover {
  color: #F0ABFC;
  transform: translateX(4px);
}

/* ==========================================================================
   8. SECTION 7: INFINITE REVIEWS MARQUEE (星际穿梭跑马灯用户评价)
   ========================================================================== */
.reviews-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-deep), transparent);
}

.marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-row.reverse {
  animation: marquee-scroll-reverse 45s linear infinite;
}

.marquee-row:hover {
  animation-play-state: paused;
}

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

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

.review-card {
  width: 360px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 14px;
  font-size: 1rem;
}

.review-content {
  font-size: 0.92rem;
  color: #E4E4E7;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.user-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.user-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.bottom-cta-section {
  padding: 80px 0 120px 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(32, 17, 62, 0.95), rgba(18, 9, 36, 0.95));
  border: 1px solid rgba(217, 70, 239, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(217, 70, 239, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER (Strictly no visible sitemap or robots.txt)
   ========================================================================== */
.site-footer {
  background: rgba(8, 4, 18, 0.96);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 380px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #C084FC;
}

.clients-support-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.client-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #D4D4D8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ARTICLE / KB SUBPAGES
   ========================================================================== */
.article-wrapper {
  padding: 140px 0 100px 0;
}

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

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: #C084FC;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: #F0ABFC;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding-bottom: 30px;
}

.article-category {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #D946EF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #E2E8F0;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #FAF5FF;
  margin: 44px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  position: relative;
}

.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-nebula);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #E9D5FF;
  margin: 32px 0 16px 0;
}

.article-body ul, .article-body ol {
  margin-bottom: 26px;
  padding-left: 24px;
}

.article-body ul li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.article-body ol li {
  list-style-type: decimal;
  margin-bottom: 10px;
}

.article-body strong {
  color: #FAF5FF;
}

.callout-box {
  background: rgba(22, 12, 42, 0.8);
  border-left: 4px solid var(--secondary-magenta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.callout-box.tip {
  border-left-color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}

.callout-box.warning {
  border-left-color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 30px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: rgba(18, 9, 36, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.article-table th {
  background: rgba(139, 92, 246, 0.2);
  color: #FAF5FF;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #D4D4D8;
}

.article-inline-cta {
  background: linear-gradient(135deg, rgba(32, 17, 62, 0.95), rgba(18, 9, 36, 0.95));
  border: 1px solid rgba(217, 70, 239, 0.45);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin: 44px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.article-inline-cta h3 {
  font-size: 1.5rem;
  color: #FAF5FF;
  margin-bottom: 12px;
}

.article-inline-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.related-articles h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (响应式适配)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .nodes-deck-layout {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-col-span-2 {
    grid-column: span 2;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .faq-split-layout {
    grid-template-columns: 1fr;
  }
  .faq-sticky-sidebar {
    position: static;
  }
  .kb-spotlight-card {
    grid-template-columns: 1fr;
  }
  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .floating-nav-wrapper {
    top: 10px;
    padding: 0 12px;
  }
  .navbar {
    border-radius: 18px;
    padding: 8px 16px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(14, 7, 28, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-telemetry-badge {
    display: none;
  }
  .hero-section {
    padding: 130px 0 60px 0;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-matrix-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .radar-node-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-span-2 {
    grid-column: span 1;
  }
  .kb-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-matrix-bar {
    grid-template-columns: 1fr;
  }
  .hero-cta-group .btn-cta, 
  .hero-cta-group .btn-secondary {
    width: 100%;
  }
}
