/* ==========================================================================
   FastLink (fastlinkbgp.homes) — Bento OS & Live Routing Sandbox Design System
   Completely Bespoke Layout Architecture:
   - Floating Glass Pill Dock Header (Centered Island)
   - Centered Stacked Theater Hero + Full-Width Interactive Packet Simulator
   - Dual-Direction Infinite Marquee Ticker
   - 12-Column Asymmetric Bento Grid with Cursor Spotlight Glow
   - Interactive Vertical-Tab Scenario Workbench
   - Dynamic Billing Cycle Toggle & Pricing Pod Architecture
   ========================================================================== */

:root {
  --bg-canvas: #070B12;
  --bg-surface: #0E1524;
  --bg-elevated: #152036;
  --bg-glass: rgba(14, 21, 36, 0.78);
  --color-emerald: #10B981;
  --color-cyan: #06B6D4;
  --color-amber: #F59E0B;
  --color-indigo: #6366F1;
  --color-rose: #F43F5E;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(16, 185, 129, 0.38);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --shadow-bento: 0 20px 50px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 32px rgba(16, 185, 129, 0.22);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 82% 16%, rgba(6, 182, 212, 0.11) 0%, transparent 42%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-emerald);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-emerald);
  color: #04130D;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.layout-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   1. FLOATING GLASS PILL DOCK HEADER (Unique Centered Island Architecture)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(14, 21, 36, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.75rem 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.site-header__brand-mark {
  border-radius: 9px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.site-header__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-header__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.site-header__link:hover,
.site-header__link[aria-current="page"] {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--color-emerald), var(--color-cyan));
  color: #03120E !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.5);
}

.site-header__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   2. CENTERED STACKED THEATER HERO + INTERACTIVE LIVE ROUTING SANDBOX
   ========================================================================== */
.theater-hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

.theater-hero__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.75rem;
}

.bento-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.theater-hero__title {
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFFFFF 25%, #99F6E4 65%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kinetic-rotator {
  display: inline-block;
  padding: 0.05em 0.45em;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  -webkit-text-fill-color: var(--color-emerald);
  color: var(--color-emerald);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.theater-hero__subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.85rem;
}

.theater-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.88rem 1.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-action--primary {
  background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-cyan) 100%);
  color: #03120E !important;
  box-shadow: 0 10px 28px -6px rgba(16, 185, 129, 0.55);
}

.btn-action--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(6, 182, 212, 0.65);
}

.btn-action--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main) !important;
  border-color: rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(8px);
}

.btn-action--secondary:hover {
  border-color: var(--color-cyan);
  background: rgba(6, 182, 212, 0.1);
}

.btn-action--block {
  width: 100%;
}

/* Interactive Routing Sandbox Console */
.routing-sandbox {
  background: linear-gradient(180deg, rgba(21, 32, 54, 0.88) 0%, rgba(14, 21, 36, 0.96) 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-bento), 0 0 60px -15px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.routing-sandbox__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.routing-sandbox__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 700;
}

.routing-sandbox__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sandbox-preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sandbox-preset-btn:hover {
  color: var(--text-main);
  border-color: rgba(6, 182, 212, 0.4);
}

.sandbox-preset-btn.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: var(--color-emerald);
  border-color: var(--color-emerald);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.25);
}

.routing-sandbox__stage {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.sandbox-svg-wrap {
  background: rgba(7, 11, 18, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: relative;
}

.sandbox-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animated Packet Beams */
.packet-beam {
  stroke-dasharray: 10 14;
  animation: packetStream 1.1s linear infinite;
}

@keyframes packetStream {
  from { stroke-dashoffset: 48; }
  to { stroke-dashoffset: 0; }
}

.sandbox-telemetry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.telemetry-tile {
  background: rgba(7, 11, 18, 0.68);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.telemetry-tile--wide {
  grid-column: span 2;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.telemetry-tile__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 0.25rem;
}

.telemetry-tile__val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--color-emerald);
}

.telemetry-tile__sub {
  font-size: 0.82rem;
  color: var(--text-main);
  margin-top: 0.2rem;
}

/* ==========================================================================
   3. INFINITE DUAL-TRACK MARQUEE TICKER (Dynamic Continuous Motion)
   ========================================================================== */
.marquee-band {
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 21, 36, 0.55);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.marquee-pill__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--color-emerald);
}

/* ==========================================================================
   4. ASYMMETRIC 12-COLUMN BENTO MOSAIC GRID WITH 3D SPOTLIGHT
   ========================================================================== */
.bento-section {
  padding: 5rem 0;
  position: relative;
}

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

.section-header-center__title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header-center__lead {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.bento-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-cell {
  background: radial-gradient(
    550px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(16, 185, 129, 0.13),
    transparent 45%
  ), var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: var(--shadow-bento);
}

.bento-cell--span-7 { grid-column: span 7; }
.bento-cell--span-5 { grid-column: span 5; }
.bento-cell--span-4 { grid-column: span 4; }
.bento-cell--span-8 { grid-column: span 8; }
.bento-cell--span-6 { grid-column: span 6; }

.bento-cell__kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-cyan);
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bento-cell__title {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.bento-cell__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

/* Ecosystem Chips inside Bento Cells */
.eco-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.eco-chip {
  background: rgba(7, 11, 18, 0.68);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.eco-chip:hover {
  border-color: var(--color-emerald);
  transform: scale(1.03);
}

.eco-chip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.eco-chip__status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-emerald);
  background: rgba(16, 185, 129, 0.14);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.eco-chip__meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. VERTICAL TABBED SCENARIO WORKBENCH (Replaces 2x2 Static Cards)
   ========================================================================== */
.workbench-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-bento);
}

.workbench-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.workbench-tab {
  text-align: left;
  background: rgba(7, 11, 18, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s ease;
}

.workbench-tab:hover {
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--text-main);
}

.workbench-tab.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(6, 182, 212, 0.08));
  border-color: var(--color-emerald);
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.workbench-tab__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-emerald);
  display: block;
  margin-bottom: 0.25rem;
}

.workbench-tab__name {
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
}

.workbench-tab__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

.workbench-stage {
  background: rgba(7, 11, 18, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.workbench-panel {
  display: none;
  animation: fadeSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.workbench-panel.is-active {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.workbench-panel__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.workbench-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.14);
  color: var(--color-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.workbench-panel__title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.workbench-panel__desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.workbench-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.workbench-metric__val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-emerald);
}

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

/* ==========================================================================
   6. DYNAMIC BILLING CYCLE TOGGLE & PRICING PODS
   ========================================================================== */
.billing-switch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background: var(--bg-surface);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.billing-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.billing-btn.is-active {
  background: var(--color-emerald);
  color: #04130D;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.billing-save-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.22);
  color: var(--color-amber);
}

.billing-btn.is-active .billing-save-tag {
  background: #04130D;
  color: var(--color-emerald);
}

.pricing-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-pod {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.1rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.pricing-pod:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.45);
}

.pricing-pod--featured {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, var(--bg-surface) 45%);
  border: 2px solid var(--color-emerald);
  box-shadow: 0 24px 60px -12px rgba(16, 185, 129, 0.25);
  transform: scale(1.03);
}

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

.pricing-pod__ribbon {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  background: var(--color-emerald);
  color: #04130D;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pricing-pod__name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.pricing-pod__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.pricing-pod__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.pricing-pod__currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.pricing-pod__amount {
  font-size: 2.85rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--text-main);
}

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

.pricing-pod__note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-cyan);
  margin-bottom: 1.35rem;
  display: block;
}

.pricing-pod__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.pricing-pod__spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.pricing-pod__check {
  color: var(--color-emerald);
  font-weight: 900;
  flex-shrink: 0;
}

/* ==========================================================================
   7. SPLIT TWO-COLUMN FAQ + LIVE SEARCH FILTER
   ========================================================================== */
.faq-split-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}

.faq-sticky-card {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
}

.faq-filter-input {
  width: 100%;
  background: rgba(7, 11, 18, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.faq-filter-input:focus {
  outline: none;
  border-color: var(--color-emerald);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.45);
}

.faq-item__trigger {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
}

.faq-item__trigger::-webkit-details-marker {
  display: none;
}

.faq-item__indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald);
  font-family: var(--font-mono);
}

.faq-item__content {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding-top: 0.9rem;
}

/* ==========================================================================
   8. FINAL CTA & FOOTER & SUBPAGE COMPATIBILITY
   ========================================================================== */
.final-cta {
  padding: 3rem 0 5rem;
}

.final-cta__box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.16) 50%, rgba(99, 102, 241, 0.16) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-bento);
}

.final-cta__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.final-cta__desc {
  color: var(--text-muted);
  max-width: 600px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 11, 18, 0.9);
  padding: 2.5rem 0 5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.site-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__link {
  color: var(--text-muted);
}

.site-footer__link:hover {
  color: var(--color-emerald);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(14, 21, 36, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-emerald);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.mobile-sticky-cta__text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.mobile-sticky-cta__btn {
  background: var(--color-emerald);
  color: #04130D !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   9. SUBPAGE & GUIDE INDEX (zhinan.html, clash-peizhi.html, etc.) STYLES
   ========================================================================== */
.breadcrumb-bar {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.breadcrumb-bar__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.breadcrumb-bar__item + .breadcrumb-bar__item::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--text-dim);
}

.guide-bento-hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
  margin-bottom: 3rem;
}

.guide-card {
  grid-column: span 4;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.guide-card:nth-child(1),
.guide-card:nth-child(2) {
  grid-column: span 6;
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-emerald);
}

.guide-card__thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
  background: #0B111E;
}

.guide-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
}

.guide-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.guide-card__title a {
  color: var(--text-main);
}

.guide-card__title a:hover {
  color: var(--color-emerald);
}

.guide-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-emerald);
  margin-top: 0.5rem;
}

/* Article & Legal Subpages */
.article-shell, .page-section {
  padding: 2.5rem 0 4rem;
}

.article-shell__container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-bento);
}

.article-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.article-header__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.article-figure {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body h2 {
  font-size: 1.4rem;
  color: var(--color-emerald);
  margin: 2rem 0 0.85rem;
}

.article-body h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin: 1.5rem 0 0.6rem;
}

.article-body p, .article-body li {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.article-body ul, .article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.article-cta-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-emerald);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
}

.article-related {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.article-related__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.article-related__link {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(7, 11, 18, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
}

/* Scroll Reveal Utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .routing-sandbox__stage,
  .workbench-shell,
  .pricing-bento-grid,
  .faq-split-layout,
  .guide-bento-hero {
    grid-template-columns: 1fr;
  }
  .bento-cell--span-7,
  .bento-cell--span-5,
  .bento-cell--span-4,
  .bento-cell--span-8,
  .bento-cell--span-6,
  .guide-card,
  .guide-card:nth-child(1),
  .guide-card:nth-child(2) {
    grid-column: span 12;
  }
  .pricing-pod--featured {
    transform: none;
  }
  .faq-sticky-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .site-header__toggle {
    display: inline-flex;
  }
  .site-header__status-pill {
    display: none;
  }
  .site-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem;
    right: 1rem;
    background: rgba(14, 21, 36, 0.98);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header__nav.is-open {
    display: flex;
  }
  .site-header__menu {
    flex-direction: column;
    align-items: stretch;
  }
  .eco-chip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-sticky-cta {
    display: flex;
  }
}
