/* ==========================================================================
   VEIL-X — LANDING PAGE STYLESHEET
   Visual Edge Intelligence Layer-X
   Light Glass Mission-Control Theme • Production Quality
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

:root {
  /* ------------------------------------------------------------------------
     1. Foundation Palette (Strict Pure Light System)
     ------------------------------------------------------------------------ */
  --vx-bg: #F7F9FC;
  --vx-bg-subtle: #F1F5F9;
  --vx-bg-card: #FFFFFF;
  --vx-bg-tint: #FAFBFD;

  /* Glass Surfaces */
  --vx-glass: rgba(255, 255, 255, 0.72);
  --vx-glass-active: rgba(255, 255, 255, 0.88);
  --vx-glass-subtle: rgba(255, 255, 255, 0.52);

  /* Borders */
  --vx-border: rgba(148, 163, 184, 0.20);
  --vx-border-medium: rgba(148, 163, 184, 0.32);
  --vx-border-focus: #2563EB;

  /* Brand Colors */
  --vx-primary: #2563EB;
  --vx-primary-secondary: #3B82F6;
  --vx-primary-soft: #DBEAFE;
  --vx-primary-light: #EFF6FF;

  --vx-cyan: #06B6D4;
  --vx-cyan-soft: #CFFAFE;
  --vx-cyan-border: #A5F3FC;

  --vx-green: #059669;
  --vx-green-soft: #D1FAE5;
  --vx-green-border: #A7F3D0;

  --vx-amber: #D97706;
  --vx-amber-soft: #FEF3C7;
  --vx-amber-border: #FDE68A;

  --vx-red: #DC2626;
  --vx-red-soft: #FEE2E2;
  --vx-red-border: #FECACA;

  --vx-purple: #7C3AED;
  --vx-purple-soft: #EDE9FE;
  --vx-purple-border: #DDD6FE;

  /* Typography */
  --vx-text: #0F172A;
  --vx-text-secondary: #475569;
  --vx-text-muted: #64748B;
  --vx-text-very-muted: #94A3B8;

  /* Radii */
  --vx-radius-sm: 8px;
  --vx-radius-md: 14px;
  --vx-radius-lg: 20px;
  --vx-radius-xl: 28px;
  --vx-radius-pill: 9999px;

  /* Shadows */
  --vx-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --vx-shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.02);
  --vx-shadow-hover: 0 18px 42px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  --vx-shadow-glow-blue: 0 8px 30px rgba(37, 99, 235, 0.24);
  --vx-shadow-glow-cyan: 0 8px 30px rgba(6, 182, 212, 0.20);
}

/* ==========================================================================
   Base Setup & Background
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--vx-bg);
  background-image: radial-gradient(1200px 500px at 50% 0px, #EEF2F6 0%, transparent 85%);
  color: var(--vx-text);
  line-height: 1.6;
  font-size: 15.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vx-border);
  transition: all 0.2s ease;
  padding: 14px 0;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  padding: 11px 0;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-emblem {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-emblem img,
.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.3));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(-1deg);
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0F172A;
  white-space: nowrap;
}

.brand-tag {
  font-size: 11px;
  color: var(--vx-text-muted);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-left: 1.5px solid var(--vx-border);
  padding-left: 10px;
  white-space: nowrap;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--vx-text-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--vx-primary);
}

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

.btn-nav-install {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-nav-install:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: var(--vx-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0F172A;
  color: #FFFFFF !important;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

/* Navigation Dropdown Menu */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-btn {
  cursor: pointer;
  border: 1px solid #0F172A;
}

.dropdown-chevron {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.05);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #0F172A;
  transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #F8FAFC;
}

.dropdown-item-icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

.item-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.item-badge.primary {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.item-badge.green {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.item-badge.purple {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.dropdown-item-desc {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.35;
}

.dropdown-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 4px 6px;
}

.nav-dropdown-item.sub {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  padding: 7px 12px;
  align-items: center;
  gap: 8px;
}

.sub-dot {
  font-size: 8px;
  color: #94A3B8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px 44px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-sm);
  color: var(--vx-text-secondary);
}

.hero-pill.primary {
  color: var(--vx-primary);
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.hero-pill.green {
  color: var(--vx-green);
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #0F172A;
}

.hero-subheadline {
  font-size: 15px;
  color: #475569;
  line-height: 1.55;
  max-width: 560px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563EB;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #1D4ED8;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.18);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-install-hero {
  background: #0F172A;
  border-color: #0F172A;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-install-hero:hover {
  background: #1E293B;
  border-color: #1E293B;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.hero-install-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #0F172A;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: var(--vx-primary);
  transform: translateY(-1px);
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #475569;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-tertiary:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

/* ==========================================================================
   Hero Visual — Interactive Privacy Viewport
   ========================================================================== */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.browser-hologram-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.browser-hologram-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.browser-chrome {
  background: #F8FAFC;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  gap: 10px;
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.browser-dot.red { background: #F87171; }
.browser-dot.yellow { background: #FBBF24; }
.browser-dot.green { background: #34D399; }

.browser-url-bar {
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #475569;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.browser-url-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-shield-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.08);
}

.browser-shield-badge img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  display: block;
}

/* Interactive Viewport Stage Controls */
.viewport-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 11px;
}

.stage-bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #64748B;
  font-size: 10.5px;
}

.stage-btn-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stage-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stage-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.stage-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.stage-cycle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stage-cycle-toggle:hover {
  background: #DBEAFE;
}

.cycle-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D4ED8;
}

.cycle-indicator.paused {
  background: #94A3B8;
}

.browser-screen-viewport {
  padding: 12px 14px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.synthetic-doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 7px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 11.5px;
}

.synthetic-label {
  font-weight: 600;
  color: #334155;
}

.synthetic-field {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s ease;
}

.synthetic-field.raw {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.synthetic-field.detect {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.synthetic-field.mask {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  letter-spacing: 2px;
}

.synthetic-field.block {
  background: #0F172A;
  color: #0F172A;
  border: 1px solid #0F172A;
  -webkit-user-select: none;
  user-select: none;
}

.synthetic-badge-photo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #F1F5F9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.photo-redaction-overlay {
  position: absolute;
  inset: 0;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  letter-spacing: 0.5px;
}

/* Docked Status Footer Inside Browser Inspector */
.inspector-status-dock {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 6px;
}

.dock-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.5px;
}

.dock-val-gate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
}

.dock-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dock-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dm-key {
  font-size: 9.5px;
  color: #64748B;
  font-weight: 500;
}

.dm-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #0F172A;
}

.dm-val.green {
  color: #059669;
}

/* ==========================================================================
   Editorial Layout & Section Containers
   ========================================================================== */
.section-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 24px;
  position: relative;
  z-index: 1;
}

.section-wrapper.compact {
  padding: 26px 24px;
}

.section-header-editorial {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--vx-primary);
  background: var(--vx-primary-light);
  padding: 3px 10px;
  border-radius: var(--vx-radius-pill);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title-large {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--vx-text);
}

.section-subtitle-editorial {
  font-size: 14.5px;
  color: var(--vx-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Section 1: The Problem (Two-Column Editorial)
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.problem-card-left {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--vx-radius-lg);
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.04);
}

.problem-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--vx-border);
  padding-bottom: 10px;
}

.problem-card-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--vx-red);
}

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

.problem-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-sm);
  font-size: 12px;
}

.problem-item .lbl { color: var(--vx-text-muted); font-weight: 600; }
.problem-item .val { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #b91c1c; }

.problem-narrative {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-narrative p {
  font-size: 15px;
  color: var(--vx-text-secondary);
  line-height: 1.6;
}

.problem-callout-box {
  background: #fff1f2;
  border-left: 4px solid var(--vx-red);
  padding: 14px 18px;
  border-radius: 0 var(--vx-radius-sm) var(--vx-radius-sm) 0;
  font-size: 13.5px;
  color: #881337;
  line-height: 1.5;
}

/* ==========================================================================
   Section 2: Pipeline Visualization (Animated Flowing Track)
   ========================================================================== */
.pipeline-track-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg);
  padding: 18px 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  gap: 6px;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 10px;
  background: #ffffff;
  border: 1.5px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  z-index: 2;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 90px;
  text-align: center;
  cursor: pointer;
  position: relative;
  animation: nodeFlowPulse 4.8s infinite ease-in-out;
}

.pipeline-node:nth-of-type(1) { animation-delay: 0s; }
.pipeline-node:nth-of-type(2) { animation-delay: 0.6s; }
.pipeline-node:nth-of-type(3) { animation-delay: 1.2s; }
.pipeline-node:nth-of-type(4) { animation-delay: 1.8s; }
.pipeline-node:nth-of-type(5) { animation-delay: 2.4s; }
.pipeline-node:nth-of-type(6) { animation-delay: 3.0s; }
.pipeline-node:nth-of-type(7) { animation-delay: 3.6s; }
.pipeline-node:nth-of-type(8) { animation-delay: 4.2s; }

@keyframes nodeFlowPulse {
  0%, 100% {
    border-color: var(--vx-border);
    background: #ffffff;
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }
  7% {
    border-color: #2563EB;
    background: #EFF6FF;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px -3px rgba(37, 99, 235, 0.28), 0 0 0 2px rgba(37, 99, 235, 0.15);
  }
  14% {
    border-color: var(--vx-border);
    background: #ffffff;
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }
}

.pipeline-node:hover,
.pipeline-node.manual-active {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--vx-primary) !important;
  background: #EFF6FF !important;
  box-shadow: 0 10px 22px -4px rgba(37, 99, 235, 0.25) !important;
}

.pipeline-node .node-icon {
  font-size: 18px;
  line-height: 1;
}

.pipeline-node .node-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--vx-primary);
  background: var(--vx-primary-light);
  padding: 1px 5px;
  border-radius: 4px;
}

.pipeline-node .node-name {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--vx-text);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.pipeline-node .node-desc {
  font-size: 9px;
  font-weight: 600;
  color: var(--vx-text-muted);
  white-space: nowrap;
}

.pipeline-arrow-conn {
  color: #CBD5E1;
  font-size: 13px;
  font-weight: bold;
  animation: arrowFlowPulse 4.8s infinite ease-in-out;
  flex-shrink: 0;
}

.pipeline-arrow-conn:nth-of-type(1) { animation-delay: 0.3s; }
.pipeline-arrow-conn:nth-of-type(2) { animation-delay: 0.9s; }
.pipeline-arrow-conn:nth-of-type(3) { animation-delay: 1.5s; }
.pipeline-arrow-conn:nth-of-type(4) { animation-delay: 2.1s; }
.pipeline-arrow-conn:nth-of-type(5) { animation-delay: 2.7s; }
.pipeline-arrow-conn:nth-of-type(6) { animation-delay: 3.3s; }
.pipeline-arrow-conn:nth-of-type(7) { animation-delay: 3.9s; }

@keyframes arrowFlowPulse {
  0%, 100% {
    color: #CBD5E1;
    transform: translateX(0);
    opacity: 0.5;
  }
  7% {
    color: #2563EB;
    transform: translateX(3px);
    opacity: 1;
  }
  14% {
    color: #CBD5E1;
    transform: translateX(0);
    opacity: 0.5;
  }
}

.pipeline-traveling-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), #2563EB, #06B6D4, transparent);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  animation: pipelineParticleRun 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes pipelineParticleRun {
  0% { left: 0%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { left: 95%; opacity: 0; }
}

/* ==========================================================================
   Section 3: What Stays on Device? (Privacy Boundary)
   ========================================================================== */
.boundary-split-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.boundary-column-card {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg);
  padding: 32px;
  box-shadow: var(--vx-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.boundary-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--vx-border);
  padding-bottom: 14px;
}

.boundary-zone-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boundary-zone-tag.client { color: var(--vx-green); }
.boundary-zone-tag.server { color: var(--vx-primary); }

.boundary-pill-mode {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--vx-radius-pill);
}

.boundary-pill-mode.client { background: var(--vx-green-soft); color: var(--vx-green); }
.boundary-pill-mode.server { background: var(--vx-primary-light); color: var(--vx-primary); }

.boundary-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.boundary-feature-list li {
  font-size: 14px;
  color: var(--vx-text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.boundary-feature-list li .icon-mark {
  color: var(--vx-primary);
  font-weight: bold;
}

.privacy-gate-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 10px;
}

.gate-shield-emblem {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.12), 0 8px 24px rgba(5, 150, 105, 0.2);
}

.gate-shield-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.modal-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.gate-pillar-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--vx-green);
  text-align: center;
}

/* ==========================================================================
   Section 4: Dual Redaction (Uniform Pre-Mask + Blackout)
   ========================================================================== */
.dual-defense-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dual-step-card {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--vx-shadow-card);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.dual-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vx-primary);
}

.dual-step-card:nth-child(1)::before { background: var(--vx-red); }
.dual-step-card:nth-child(2)::before { background: var(--vx-cyan); }
.dual-step-card:nth-child(3)::before { background: #0f172a; }
.dual-step-card:nth-child(4)::before { background: var(--vx-green); }

.dual-step-card:hover {
  transform: translateY(-2px);
}

.dual-step-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--vx-text-muted);
  letter-spacing: 0.5px;
}

.dual-step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--vx-text);
}

.dual-step-preview {
  margin: 8px 0;
  padding: 10px 14px;
  border-radius: var(--vx-radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13.5px;
}

.dual-step-preview.raw { background: #fee2e2; color: #dc2626; }
.dual-step-preview.mask { background: #e0f2fe; color: #0284c7; }
.dual-step-preview.block { background: #0f172a; color: #ffffff; }
.dual-step-preview.safe { background: #d1fae5; color: #059669; }

.dual-step-desc {
  font-size: 12.5px;
  color: var(--vx-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 5: Local Intelligence (Perception Cards)
   ========================================================================== */
.perception-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.perception-card {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--vx-shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.perception-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--vx-shadow-hover);
}

.perception-card-icon {
  width: 44px;
  height: 44px;
  background: var(--vx-primary-light);
  color: var(--vx-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--vx-shadow-sm);
}

.perception-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--vx-text);
  letter-spacing: -0.2px;
}

.perception-card p {
  font-size: 13.5px;
  color: var(--vx-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 6: Continuous Agent Re-Perception Loop
   ========================================================================== */
.agent-loop-container {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg);
  padding: 36px;
  box-shadow: var(--vx-shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.loop-visual-circle {
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-center-core {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--vx-shadow-glow-blue);
}

.loop-node-item {
  position: absolute;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--vx-text);
  box-shadow: var(--vx-shadow-sm);
}

.loop-node-item.n-top { top: -14px; }
.loop-node-item.n-right { right: -18px; }
.loop-node-item.n-bottom { bottom: -14px; }
.loop-node-item.n-left { left: -18px; }

/* ==========================================================================
   Section 7: Evaluation Benchmarks (Measured, Not Claimed)
   ========================================================================== */
.eval-weights-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 8px;
  border-radius: var(--vx-radius-md);
  border: 1px solid var(--vx-border);
}

.weight-item {
  flex: 1;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--vx-radius-sm);
  border: 1px solid var(--vx-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.weight-title { font-size: 11px; color: var(--vx-text-muted); font-weight: 600; text-transform: uppercase; }
.weight-pct { font-size: 16px; font-weight: 800; color: var(--vx-primary); font-family: 'JetBrains Mono', monospace; }

.benchmark-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-report-card {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--vx-shadow-card);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-report-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vx-shadow-hover);
}

.metric-report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--vx-primary);
}

.metric-report-card.green::before { background: var(--vx-green); }
.metric-report-card.cyan::before { background: var(--vx-cyan); }
.metric-report-card.purple::before { background: var(--vx-purple); }

.metric-card-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vx-text-muted);
  letter-spacing: 0.5px;
}

.metric-card-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--vx-primary);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -1px;
  line-height: 1.1;
}

.metric-card-num.green { color: var(--vx-green); }

.metric-card-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vx-text-secondary);
}

.metric-card-source {
  font-size: 10.5px;
  color: var(--vx-text-very-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Section 8: Capabilities Matrix
   ========================================================================== */
.capabilities-table-container {
  background: var(--vx-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg);
  overflow: hidden;
  box-shadow: var(--vx-shadow-card);
}

.capabilities-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.capabilities-table th, .capabilities-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--vx-border);
}

.capabilities-table th {
  background: var(--vx-bg-subtle);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
}

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

.capabilities-table tr:hover td {
  background: rgba(255, 255, 255, 0.90);
}

.pill-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vx-green);
  font-weight: 700;
  font-size: 12px;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
  max-width: 1000px;
  margin: 20px auto 44px;
  padding: 44px 32px;
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  border-radius: 16px;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.final-cta-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0F172A;
}

.final-cta-headline span {
  color: #2563EB;
}

.final-cta-sub {
  font-size: 15px;
  color: #64748B;
  max-width: 580px;
  line-height: 1.55;
}

/* ==========================================================================
   Interactive Demo Portals Showcase Grid (Section 9)
   ========================================================================== */
.demo-portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.demo-portal-card {
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.demo-portal-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
}

.demo-portal-card.featured {
  border-color: #BFDBFE;
  box-shadow: 0 4px 16px -2px rgba(37, 99, 235, 0.08);
}

.demo-portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.demo-portal-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.demo-portal-badge.primary {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.demo-portal-badge.green {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.demo-portal-badge.purple {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.demo-portal-mode {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #64748B;
}

.demo-portal-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.demo-portal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.demo-portal-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.demo-portal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.demo-portal-features li {
  font-size: 12.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-portal-features li span {
  color: #059669;
  font-weight: 700;
}

.demo-portal-btn {
  width: 100%;
  justify-content: center;
  padding: 11px 18px;
  font-size: 14px;
}

/* ==========================================================================
   Final CTA Action Strip & Demo Grid
   ========================================================================== */
.final-action-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.final-demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 8px;
}

.final-demo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  text-decoration: none;
  color: #0F172A;
  transition: all 0.15s ease;
  text-align: left;
}

.final-demo-card:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
}

.fd-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fd-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fd-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

.fd-sub {
  font-size: 11px;
  color: #64748B;
}

.fd-arrow {
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  white-space: nowrap;
}

/* ==========================================================================
   Minimal Premium Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--vx-border);
  background: #FFFFFF;
  padding: 36px 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-brand-block strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--vx-text);
}

.footer-brand-block span {
  font-size: 12px;
  color: var(--vx-text-muted);
}

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

.footer-links a, .footer-link-btn {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--vx-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.15s ease;
}

.footer-links a:hover, .footer-link-btn:hover {
  color: var(--vx-primary);
}

/* ==========================================================================
   Install Extension Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.modal-subtitle {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.modal-browser-selector {
  display: flex;
  gap: 6px;
  padding: 10px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.browser-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.browser-tab:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.6);
}

.browser-tab.active {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #CBD5E1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.modal-tab-content {
  padding: 18px 24px 20px;
  overflow-y: auto;
  max-height: 68vh;
}

.install-step-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.install-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #BFDBFE;
  margin-top: 2px;
}

.step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-heading {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

.step-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.copyable-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 5px 8px 5px 12px;
}

.copyable-code-row.path-box {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.code-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #0F172A;
  word-break: break-all;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-copy-code:hover {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-copy-code.copied {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748B;
  max-width: 310px;
  line-height: 1.4;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-action {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pipeline-traveling-packet {
    animation: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-headline {
    font-size: 44px;
  }
  .problem-grid, .agent-loop-container, .boundary-split-container {
    grid-template-columns: 1fr;
  }
  .dual-defense-grid, .benchmark-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perception-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-track-full {
    flex-wrap: wrap;
    justify-content: center;
  }
  .eval-weights-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-headline {
    font-size: 36px;
  }
  .section-title-large {
    font-size: 28px;
  }
  .dual-defense-grid, .benchmark-metrics-grid, .perception-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .modal-dialog {
    margin: 10px;
  }
}
