/* ==========================================================================
   Imm Telecom - Nanotech Immune-Barrier Kinetic UI Stylesheet
   Palette: Synthetic Obsidian (#090b10), Antibody Emerald (#00ff9d),
            Clinical Cyan (#00f2fe), Titanium Hairlines
   ========================================================================== */

:root {
  /* Light Mode (Clinical Laboratory High-Tech Clean) */
  --bg-body: #f5f8fa;
  --bg-surface: #ffffff;
  --bg-surface-alt: #edf3f7;
  --bg-header: rgba(245, 248, 250, 0.88);
  --border-color: #dce5ec;
  --border-hairline: rgba(0, 168, 150, 0.25);
  --border-focus: #00b4d8;

  --text-main: #0b1523;
  --text-muted: #536479;
  --text-light: #8295a8;

  --primary: #00875a;
  --primary-hover: #006644;
  --primary-light: rgba(0, 255, 157, 0.12);
  --accent-emerald: #00a86b;
  --accent-cyan: #0096c7;
  
  --accent-gradient: linear-gradient(135deg, #00875a 0%, #0096c7 100%);
  --immune-glow: radial-gradient(circle at 50% 25%, rgba(0, 150, 199, 0.08) 0%, transparent 65%);

  --card-shadow: 0 4px 20px -2px rgba(11, 21, 35, 0.06), 0 2px 6px -1px rgba(11, 21, 35, 0.04);
  --card-hover-shadow: 0 16px 36px -4px rgba(0, 150, 199, 0.14), 0 0 20px rgba(0, 168, 107, 0.1);

  --btn-glass-bg: rgba(255, 255, 255, 0.75);
  --btn-glass-border: rgba(220, 229, 236, 0.9);
  --badge-bg: rgba(0, 168, 107, 0.1);
  --badge-text: #007a4d;

  --hud-bg: rgba(237, 243, 247, 0.85);
  --hud-border: rgba(0, 150, 199, 0.25);
  --hud-text: #0b1523;
  --hud-accent: #00875a;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Dark Mode: Deep Bionic Chamber Palette */
  --bg-body: #090b10;
  --bg-surface: #0f141f;
  --bg-surface-alt: #141b29;
  --bg-header: rgba(9, 11, 16, 0.88);
  --border-color: #1a2336;
  --border-hairline: rgba(0, 242, 254, 0.18);
  --border-focus: #00ff9d;

  --text-main: #f0f6fc;
  --text-muted: #8b9bb4;
  --text-light: #52637a;

  --primary: #00ff9d;
  --primary-hover: #33ffb1;
  --primary-light: rgba(0, 255, 157, 0.14);
  --accent-emerald: #00ff9d;
  --accent-cyan: #00f2fe;

  --accent-gradient: linear-gradient(135deg, #00ff9d 0%, #00f2fe 100%);
  --immune-glow: radial-gradient(circle at 50% 25%, rgba(0, 255, 157, 0.12) 0%, rgba(0, 242, 254, 0.05) 50%, transparent 75%);

  --card-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.7);
  --card-hover-shadow: 0 16px 40px -4px rgba(0, 255, 157, 0.18), 0 0 24px rgba(0, 242, 254, 0.12);

  --btn-glass-bg: rgba(15, 20, 31, 0.75);
  --btn-glass-border: rgba(0, 242, 254, 0.25);
  --badge-bg: rgba(0, 255, 157, 0.15);
  --badge-text: #00ff9d;

  --hud-bg: rgba(9, 11, 16, 0.82);
  --hud-border: rgba(0, 255, 157, 0.3);
  --hud-text: #00ff9d;
  --hud-accent: #00f2fe;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: var(--immune-glow);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 900px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* ==========================================================================
   Kinetic Bio-Membrane Homeostasis Animations
   ========================================================================== */
@keyframes membranePulse {
  0% {
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.08);
    border-color: var(--border-hairline);
  }
  50% {
    box-shadow: 0 0 26px rgba(0, 255, 157, 0.22), 0 0 10px rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 255, 157, 0.45);
  }
  100% {
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.08);
    border-color: var(--border-hairline);
  }
}

@keyframes bioRadarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes phosphorBloom {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px var(--accent-emerald)); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.25);
  position: relative;
  overflow: hidden;
}

.logo-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0.15;
}

.logo-text-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  display: block;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

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

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

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

.nav-link.badge-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--badge-bg);
  color: var(--accent-emerald);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
}

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

/* Professional Translucent Theme Toggle */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--btn-glass-bg);
  border: 1px solid var(--btn-glass-border);
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-toggle-btn:hover {
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(0, 255, 157, 0.25);
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.theme-toggle-btn .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle-btn .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

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

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

/* Kinetic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #051410 !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 255, 157, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 255, 157, 0.5), 0 0 12px rgba(0, 242, 254, 0.3);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-hairline);
}

.btn-secondary:hover {
  background: var(--bg-surface-alt);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.15);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

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

/* ==========================================================================
   Hero Section with Kinetic Interactive Canvas & Monospace Telemetry
   ========================================================================== */
.hero-section {
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

#hero-immune-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.hero-content-layer a,
.hero-content-layer button,
.hero-content-layer .telemetry-card {
  pointer-events: auto;
}

.hero-barrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--border-hairline);
  color: var(--badge-text);
  font-size: 0.825rem;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.15);
}

.radar-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.25);
  animation: phosphorBloom 2s infinite ease-in-out;
}

/* Title containing brand name - strictly two lines */
.hero-title {
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.18));
}

.hero-subtitle-box {
  max-width: 780px;
  margin: 0 auto 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* Precision Biomedical / Monospace Telemetry HUD Tables */
.telemetry-hud-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.telemetry-card {
  background: var(--hud-bg);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.telemetry-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.telemetry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.6;
}

.telemetry-header {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.telemetry-value.glow-green {
  color: var(--accent-emerald);
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.35);
}

.telemetry-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Micro-interaction hint */
.canvas-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-top: 18px;
  display: inline-block;
  opacity: 0.85;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 12px;
  background: var(--badge-bg);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.22;
}

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

/* ==========================================================================
   Core Advantages (3 Graphic Cards with Bionic Pulsing Membrane)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: membranePulse 8s infinite ease-in-out;
}

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

.feature-crystal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(0, 255, 157, 0.15);
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-crystal-icon {
  transform: scale(1.1) rotate(6deg);
  border-color: var(--accent-emerald);
}

.feature-crystal-icon svg {
  width: 28px;
  height: 28px;
}

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

.feature-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
}

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

.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  animation: membranePulse 10s infinite ease-in-out;
}

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

.showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.showcase-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.2);
}

.showcase-icon svg {
  width: 26px;
  height: 26px;
}

.showcase-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.showcase-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.brand-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.brand-chip:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
}

.brand-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.showcase-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px dashed var(--border-hairline);
  padding-top: 20px;
  margin-top: auto;
}

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

.showcase-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

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

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: membranePulse 9s infinite ease-in-out;
}

.pricing-card.popular {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 28px rgba(0, 255, 157, 0.22);
  transform: scale(1.03);
}

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

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

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #051410;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  box-shadow: 0 0 16px rgba(0, 255, 157, 0.4);
  z-index: 5;
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.pricing-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-hairline);
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.amount {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-main);
  font-family: var(--font-mono);
}

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

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

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-feature.disabled {
  opacity: 0.45;
  text-decoration: line-through;
}

.pricing-feature.disabled svg {
  color: var(--text-light);
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

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

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 18px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(0, 255, 157, 0.15);
}

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

.faq-question:hover {
  color: var(--accent-emerald);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

/* ==========================================================================
   Footer
   Requirement: 页脚只保留这四个标题，内容打开新的页面展示
   1. 网站地图 (Sitemap)
   2. 关于我们 (About Us)
   3. 服务条款 (Terms of Service)
   4. 隐私政策 (Privacy Policy)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  padding: 48px 0 36px;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 450px;
}

.footer-links-four {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-link-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   Dedicated Pages (About, Terms, Privacy, Sitemap, Insights) Styles
   ========================================================================== */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.page-content-wrapper {
  max-width: 880px;
  margin: 50px auto 80px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--card-shadow);
}

.article-section {
  margin-bottom: 40px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-heading {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 10px;
}

.article-heading svg {
  width: 22px;
  height: 22px;
  color: var(--accent-emerald);
}

.article-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.article-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.975rem;
}

.article-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: bold;
}

.article-list.danger li::before {
  content: '✕';
  color: #ef4444;
}

.alert-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.925rem;
  line-height: 1.6;
}

.alert-box.info {
  background: rgba(0, 242, 254, 0.08);
  border-left: 4px solid var(--accent-cyan);
  color: var(--text-main);
}

.alert-box.warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  color: var(--text-main);
}

.alert-box svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Nodes Grid for About Page */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.node-item {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.node-item h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Insights / News Post Cards (for 推荐资讯) */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 30px;
}

.insight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
}

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

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.insight-tag {
  background: var(--badge-bg);
  color: var(--accent-emerald);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
}

.insight-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.insight-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Long-form SEO Article Specific Styles (TOC, FAQ, Related Posts, Schema)
   ========================================================================== */
.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
}

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

/* Table of Contents (TOC) */
.toc-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

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

.toc-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
}

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

.toc-item a {
  font-size: 0.925rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.toc-item a:hover {
  color: var(--accent-emerald);
  transform: translateX(4px);
}

.toc-item.sub-item {
  padding-left: 20px;
  font-size: 0.875rem;
}

/* Article Body Typography */
.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 28px 0 14px;
}

.article-body p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 8px;
}

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

.article-body blockquote {
  background: var(--bg-surface-alt);
  border-left: 4px solid var(--accent-emerald);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}

.article-body .data-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
}

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

.article-body th, .article-body td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}

.article-body th {
  background: var(--bg-surface-alt);
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

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

.internal-link {
  color: var(--accent-emerald);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.internal-link:hover {
  color: var(--accent-cyan);
}

/* Article CTA Banner */
.article-cta-banner {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  animation: membranePulse 9s infinite ease-in-out;
}

.article-cta-banner h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.article-cta-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Related Reading Section */
.related-posts-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-hairline);
}

.related-posts-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.related-post-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.related-post-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.related-post-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 8px;
  flex-grow: 1;
}

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

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Sitemap List */
.sitemap-group {
  margin-bottom: 32px;
}

.sitemap-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sitemap-link-card {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.sitemap-link-card:hover {
  border-color: var(--accent-emerald);
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive Adaptations (@media)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-hairline);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    display: flex;
  }

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

  .hero-section {
    padding: 36px 0 30px;
  }

  .hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
    line-height: 1.35;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .telemetry-hud-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-four {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-content-wrapper {
    padding: 28px 20px;
    margin: 30px auto 50px;
  }

  .nodes-grid,
  .sitemap-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(1.08rem, 4.8vw, 1.35rem);
    line-height: 1.4;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .brand-chips-grid {
    grid-template-columns: 1fr;
  }
}
