/* ═══════════════════════════════════════════════════════════
   CoreSight Security — Vitrine Design System
   Cyber-themed, dark-first, premium aesthetic
   ═══════════════════════════════════════════════════════════ */

/* ── Fonts (matched to CoreSight app) ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties (aligned with CoreSight app palette) ── */
:root {
  /* Palette — exactly matching app theme */
  --bg-deepest: #0f0f0f;
  /* app --theme-bg */
  --bg-deep: #0f0f0f;
  --bg-surface: #18181b;
  /* app --theme-surface / card */
  --bg-elevated: #27272a;
  /* app --theme-border */
  --bg-card: #18181b;
  --bg-card-hover: rgba(39, 39, 42, 0.5);
  /* app sidebar hover */

  --border-subtle: #27272a;
  /* app --theme-border */
  --border-glow: rgba(59, 130, 246, 0.2);
  --border-accent: rgba(59, 130, 246, 0.4);

  --text-primary: #e4e4e7;
  /* app --theme-text */
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  /* app --theme-muted */
  --text-accent: #3b82f6;
  /* app --theme-accent */

  /* Primary: blue (app accent #3b82f6) */
  --accent-primary: #3b82f6;
  --accent-primary-dim: rgba(59, 130, 246, 0.1);
  --accent-primary-glow: rgba(59, 130, 246, 0.25);
  /* Secondary: remains available for highlights */
  --accent-blue: #3b82f6;
  --accent-violet: #7c3aed;
  --accent-violet-dim: rgba(124, 58, 237, 0.12);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --gradient-hero: linear-gradient(135deg, #0f0f0f 0%, #18181b 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-btn-hover: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);

  /* Glass */
  --glass-bg: rgba(15, 15, 15, 0.75);
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.06);

  /* Typography — matched to app */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius (matched to app: 12px) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.08);
  --shadow-glow-strong: 0 0 60px rgba(59, 130, 246, 0.12);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deepest);
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.02) 0px, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #60a5fa;
}

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

ul,
ol {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Grid / Particle Canvas ── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Scan Line Effect ── */
.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-glow);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-brand img {
  height: 66px;
  width: auto;
  filter: grayscale(100%) invert(1);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.nav-brand span {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  margin-left: var(--space-sm);
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-switch button.active {
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary-dim);
}

.lang-switch button:hover:not(.active) {
  color: var(--text-secondary);
}

/* CTA Button in Nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gradient-btn);
  color: white !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.nav-cta:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 20px var(--accent-primary-dim);
}

.btn-secondary:hover {
  background: var(--accent-primary-dim);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px var(--accent-primary-glow);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-bg-glow.glow-1 {
  top: -200px;
  right: -200px;
  background: var(--accent-primary);
}

.hero-bg-glow.glow-2 {
  bottom: -300px;
  left: -200px;
  background: var(--accent-violet);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent-primary-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Hero visual (right side) — Dashboard Mockup */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-dashboard-mockup {
  background: rgba(24, 24, 27, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(39, 39, 42, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28ca41; }

.mockup-title {
  flex: 1;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mockup-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 24px;
  gap: 24px;
}

.mockup-tasks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-task {
  opacity: 0;
  transform: translateX(-10px);
  animation: taskReveal 0.5s ease-out forwards;
}

.task-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.task-icon {
  width: 24px;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.task-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.task-status {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.task-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  width: 0;
}

/* Specific Progress Values */
.mockup-task:nth-child(1) .progress-fill { animation: fill-1 1s ease-out 0.5s forwards; }
.mockup-task:nth-child(2) .progress-fill { animation: fill-2 1.2s ease-out 0.8s forwards; }
.mockup-task:nth-child(3) .progress-fill { animation: fill-3 1.5s ease-out 1.1s forwards; }
.mockup-task:nth-child(4) .progress-fill { animation: fill-4 2s ease-out 1.4s infinite alternate; }

@keyframes fill-1 { to { width: 100%; } }
@keyframes fill-2 { to { width: 100%; } }
@keyframes fill-3 { to { width: 92%; } }
@keyframes fill-4 { from { width: 20%; } to { width: 45%; } }

/* Visual Side (Mockup Map/Grid) */
.mockup-visual-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

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

.node {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  position: relative;
}

.node.active {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.node.pulse::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

.scan-radar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.2);
  position: relative;
  overflow: hidden;
}

.scan-radar::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, var(--accent-primary) 0%, transparent 20%);
  animation: rotate 2.5s linear infinite;
}

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

.mockup-footer {
  padding: 16px 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(16,185,129,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes taskReveal {
  to { opacity: 1; transform: translateX(0); }
}
/* ═══════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.4rem;
}

.feature-icon.cyan {
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary-dim);
}

.feature-icon.violet {
  background: var(--accent-violet-dim);
  color: var(--accent-violet);
  box-shadow: 0 0 20px var(--accent-violet-dim);
}

.feature-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.feature-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS
   ═══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary-glow), var(--accent-violet-dim), transparent);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary-dim);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   METRICS SECTION
   ═══════════════════════════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.metric-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.metric-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.metric-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.cta-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--accent-primary-dim), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 8, 16, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════
   LEGAL / CONTENT PAGES
   ═══════════════════════════════════════════════════════════ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.content-section {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-4xl);
}

.content-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  max-width: 900px;
  margin: 0 auto;
}

.content-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.content-card h2::before {
  content: '›';
  font-family: var(--font-mono);
  color: var(--accent-primary);
  opacity: 0.6;
}

.content-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.content-card p,
.content-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.content-card ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.content-card ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.content-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

.content-card .divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-2xl) 0;
}

.content-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

.content-card a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-primary-dim);
  text-underline-offset: 2px;
}

.content-card a:hover {
  text-decoration-color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

/* ═══════════════════════════════════════════════════════════
   SOLUTION PAGE — FEATURE DETAILS
   ═══════════════════════════════════════════════════════════ */
.solution-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.solution-feature:nth-child(even) {
  direction: rtl;
}

.solution-feature:nth-child(even)>* {
  direction: ltr;
}

.solution-feature-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.solution-feature-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.solution-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.solution-feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.solution-feature-list li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.solution-visual {
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.solution-visual img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-visual .placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes terminalReveal {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-primary-dim);
  }

  50% {
    box-shadow: 0 0 40px var(--accent-primary-glow);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 500px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .steps-grid::before {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-feature,
  .solution-feature:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
    animation: fadeInUp 0.2s ease-out;
  }

  .nav-links.open {
    display: flex;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: var(--space-xl);
  }
}

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

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM CUSTOM SCROLLBARS
   ═══════════════════════════════════════════════════════════ */

/* Webkit based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-primary) 10%, transparent);
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: content-box;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent-primary) 60%, transparent);
  background-clip: content-box;
  border: 2px solid transparent;
}

/* Specific styling for scrollable elements */
* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--text-primary) 10%, transparent) transparent;
  transition: scrollbar-color 0.3s;
}

/* Firefox Hover approximation */
*:hover {
  scrollbar-color: color-mix(in srgb, var(--accent-primary) 40%, transparent) transparent;
}