/* ===================================================================
   TNTCloud - Thermonuclear Detonation-Shockwave UI Stylesheet
   Extreme Thermal Palette: Obsidian Magma Black (#08080a),
   Searing Crimson (#ff1e00), Incandescent Plasma Gold (#ffaa00),
   and Blinding Core White (#ffffff).
   Pure Native CSS | Zero External Dependencies | Blistering Kinetic Speed
   =================================================================== */

/* --- CSS Variables & Extreme Thermal Palettes --- */
:root {
  /* Default: Daytime / Solar Flare Mode (Opens in daylight mode by default) */
  --bg-primary: #fbfbfa;
  --bg-secondary: #f3f2ee;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-header: rgba(251, 251, 250, 0.9);
  --bg-subtle: #eae8e1;
  
  --text-primary: #121316;
  --text-secondary: #3c4049;
  --text-muted: #6a7180;
  --text-inverse: #ffffff;
  
  --thermal-crimson: #d91d00;
  --thermal-crimson-hover: #b81600;
  --thermal-crimson-glow: rgba(217, 29, 0, 0.25);
  --thermal-gold: #e68a00;
  --thermal-gold-glow: rgba(230, 138, 0, 0.25);
  --core-white: #ffffff;
  --magma-black: #0c0d11;
  
  --primary-gradient: linear-gradient(135deg, #d91d00 0%, #ea580c 50%, #e68a00 100%);
  --thermal-border: rgba(217, 29, 0, 0.2);
  --filament-glow: 0 0 16px rgba(217, 29, 0, 0.4), inset 0 0 12px rgba(230, 138, 0, 0.2);
  
  --border-light: #dedbd2;
  --border-card: rgba(200, 195, 185, 0.6);
  --border-focus: #d91d00;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.14);
  --shadow-thermal: 0 0 30px rgba(217, 29, 0, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 74px;
  --container-max: 1220px;
}

/* Thermonuclear Obsidian Magma Dark Mode */
[data-theme="dark"] {
  --bg-primary: #08080a;
  --bg-secondary: #0d0d12;
  --bg-card: rgba(14, 14, 20, 0.85);
  --bg-card-hover: rgba(20, 20, 30, 0.95);
  --bg-glass: rgba(12, 12, 18, 0.8);
  --bg-header: rgba(8, 8, 10, 0.9);
  --bg-subtle: #13131a;
  
  --text-primary: #f6f6f9;
  --text-secondary: #c5c7d0;
  --text-muted: #828796;
  --text-inverse: #08080a;
  
  --thermal-crimson: #ff1e00;
  --thermal-crimson-hover: #ff3b20;
  --thermal-crimson-glow: rgba(255, 30, 0, 0.5);
  --thermal-gold: #ffaa00;
  --thermal-gold-glow: rgba(255, 170, 0, 0.4);
  --core-white: #ffffff;
  --magma-black: #08080a;
  
  --primary-gradient: linear-gradient(135deg, #ff1e00 0%, #ff5500 50%, #ffaa00 100%);
  --thermal-border: rgba(255, 30, 0, 0.35);
  --filament-glow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 35px #ffaa00, inset 0 0 15px rgba(255, 30, 0, 0.3);
  
  --border-light: #22222d;
  --border-card: rgba(45, 45, 60, 0.6);
  --border-focus: #ff1e00;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.85);
  --shadow-xl: 0 24px 50px rgba(0, 0, 0, 0.95);
  --shadow-thermal: 0 0 45px rgba(255, 30, 0, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 30, 0, 0.08) 0%, transparent 50%),
    linear-gradient(to right, rgba(128, 128, 128, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(255, 30, 0, 0.22) 0%, rgba(255, 170, 0, 0.08) 45%, transparent 75%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

@media (min-width: 768px) {
  .section {
    padding: 110px 0;
  }
}

/* --- Virtual Firewall Grid Background Overlay --- */
.firewall-grid-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  height: 850px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.75;
}

.firewall-grid-lines {
  position: absolute;
  inset: 0;
  background: 
    perspective(600px) rotateX(45deg)
    radial-gradient(circle at 50% 30%, rgba(255, 30, 0, 0.25) 0%, rgba(255, 170, 0, 0.12) 35%, transparent 70%);
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

/* --- Site Header & Dynamic Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .site-header {
  border-bottom: 1px solid rgba(255, 30, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-core {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 16px var(--thermal-crimson-glow);
  position: relative;
  overflow: hidden;
}

.logo-core::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.6), transparent 30%);
  animation: rotateGlow 4s linear infinite;
}

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

.logo-core svg {
  position: relative;
  z-index: 2;
}

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

.nav-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 26px;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--thermal-crimson);
}

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

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

.nav-link-badge {
  background: var(--thermal-crimson);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px var(--thermal-crimson-glow);
}

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

/* --- Refined Day/Night Mode Switch Button --- */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  color: var(--thermal-crimson);
  border-color: var(--thermal-crimson);
  background: var(--bg-subtle);
  transform: translateY(-1px);
  box-shadow: 0 0 14px var(--thermal-crimson-glow);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
}

.icon-moon {
  display: none;
}
.icon-sun {
  display: block;
}

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

/* Mobile Menu Toggle */
.menu-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

@media (min-width: 960px) {
  .menu-toggle-btn {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-header);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-smooth), opacity var(--transition-normal);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: var(--shadow-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-thermal {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--thermal-crimson-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-thermal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 30, 0, 0.6);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--thermal-crimson);
  color: var(--thermal-crimson);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.08rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* --- Hero Section & Thermal Blast Perspective --- */
.hero-section {
  padding-top: calc(var(--header-height) + 55px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--thermal-border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--thermal-crimson);
  margin-bottom: 26px;
  box-shadow: 0 0 16px var(--thermal-crimson-glow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-pill-core {
  width: 8px;
  height: 8px;
  background: var(--thermal-crimson);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--thermal-crimson);
  animation: thermalPulse 1.6s infinite ease-in-out;
}

@keyframes thermalPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--thermal-gold); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

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

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 38px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin-bottom: 45px;
}

@media (min-width: 540px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.hero-telemetry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--thermal-gold);
  box-shadow: 0 0 8px var(--thermal-gold);
}

/* --- Concentric Blast-Radius Telemetry Matrix & Benchmark Ignition --- */
.blast-matrix-wrap {
  margin-top: 55px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.blast-telemetry-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xl), var(--shadow-thermal);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .blast-telemetry-card {
  border: 1px solid rgba(255, 30, 0, 0.3);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 30, 0, 0.2);
}

/* Concentric Rings Visual Overlay */
.concentric-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  pointer-events: none;
  opacity: 0.15;
}

[data-theme="dark"] .concentric-rings {
  opacity: 0.28;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--thermal-crimson);
}
.ring-1 { width: 220px; height: 220px; border-color: var(--thermal-gold); }
.ring-2 { width: 440px; height: 440px; animation: ringRotate 20s linear infinite; }
.ring-3 { width: 660px; height: 660px; border-style: dotted; }

@keyframes ringRotate {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--thermal-crimson);
}

.telemetry-status-pulse {
  width: 10px;
  height: 10px;
  background: var(--thermal-crimson);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--thermal-crimson);
}

.telemetry-coords {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Ignition Benchmark Core Button */
.ignition-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.ignition-trigger-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff3311 0%, #d91d00 60%, #500a00 100%);
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 25px var(--thermal-crimson-glow), 0 0 50px rgba(255, 170, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  position: relative;
  user-select: none;
}

.ignition-trigger-btn:active, .ignition-trigger-btn.charging {
  transform: scale(0.92);
  box-shadow: 0 0 40px #ffaa00, 0 0 70px #ff1e00;
}

.ignition-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px #ffffff);
}

.ignition-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-top: 3px;
  text-transform: uppercase;
}

.ignition-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
}

/* Heat-Haze Distortion Shockwave Container */
.shockwave-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 50px #ffaa00, 0 0 100px #ff1e00;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}

.shockwave-overlay.burst {
  animation: shockwaveBurst 0.65s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shockwaveBurst {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
    filter: blur(0px);
  }
  50% {
    opacity: 0.85;
    filter: blur(2px);
  }
  100% {
    transform: translate(-50%, -50%) scale(5.5);
    opacity: 0;
    filter: blur(6px);
  }
}

/* Telemetry Needles & Live Metrics Grid */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .telemetry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.telemetry-card-item {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border-light);
  text-align: left;
  transition: all var(--transition-normal);
  position: relative;
}

.telemetry-card-item:hover {
  border-color: var(--thermal-crimson);
  transform: translateY(-2px);
}

.item-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.item-latency {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.item-latency span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--thermal-crimson);
}

.item-bar {
  width: 100%;
  height: 4px;
  background: rgba(128, 128, 128, 0.2);
  border-radius: var(--radius-full);
  margin-top: 8px;
  overflow: hidden;
}

.item-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* --- Heated Filament Hover Effect (Tier-1 Routes) --- */
.filament-glow-target {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.filament-glow-target:hover {
  border-color: #ffffff !important;
  box-shadow: 
    0 0 14px rgba(255, 255, 255, 0.85),
    0 0 30px var(--thermal-crimson),
    inset 0 0 15px rgba(255, 170, 0, 0.2) !important;
  transform: translateY(-5px);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--thermal-crimson);
  background: rgba(255, 30, 0, 0.08);
  border: 1px solid var(--thermal-border);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

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

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-icon-core {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255, 30, 0, 0.1);
  border: 1px solid var(--thermal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thermal-crimson);
  margin-bottom: 24px;
  box-shadow: 0 0 15px var(--thermal-crimson-glow);
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon-core {
  transform: scale(1.1);
  background: var(--primary-gradient);
  color: #ffffff;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.feature-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-telemetry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* --- Streaming Media & AI Cards Section --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.showcase-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.showcase-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 30, 0, 0.12);
  color: var(--thermal-crimson);
  border: 1px solid var(--thermal-border);
  box-shadow: 0 0 16px var(--thermal-crimson-glow);
}

.showcase-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.showcase-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

/* Tactical Telemetry Badges Matrix */
.tactical-matrix-grid {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: auto;
}

@media (min-width: 500px) {
  .tactical-matrix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.matrix-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  transition: all var(--transition-fast);
}

.matrix-cell:hover {
  border-color: var(--thermal-crimson);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--thermal-crimson-glow);
}

.matrix-cell-code {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--thermal-gold);
  margin-bottom: 4px;
}

.matrix-cell-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.matrix-cell-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--thermal-crimson);
}

/* --- Real Pricing Plans Comparison Table --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border: 2px solid var(--thermal-crimson);
  box-shadow: var(--shadow-xl), 0 0 35px var(--thermal-crimson-glow);
  transform: scale(1.02);
}

@media (max-width: 899px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px var(--thermal-crimson-glow);
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 22px;
}

.plan-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--thermal-crimson);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  margin: 0 4px;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-feature-item svg {
  color: var(--thermal-crimson);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.plan-feature-item.muted svg {
  color: var(--text-muted);
}

/* --- Real Reviews / Testimonials --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--thermal-gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.author-core-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 10px var(--thermal-crimson-glow);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

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

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

.faq-item.active {
  border-color: var(--thermal-crimson);
  box-shadow: 0 0 16px var(--thermal-crimson-glow);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  background: transparent;
  gap: 16px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--thermal-crimson);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 26px 24px;
}

/* --- Final Conversion CTA Banner --- */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, #ff2a00 0%, #d91d00 50%, #850b00 100%);
  border-radius: var(--radius-lg);
  padding: 60px 36px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 50px rgba(255, 30, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: 2.8rem;
  }
}

.cta-banner-desc {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 36px;
  opacity: 0.95;
  line-height: 1.65;
}

.btn-white {
  background: #ffffff;
  color: #d91d00;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-white:hover {
  background: #fdfdfd;
  color: #ff1e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

/* --- Footer (Strictly 4 designated links only) --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 36px;
  margin-top: 85px;
}

[data-theme="dark"] .site-footer {
  border-top: 1px solid rgba(255, 30, 0, 0.25);
}

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

.footer-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
}

.footer-link:hover {
  color: var(--thermal-crimson);
}

.footer-copyright {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 26px;
}

/* --- Subpages (About, Terms, Privacy, Sitemap, Insights) Styling --- */
.subpage-hero {
  padding-top: calc(var(--header-height) + 45px);
  padding-bottom: 45px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.subpage-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.subpage-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  margin-top: -30px;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 65px;
  line-height: 1.8;
}

.content-box h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.content-box h2:first-of-type {
  margin-top: 0;
}

.content-box p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.content-box ul {
  margin-bottom: 22px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.content-box li {
  margin-bottom: 10px;
}

.notice-callout {
  background: rgba(255, 30, 0, 0.08);
  border-left: 4px solid var(--thermal-crimson);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.warning-callout {
  background: rgba(255, 170, 0, 0.1);
  border-left: 4px solid var(--thermal-gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}

/* Article Cards for Insights Page */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.article-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition-normal);
}

.article-card:hover {
  border-color: var(--thermal-crimson);
  transform: translateX(4px);
  box-shadow: 0 4px 20px var(--thermal-crimson-glow);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--thermal-gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .section {
    padding: 65px 0;
  }
  
  .content-box {
    padding: 26px 20px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
  
  .btn-lg {
    width: 100%;
  }
}
