/* ==========================================================================
   iKuuu VPN - High-Performance Telemetry UI Stylesheet
   Theme: Nocturnal Violet-Cyan Telemetry & Live-Client Dark / Refined Light
   Palette: Abyssal void-black (#080a16), Electric Violet-to-Cyan (#7c3aed to #06b6d4),
            Emerald Green Connected (#10b981), Stark White (#f8fafc)
   ========================================================================== */

:root {
  /* Default: Clean High-Tech Daylight Mode */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-client: #0e1322;
  --bg-tag: rgba(124, 58, 237, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --accent-violet: #7c3aed;
  --accent-cyan: #06b6d4;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --accent-gradient-text: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --cta-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --cta-shadow: rgba(124, 58, 237, 0.35);
  --emerald-shadow: rgba(16, 185, 129, 0.4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 35px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.18);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  --badge-bg: rgba(124, 58, 237, 0.08);
  --badge-text: #6d28d9;
  --table-highlight: #f5f3ff;
}

[data-theme="dark"] {
  /* Nocturnal Violet-Cyan Dark Theme (Official Visual DNA) */
  --bg-canvas: #080a16;
  --bg-surface: #0c1020;
  --bg-card: rgba(14, 19, 36, 0.75);
  --bg-card-hover: rgba(22, 30, 54, 0.85);
  --bg-glass: rgba(8, 10, 22, 0.86);
  --bg-client: #090d1a;
  --bg-tag: rgba(124, 58, 237, 0.16);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --accent-violet: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --accent-gradient-text: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  --cta-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --cta-shadow: rgba(124, 58, 237, 0.45);
  --emerald-shadow: rgba(16, 185, 129, 0.5);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 45px rgba(6, 182, 212, 0.25);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(124, 58, 237, 0.18) 0%, rgba(6, 182, 212, 0.12) 35%, transparent 70%);
  --badge-bg: rgba(124, 58, 237, 0.2);
  --badge-text: #c4b5fd;
  --table-highlight: rgba(124, 58, 237, 0.08);
}

/* Base Reset & Smooth Anchors */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 700px;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

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

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

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

.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.brand-mascot-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.brand-logo:hover .brand-mascot-img {
  transform: translateY(-1px) scale(1.05);
}

.brand-text-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Arial Black", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-txt-ik {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

.brand-txt-vpn {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

[data-theme="dark"] .brand-txt-ik {
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.4));
}

[data-theme="dark"] .brand-txt-vpn {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.4));
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

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

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

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

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

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

.nav-link-badge {
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

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

/* Day/Night Switch Button */
.theme-toggle-btn {
  background: rgba(125, 125, 125, 0.08);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  position: relative;
  outline: none;
}

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

.theme-icon-sun,
.theme-icon-moon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

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

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--cta-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--cta-shadow);
  color: #ffffff;
}

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

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

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

.btn-connected:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--emerald-shadow);
  color: #ffffff;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

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

/* ==========================================================================
   Hero Section: Asymmetric Live-Client & Bento Layout
   ========================================================================== */
.hero-asymmetric {
  padding-top: 130px;
  padding-bottom: 70px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--border-color);
  color: var(--badge-text);
  font-size: 0.84rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 22px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 34px;
  max-width: 580px;
}

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

.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  max-width: 560px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.metric-value.violet {
  color: var(--accent-violet);
}

.metric-value.cyan {
  color: var(--accent-cyan);
}

.metric-value.emerald {
  color: var(--accent-emerald);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ==========================================================================
   Right Hero: Interactive Dark-Glass "iKuuu 客户端" Window
   ========================================================================== */
.client-window-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.client-window {
  width: 100%;
  max-width: 420px;
  background: var(--bg-client);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--shadow-glow);
  color: #f8fafc;
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Specular Sheen across border */
.client-window::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.15) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.client-brand-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-selector-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.server-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-flag {
  font-size: 1.1rem;
}

.server-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.server-node {
  font-size: 0.75rem;
  color: #94a3b8;
}

.server-ping-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.ping-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* Circular Latency Gauge */
.latency-gauge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 24px;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.gauge-svg {
  width: 170px;
  height: 170px;
  transform: rotate(-90deg);
}

.gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.gauge-arc {
  fill: none;
  stroke: url(#gaugeGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.7));
}

.gauge-arc.active {
  animation: arcSpin 3s linear infinite;
}

.gauge-inner-info {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-ms {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gauge-label {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Telemetry 3 Sub-Cards */
.telemetry-subcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.subcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.subcard-val {
  font-size: 0.96rem;
  font-weight: 800;
  color: #f8fafc;
}

.subcard-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 2px;
}

.client-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Telemetry Grid: 4x2 Real-Time Data Grid
   ========================================================================== */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.telemetry-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.telemetry-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-md);
}

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

.cell-node-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cell-status-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}

.cell-stat-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cell-stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.35);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--badge-bg);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  color: var(--accent-violet);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  color: var(--accent-emerald);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.feature-list-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

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

.showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.showcase-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.35);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 14px;
}

.showcase-badge.stream {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.showcase-badge.ai {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.showcase-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.showcase-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.pill-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: bold;
  flex-shrink: 0;
}

.pill-icon.netflix { background: #e50914; color: #fff; }
.pill-icon.disney { background: #113ccf; color: #fff; }
.pill-icon.youtube { background: #ff0000; color: #fff; }
.pill-icon.hbo { background: #5c16c5; color: #fff; }

.pill-icon.chatgpt { background: #10a37f; color: #fff; }
.pill-icon.claude { background: #d97706; color: #fff; }
.pill-icon.midjourney { background: #1e293b; color: #fff; }
.pill-icon.gemini { background: #2563eb; color: #fff; }

.showcase-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-metric {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showcase-metric strong {
  color: var(--accent-emerald);
  font-weight: 700;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pricing-card.popular {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 35px var(--shadow-glow);
  background: var(--table-highlight);
}

.pricing-card.popular::before {
  content: "全站首选 · 旗舰专线推荐";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 10px var(--cta-shadow);
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-price-box {
  margin: 20px 0 26px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

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

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

.pricing-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.pricing-feature-item.disabled {
  color: var(--text-muted);
  opacity: 0.55;
}

.pricing-cta {
  width: 100%;
}

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

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

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.3);
}

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

.testimonial-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

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

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

.user-meta-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

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

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

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

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

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Footer: Strictly only 4 links
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 36px;
  text-align: center;
}

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

.footer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-divider {
  color: var(--border-color);
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 12px auto 0;
  line-height: 1.5;
  opacity: 0.8;
}

/* ==========================================================================
   Article & SEO Technical Post Components
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

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

.breadcrumbs-sep {
  opacity: 0.5;
}

.article-header {
  margin-bottom: 36px;
  text-align: left;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 16px;
  flex-wrap: wrap;
}

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

.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0 42px;
  box-shadow: var(--shadow-sm);
}

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

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item {
  font-size: 0.94rem;
  line-height: 1.5;
}

.toc-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.toc-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.toc-sublist {
  list-style: none;
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-callout {
  background: var(--table-highlight);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 30px 0;
}

.article-callout strong {
  color: var(--accent-cyan);
}

.related-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.related-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

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

.related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.45;
}

.related-card-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.related-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-violet);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Subpages Style (About, Terms, Privacy, Sitemap, News)
   ========================================================================== */
.subpage-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.subpage-content {
  padding: 60px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}

.prose {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}

.prose h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.prose-highlight {
  background: var(--badge-bg);
  border-left: 4px solid var(--accent-violet);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--text-primary);
}

/* News Article Card Grid for news-v7q9k2.html */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

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

.news-date {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.news-readmore {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-violet);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Responsive Adaptation (@media queries)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics-row {
    margin-left: auto;
    margin-right: auto;
  }
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card:last-child {
    grid-column: span 2;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .hero-asymmetric {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .hero-headline {
    font-size: 2.25rem;
  }
  .hero-subtext {
    font-size: 1.02rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 340px;
  }
  .hero-metrics-row {
    width: 100%;
    gap: 12px;
  }
  .metric-value {
    font-size: 1.7rem;
  }
  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .testimonials-grid,
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card:last-child {
    grid-column: span 1;
  }
  .pills-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .footer-divider {
    display: none;
  }
}
