/* ==========================================================================
   Apex Tornado - Modern Product Landing Page Stylesheet
   Designed for Velo Launch & Smart Vista IT Solutions
   Fully Mobile-Responsive, Glassmorphic, High-Octane Aesthetics
   ========================================================================== */

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

/* --- Root & Themes --- */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090B;
  --bg-subtle: #0E0E12;
  --surface: #121216;
  --surface-hover: #18181E;
  --raised: #1A1A22;
  --border: #23232A;
  --border-hover: #383842;
  --border-glow: rgba(239, 68, 68, 0.4);

  --primary: #EF4444;
  --primary-hover: #DC2626;
  --primary-active: #B91C1C;
  --primary-dim: rgba(239, 68, 68, 0.12);
  --primary-border: rgba(239, 68, 68, 0.32);
  --primary-glow: rgba(239, 68, 68, 0.28);
  --on-primary: #FFFFFF;

  --accent-cyan: #06B6D4;
  --accent-cyan-dim: rgba(6, 182, 212, 0.12);

  --text: #FFFFFF;
  --text-secondary: #E4E4E7;
  --muted: #A1A1AA;
  --subtle: #71717A;

  --success: #22C55E;
  --success-dim: rgba(34, 197, 94, 0.14);
  --warning: #F59E0B;
  --warning-dim: rgba(245, 158, 11, 0.14);
  --danger: #EF4444;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 45px rgba(239, 68, 68, 0.22);

  --navbar-height: 72px;
  --max-width: 1220px;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #F8F9FA;
  --bg-subtle: #F0F2F5;
  --surface: #FFFFFF;
  --surface-hover: #F8F9FC;
  --raised: #EDF0F5;
  --border: #E2E6EC;
  --border-hover: #CBD2DC;
  --border-glow: rgba(220, 38, 38, 0.35);

  --primary: #DC2626;
  --primary-hover: #B91C1C;
  --primary-active: #991B1B;
  --primary-dim: rgba(220, 38, 38, 0.08);
  --primary-border: rgba(220, 38, 38, 0.24);
  --primary-glow: rgba(220, 38, 38, 0.2);
  --on-primary: #FFFFFF;

  --accent-cyan: #0284C7;
  --accent-cyan-dim: rgba(2, 132, 199, 0.1);

  --text: #111318;
  --text-secondary: #27272A;
  --muted: #52525B;
  --subtle: #71717A;

  --success: #16A34A;
  --success-dim: rgba(22, 163, 74, 0.1);
  --warning: #D97706;
  --warning-dim: rgba(217, 119, 6, 0.1);
  --danger: #DC2626;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 35px rgba(220, 38, 38, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition), color var(--transition);
}

/* Atmospheric Glow Background */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(239, 68, 68, 0) 70%);
  filter: blur(80px);
  opacity: 0.6;
  animation: pulseBlob 9s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 35%;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
}

.ambient-blob-3 {
  position: absolute;
  top: 70%;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-cyan-dim) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
}

@keyframes pulseBlob {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.45; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 0.75; }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Pill & Badge Tokens --- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.badge-pill.badge-primary {
  background: var(--primary-dim);
  border-color: var(--primary-border);
  color: var(--primary);
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* --- Button Component Tokens --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--on-primary);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.45);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--primary-dim);
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 9, 11, 0.78);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="light"] .site-header {
  background: rgba(248, 249, 250, 0.82);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-hover);
}

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

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

.brand-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text);
}

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

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

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

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--navbar-height) + 60px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill-wrap {
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #111318 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-badge-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Interactive Showcase / Tabbed Product Mockup
   ========================================================================== */
.showcase-section {
  padding-bottom: 100px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  transition: all var(--transition);
}

/* Browser Frame Top Chrome */
.browser-chrome {
  background: var(--raised);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

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

.window-dot.red { background: #FF5F56; }
.window-dot.yellow { background: #FFBD2E; }
.window-dot.green { background: #27C93F; }

.browser-omnibox {
  flex: 1;
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.browser-omnibox svg {
  width: 13px;
  height: 13px;
  color: var(--success);
}

.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-tabs-nav::-webkit-scrollbar {
  display: none;
}

.showcase-tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.showcase-tab-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.showcase-tab-btn.active {
  background: var(--primary-dim);
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
}

.showcase-viewport {
  position: relative;
  background: #000000;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-image {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  display: none;
  animation: fadeInImg 0.35s ease;
}

.showcase-image.active {
  display: block;
}

@keyframes fadeInImg {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Metrics & Stats Counter Row
   ========================================================================== */
.stats-section {
  padding: 40px 0 90px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-value.highlight {
  color: var(--primary);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.sim-section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.sim-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.sim-metric-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sim-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sim-metric-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.sim-gauge-circle-wrap {
  text-align: center;
  padding: 20px 0;
}

.sim-gauge-val {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--danger);
  transition: color 0.4s ease;
}

.sim-gauge-status {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
}

.sim-progress-track {
  width: 100%;
  height: 10px;
  background: var(--raised);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 14px;
}

.sim-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.8s ease;
}

.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}

.sim-checkbox-item:hover {
  border-color: var(--border-hover);
}

.sim-checkbox-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.sim-result-toast {
  display: none;
  background: var(--success-dim);
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  animation: fadeInToast 0.3s ease;
}

@keyframes fadeInToast {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Features Deep Dive Grid
   ========================================================================== */
.features-section {
  padding: 90px 0;
}

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

.feature-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  border-color: var(--primary-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 25px var(--primary-dim);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-box-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-pill-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  width: fit-content;
}

/* ==========================================================================
   Zero-Telemetry & Architecture Comparison
   ========================================================================== */
.privacy-section {
  padding: 90px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.comp-card {
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid var(--border);
}

.comp-card.negative {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.comp-card.positive {
  background: var(--surface);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-glow);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.comp-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.comp-card.negative .comp-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.comp-card.positive .comp-icon {
  background: var(--primary-dim);
  color: var(--primary);
}

.comp-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.comp-list-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-card.negative .comp-list-item svg { color: var(--danger); }
.comp-card.positive .comp-list-item svg { color: var(--success); }

/* ==========================================================================
   Organizations (Velo Launch & Smart Vista IT Solutions)
   ========================================================================== */
.orgs-section {
  padding: 90px 0;
}

.orgs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.org-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.org-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.org-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.org-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-avatar.velo {
  background: var(--primary-dim);
  color: var(--primary);
}

.org-avatar.smartvista {
  background: var(--success-dim);
  color: var(--success);
}

.org-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.org-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.org-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.org-meta-list {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.org-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.org-meta-label {
  color: var(--subtle);
}

.org-meta-val {
  font-weight: 600;
  color: var(--text);
}

/* ==========================================================================
   Keyboard Shortcuts Section
   ========================================================================== */
.shortcuts-section {
  padding: 80px 0;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.shortcut-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.shortcut-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
}

.kbd-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--raised);
  border: 1px solid var(--border-hover);
  border-bottom: 2px solid var(--border-hover);
  border-radius: var(--radius-xs);
  padding: 4px 9px;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.shortcut-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.shortcut-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

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

.faq-list {
  max-width: 820px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--primary-border);
}

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

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

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

.faq-answer p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Pre-Footer Download CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 90px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--raised) 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 34px auto;
  position: relative;
  z-index: 2;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--subtle);
}

.footer-credits strong {
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + 30px);
    padding-bottom: 50px;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .orgs-grid {
    grid-template-columns: 1fr;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 580px) {
  #headerCtaBtn {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .showcase-tabs-nav {
    justify-content: flex-start;
  }
}

/* Spinner Animation */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Legal & Privacy Policy Page Styles
   ========================================================================== */
.legal-hero {
  padding-top: calc(var(--navbar-height) + 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
  position: relative;
}

.legal-hero-inner {
  max-width: 880px;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--raised);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

.legal-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.legal-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

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

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--success-dim);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

.legal-toc-wrapper {
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
}

.legal-toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

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

.legal-toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.legal-toc-list a:hover {
  background: var(--surface-hover);
  color: var(--primary);
  padding-left: 16px;
}

.legal-content {
  min-width: 0;
}

.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--navbar-height) + 24px);
  transition: border-color var(--transition);
}

.legal-section:hover {
  border-color: var(--border-hover);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 16px 20px;
  padding: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section li strong {
  color: var(--text);
}

.legal-callout {
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.legal-callout-success {
  background: var(--success-dim);
  border-left-color: var(--success);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--raised);
}

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

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.legal-perm-code {
  display: inline-block;
  padding: 3px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .legal-toc-wrapper {
    position: relative;
    top: 0;
  }
  .legal-section {
    padding: 28px 24px;
  }
  .legal-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .legal-title {
    font-size: 28px;
  }
  .legal-subtitle {
    font-size: 16px;
  }
  .legal-section {
    padding: 22px 18px;
  }
  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
  }
}


