/* ==========================================================================
   GraphAegis - Design System Option C: Bioluminescent Cyber-Defense Terminal
   Theme: Deep Cosmic Obsidian, Emerald Pulse & Cyber Indigo Accents
   ========================================================================== */

:root {
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;

  /* Palette */
  --bg-abyss: #04060A;
  --bg-panel: #090D15;
  --bg-panel-hover: #101624;
  --bg-surface: #0E1320;
  --bg-code: #05080E;

  --text-pure: #FFFFFF;
  --text-dim: #94A3B8;
  --text-muted: #64748B;

  --emerald-glow: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.35);

  --indigo-glow: #6366F1;
  --indigo-dim: rgba(99, 102, 241, 0.12);
  --indigo-border: rgba(99, 102, 241, 0.35);

  --rose-danger: #F43F5E;
  --amber-warn: #F59E0B;

  --border-line: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.4);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --ease-fast: 0.18s ease;
  --ease-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-abyss);
  color: var(--text-pure);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Lighting & Atmosphere */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.orb-emerald {
  top: -100px;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
}

.orb-indigo {
  top: 35%;
  right: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

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

.max-w-4xl { max-width: 960px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-emerald { color: var(--emerald-glow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--ease-fast);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-glow {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #030708;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-glow:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-pure);
  border: 1px solid var(--border-line);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  z-index: 100;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-pure);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.symbol-core {
  width: 12px;
  height: 12px;
  background: var(--emerald-glow);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--emerald-glow);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand-text strong {
  font-weight: 800;
  color: var(--emerald-glow);
}

.brand-status-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--emerald-dim);
  color: var(--emerald-glow);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--emerald-border);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-anchor {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--ease-fast);
  white-space: nowrap;
}

.nav-anchor:hover {
  color: var(--emerald-glow);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xs);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background-color: var(--text-pure);
}

.mobile-nav {
  display: none;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-line);
  padding: 20px 24px;
}

.mobile-nav.open { display: block; }

.mob-anchor {
  display: block;
  padding: 10px 0;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 1.05rem;
}

.mob-anchor:hover { color: var(--emerald-glow); }

.mob-btn-box {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-intro {
  text-align: center;
  max-width: 900px;
  margin-bottom: 50px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

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

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pill-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-glow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-gradient {
  background: linear-gradient(135deg, #10B981 0%, #38BDF8 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 36px;
}

.terminal-launcher {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

.terminal-launcher:focus-within {
  border-color: var(--emerald-glow);
}

.terminal-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shell-sign {
  color: var(--emerald-glow);
  font-family: var(--font-mono);
  font-weight: 700;
}

.shell-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #E2E8F0;
}

.copy-trigger {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
}

.copy-trigger:hover {
  color: var(--emerald-glow);
}

.copy-trigger svg {
  width: 18px;
  height: 18px;
}

.copy-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-glow);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-fast);
}

.copy-toast.show { opacity: 1; }

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.metric-block {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-sep {
  width: 1px;
  height: 32px;
  background: var(--border-line);
}

/* ==========================================================================
   Radar Terminal Window Preview
   ========================================================================== */
.radar-window {
  width: 100%;
  max-width: 1040px;
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(16, 185, 129, 0.15);
}

.window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-line);
}

.window-decor {
  display: flex;
  gap: 6px;
}

.circle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.window-center-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

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

.status-live {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald-glow);
  background: var(--emerald-dim);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Tabs & Scenario Selector */
.terminal-tabs {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-line);
  overflow-x: auto;
}

.term-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease-fast);
}

.term-tab:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.02);
}

.term-tab.active {
  color: var(--emerald-glow);
  background: var(--bg-panel);
  border-bottom: 2px solid var(--emerald-glow);
}

.scenario-dropdown-wrap {
  margin-left: auto;
  padding: 6px 16px;
}

.scenario-select {
  background: #04070D;
  color: var(--text-pure);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
  outline: none;
}

.scenario-select:focus {
  border-color: var(--emerald-glow);
}

/* Terminal Viewport Panels */
.terminal-body {
  padding: 24px;
  min-height: 380px;
  background: var(--bg-panel);
}

.viewport-panel {
  display: none;
}

.viewport-panel.active {
  display: block;
}

/* Visual Graph Canvas */
.graph-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 20px;
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.node-card {
  min-width: 155px;
  flex: 1 1 auto;
  background: #0C101A;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  text-align: center;
  transition: all var(--ease-fast);
}

.node-card.compromised {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.06);
}

.node-card.target {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.node-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-val {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-pure);
  white-space: nowrap;
  line-height: 1.35;
  margin-top: 4px;
}

.node-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--rose-danger);
  flex-shrink: 0;
  white-space: nowrap;
}

.link-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.link-arrow svg {
  width: 20px;
  height: 20px;
}

.canvas-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xs);
  padding: 12px 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.threat-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.threat-tag {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose-danger);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.action-sever {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #FB7185;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--ease-fast);
}

.action-sever:hover {
  background: var(--rose-danger);
  color: #000;
}

/* Raw JSON Panel */
.json-code {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #6EE7B7;
  overflow-x: auto;
  max-height: 340px;
  line-height: 1.55;
}

/* Remediation Panel */
.remediation-box {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

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

.remedy-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--emerald-dim);
  color: var(--emerald-glow);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.remedy-target {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.remedy-code-wrap {
  background: #080C14;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  margin-bottom: 14px;
}

.remedy-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #F8FAFC;
}

.remedy-note {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Section Wrap & Capabilities Grid
   ========================================================================== */
.section-wrap {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 54px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-glow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

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

.feature-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-border);
  box-shadow: 0 14px 30px -10px rgba(16, 185, 129, 0.15);
}

.box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

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

.emerald-glow { background: var(--emerald-dim); color: var(--emerald-glow); border: 1px solid var(--emerald-border); }
.indigo-glow { background: var(--indigo-dim); color: var(--indigo-glow); border: 1px solid var(--indigo-border); }
.amber-glow { background: rgba(245, 158, 11, 0.12); color: var(--amber-warn); border: 1px solid rgba(245, 158, 11, 0.35); }
.rose-glow { background: rgba(244, 63, 94, 0.12); color: var(--rose-danger); border: 1px solid rgba(244, 63, 94, 0.35); }

.feature-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.box-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--emerald-glow);
  font-weight: 600;
  border-top: 1px solid var(--border-line);
  padding-top: 14px;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comp-table-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 18px 24px;
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-line);
}

.comparison-table td {
  padding: 18px 24px;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-line);
}

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

.highlight-col {
  background: rgba(16, 185, 129, 0.04);
  color: #E2E8F0 !important;
  border-left: 1px solid var(--border-line);
}

/* ==========================================================================
   Matrix Grid
   ========================================================================== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.matrix-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease-fast);
}

.matrix-item:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.matrix-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.matrix-icon { font-size: 1.35rem; }

.matrix-head h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.matrix-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.matrix-status {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--emerald-dim);
  color: var(--emerald-glow);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.billing-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: 24px;
}

.billing-opt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.billing-opt.active { color: var(--text-pure); }

.billing-slider {
  width: 46px;
  height: 24px;
  border-radius: var(--radius-full);
  background: #1B2232;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--ease-fast);
}

.billing-slider.active { background: var(--emerald-glow); }

.slider-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFF;
  transition: transform var(--ease-fast);
}

.billing-slider.active .slider-ball {
  transform: translateX(22px);
  background: #000;
}

.save-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-glow);
  padding: 2px 6px;
  border-radius: 4px;
}

.pricing-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.price-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-pro {
  border-color: var(--emerald-border);
  box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, #0D1420 0%, #090D15 100%);
}

.pro-tag {
  position: absolute;
  top: -11px;
  right: 28px;
  background: var(--emerald-glow);
  color: #030708;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: inline-block;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.curr { font-size: 1.6rem; font-weight: 700; }
.val { font-size: 3.2rem; font-weight: 800; font-family: var(--font-display); line-height: 1; }
.cycle { font-size: 0.9rem; color: var(--text-dim); }

.tier-summary {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.tier-list li {
  font-size: 0.88rem;
  color: #E2E8F0;
}

.tier-list li.faded {
  color: var(--text-muted) !important;
  text-decoration: line-through;
  opacity: 0.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-line);
  background: #030408;
  padding: 60px 0 30px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand-box { max-width: 320px; }

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

.footer-nav-col h6 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.footer-nav-col a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--ease-fast);
}

.footer-nav-col a:hover { color: var(--emerald-glow); }

.footer-bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-badges {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1220px) {
  .brand-status-tag { display: none; }
  .nav-links { gap: 16px; }
}

@media (max-width: 1060px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .graph-canvas { flex-direction: column; align-items: stretch; padding: 24px 16px; }
  .node-card { width: 100%; flex: none; }
  .node-val { white-space: normal; word-break: break-word; }
  .node-link { padding: 2px 0; }
  .node-link .link-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .pricing-deck { grid-template-columns: 1fr; }
  .terminal-tabs { flex-wrap: wrap; }
  .scenario-dropdown-wrap { margin-left: 0; width: 100%; margin-top: 8px; }
  .scenario-select { width: 100%; }
}
