/* ==========================================================================
   星云机场 StarCloud - 现代化设计系统与虚拟手机 OS 风格样式表
   ========================================================================== */

:root {
  --bg-main: #070913;
  --bg-card: rgba(15, 20, 39, 0.75);
  --bg-card-hover: rgba(24, 32, 60, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.35);
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --green: #10b981;
  --yellow: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --grad-brand: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --grad-pink: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --grad-green: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.25);
  --shadow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --phone-width: 380px;
  --phone-height: 760px;
}

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

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

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

/* 背景 Canvas */
#nebula-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

/* 容器与通用排版 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* 顶部通告栏 */
.top-announcement {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2), rgba(236, 72, 153, 0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  font-size: 13px;
  text-align: center;
  position: relative;
  z-index: 50;
}

.top-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 11px;
}

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

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

.top-announcement-link {
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}

.top-announcement-link:hover {
  transform: translateX(3px);
  color: #7dd3fc;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

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

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

.logo-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}

.logo-text {
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

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

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

.nav-link.highlight {
  color: #38bdf8;
  font-weight: 600;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Section 1: Hero 板块 - 手机 OS 桌面模拟风 (Virtual Smartphone UI)
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

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

.hero-content {
  max-width: 600px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
}

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

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.trust-check svg {
  color: var(--green);
}

/* 虚拟手机模拟器 (Virtual Smartphone Frame) */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-ambient-glow {
  position: absolute;
  width: 380px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, rgba(6, 182, 212, 0.18) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.phone-device {
  position: relative;
  z-index: 2;
  width: var(--phone-width);
  height: var(--phone-height);
  background: #000000;
  border-radius: 50px;
  border: 4px solid #334155;
  box-shadow: 0 0 0 2px #0f172a, 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.3);
  padding: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

/* 屏幕玻璃与反射 */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: linear-gradient(165deg, #090d1f 0%, #161233 45%, #0b1c2e 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* 顶部状态栏 */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  z-index: 10;
}

.phone-clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

/* 灵动岛 (Dynamic Island) */
.phone-island-container {
  display: flex;
  justify-content: center;
  padding: 0 16px;
  z-index: 10;
}

.phone-island {
  background: #000000;
  color: #ffffff;
  height: 32px;
  border-radius: 18px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 220px;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-island.active-expand {
  width: 280px;
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.island-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.island-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e2e8f0;
}

/* 屏幕小组件区 (Widget) */
.phone-widget-area {
  padding: 16px 20px 8px;
}

.phone-widget-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.widget-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 700;
}

.widget-speed {
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.widget-body {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.widget-status-text {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.widget-ping {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* 桌面 App 网格区 (App Grid) */
.phone-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  padding: 16px 18px 8px;
  position: relative;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-item:hover {
  transform: translateY(-4px) scale(1.05);
}

.app-item:active {
  transform: scale(0.92);
}

.app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  overflow: hidden;
}

.app-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

.app-item.connected .app-icon {
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.8), 0 0 0 2px #10b981;
}

.app-active-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-item.connected .app-active-badge {
  opacity: 1;
  transform: scale(1);
}

.app-name {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 500;
  letter-spacing: -0.2px;
}

/* App 图标专属配色 */
.icon-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.icon-x { background: #000000; border: 1px solid rgba(255, 255, 255, 0.2); }
.icon-tiktok { background: #010101; border: 1px solid rgba(255, 255, 255, 0.15); }
.icon-chatgpt { background: #10a37f; }
.icon-youtube { background: #ff0000; }
.icon-netflix { background: #141414; border: 1px solid rgba(229, 9, 20, 0.4); }
.icon-telegram { background: #229ed9; }
.icon-spotify { background: #1ed760; }

/* 交互小气泡 (Interactive Speech Bubble Toast) */
.phone-toast-bubble {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.35);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 18px;
  width: 86%;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.phone-toast-bubble.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bubble-title {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.bubble-desc {
  font-size: 11px;
  color: #e2e8f0;
  line-height: 1.4;
}

/* 底部虚拟操作按钮 (Bottom Virtual Floating Action Button) */
.phone-bottom-action {
  margin-top: auto;
  padding: 12px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-phone-install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 13px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  animation: phone-btn-pulse 2.2s infinite;
  transition: transform 0.2s;
}

.btn-phone-install:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

@keyframes phone-btn-pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.phone-home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 4px auto 0;
}

/* ==========================================================================
   板块通用标题
   ========================================================================== */
.section-wrapper {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 2: 节点延迟与状态板块 (Node Latency & Status)
   ========================================================================== */
.node-dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.toolbar-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.btn-refresh-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-refresh-test:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-refresh-test.testing svg {
  animation: spin 1s linear infinite;
}

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

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.node-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.node-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.node-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.node-flag {
  font-size: 26px;
  line-height: 1;
}

.node-name-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.node-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.node-tag-spec {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border-radius: 4px;
  font-weight: 600;
}

.node-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.node-metrics-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.node-latency-pill {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.node-quality-tags {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 3: 套餐价格板块 (Pricing Plans)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.pricing-card.popular {
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.75) 0%, rgba(15, 20, 39, 0.85) 100%);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.3);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.5);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0;
}

.currency {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-cycle {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
}

.plan-feature-item svg {
  color: #34d399;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   Section 4: 核心优势板块 (Core Advantages)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  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: #c4b5fd;
  margin-bottom: 22px;
}

.feature-box-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-box-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section 5: 常见问题板块 (FAQ)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  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;
  backdrop-filter: blur(16px);
  transition: border-color 0.25s ease;
}

.faq-item:hover, .faq-item.open {
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-light);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

/* ==========================================================================
   Section 6: 用户评价板块 (Customer Reviews)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   底部 CTA 横幅 & 页脚
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 80px;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.cta-banner-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 30px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 7, 15, 0.95);
  padding: 40px 0 30px;
  font-size: 13px;
  color: var(--text-dim);
}

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

.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-nav a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   响应式调整 (Mobile Responsive Adaptation)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --phone-width: 100%;
    --phone-height: 680px;
  }

  .phone-device {
    max-width: 360px;
    border-radius: 40px;
  }

  .dashboard-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
