/**
 * Apricot Nebula MAX · 星云杏花
 * Core Design System & Cinematic Stylesheet
 * Optimized for Bing SEO, 60fps rendering, and responsive fluid layout
 */

:root {
  --color-obsidian: #07070D;
  --color-deep-space: #171022;
  --color-neon-pink: #FF3DA5;
  --color-nebula-purple: #9D53FF;
  --color-hologram-pink: #FFB1EB;
  --color-tech-border: #38223E;
  --color-tech-border-glow: rgba(255, 61, 165, 0.35);
  --color-body-text: #F0DDED;
  --color-sub-text: #AA94B6;
  --color-white: #FFFFFF;
  --color-card-bg: rgba(23, 16, 34, 0.72);
  --color-glass-highlight: rgba(255, 255, 255, 0.05);
  
  --gradient-brand: linear-gradient(135deg, #FF3DA5 0%, #9D53FF 100%);
  --gradient-brand-hover: linear-gradient(135deg, #FF66BC 0%, #B478FF 100%);
  --gradient-glass: linear-gradient(180deg, rgba(35, 20, 52, 0.6) 0%, rgba(15, 10, 24, 0.85) 100%);
  --gradient-nebula-glow: radial-gradient(circle at 50% 30%, rgba(157, 83, 255, 0.18) 0%, rgba(255, 61, 165, 0.1) 40%, transparent 70%);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Fira Code", Consolas, Monaco, "Courier New", monospace;
  
  --container-max: 1240px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-neon: 0 0 24px rgba(255, 61, 165, 0.28);
  --shadow-purple: 0 0 30px rgba(157, 83, 255, 0.22);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.65);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  background-color: var(--color-obsidian);
  color: var(--color-body-text);
  font-family: var(--font-sans);
  line-height: 1.7;
}

body {
  background-color: var(--color-obsidian);
  color: var(--color-body-text);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background canvas / ambient atmosphere */
#nebula-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.nebula-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(157, 83, 255, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 61, 165, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--color-hologram-pink);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(255, 61, 165, 0.5);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Text Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 0.8rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--color-body-text);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255, 61, 165, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-brand-hover);
  box-shadow: 0 6px 28px rgba(255, 61, 165, 0.6);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-outline {
  background: rgba(23, 16, 34, 0.5);
  color: var(--color-hologram-pink);
  border: 1px solid var(--color-tech-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--color-neon-pink);
  background: rgba(35, 20, 52, 0.7);
  color: var(--color-white);
  box-shadow: 0 0 16px rgba(255, 61, 165, 0.3);
  transform: translateY(-2px);
}

/* Cards & Glassmorphism */
.nebula-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nebula-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 61, 165, 0.4), transparent);
}

.nebula-card:hover {
  border-color: var(--color-neon-pink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), var(--shadow-neon);
  transform: translateY(-4px);
}

/* =========================================================================
   LOGO Awakening Animation Overlay
   ========================================================================= */
#nebula-intro-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-obsidian);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#nebula-intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  text-align: center;
  position: relative;
  padding: 2rem;
  max-width: 600px;
}

.intro-blossom-hologram {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  position: relative;
  animation: blossomPulse 3s infinite ease-in-out;
}

@keyframes blossomPulse {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 15px rgba(255, 61, 165, 0.6)); }
  50% { transform: scale(1.08) rotate(180deg); filter: drop-shadow(0 0 35px rgba(157, 83, 255, 0.8)); }
}

.intro-brand-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFB1EB 50%, #9D53FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.intro-brand-en {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--color-neon-pink);
  letter-spacing: 0.35em;
  margin-bottom: 0.8rem;
}

.intro-brand-slogan {
  font-size: 0.95rem;
  color: var(--color-sub-text);
  letter-spacing: 0.15em;
}

.intro-skip-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(35, 20, 52, 0.7);
  border: 1px solid var(--color-tech-border);
  color: var(--color-sub-text);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100000;
}

.intro-skip-btn:hover {
  color: var(--color-white);
  border-color: var(--color-neon-pink);
  box-shadow: 0 0 12px rgba(255, 61, 165, 0.4);
}

/* =========================================================================
   Top Navigation Bar
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(7, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 34, 62, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name-cn {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.brand-name-en {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--color-neon-pink);
  letter-spacing: 0.15em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--color-body-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link.active {
  color: var(--color-neon-pink);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 61, 165, 0.4);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-neon-pink);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  box-shadow: 0 0 8px var(--color-neon-pink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-tech-border);
  color: var(--color-white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--nav-height));
  background: rgba(7, 7, 13, 0.96);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.2rem;
  overflow-y: auto;
  border-bottom: 1px solid var(--color-tech-border);
}

.nav-mobile-drawer.open {
  display: flex;
}

.nav-mobile-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(157, 83, 255, 0.1);
}

.nav-mobile-drawer .nav-link.active {
  color: var(--color-neon-pink);
  font-weight: 600;
  border-left: 3px solid var(--color-neon-pink);
  padding-left: 0.8rem;
}

/* =========================================================================
   Hero Scene 01: 星云启动
   ========================================================================= */
.scene-hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

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

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(157, 83, 255, 0.15);
  border: 1px solid rgba(157, 83, 255, 0.4);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--color-hologram-pink);
  margin-bottom: 1.2rem;
}

.hero-visual-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-neon-pink);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero-title-max {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #FFFFFF 20%, #FFB1EB 60%, #9D53FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-neon-pink);
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-body-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-tech-border);
}

.badge-item {
  background: rgba(23, 16, 34, 0.6);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  text-align: center;
}

.badge-item-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.badge-item-lbl {
  font-size: 0.75rem;
  color: var(--color-sub-text);
}

.hero-visual-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-hologram {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 440px;
  position: relative;
}

/* =========================================================================
   Sections General
   ========================================================================= */
.scene-section {
  padding: 5rem 0;
  position: relative;
  border-top: 1px solid rgba(56, 34, 62, 0.4);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-label {
  font-family: var(--font-mono);
  color: var(--color-neon-pink);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-sub-text);
  margin-top: 0.8rem;
}

/* =========================================================================
   Scene 02: 网络技术架构 (VLESS Architecture)
   ========================================================================= */
.arch-diagram-card {
  padding: 2.5rem;
  background: var(--gradient-glass);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}

.arch-flow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.arch-flow-node {
  flex: 1;
  min-width: 140px;
  background: rgba(23, 16, 34, 0.85);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  position: relative;
}

.arch-node-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.arch-node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.arch-node-sub {
  font-size: 0.75rem;
  color: var(--color-sub-text);
}

.arch-flow-arrow {
  color: var(--color-neon-pink);
  font-size: 1.4rem;
  font-weight: bold;
}

.arch-disclaimer-box {
  background: rgba(157, 83, 255, 0.08);
  border-left: 3px solid var(--color-nebula-purple);
  padding: 1rem 1.4rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--color-sub-text);
}

.arch-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.arch-feature-card {
  padding: 1.8rem;
}

.arch-feat-title {
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================================================
   Scene 03: 全球网络连接 (APRICOT GLOBAL MATRIX)
   ========================================================================= */
.matrix-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.node-card {
  padding: 1.8rem;
}

.node-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.node-region-cn {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
}

.node-region-en {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--color-neon-pink);
}

.node-tag-status {
  background: rgba(157, 83, 255, 0.2);
  border: 1px solid rgba(157, 83, 255, 0.4);
  color: var(--color-hologram-pink);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
}

.node-info-list {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.node-info-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.node-info-list .lbl { color: var(--color-sub-text); }
.node-info-list .val { color: var(--color-body-text); font-weight: 500; }

.node-status-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 61, 165, 0.1);
  border: 1px solid rgba(255, 61, 165, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-hologram-pink);
  text-align: center;
}

/* =========================================================================
   Scene 04: AI数字世界
   ========================================================================= */
.ai-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.ai-app-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.ai-app-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ai-app-icon {
  width: 48px;
  height: 48px;
  background: rgba(157, 83, 255, 0.2);
  border: 1px solid rgba(157, 83, 255, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ai-app-title {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.ai-app-tag {
  font-size: 0.75rem;
  color: var(--color-neon-pink);
  font-family: var(--font-mono);
}

.ai-app-body {
  font-size: 0.95rem;
  color: var(--color-body-text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

/* =========================================================================
   Scene 05: 全息科技套餐舱 (Holographic Pricing Cabins)
   ========================================================================= */
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cycle-selector {
  display: inline-flex;
  background: rgba(23, 16, 34, 0.85);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
}

.cycle-btn {
  background: transparent;
  border: none;
  color: var(--color-sub-text);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cycle-btn.active {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(255, 61, 165, 0.4);
}

.pricing-cabins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.pricing-cabin {
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-cabin.theme-silver { border-color: #554466; }
.pricing-cabin.theme-hologram-pink { border-color: rgba(255, 177, 235, 0.4); }
.pricing-cabin.theme-neon-pink { border-color: var(--color-neon-pink); }
.pricing-cabin.theme-nebula-purple {
  border-color: var(--color-nebula-purple);
  box-shadow: 0 0 30px rgba(157, 83, 255, 0.25);
}

.cabin-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 61, 165, 0.15);
  border: 1px solid rgba(255, 61, 165, 0.4);
  color: var(--color-hologram-pink);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.cabin-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.cabin-subtitle {
  font-size: 0.8rem;
  color: var(--color-sub-text);
  margin-bottom: 1.5rem;
}

.cabin-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.cabin-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neon-pink);
}

.cabin-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.cabin-period {
  font-size: 0.9rem;
  color: var(--color-sub-text);
}

.cabin-equivalent-note {
  font-size: 0.82rem;
  color: var(--color-hologram-pink);
  margin-bottom: 1.5rem;
}

.cabin-features-list {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  flex: 1;
}

.cabin-features-list li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-body-text);
}

.cabin-features-list li::before {
  content: "✓";
  color: var(--color-neon-pink);
  font-weight: bold;
}

.cabin-action {
  margin-top: auto;
}

.cabin-action .btn {
  width: 100%;
}

.pending-plans-card {
  padding: 2rem;
  background: rgba(23, 16, 34, 0.5);
  border: 1px dashed var(--color-tech-border);
  border-radius: var(--radius-lg);
}

/* =========================================================================
   Scene 06: 网络价值分析 (Calculator & Cost Table)
   ========================================================================= */
.cost-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

.tech-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.tech-data-table th, .tech-data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--color-tech-border);
}

.tech-data-table th {
  background: rgba(35, 20, 52, 0.6);
  color: var(--color-white);
  font-weight: 700;
}

.tech-data-table tr:hover td {
  background: rgba(255, 61, 165, 0.05);
}

/* Budget Calculator Widget */
.calc-card {
  padding: 2.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 1.5rem;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--color-neon-pink);
}

.calc-result-box {
  background: rgba(7, 7, 13, 0.8);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-align: center;
}

.calc-res-title {
  font-size: 0.9rem;
  color: var(--color-sub-text);
  margin-bottom: 0.5rem;
}

.calc-res-plan {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.calc-res-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-neon-pink);
}

/* =========================================================================
   Scene 08: 星云知识中心 (Article Hub Cards)
   ========================================================================= */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.article-preview-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
}

.article-card-cover {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  overflow: hidden;
  background: #171022;
  position: relative;
}

.article-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-sub-text);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-sub-text);
  padding-top: 1rem;
  border-top: 1px solid var(--color-tech-border);
}

/* =========================================================================
   Scene 09: 用户评价中心 (User Reviews Grid - Figure 1 Template)
   ========================================================================= */
.review-pill-badge {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FF3DA5;
  background: rgba(255, 61, 165, 0.12);
  border: 1px solid rgba(255, 61, 165, 0.35);
  border-radius: 9999px;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 15px rgba(255, 61, 165, 0.12);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.35rem;
  border-radius: 16px;
  background: rgba(23, 16, 34, 0.65);
  border: 1px solid var(--color-tech-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 165, 0.5);
  box-shadow: 0 12px 30px rgba(157, 83, 255, 0.18);
}

.review-stars {
  color: #FFAE19;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 1.1rem;
  line-height: 1;
}

.review-body {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #d1c8de;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-weight: 400;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(157, 83, 255, 0.15);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 61, 165, 0.12);
  border: 1.5px solid rgba(255, 61, 165, 0.45);
  color: #FF3DA5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.review-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-user-role {
  font-size: 0.78rem;
  color: var(--color-sub-text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1080px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.signal-status-card {
  padding: 3rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.signal-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.signal-title {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.signal-desc {
  font-size: 0.95rem;
  color: var(--color-sub-text);
  line-height: 1.7;
}

/* =========================================================================
   Scene 10: FAQ Accordion (Dual Column Desktop / Single Column Mobile)
   ========================================================================= */
.faq-dual-grid,
.faq-dual-container {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 820px) {
  .faq-dual-grid,
  .faq-dual-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.faq-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 54px;
}

.faq-item:hover {
  border-color: rgba(255, 61, 165, 0.4);
}

.faq-item[open],
.faq-item.open {
  border-color: var(--color-neon-pink);
  box-shadow: 0 4px 18px rgba(255, 61, 165, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.85rem 1.2rem;
  min-height: 54px;
  box-sizing: border-box;
  font-size: 0.95rem; /* ~15.2px */
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  line-height: 1.4;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-hologram-pink);
}

.faq-icon-arrow {
  font-size: 0.85rem;
  color: var(--color-neon-pink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

/* Crucial: Answers MUST be hidden completely when collapsed */
.faq-answer {
  display: none;
  padding: 0.85rem 1.2rem 1.1rem;
  font-size: 0.9rem; /* ~14.4px */
  color: var(--color-body-text);
  line-height: 1.7;
  border-top: 1px solid rgba(56, 34, 62, 0.4);
  animation: faqSlideDown 0.25s ease-out;
}

/* When open via [open] attribute on details OR .open class */
.faq-item[open] .faq-answer,
.faq-item.open .faq-answer {
  display: block !important;
}

/* When closed */
details.faq-item:not([open]) .faq-answer,
div.faq-item:not(.open) .faq-answer {
  display: none !important;
}

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

/* =========================================================================
   Footer: Nebula Terminal · 星云服务终端
   ========================================================================= */
.site-footer {
  background: #050509;
  border-top: 1px solid var(--color-tech-border);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-neon-pink);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  color: var(--color-sub-text);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--color-white);
}

.footer-brand-p {
  font-size: 0.9rem;
  color: var(--color-sub-text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-disclaimer-box {
  background: rgba(23, 16, 34, 0.6);
  border: 1px solid var(--color-tech-border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  font-size: 0.8rem;
  color: var(--color-sub-text);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 34, 62, 0.4);
  font-size: 0.85rem;
  color: var(--color-sub-text);
}

/* =========================================================================
   Mobile Sticky Buy Bar
   ========================================================================= */
.mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 7, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-tech-border);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 998;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
}

.mobile-sticky-sub {
  font-size: 0.75rem;
  color: var(--color-hologram-pink);
}

/* =========================================================================
   Article / About Detailed Layout
   ========================================================================= */
.article-page-header {
  padding: 3.5rem 0 2rem;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-sub-text);
  margin-bottom: 1.2rem;
}

.breadcrumb-separator {
  color: var(--color-tech-border);
}

.article-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 4rem;
}

.article-sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.toc-card {
  padding: 1.5rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-tech-border);
  padding-bottom: 0.5rem;
}

.toc-list {
  list-style: none;
  font-size: 0.85rem;
}

.toc-list li {
  margin-bottom: 0.6rem;
}

.toc-list a {
  color: var(--color-sub-text);
  display: block;
}

.toc-list a:hover {
  color: var(--color-neon-pink);
}

.article-content-body {
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content-body section {
  margin-bottom: 2.5rem;
}

.article-content-body h2 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  border-left: 4px solid var(--color-neon-pink);
  padding-left: 0.8rem;
}

.article-content-body p {
  margin-bottom: 1.2rem;
  color: var(--color-body-text);
}

/* =========================================================================
   Responsive Breakpoints
   Testing 320, 375, 390, 414, 768, 1024, 1440, 1920
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline { margin: 0 auto 1.2rem; }
  .hero-cta-group { justify-content: center; }
  .hero-visual-box { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-main-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar-sticky {
    position: static;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-sticky-buy-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px; /* Safe margin for sticky bar */
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .pricing-cabin {
    padding: 1.8rem 1.2rem;
  }
  .btn {
    width: 100%;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #nebula-intro-overlay {
    display: none !important;
  }
  #nebula-bg-canvas {
    display: none !important;
  }
}
