/* ==========================================================================
   iKuuu VPN - Nocturnal Midnight-Indigo & Violet-Cyan Telemetry UI
   Strictly Pure HTML5 & Native CSS3 - Zero Heavy Frameworks - Instant Load
   ========================================================================== */

:root {
  /* Day / Light Mode */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-client: #ffffff;
  --border-color: #e2e8f0;
  --border-subtle: rgba(124, 58, 237, 0.12);
  --border-hover: rgba(6, 182, 212, 0.4);
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-rgb: 37, 99, 235;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  --accent-cyan: #06b6d4;
  --accent-violet: #7c3aed;
  --emerald-connected: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
  --badge-bg: rgba(124, 58, 237, 0.08);
  --badge-text: #7c3aed;
  --telemetry-bg: #f8fafc;
  --telemetry-border: #e2e8f0;
}

[data-theme="dark"] {
  /* Abyssal Midnight-Indigo & Violet-Cyan Dark Palette */
  --bg-body: #080a16;
  --bg-surface: #0e1222;
  --bg-surface-elevated: #161b33;
  --bg-card: #121528;
  --bg-card-hover: #171b35;
  --bg-client: #0d1021;
  --border-color: #1e2540;
  --border-subtle: rgba(124, 58, 237, 0.22);
  --border-hover: rgba(6, 182, 212, 0.5);
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --primary: #38bdf8;
  --primary-hover: #60a5fa;
  --primary-rgb: 56, 189, 248;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --accent-cyan: #06b6d4;
  --accent-violet: #7c3aed;
  --emerald-connected: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --nav-bg: rgba(8, 10, 22, 0.85);
  --shadow-card: 0 15px 35px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(124, 58, 237, 0.3);
  --badge-bg: rgba(124, 58, 237, 0.15);
  --badge-text: #a78bfa;
  --telemetry-bg: #0b0e1e;
  --telemetry-border: #1a2038;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Telemetry Glow Background */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 650px;
  background: radial-gradient(circle at 50% 12%, rgba(124, 58, 237, 0.18) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

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

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

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

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

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

.nav-tag-news {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Translucent & Professional Theme Toggle */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: all 0.25s ease;
  outline: none;
}

.theme-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sun-icon { display: block; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-pill-gradient {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  font-weight: 700;
}

.btn-pill-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45);
  filter: brightness(1.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
}

.btn-outline-dark:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--emerald-connected);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--emerald-glow);
  font-weight: 700;
}

.btn-emerald:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section: Asymmetric Live-Client Telemetry Layout
   ========================================================================== */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
}

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

/* Left Hero */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--badge-bg);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--badge-text);
  margin-bottom: 1.5rem;
}

.status-dot-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--emerald-connected);
  box-shadow: 0 0 10px var(--emerald-connected);
  animation: pulse-ring 2s infinite;
}

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

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-duo {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

/* 3 Bottom Metrics */
.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.hero-metric-box {
  display: flex;
  flex-direction: column;
}

.hero-metric-num {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-metric-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Right Hero: Interactive 3D Gyroscopic Tilt "iKuuu 客户端" Window */
.client-window-perspective {
  perspective: 1000px;
  width: 100%;
}

.client-window {
  background: var(--bg-client);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-window::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-window:hover::before {
  opacity: 1;
}

.client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.traffic-dots {
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.client-header-title {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.node-selector-pill {
  background: var(--telemetry-bg);
  border: 1px solid var(--telemetry-border);
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.node-selector-pill:hover {
  border-color: var(--accent-cyan);
}

.node-tag-ping {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--emerald-connected);
  font-size: 0.8rem;
}

/* Circular Latency Gauge with Cyan-Blue Photon Arc */
.latency-gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 1.75rem;
}

.gauge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 0deg, var(--accent-cyan) 0%, var(--accent-violet) 70%, transparent 70%);
  padding: 4px;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
  animation: arc-rotate 4s linear infinite;
}

@keyframes arc-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.gauge-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-client);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gauge-val {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-cyan);
  letter-spacing: -0.04em;
}

.gauge-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-left: 0.15rem;
}

.gauge-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* Three Telemetry Sub-cards */
.telemetry-subcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.telemetry-tile {
  background: var(--telemetry-bg);
  border: 1px solid var(--telemetry-border);
  border-radius: 0.65rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.telemetry-tile:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.telemetry-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.telemetry-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ==========================================================================
   Bento Grid: "六个硬核能力" (6 Cards)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), 0 0 25px rgba(6, 182, 212, 0.15);
  background: var(--bg-card-hover);
}

.bento-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: var(--badge-bg);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.bento-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.bento-card p {
  font-size: 0.925rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   Telemetry Matrix: "数据说话 晚高峰照样跑满带宽" (8 Nodes)
   ========================================================================== */
.telemetry-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.node-matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  transition: all 0.25s ease;
}

.node-matrix-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.node-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.node-status-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-connected);
}

.node-telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.8rem;
}

.node-telemetry-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.node-t-lbl { color: var(--text-muted); }
.node-t-val { font-weight: 600; color: var(--text-main); }
.node-t-val.speed { color: var(--accent-cyan); font-weight: 700; }
.node-t-val.ping { color: var(--emerald-connected); font-weight: 700; }

/* ==========================================================================
   Showcase: Streaming & AI Support Cards
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.showcase-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
  background: var(--badge-bg);
  color: var(--accent-cyan);
  width: fit-content;
}

.showcase-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  background: var(--telemetry-bg);
  border: 1px solid var(--telemetry-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.service-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.showcase-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showcase-footer span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--emerald-connected);
  font-weight: 600;
}

/* ==========================================================================
   Pricing Table: Realistic iKuuu Network Packages (0元体验 / 畅游 / 进阶 / 旗舰)
   ========================================================================== */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--accent-violet);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.25);
  background: var(--bg-card-hover);
}

.pricing-badge-popular {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.825rem;
  color: var(--text-sub);
  min-height: 2.4rem;
}

.pricing-price-box {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

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

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

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 0.85rem;
}

.plan-features li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--emerald-connected);
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features li.disabled svg {
  color: var(--text-muted);
}

/* ==========================================================================
   User Reviews & FAQ
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

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

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}

.review-stars svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

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

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

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

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
  transition: max-height 0.35s ease-in-out, padding 0.3s ease;
}

/* ==========================================================================
   Footer
   Requirement: 页脚只保留这四个标题，内容打开新的页面展示：
   网站地图、关于我们、服务条款、隐私政策
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2.5rem;
}

.footer-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.footer-nav-item {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
}

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

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

.footer-bottom p {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Subpages Common (About, Terms, Privacy, Sitemap, Insights)
   ========================================================================== */
.subpage-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.subpage-content {
  padding: 4rem 0 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent-cyan);
}

.content-block p {
  color: var(--text-sub);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-block ul {
  margin-left: 1.25rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* Articles Grid for '推荐资讯' page */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-tag {
  color: var(--accent-cyan);
  background: var(--badge-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 700;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.925rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-read-more {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Sitemap Grid */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.sitemap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
}

.sitemap-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 0.75rem; }
.sitemap-list a {
  color: var(--text-sub);
  font-weight: 500;
}
.sitemap-list a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* ==========================================================================
   Article Detail & Long-form SEO Reading Styles
   ========================================================================== */
.article-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-sub);
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumbs span.separator {
  color: var(--border-color);
}

.article-header {
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Table of Contents (TOC) */
.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0.85rem;
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
}

.article-toc h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc ol {
  margin-left: 1.25rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.article-toc li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.article-toc a {
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Prose Typography */
.article-body {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  color: var(--accent-cyan);
}

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

.article-body strong {
  color: var(--text-main);
  font-weight: 700;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--primary-hover);
}

.article-body blockquote {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--accent-violet);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-sub);
}

.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  font-size: 0.925rem;
}

.article-table th {
  background: var(--bg-surface-elevated);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.article-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-sub);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.callout-box {
  background: var(--telemetry-bg);
  border: 1px solid var(--telemetry-border);
  border-radius: 0.85rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.callout-box.tip {
  border-left: 4px solid var(--emerald-connected);
}

.callout-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* In-Article FAQ */
.article-faq-section {
  margin: 4rem 0 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
}

.article-faq-section h2 {
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.faq-card-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.faq-card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-card-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.faq-card-a {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* In-Article CTA Card */
.article-cta-card {
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-glow);
}

.article-cta-card h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.article-cta-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
}

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

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

/* In-Article Related Reading */
.article-related-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.article-related-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

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

.related-card h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.related-card a {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   Responsive Queries (@media)
   ========================================================================== */
@media (max-width: 1120px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nav-links {
    display: none; /* Mobile menu collapsed */
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
  .hero-metrics-strip {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .bento-grid,
  .telemetry-matrix,
  .showcase-grid,
  .pricing-grid-4,
  .reviews-grid,
  .articles-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-cta-duo {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-duo .btn {
    width: 100%;
  }
  .footer-nav-container {
    flex-direction: column;
    gap: 1.25rem;
  }
}
