/* ============================================================
   BRAINSTORM AGI — FUTURISTIC AI COMMAND CENTER
   Tron Legacy x Bloomberg Terminal x NASA Mission Control
   ============================================================ */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-accent-cyan);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

::selection {
  background: rgba(211, 47, 47, 0.25);
  color: #E8E8F0;
}

@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;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* --- Design Tokens --- */
:root {
  /* Type Scale (fluid clamp) */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Futuristic Color Palette */
  --color-bg-primary:   #050510;
  --color-bg-secondary: #0a0f1e;
  --color-card-bg:      rgba(13, 17, 38, 0.7);
  --color-accent-red:   #D32F2F;
  --color-accent-red-bright: #FF5252;
  --color-accent-cyan:  #00E5FF;
  --color-accent-purple: #7C4DFF;
  --color-text-primary: #E8E8F0;
  --color-text-secondary: #8888AA;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-bright: rgba(255, 255, 255, 0.12);

  /* Glow values */
  --glow-red:    0 0 20px rgba(211, 47, 47, 0.4), 0 0 60px rgba(211, 47, 47, 0.15);
  --glow-cyan:   0 0 20px rgba(0, 229, 255, 0.4), 0 0 60px rgba(0, 229, 255, 0.15);
  --glow-purple: 0 0 20px rgba(124, 77, 255, 0.4), 0 0 60px rgba(124, 77, 255, 0.15);
  --glow-red-sm: 0 0 10px rgba(211, 47, 47, 0.5);
  --glow-cyan-sm: 0 0 10px rgba(0, 229, 255, 0.5);

  /* Legacy compat vars */
  --color-primary: #D32F2F;
  --color-primary-hover: #FF5252;
  --color-primary-active: #B71C1C;
  --color-text: var(--color-text-primary);
  --color-text-muted: var(--color-text-secondary);
  --color-text-faint: #555577;
  --color-text-inverse: #050510;
  --color-bg: var(--color-bg-primary);
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-2: rgba(255, 255, 255, 0.05);
  --color-surface-offset: rgba(255, 255, 255, 0.08);
  --color-border-legacy: rgba(255, 255, 255, 0.06);
  --color-divider: rgba(255, 255, 255, 0.05);
  --color-hero-bg: #050510;
  --color-hero-text: #FFFFFF;
  --glass-bg: rgba(13, 17, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --card-bg: rgba(13, 17, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(211, 47, 47, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(5, 5, 16, 0.85);
  --nav-border: rgba(0, 229, 255, 0.08);
  --section-alt-bg: #0a0f1e;
  --trust-icon-bg: rgba(211, 47, 47, 0.12);
  --trust-icon-color: #D32F2F;
}

/* --- DARK MODE (Default) --- */
:root, [data-theme="dark"] {
  --color-bg: #050510;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-2: rgba(255, 255, 255, 0.05);
  --color-surface-offset: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-divider: rgba(255, 255, 255, 0.05);
  --color-text: #E8E8F0;
  --color-text-muted: #8888AA;
  --color-text-faint: #555577;
  --color-text-inverse: #050510;
  --color-primary: #D32F2F;
  --color-primary-hover: #FF5252;
  --color-primary-active: #B71C1C;
  --color-hero-bg: #050510;
  --color-hero-text: #E8E8F0;
  --glass-bg: rgba(13, 17, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --card-bg: rgba(13, 17, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(211, 47, 47, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(5, 5, 16, 0.9);
  --nav-border: rgba(0, 229, 255, 0.08);
  --section-alt-bg: #0a0f1e;
  --trust-icon-bg: rgba(211, 47, 47, 0.12);
  --trust-icon-color: #FF5252;
}

/* --- LIGHT MODE --- */
[data-theme="light"] {
  --color-bg: #F0F2F8;
  --color-surface: rgba(255, 255, 255, 0.8);
  --color-surface-2: rgba(255, 255, 255, 0.9);
  --color-surface-offset: rgba(240, 242, 248, 0.95);
  --color-border: rgba(100, 120, 180, 0.15);
  --color-divider: rgba(100, 120, 180, 0.12);
  --color-text: #0a0f1e;
  --color-text-muted: #3a4060;
  --color-text-faint: #6a70a0;
  --color-text-inverse: #FFFFFF;
  --color-primary: #D32F2F;
  --color-primary-hover: #FF5252;
  --color-primary-active: #B71C1C;
  --color-hero-bg: #050510;
  --color-hero-text: #E8E8F0;
  --glass-bg: rgba(240, 242, 255, 0.8);
  --glass-border: rgba(100, 120, 200, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 40, 0.08);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(100, 120, 200, 0.15);
  --card-shadow: 0 4px 24px rgba(0, 0, 40, 0.06);
  --card-shadow-hover: 0 12px 40px rgba(0, 0, 40, 0.12), 0 0 20px rgba(211, 47, 47, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 40, 0.12);
  --nav-bg: rgba(240, 242, 255, 0.92);
  --nav-border: rgba(100, 120, 200, 0.15);
  --section-alt-bg: #E8EAF5;
  --trust-icon-bg: rgba(211, 47, 47, 0.08);
  --trust-icon-color: #D32F2F;
}

/* ============================================================
   GLOBAL CYBER PATTERNS & ANIMATIONS
   ============================================================ */

/* Scan line overlay on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.012) 2px,
    rgba(0, 229, 255, 0.012) 4px
  );
  pointer-events: none;
  z-index: 9998;
  animation: scanlines 8s linear infinite;
}

[data-theme="light"] body::after {
  display: none;
}

@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

/* Animated glow pulse */
@keyframes glow-pulse-red {
  0%, 100% { box-shadow: 0 0 10px rgba(211, 47, 47, 0.3), 0 0 30px rgba(211, 47, 47, 0.1); }
  50% { box-shadow: 0 0 20px rgba(211, 47, 47, 0.6), 0 0 60px rgba(211, 47, 47, 0.2); }
}

@keyframes glow-pulse-cyan {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.3), 0 0 30px rgba(0, 229, 255, 0.1); }
  50% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 60px rgba(0, 229, 255, 0.2); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 4px rgba(211, 47, 47, 0.8); }
  50% { opacity: 0.6; transform: scale(1.8); box-shadow: 0 0 12px rgba(211, 47, 47, 1); }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes data-stream {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

@keyframes border-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes count-glow {
  0% { text-shadow: 0 0 20px rgba(0, 229, 255, 0); }
  50% { text-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.2); }
  100% { text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
}

@keyframes hex-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Cyber grid background */
.cyber-grid-bg {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color 0.4s ease;
}

/* Cyan accent line at very top */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 229, 255, 0.4) 20%,
    rgba(211, 47, 47, 0.6) 50%,
    rgba(0, 229, 255, 0.4) 80%,
    transparent
  );
}

[data-theme="light"] .nav::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 100, 200, 0.3) 20%,
    rgba(211, 47, 47, 0.4) 50%,
    rgba(0, 100, 200, 0.3) 80%,
    transparent
  );
}

.nav__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-text);
  transition: color var(--transition-interactive);
  letter-spacing: -0.02em;
}

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

.nav__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(211, 47, 47, 0.5));
  transition: filter var(--transition-interactive);
}

.nav__logo:hover svg {
  filter: drop-shadow(0 0 12px rgba(211, 47, 47, 0.8));
}

[data-theme="light"] .nav__logo svg {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

/* Glowing dot indicator */
.nav__link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-cyan);
  opacity: 0;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  transition: opacity var(--transition-interactive);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-red));
  transition: width 0.3s var(--ease-out);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.nav__link:hover {
  color: #E8E8F0;
}

[data-theme="light"] .nav__link:hover {
  color: #0a0f1e;
}

.nav__link:hover::before {
  opacity: 1;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--color-text-muted);
  transition: all var(--transition-interactive);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.theme-toggle:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--color-accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 40, 0.04);
  border-color: rgba(0, 100, 200, 0.2);
  color: var(--color-text-muted);
  clip-path: none;
  border-radius: var(--radius-md);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 100, 200, 0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

/* Mobile nav toggle */
.nav__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: var(--space-6);
    gap: var(--space-6);
    border-bottom: 1px solid var(--nav-border);
  }

  .nav__link::before { display: none; }

  .nav__links.active {
    display: flex;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .nav__cta-desktop {
    display: none !important;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050510;
  color: #E8E8F0;
}

/* Scan line overlay on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 229, 255, 0.008) 3px,
    rgba(0, 229, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 3;
}

.hero__canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at center, rgba(5, 5, 16, 0.55) 0%, rgba(5, 5, 16, 0.4) 40%, rgba(5, 5, 16, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: var(--space-6);
}

/* HUD Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--color-accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  position: relative;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 20px rgba(0, 229, 255, 0.03);
}

/* Cursor blink after badge text */
.hero__badge::after {
  content: '_';
  display: inline-block;
  animation: blink-cursor 1s step-end infinite;
  color: var(--color-accent-cyan);
  margin-left: 2px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-red);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  color: #E8E8F0;
  text-shadow:
    0 0 40px rgba(211, 47, 47, 0.3),
    0 0 80px rgba(211, 47, 47, 0.1),
    0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero__title-accent {
  background: linear-gradient(135deg, #D32F2F 0%, #FF5252 50%, #FF8A80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(211, 47, 47, 0.4));
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: rgba(232, 232, 240, 0.7);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  font-family: var(--font-body);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  min-height: 48px;
  position: relative;
  font-family: var(--font-body);
  border-radius: 0;
}

.btn--primary {
  background: linear-gradient(135deg, #D32F2F, #FF5252);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.6), 0 0 60px rgba(211, 47, 47, 0.2);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(211, 47, 47, 0.4);
}

.btn--outline {
  background: transparent;
  color: #E8E8F0;
  border: 1px solid rgba(0, 229, 255, 0.4);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.btn--outline:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--color-accent-cyan);
}

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

/* Themed outline button for non-hero sections */
.btn--outline-themed {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-bright);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn--outline-themed:hover {
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.2);
}

.btn--small {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  min-height: 36px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
  position: relative;
}

/* Cyber grid background for all sections */
.section {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
}

[data-theme="light"] .section {
  background-image: none;
}

.section--alt {
  background-color: var(--section-alt-bg);
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

[data-theme="light"] .section--alt {
  background-image: none;
}

.section__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-4);
}

.section__label::before {
  content: '//';
  color: var(--color-accent-red);
  font-weight: 700;
}

[data-theme="light"] .section__label {
  color: #0066cc;
}

[data-theme="light"] .section__label::before {
  color: var(--color-accent-red);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .section__title,
:root .section__title {
  text-shadow: 0 0 30px rgba(211, 47, 47, 0.15);
}

[data-theme="light"] .section__title {
  text-shadow: none;
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products__grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: var(--space-8);
  box-shadow: var(--card-shadow);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* Glowing top border */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #D32F2F, #FF5252, #D32F2F);
  opacity: 0.6;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

/* Ambient glow behind card */
.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.06), rgba(0, 229, 255, 0.04), rgba(124, 77, 255, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(211, 47, 47, 0.08);
  border-color: rgba(211, 47, 47, 0.22);
}

.product-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.6);
}

.product-card:hover::after {
  opacity: 1;
}

[data-theme="light"] .product-card {
  clip-path: none;
  border-radius: var(--radius-xl);
  backdrop-filter: none;
}

[data-theme="light"] .product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 40, 0.12), 0 0 20px rgba(211, 47, 47, 0.08);
}

.product-card__icon {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-accent-red);
  position: relative;
  clip-path: none;
  transition: all 0.3s var(--ease-out);
}

.product-card:hover .product-card__icon {
  background: none;
  box-shadow: none;
  color: var(--color-accent-red-bright);
  filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.5));
}

[data-theme="light"] .product-card__icon {
  clip-path: none;
  border-radius: 0;
}

.product-card__icon svg {
  width: 26px;
  height: 26px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent-cyan);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-interactive);
}

[data-theme="light"] .product-card__link {
  color: var(--color-primary);
}

.product-card__link:hover {
  gap: var(--space-3);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

[data-theme="light"] .product-card__link:hover {
  color: var(--color-primary-hover);
  text-shadow: none;
}

.product-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}

.product-card__link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* First cap-card spans 2 columns to break the symmetric grid */
.capabilities__grid .cap-card:first-child {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .capabilities__grid { grid-template-columns: repeat(3, 1fr); }
  .capabilities__grid .cap-card:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities__grid .cap-card:first-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .capabilities__grid { grid-template-columns: 1fr; }
  .capabilities__grid .cap-card:first-child { grid-column: span 1; }
}

.cap-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: var(--space-5);
  box-shadow: var(--card-shadow);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Accent top bar */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-accent-cyan) 0%,
    var(--color-accent-red) 60%,
    transparent 100%
  );
  opacity: 0.5;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .cap-card {
  border-radius: var(--radius-xl);
  backdrop-filter: none;
}

.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 14px rgba(0, 229, 255, 0.07);
  border-color: rgba(211, 47, 47, 0.15);
}

.cap-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.cap-card__icon-wrap {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent-cyan);
  transition: all 0.3s var(--ease-out);
}

[data-theme="light"] .cap-card__icon-wrap {
  background: none;
  border: none;
  color: var(--color-primary);
  border-radius: 0;
}

.cap-card:hover .cap-card__icon-wrap {
  background: none;
  box-shadow: none;
  color: var(--color-accent-cyan);
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.45));
}

[data-theme="light"] .cap-card:hover .cap-card__icon-wrap {
  background: none;
  box-shadow: none;
  filter: none;
  color: var(--color-primary);
}

.cap-card__icon-wrap svg {
  width: 20px;
  height: 20px;
}

.cap-card__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.cap-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  overflow: hidden;
}

.how-it-works__track {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-4) 0;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Terminal-style step cards */
.step-card {
  flex: 0 1 320px;
  background: rgba(5, 5, 16, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.15);
  padding: 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Top accent line */
.step-card::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-red), var(--color-accent-cyan));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

.step-card::after {
  display: none;
}

.step-card-inner {
  padding: var(--space-6) var(--space-8) var(--space-8);
}

[data-theme="light"] .step-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 100, 200, 0.15);
  border-radius: var(--radius-xl);
  backdrop-filter: none;
}

[data-theme="light"] .step-card::before {
  background: rgba(0, 100, 200, 0.04);
  border-bottom-color: rgba(0, 100, 200, 0.1);
}

.step-card__number {
  width: 44px;
  height: 44px;
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.3);
  color: var(--color-accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-5);
  animation: none;
  letter-spacing: -0.02em;
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.15);
}

[data-theme="light"] .step-card__number {
  animation: none;
  border-radius: var(--radius-md);
  background: rgba(211, 47, 47, 0.06);
  box-shadow: none;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.step-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-family: var(--font-body);
  letter-spacing: 0;
}

[data-theme="light"] .step-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

/* Animated connector lines */
.step-connector {
  display: none;
  align-items: center;
  flex: 0 0 60px;
  position: relative;
}

@media (min-width: 1100px) {
  .step-connector {
    display: flex;
  }

  .how-it-works__track {
    flex-wrap: nowrap;
  }
}

.step-connector__line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-red), var(--color-accent-cyan));
  position: relative;
  overflow: hidden;
}

/* Animated energy pulse on connector */
.step-connector__line::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 40%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.8), transparent);
  animation: data-stream 2s linear infinite;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.step-connector__line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--color-accent-cyan);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.8));
}

@media (max-width: 768px) {
  .how-it-works__track {
    flex-direction: column;
    align-items: stretch;
  }

  .step-card {
    flex: none;
    width: 100%;
  }

  .step-connector {
    justify-content: center;
    flex: 0 0 40px;
  }

  .step-connector__line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-accent-red), var(--color-accent-cyan));
  }

  .step-connector__line::before {
    top: -100%;
    left: -2px;
    width: 6px;
    height: 40%;
    animation: none;
  }

  .step-connector__line::after {
    right: auto;
    left: 50%;
    bottom: -6px;
    top: auto;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--color-accent-cyan);
    border-bottom: none;
  }
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 992px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .industries__grid { grid-template-columns: 1fr; }
}

.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--card-shadow);
  transition: all 0.35s var(--ease-out);
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Holographic shimmer border on hover */
.industry-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(211, 47, 47, 0.5),
    rgba(0, 229, 255, 0.5),
    rgba(124, 77, 255, 0.5),
    rgba(211, 47, 47, 0.5)
  );
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: border-shimmer 4s ease infinite;
  z-index: -1;
}

.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.industry-card:hover::before {
  opacity: 0.6;
}

[data-theme="light"] .industry-card {
  border-radius: var(--radius-xl);
  backdrop-filter: none;
}

[data-theme="light"] .industry-card::before {
  display: none;
}

[data-theme="light"] .industry-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 40, 0.1), 0 0 20px rgba(211, 47, 47, 0.08);
  border-color: rgba(211, 47, 47, 0.2);
}

.industry-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 0 var(--space-4);
  color: var(--color-accent-cyan);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.industry-card__icon::before {
  display: none;
}

.industry-card:hover .industry-card__icon {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
}

[data-theme="light"] .industry-card__icon {
  color: var(--color-primary);
}

[data-theme="light"] .industry-card__icon::before {
  background: rgba(211, 47, 47, 0.05);
  border-color: rgba(211, 47, 47, 0.12);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .industry-card:hover .industry-card__icon {
  color: var(--color-primary);
  filter: none;
}

.industry-card__icon svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 1;
}

.industry-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.industry-card__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: linear-gradient(135deg, #050510 0%, #0d0520 50%, #050510 100%);
  color: #E8E8F0;
  position: relative;
  overflow: hidden;
}

/* Digital rain effect backdrop */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 20% 50%, rgba(211, 47, 47, 0.1), transparent 50%),
    radial-gradient(600px circle at 80% 50%, rgba(0, 229, 255, 0.08), transparent 50%),
    radial-gradient(400px circle at 50% 50%, rgba(124, 77, 255, 0.06), transparent 60%);
  pointer-events: none;
}

/* Cyber grid on stats */
.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
  position: relative;
  padding: var(--space-6) var(--space-4);
}

/* Glowing underline */
.stat-item::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-red));
  margin: var(--space-3) auto 0;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.stat-item__number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-2);
  color: #FFFFFF;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  animation: none;
}

.stat-item__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(136, 136, 170, 0.9);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   TRUST / SECURITY DASHBOARD
   ============================================================ */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.trust__grid .trust-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - var(--space-3));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trust__grid .trust-item:last-child:nth-child(odd) {
    max-width: 100%;
  }
  .trust__grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Security scan line animation */
.trust-item::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  animation: data-stream 4s linear infinite;
  animation-delay: var(--scan-delay, 0s);
}

.trust-item:nth-child(1) { --scan-delay: 0s; }
.trust-item:nth-child(2) { --scan-delay: 0.8s; }
.trust-item:nth-child(3) { --scan-delay: 1.6s; }
.trust-item:nth-child(4) { --scan-delay: 2.4s; }
.trust-item:nth-child(5) { --scan-delay: 3.2s; }

[data-theme="light"] .trust-item {
  border-radius: var(--radius-xl);
  backdrop-filter: none;
}

[data-theme="light"] .trust-item::after {
  display: none;
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  border-color: rgba(211, 47, 47, 0.14);
}

[data-theme="light"] .trust-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 40, 0.1);
  border-color: rgba(211, 47, 47, 0.15);
}

.trust-item__icon {
  width: 48px;
  height: 48px;
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-red);
  animation: none;
  box-shadow: 0 0 8px rgba(211, 47, 47, 0.1);
}

[data-theme="light"] .trust-item__icon {
  animation: none;
  border-radius: var(--radius-lg);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
}

.trust-item__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.trust-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(135deg, #050510 0%, #0a0520 50%, #050510 100%);
  color: #E8E8F0;
  position: relative;
  overflow: hidden;
}

/* Circuit board pattern */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 30% 50%, rgba(211, 47, 47, 0.06), transparent 50%),
    radial-gradient(600px circle at 70% 50%, rgba(0, 229, 255, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Circuit grid pattern */
.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 229, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.contact__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  color: #E8E8F0;
  text-shadow: 0 0 30px rgba(211, 47, 47, 0.2);
}

.contact__subtitle {
  font-size: var(--text-base);
  color: rgba(136, 136, 170, 0.9);
  margin-bottom: var(--space-10);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.contact__form-full {
  grid-column: 1 / -1;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: var(--space-4);
  border: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(5, 5, 16, 0.6);
  color: #E8E8F0;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(8px);
  outline: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: rgba(136, 136, 170, 0.5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(5, 5, 16, 0.8);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1), inset 0 0 20px rgba(0, 229, 255, 0.03);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 600px) {
  .contact__form {
    grid-template-columns: 1fr;
  }
}

.contact__submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

/* Submit button special glow */
.contact__submit-row .btn--primary {
  padding: var(--space-4) var(--space-12);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
}

.contact__submit-row .btn--primary:hover {
  box-shadow: 0 0 40px rgba(211, 47, 47, 0.6), 0 0 80px rgba(211, 47, 47, 0.3), 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   PLATFORM SECTION
   ============================================================ */
.platform__layout {
  max-width: 860px;
  margin: 0 auto;
}

.platform__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: none;
  box-shadow: var(--card-shadow);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Subtle bottom gradient line that appears on hover */
.platform-feature::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.4), rgba(0, 229, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.platform-feature:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  border-color: rgba(211, 47, 47, 0.18);
  background: rgba(211, 47, 47, 0.025);
}

.platform-feature:hover::before {
  opacity: 1;
}

[data-theme="light"] .platform-feature {
  border-radius: var(--radius-xl);
  border-left: none;
  backdrop-filter: none;
}

[data-theme="light"] .platform-feature::before {
  display: none;
}

[data-theme="light"] .platform-feature:hover {
  border-color: rgba(211, 47, 47, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 40, 0.08);
  background: rgba(211, 47, 47, 0.02);
}

.platform-feature__num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent-red);
  opacity: 0.25;
  line-height: 1;
  min-width: 64px;
  flex-shrink: 0;
  letter-spacing: -0.05em;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.platform-feature:hover .platform-feature__num {
  opacity: 1;
  text-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
}

.platform-feature__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.platform-feature__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .platform-feature {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
  }
  .platform-feature__num {
    font-size: var(--text-xl);
    min-width: auto;
  }
  .platform-feature:hover {
    transform: translateX(0) translateY(-4px);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050510;
  border-top: 1px solid rgba(0, 229, 255, 0.06);
  padding: clamp(var(--space-12), 5vw, var(--space-16)) var(--space-6) var(--space-8);
  position: relative;
}

[data-theme="light"] .footer {
  background: var(--color-bg);
  border-top-color: var(--color-divider);
}

/* Top accent line */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(211, 47, 47, 0.4) 30%,
    rgba(0, 229, 255, 0.4) 70%,
    transparent
  );
}

[data-theme="light"] .footer::before {
  display: none;
}

.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.footer__logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(211, 47, 47, 0.4));
}

[data-theme="light"] .footer__logo svg {
  filter: none;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

[data-theme="light"] .footer__col-title {
  color: var(--color-text-muted);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), text-shadow var(--transition-interactive);
}

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

[data-theme="dark"] .footer__col-link:hover,
:root .footer__col-link:hover {
  text-shadow: 0 0 10px rgba(232, 232, 240, 0.3);
}

[data-theme="light"] .footer__col-link:hover {
  color: var(--color-primary);
  text-shadow: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
  gap: var(--space-4);
}

[data-theme="light"] .footer__bottom {
  border-top-color: var(--color-divider);
}

.footer__copyright {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-interactive);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

[data-theme="light"] .footer__social-link {
  background: rgba(0, 0, 40, 0.04);
  border-color: rgba(0, 0, 40, 0.1);
  clip-path: none;
  border-radius: var(--radius-full);
}

.footer__social-link:hover {
  background: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
}

[data-theme="light"] .footer__social-link:hover {
  box-shadow: none;
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   SECTION PADDING VARIATION
   Intentional rhythm: stats tight, industries generous, contact spacious
   ============================================================ */

/* Stats: smaller section, tighter vertical rhythm */
.stats {
  padding-top: clamp(var(--space-10), 4vw, var(--space-16));
  padding-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

/* Industries: slightly more air, content is visually dense */
#industries.section {
  padding-top: clamp(var(--space-20), 9vw, calc(var(--space-32) + var(--space-8)));
  padding-bottom: clamp(var(--space-20), 9vw, calc(var(--space-32) + var(--space-8)));
}

/* Contact: generous top padding — feels like its own world */
.contact {
  padding-top: clamp(var(--space-24), 12vw, calc(var(--space-32) + var(--space-16)));
  padding-bottom: clamp(var(--space-20), 8vw, var(--space-32));
}

/* ============================================================
   GSAP ANIMATION CLASSES
   ============================================================ */
.gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-fade-in {
  opacity: 0;
}

.gsap-scale-in {
  opacity: 0;
  transform: scale(0.9);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.mono {
  font-family: var(--font-mono);
  font-size: 0.8em;
  letter-spacing: 0.05em;
}

/* Neon text utilities */
.text-glow-red {
  text-shadow: 0 0 20px rgba(211, 47, 47, 0.6);
}

.text-glow-cyan {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

/* HUD corner decorations for cards */
.hud-corners {
  position: relative;
}

.hud-corners::before,
.hud-corners::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(0, 229, 255, 0.4);
  border-style: solid;
}

.hud-corners::before {
  top: 8px;
  right: 8px;
  border-width: 1px 1px 0 0;
}

.hud-corners::after {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1px 1px;
}

/* ============================================================
   MOBILE ENHANCEMENTS
   Added: April 2026 — Mobile polish pass
   ============================================================ */

/* ---- Hero: reduce empty space on mobile ---- */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    align-items: center;
  }

  .hero__content {
    padding-top: calc(var(--nav-height, 64px) + var(--space-8));
    padding-bottom: var(--space-8);
  }

  .hero__title {
    font-size: clamp(2.4rem, 6vw + 1rem, 5rem);
  }

  .hero__badge {
    margin-bottom: var(--space-5);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }
}

/* ---- Touch targets: product card "Learn more" links ---- */
@media (max-width: 768px) {
  .product-card__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: var(--space-2) var(--space-4);
    margin-left: calc(-1 * var(--space-4));
    border-radius: var(--radius-md);
    width: fit-content;
  }
}

/* ---- "Talk to Us" hero outline button: taller on mobile ---- */
@media (max-width: 768px) {
  .btn--outline {
    min-height: 48px;
  }
}

/* ---- Nav: spacing between theme toggle and hamburger ---- */
@media (max-width: 768px) {
  .nav__actions {
    gap: var(--space-3);
  }
}

/* ---- Section vertical padding: tighten on mobile ---- */
@media (max-width: 768px) {
  .section {
    padding-top: clamp(var(--space-10), 7vw, var(--space-16));
    padding-bottom: clamp(var(--space-10), 7vw, var(--space-16));
  }

  .section__header {
    margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  }
}

/* ---- Product card padding: reduce on mobile ---- */
@media (max-width: 640px) {
  .product-card {
    padding: 1.25rem;
  }
}

/* ---- Capability cards: single column at 480px ---- */
@media (max-width: 480px) {
  .capabilities__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .cap-card {
    padding: var(--space-4);
  }
}

/* ---- Industries grid: 2-col tablet, 1-col phone with left-aligned content ---- */
@media (max-width: 992px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .industries__grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
  }

  .industry-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .industry-card__name {
    margin-top: 0;
  }
}

/* ---- Footer nav links: larger tap targets ---- */
@media (max-width: 768px) {
  .footer__col-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: var(--space-1) 0;
  }

  .footer__col-links {
    gap: 0;
  }
}

/* ---- Stats: tighten on phone ---- */
@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat-item {
    padding: var(--space-4) var(--space-2);
  }

  .stat-item__number {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ---- Trust grid: single column on phone ---- */
@media (max-width: 480px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .trust__grid .trust-item:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }
}

/* ---- How It Works: tighten on mobile ---- */
@media (max-width: 768px) {
  .how-it-works__track {
    gap: var(--space-3);
  }
}

/* ---- Platform features: more readable on mobile ---- */
@media (max-width: 600px) {
  .platform-feature {
    gap: var(--space-3);
  }

  .platform-feature__num {
    font-size: 1.25rem;
    min-width: 2rem;
  }
}


/* ---- Hero scroll hint ---- */
.hero__scroll-hint {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  animation: bounce-scroll 2s ease-in-out infinite;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.hero__scroll-hint:hover {
  opacity: 1;
}

.hero__scroll-hint svg {
  color: var(--color-accent-cyan);
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.4));
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


/* ============================================================
   ENHANCEMENT: Splitting.js Character Reveal
   ============================================================ */

/* Keep the hero title visible by default (splitting handles visibility) */
.hero__title {
  opacity: 1 !important;
}

.hero__title .word {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

.hero__title .char {
  opacity: 0;
  transform: translateY(40px);
  display: inline-block;
  animation: char-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.8s + var(--char-index) * 30ms);
}

.hero__title-accent .char {
  animation-delay: calc(1.2s + var(--char-index) * 35ms);
}

@keyframes char-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ENHANCEMENT: Odometer Digit Spinner
   ============================================================ */

.stat-digit-wrapper {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  height: 1em;
}

.stat-digit-container {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}

.stat-digit-column {
  display: flex;
  flex-direction: column;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.stat-digit-column span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.stat-suffix {
  display: inline-block;
  vertical-align: top;
}

/* Stat items fade in as a group */
.stat-item {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item.digit-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   ENHANCEMENT: CSS Scroll-Driven Clip Reveal (progressive)
   ============================================================ */

@supports (animation-timeline: scroll()) {
  /* Clip-path reveal only - GSAP handles opacity/transform to avoid conflicts */
  .cap-card,
  .industry-card,
  .trust-item,
  .platform-feature {
    animation: clip-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }

  /* Product cards: keep clip-path reveal but don't override transform (needed for magnetic tilt) */
  .product-card {
    animation: clip-path-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes clip-reveal {
  from {
    clip-path: inset(15% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes clip-path-reveal {
  from {
    clip-path: polygon(0 15%, calc(100% - 20px) 15%, 100% calc(15% + 20px), 100% 100%, 20px 100%, 0 calc(100% - 20px));
  }
  to {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  }
}

/* ============================================================
   ENHANCEMENT: Hover Glow Border (rotating gradient)
   ============================================================ */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Overlay gradient ring via box-shadow + pseudo - compatible with clip-path cards */
.product-card,
.cap-card,
.industry-card {
  --border-angle: 0deg;
}

/* Use a separate ::after layer for the animated border glow */
.product-card:hover,
.cap-card:hover,
.industry-card:hover {
  animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
  to {
    --border-angle: 360deg;
  }
}

/* For cap-card and industry-card which don't have clip-path, use full border effect */
.cap-card,
.industry-card {
  border: 1px solid var(--card-border);
  background-clip: padding-box;
}

.cap-card:hover,
.industry-card:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px transparent,
    inset 0 0 0 1px rgba(0,229,255,0.4),
    0 0 20px rgba(211,47,47,0.15),
    0 0 40px rgba(0,229,255,0.08);
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    linear-gradient(var(--border-angle), rgba(211, 47, 47, 0.7), rgba(0, 229, 255, 0.7), rgba(124, 77, 255, 0.5), rgba(211, 47, 47, 0.7)) border-box;
  border: 1px solid transparent;
}

/* Product cards: glow ring via outline (avoids clip-path conflict) */
.product-card:hover {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 229, 255, 0.3),
    0 0 20px rgba(211, 47, 47, 0.2),
    0 0 40px rgba(0, 229, 255, 0.1);
}

/* ============================================================
   ENHANCEMENT: Typewriter Cursor for Section Labels
   ============================================================ */

.section__label.typing {
  overflow: hidden;
  white-space: nowrap;
}

.section__label.typing::after {
  content: '_';
  display: inline-block;
  margin-left: 2px;
  opacity: 1;
  animation: blink-label-cursor 0.75s step-end infinite;
  color: var(--color-accent-cyan);
  font-weight: 400;
}

@keyframes blink-label-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   ENHANCEMENT: Magnetic Card Tilt - transform-style
   ============================================================ */

.product-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================================
   MOBILE: Reduce animation intensity
   ============================================================ */

@media (max-width: 768px) {
  .hero__title .char {
    animation-duration: 0.4s;
  }

  @supports (animation-timeline: scroll()) {
    .product-card,
    .cap-card,
    .industry-card,
    .trust-item,
    .platform-feature {
      animation-range: entry 0% entry 60%;
    }
  }
}

/* ============================================================
   ENHANCEMENT: Reduced motion - respect OS preference
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero__title .char {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .stat-digit-column {
    transition: none;
  }

  @supports (animation-timeline: scroll()) {
    .product-card,
    .cap-card,
    .industry-card,
    .trust-item,
    .platform-feature {
      animation: none;
    }
  }
}

/* ============================================================
   PRODUCT SHOWCASE - Full bleed visual break
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #050510;
}

.showcase__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.showcase__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.showcase__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.7) saturate(1.1);
}

.showcase__item:hover .showcase__image {
  transform: scale(1.05);
  filter: brightness(0.85) saturate(1.2);
}

.showcase__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(0deg, rgba(5, 5, 16, 0.9) 0%, rgba(5, 5, 16, 0.4) 60%, transparent 100%);
  z-index: 2;
}

.showcase__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.showcase__caption {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(232, 232, 240, 0.8);
  line-height: 1.5;
  max-width: 400px;
}

@media (max-width: 768px) {
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase__overlay {
    padding: 1.5rem;
  }
}

[data-theme="light"] .showcase__image {
  filter: brightness(0.85) saturate(1.0);
}

[data-theme="light"] .showcase__item:hover .showcase__image {
  filter: brightness(0.95) saturate(1.05);
}

[data-theme="light"] .showcase__overlay {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 60%, transparent 100%);
}

[data-theme="light"] .showcase__label {
  color: var(--color-primary);
}

[data-theme="light"] .showcase__caption {
  color: var(--color-text-muted);
}

/* ============================================================
   INNOVATION: Scroll Progress Bar
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-red), var(--color-accent-cyan));
  width: 0%;
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* ============================================================
   INNOVATION: Hero Live Badge
   ============================================================ */

.hero__live-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__live-separator {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(136, 136, 170, 0.4);
  margin: 0 0.35em;
}

.hero__live-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-cyan);
  letter-spacing: 0.05em;
}

.hero__live-suffix {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: 0.25em;
}

/* ============================================================
   INNOVATION: Stats Timestamp
   ============================================================ */

.stats__timestamp {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(136, 136, 170, 0.5);
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   INNOVATION: Product Card Hover Detail Line
   ============================================================ */

.product-card__detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-cyan);
  background: linear-gradient(0deg, rgba(0, 229, 255, 0.07) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover .product-card__detail {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INNOVATION: Subtle Noise Texture (dark mode)
   ============================================================ */

[data-theme="dark"] body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   INNOVATION: Nav Active Section Indicator
   ============================================================ */

.nav__link--active {
  color: var(--color-text) !important;
}

/* Active dot: override the hover underline pseudo-element */
.nav__link--active::after {
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: var(--color-accent-red) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: -6px !important;
  box-shadow: 0 0 6px rgba(211, 47, 47, 0.7);
}
