:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Deep Midnight Navy SD-WAN Console & Glassmorphism Theme (Default Dark Palette) */
  --bg-primary: #081020;
  --bg-surface: #0f1b33;
  --bg-surface-elevated: #152442;
  --bg-subtle: #0b1426;
  --bg-glass: rgba(8, 16, 32, 0.85);
  --border-subtle: #1e293b;
  --border-highlight: rgba(56, 189, 248, 0.35);
  --border-focus: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #081020;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.15);
  --primary-glow: rgba(37, 99, 235, 0.35);

  --sky: #38bdf8;
  --sky-hover: #0284c7;
  --sky-light: rgba(56, 189, 248, 0.12);
  --sky-glow: rgba(56, 189, 248, 0.3);

  --accent: #6366f1;
  --accent-light: rgba(99, 102, 241, 0.12);

  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.12);
  --emerald-glow: rgba(16, 185, 129, 0.4);

  --warning: #fbbf24;
  --danger: #f87171;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 6px 10px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 35px -8px rgba(0, 0, 0, 0.7), 0 12px 16px -6px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --header-height: 72px;
  --container-max: 1240px;
  --transition-speed: 0.3s;
}

/* Light Theme support via data-theme="light" */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: #e2e8f0;
  --border-highlight: rgba(37, 99, 235, 0.3);
  --border-focus: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.2);

  --sky: #0284c7;
  --sky-hover: #0369a1;
  --sky-light: #e0f2fe;
  --sky-glow: rgba(2, 132, 199, 0.2);

  --accent: #4f46e5;
  --accent-light: #eef2ff;

  --emerald: #059669;
  --emerald-light: #d1fae5;
  --emerald-glow: rgba(5, 150, 105, 0.25);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

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

img, svg {
  vertical-align: middle;
}

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

/* Translucent Dark Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

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

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

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

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

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

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

.nav-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--sky-light);
  color: var(--sky);
  border-radius: var(--radius-full);
  margin-left: 4px;
  vertical-align: middle;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-1px);
}

.theme-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon svg {
  width: 16px;
  height: 16px;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow), 0 0 12px var(--sky-glow);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}

.btn-cta-pulse {
  position: relative;
  overflow: hidden;
}

.btn-cta-pulse::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 10%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.5s, opacity 0.5s;
}

.btn-cta-pulse:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Hero Section (2-Column Split) */
.hero-section {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}

#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 750px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.25) 0%, rgba(56, 189, 248, 0.15) 35%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--sky-light);
  color: var(--sky);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--border-highlight);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  display: inline-block;
  box-shadow: 0 0 0 0 var(--emerald-glow);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 var(--emerald-glow); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 var(--emerald-glow); }
}

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

.sky-highlight {
  color: var(--sky);
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

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

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

.hero-tags-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-tag-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-tag-item svg {
  color: var(--sky);
  width: 14px;
  height: 14px;
}

/* Interactive Tilted Dark macOS Client Window */
.client-window-wrapper {
  perspective: 1200px;
}

.client-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.15);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.client-window:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 45px rgba(56, 189, 248, 0.25);
}

.window-header {
  background: #091325;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.window-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.window-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.window-body {
  padding: 24px;
}

.status-card {
  background: #091325;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-info h4 {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-target {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-connect-btn {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.toggle-connect-btn:hover {
  background: var(--emerald);
  color: #ffffff;
}

/* Telemetry Grid inside Client */
.telemetry-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-mini-item {
  background: #091325;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.telemetry-mini-val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--sky);
  margin-bottom: 2px;
}

.telemetry-mini-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Node Switcher Tabs */
.node-switcher-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.node-btn {
  width: 100%;
  background: #091325;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

.node-btn:hover {
  border-color: var(--sky);
  background: #11203d;
}

.node-btn.active {
  border-color: var(--sky);
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.node-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.node-ping-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Dark Trust & Telemetry Bar (5 core metrics) */
.trust-telemetry-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 38px 0;
  position: relative;
  z-index: 10;
}

.telemetry-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}

.telemetry-5-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  position: relative;
}

.telemetry-5-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.telemetry-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--sky-light);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-highlight);
}

.telemetry-icon-box svg {
  width: 22px;
  height: 22px;
}

.telemetry-num {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--sky);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.telemetry-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Section Header Generic */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

/* Dark Bento Architecture Grid (3 Cards) */
.features-section {
  padding: 90px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.15);
}

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

.bento-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--sky-light);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 1px solid var(--border-highlight);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #ffffff;
  transform: scale(1.08);
}

.bento-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.bento-checklist {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.bento-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.bento-check-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* Scenarios Section (Streaming & AI Cards) */
.scenarios-section {
  padding: 90px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.scenario-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.scenario-visual {
  padding: 34px;
  background: linear-gradient(135deg, rgba(8, 16, 32, 0.95) 0%, rgba(15, 27, 51, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.scenario-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scenario-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--sky-light);
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid var(--border-highlight);
}

.scenario-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.scenario-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: #081020;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.brand-pill svg {
  width: 18px;
  height: 18px;
}

.spec-list {
  list-style: none;
  margin-bottom: 26px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.spec-item svg {
  width: 18px;
  height: 18px;
  color: var(--sky);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Pricing Section (Real-World Online Pricing Matrix) */
.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pricing-card.featured {
  border: 2px solid var(--sky);
  background: var(--bg-surface-elevated);
  box-shadow: 0 15px 40px -10px rgba(56, 189, 248, 0.25);
  transform: scale(1.02);
}

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

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #ffffff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--sky-glow);
}

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

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

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

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

.price-amount {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--sky);
}

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

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

.plan-feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

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

.plan-feature-row.unavailable {
  color: var(--text-muted);
  text-decoration: line-through;
}

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

.pricing-table-hint {
  text-align: center;
  margin-top: 36px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Reviews Section */
.reviews-section {
  padding: 90px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

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

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

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

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

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

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

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: var(--bg-surface);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

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

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

/* Footer Section (strictly retains ONLY 4 titles) */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 35px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

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

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sky);
  transition: width 0.2s ease;
}

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

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

/* Auxiliary / Insights Pages */
.page-container {
  max-width: 900px;
  margin: 50px auto 80px;
  padding: 44px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.page-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 34px;
}

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

.page-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.page-content section {
  margin-bottom: 38px;
}

.page-content h2 {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-content h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--sky);
  border-radius: 2px;
}

.page-content p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.page-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.info-alert {
  background-color: var(--sky-light);
  border-left: 4px solid var(--sky);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.warning-alert {
  background-color: rgba(239, 68, 68, 0.12);
  border-left: 4px solid var(--danger);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

/* Articles / Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.article-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.25s ease;
}

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

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

.article-tag {
  background: var(--sky-light);
  color: var(--sky);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

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

.article-excerpt {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .client-window {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }
  .telemetry-5-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
  .bento-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 50px 0 40px;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 26px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }
  .telemetry-5-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .telemetry-5-item:not(:last-child)::after {
    display: none;
  }
  .bento-grid, .scenarios-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .page-container {
    padding: 24px 18px;
    margin: 24px 12px 50px;
  }
}

@media (max-width: 480px) {
  .telemetry-5-grid {
    grid-template-columns: 1fr;
  }
  .theme-toggle-text {
    display: none;
  }
}


/* ===================================================
   Dedicated SEO Long-form Article Styles
   =================================================== */
.article-header-wrap {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.article-breadcrumb a:hover {
  color: var(--sky);
}

.article-main-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.article-category-badge {
  background: var(--sky-light);
  color: var(--sky);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid var(--border-highlight);
}

/* Table of Contents Box */
.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0 36px;
}

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

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

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

.toc-item {
  font-size: 0.92rem;
}

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

.toc-link:hover {
  color: var(--sky);
  transform: translateX(4px);
}

.toc-link::before {
  content: "•";
  color: var(--sky);
  font-weight: bold;
}

/* Article Content Body */
.article-content-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-content-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content-body h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: linear-gradient(180deg, var(--sky), var(--primary));
  border-radius: 3px;
}

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

.article-content-body p {
  margin-bottom: 18px;
}

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

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

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

/* Article Responsive Table */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: var(--bg-surface);
}

.article-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.article-table tr:hover td {
  background: rgba(56, 189, 248, 0.04);
}

/* Code Snippet / Config Box */
.code-box {
  background: #060b14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.6;
}

/* In-Article Conversion Banner */
.article-cta-banner {
  background: linear-gradient(135deg, rgba(8, 16, 32, 0.95), rgba(15, 27, 51, 0.95));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 44px 0;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(56, 189, 248, 0.2);
}

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

.article-cta-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Article FAQ Block */
.article-faq-wrap {
  margin: 44px 0 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

/* Related Reading Grid */
.related-posts-wrap {
  margin-top: 50px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
}

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

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

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

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

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

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.75rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
