/* ============================================
   SATREACH — ROOT CSS
   Complete styles for index.html (homepage)
   Generated from page structure — April 2026
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Primary Color Palette */
  --primary: #00c8ff;
  --primary-rgb: 0, 200, 255;
  --primary-dark: #0099cc;
  --primary-light: #66dfff;
  --secondary: #0066ff;
  --secondary-rgb: 0, 102, 255;
  --accent: #00ff88;
  --accent-rgb: 0, 255, 136;
  --accent-orange: #ff6b35;
  --accent-purple: #a855f7;

  /* Background Colors */
  --bg-dark: #030308;
  --bg-darker: #010103;
  --bg-card: rgba(10, 10, 26, 0.6);
  --bg-card-solid: #0a0a1a;
  --bg-card-hover: rgba(15, 15, 37, 0.8);
  --bg-glass: rgba(10, 10, 30, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.02);
  --bg-gradient: linear-gradient(135deg, #030308 0%, #07071a 50%, #0a0a20 100%);
  --bg-mesh:
    radial-gradient(at 40% 20%, rgba(0, 200, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(0, 102, 255, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(0, 255, 136, 0.03) 0px, transparent 50%);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #c8cce0;
  --text-muted: #8b90a8;
  --text-dim: #5a5f7a;

  /* Border & Glow */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 200, 255, 0.25);
  --border-active: rgba(0, 200, 255, 0.5);
  --border-glass: rgba(255, 255, 255, 0.08);
  --glow-primary: 0 0 60px rgba(0, 200, 255, 0.15);
  --glow-intense: 0 0 100px rgba(0, 200, 255, 0.3);
  --glow-accent: 0 0 60px rgba(0, 255, 136, 0.15);
  --glow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-primary: 'Inter', 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Instrument Sans', sans-serif;

  /* ── n8n Glass System ── */
  --glass-base: rgba(12, 12, 18, 0.65);
  --glass-hover: rgba(18, 18, 28, 0.75);
  --glass-strong: rgba(8, 8, 14, 0.82);
  --border-light: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(255, 255, 255, 0.14);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fluid Typography Scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.125rem, 1rem + 0.75vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-4xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-5xl: clamp(2.5rem, 2rem + 3vw, 4rem);
  --text-6xl: clamp(3rem, 2rem + 5vw, 6rem);
  --text-hero: clamp(2.25rem, 0.5rem + 3.5vw, 4.5rem);

  /* Spacing Scale (Fluid) */
  --space-xs: clamp(4px, 0.25rem, 6px);
  --space-sm: clamp(8px, 0.5rem, 12px);
  --space-md: clamp(16px, 1rem + 0.5vw, 20px);
  --space-lg: clamp(24px, 1.5rem + 0.5vw, 32px);
  --space-xl: clamp(32px, 2rem + 1vw, 48px);
  --space-2xl: clamp(48px, 3rem + 1.5vw, 64px);
  --space-3xl: clamp(64px, 4rem + 2vw, 96px);
  --space-4xl: clamp(96px, 6rem + 3vw, 128px);
  --space-5xl: clamp(128px, 8rem + 4vw, 192px);

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  --container-max: 1800px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 32px 80px rgba(0, 0, 0, 0.7);
  --shadow-inner: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.2);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
  --transition-slower: 800ms var(--ease-out-expo);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-modal: 1000;
  --z-cursor: 9999;
  --z-loader: 10000;
}

/* ============================================
   2. CSS RESET & BASE STYLES
   ============================================ */
*,
*::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;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  background-image: var(--bg-mesh);
  background-attachment: fixed;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--primary-rgb), 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(var(--secondary-rgb), 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: var(--primary);
  color: var(--bg-dark);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-rgb), 0.5);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   3. CONTAINER SYSTEM
   ============================================ */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-2xl,
.container-full {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container {
  max-width: var(--container-xl);
}
.container-sm {
  max-width: var(--container-sm);
}
.container-md {
  max-width: var(--container-md);
}
.container-lg {
  max-width: var(--container-lg);
}
.container-xl {
  max-width: var(--container-xl);
}
.container-2xl {
  max-width: var(--container-2xl);
}
.container-full {
  max-width: var(--container-max);
}

.container-fluid {
  width: 100%;
  padding-inline: clamp(var(--space-lg), 5vw, var(--space-3xl));
}

/* ============================================
   4. FLEX & GRID UTILITIES
   ============================================ */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}
.gap-xl {
  gap: var(--space-xl);
}
.gap-2xl {
  gap: var(--space-2xl);
}

.flex-1 {
  flex: 1 1 0%;
}
.flex-none {
  flex: none;
}
.flex-grow {
  flex-grow: 1;
}

.grid {
  display: grid;
}

/* ============================================
   5. SPACING UTILITIES
   ============================================ */
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mt-2xl {
  margin-top: var(--space-2xl);
}
.mt-3xl {
  margin-top: var(--space-3xl);
}

.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}
.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mx-auto {
  margin-inline: auto;
}

.py-xl {
  padding-block: var(--space-xl);
}
.py-2xl {
  padding-block: var(--space-2xl);
}

/* ============================================
   6. NOISE TEXTURE OVERLAY
   ============================================ */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  mix-blend-mode: overlay;
}

/* ============================================
   6B. GLASS PANEL SYSTEM (n8n-Inspired)
   ============================================ */

.glass-panel {
  background: var(--glass-base);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-panel:hover::before {
  opacity: 1;
}
.glass-panel > * {
  position: relative;
  z-index: 1;
}

/* Feature card — used on solutions page */
.feature-card {
  background: var(--glass-base);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover::after {
  opacity: 1;
}
.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  background: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-lg);
  font-size: var(--text-2xl);
  color: var(--primary);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), transparent);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.25);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), transparent);
}

.feature-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-muted);
}

.section-light .feature-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

.section-light .feature-card:hover {
  background: #ffffff;
  border-color: rgba(var(--primary-rgb), 0.25);
}

.section-light .feature-title {
  color: #0a0a12;
}
.section-light .feature-desc {
  color: #5a5a6a;
}

/* Ambient glow orb helpers */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

/* ============================================
   7. LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  transition:
    opacity 0.8s var(--ease-out-expo),
    visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-orbit {
  width: 100px;
  height: 100px;
  position: relative;
}

.loader-orbit::before,
.loader-orbit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
}

.loader-orbit::before {
  border-top-color: var(--primary);
  border-right-color: rgba(var(--primary-rgb), 0.3);
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 10px var(--primary));
}

.loader-orbit::after {
  border-bottom-color: var(--secondary);
  border-left-color: rgba(var(--secondary-rgb), 0.3);
  inset: 12px;
  animation: spin 1.5s linear infinite reverse;
  filter: drop-shadow(0 0 10px var(--secondary));
}

.loader-orbit .core {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 20px rgba(var(--primary-rgb), 0.5),
    0 0 40px rgba(var(--primary-rgb), 0.3);
  animation: pulse-core 2s ease-in-out infinite;
}

@keyframes pulse-core {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.8;
}

.loader-progress {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.loader-progress::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
  animation: shimmer 2s infinite;
}

.loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  width: 0%;
  transition: width 0.3s var(--ease-out-expo);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

/* ============================================
   8. CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: var(--radius-full);
  transition:
    transform 0.15s var(--ease-out-expo),
    opacity 0.15s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  mix-blend-mode: screen;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.cursor-ring {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  backdrop-filter: blur(2px);
}

.cursor-ring.hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.cursor-dot.hover {
  transform: scale(1.8);
}

@media (max-width: 1024px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ============================================
   9. NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0 clamp(var(--space-lg), 5vw, 80px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 3, 8, 0.72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-slow);
}

.nav.scrolled {
  height: 60px;
  background: rgba(3, 3, 8, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
}

.nav-brand .icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.nav-brand .icon::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: icon-rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-brand:hover .icon::before {
  opacity: 1;
}

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

.nav-brand .icon svg {
  width: 17px;
  height: 17px;
  fill: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.nav-brand span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  padding: 6px 14px;
  position: relative;
  transition: var(--transition-base);
  border-radius: var(--radius-md);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition-base);
}

.nav-menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

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

.nav-cta {
  padding: 9px 20px;
  background: var(--primary);
  border: none;
  color: var(--bg-dark);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: var(--transition-base);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: var(--transition-base);
}

.nav-cta:hover {
  color: var(--bg-dark);
  box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.45);
  transform: translateY(-1px);
}

.nav-cta:hover::before {
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: var(--space-sm);
  position: relative;
  z-index: 10;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-base);
  display: block;
  border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--primary);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--primary);
}

@media (max-width: 1024px) {
  .nav {
    padding: 0 var(--space-lg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 90px var(--space-2xl) var(--space-2xl);
    gap: var(--space-sm);
    align-items: flex-start;
    transition: right 0.5s var(--ease-out-expo);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.05), transparent);
    pointer-events: none;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: var(--text-sm);
    padding: var(--space-md) var(--space-lg);
    width: 100%;
  }

  .hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
}

/* ============================================
   10. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-inline: clamp(var(--space-lg), 5vw, var(--space-3xl));
  background-color: var(--bg-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
  filter: brightness(0.55);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(3, 3, 8, 0.88) 0%,
      rgba(3, 3, 8, 0.65) 40%,
      rgba(3, 3, 8, 0.18) 75%,
      rgba(3, 3, 8, 0.05) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(3, 3, 8, 0.2) 0%,
      transparent 30%,
      transparent 60%,
      rgba(3, 3, 8, 0.95) 100%
    );
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.hero-color-cycle {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.32;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 80% 70% at 20% 50%, rgba(0, 200, 255, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 78% 40%, rgba(0, 102, 255, 0.4) 0%, transparent 60%);
  animation: heroCycle 28s linear infinite;
  pointer-events: none;
}

@keyframes heroCycle {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(
      ellipse 60% 80% at 70% 70%,
      rgba(var(--secondary-rgb), 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%),
    linear-gradient(to bottom, transparent 35%, var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  min-width: 0;
}

.hero-body {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-2xl), 6vw, var(--space-5xl));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-badge::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.hero-badge .pulse {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--accent), #00cc66);
  border-radius: var(--radius-full);
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 0.5s forwards;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  display: inline-block;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: nowrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.1s forwards;
}

.hero-stat {
  position: relative;
}

.hero-stat .value {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

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

.hero-stat .label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: var(--space-sm);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: clamp(var(--space-lg), 5vw, var(--space-4xl));
  transform: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.5s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2.5s ease infinite;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 4px;
  color: var(--text-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Hero Visual (orbits) — hidden, Three.js canvas renders its own */
.hero-visual {
  display: none;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  animation: orbitRotate 30s linear infinite;
  filter: drop-shadow(0 0 6px var(--primary)) drop-shadow(0 0 18px rgba(var(--primary-rgb), 0.7));
}

.hero-orbit:nth-child(2) {
  inset: 15%;
  animation-duration: 25s;
  animation-direction: reverse;
  border-color: var(--secondary);
  filter: drop-shadow(0 0 6px var(--secondary))
    drop-shadow(0 0 18px rgba(var(--secondary-rgb), 0.7));
}

.hero-orbit:nth-child(3) {
  inset: 30%;
  animation-duration: 20s;
  border-color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.7));
}

.hero-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow:
    0 0 30px var(--primary),
    0 0 60px rgba(var(--primary-rgb), 0.5);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-satellite::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 1600px) {
  .hero {
    padding-inline: clamp(var(--space-2xl), 6vw, var(--space-5xl));
  }

  .hero-body {
    max-width: 1520px;
    gap: clamp(var(--space-3xl), 7vw, calc(var(--space-5xl) + var(--space-xl)));
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-subtitle {
    max-width: 640px;
  }

  .hero-stats {
    gap: clamp(var(--space-2xl), 4vw, var(--space-4xl));
  }
}

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

/* Keyframes shared with hero */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0);
    transform: scale(1.05);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============================================
   10B. PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg-darker);
}

/* Animated mesh background */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 100% 80% at -10% 50%,
      rgba(var(--primary-rgb), 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 60% at 110% 20%,
      rgba(var(--secondary-rgb), 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse 50% 50% at 60% 90%, rgba(var(--accent-rgb), 0.06) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom fade to blend into next section */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  z-index: 3;
  pointer-events: none;
}

/* Optional background image (applied via inline style on .page-hero-bg) */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: brightness(0.12) saturate(0.5);
  transform: scale(1.04);
  transition: transform 14s ease;
  z-index: 0;
}

.page-hero:hover .page-hero-bg {
  transform: scale(1);
}

/* Canvas layer */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}

/* Grid lines overlay */
.page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 40%, transparent 80%);
}

/* Content container */
.page-hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: calc(var(--space-5xl) + 64px) clamp(var(--space-lg), 6vw, var(--space-4xl))
    var(--space-4xl);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1400px;
  margin-inline: auto;
}

/* Breadcrumb */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-xl);
}

.page-hero-breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: var(--primary);
}

.page-hero-breadcrumb .sep {
  opacity: 0.4;
}

.page-hero-breadcrumb .current {
  color: var(--primary);
}

/* Badge pill */
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  padding: 8px var(--space-lg);
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.page-hero-badge .pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
}

/* Title */
.page-hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  max-width: 900px;
}

.page-hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  display: inline-block;
}

/* Subtitle */
.page-hero-subtitle {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: var(--space-2xl);
}

/* CTA buttons row */
.page-hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-4xl);
}

/* Metrics strip — glass bar along bottom */
.page-hero-metrics {
  display: flex;
  gap: 0;
  background: var(--glass-base);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}

.page-hero-metric {
  padding: var(--space-lg) var(--space-xl);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.page-hero-metric:last-child {
  border-right: none;
}

.page-hero-metric-val {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.page-hero-metric-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Scroll indicator */
.page-hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  z-index: 5;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.page-hero-scroll:hover {
  opacity: 0.8;
}

.page-hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  animation: scrollPulse 2s ease-in-out infinite;
}

.page-hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Legacy compatibility for old .hero-badge / .detail-back */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  margin-bottom: var(--space-xl);
}

.detail-back::before {
  content: '←';
  font-style: normal;
  color: var(--primary);
}

.detail-back:hover {
  color: var(--primary);
}

/* Floating accent shapes */
.page-hero-accent {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-gentle 8s ease-in-out infinite;
}

.page-hero-accent-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -10%;
  right: 5%;
  animation-delay: 0s;
}

.page-hero-accent-2 {
  width: clamp(200px, 25vw, 400px);
  height: clamp(200px, 25vw, 400px);
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  bottom: 20%;
  right: 35%;
  animation-delay: -3s;
  opacity: 0.1;
}

@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .page-hero-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
  }
  .page-hero-metrics {
    flex-wrap: wrap;
  }
  .page-hero-metric {
    padding: var(--space-md) var(--space-lg);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 90vh;
  }
  .page-hero-inner {
    padding: calc(var(--space-4xl) + 64px) var(--space-lg) var(--space-3xl);
  }
  .page-hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 0.95;
  }
  .page-hero-subtitle {
    font-size: var(--text-base);
  }
  .page-hero-actions {
    flex-direction: column;
  }
  .page-hero-actions .btn {
    justify-content: center;
  }
  .page-hero-metrics {
    width: 100%;
  }
  .page-hero-metric {
    flex: 1 1 calc(50% - 1px);
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 85vh;
  }
  .page-hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .page-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

/* ============================================
   11. TRUSTED BY SECTION
   ============================================ */
.trusted-section {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition:
    box-shadow 0.5s var(--ease-out-expo),
    border-color 0.5s var(--ease-out-expo),
    background 0.5s var(--ease-out-expo);
}

.trusted-section:hover {
  background: rgba(0, 200, 255, 0.04);
  border-top-color: rgba(0, 200, 255, 0.25);
  border-bottom-color: rgba(0, 200, 255, 0.25);
  box-shadow:
    inset 0 2px 60px rgba(0, 200, 255, 0.08),
    inset 0 -2px 60px rgba(0, 200, 255, 0.08),
    0 0 80px rgba(0, 200, 255, 0.06);
}

.trusted-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-md);
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(var(--space-2xl), 6vw, var(--space-4xl));
  flex-wrap: wrap;
}

.trusted-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.4;
  transition: var(--transition-base);
  letter-spacing: -0.5px;
}

.trusted-section:hover .trusted-logo {
  opacity: 0.75;
  color: var(--primary-light);
  text-shadow:
    0 0 18px rgba(0, 200, 255, 0.55),
    0 0 4px rgba(0, 200, 255, 0.4);
}

.trusted-logo:hover {
  opacity: 1 !important;
  color: var(--primary) !important;
  text-shadow:
    0 0 24px rgba(0, 200, 255, 0.9),
    0 0 8px rgba(0, 200, 255, 0.7),
    0 0 2px #fff !important;
}

/* ============================================
   12. MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    90deg,
    var(--bg-dark),
    rgba(var(--primary-rgb), 0.02),
    var(--bg-dark)
  );
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.marquee-track {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}

.marquee-word {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  transition: var(--transition-slow);
}

.marquee-word.filled {
  -webkit-text-stroke: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.6;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   13. SECTION BASE STYLES
   ============================================ */
.section-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.section > .container-xl,
.section > .container-lg,
.section > .container-md,
.section > .container {
  position: relative;
  z-index: 1;
}
.section {
  padding: clamp(var(--space-2xl), 6vw, var(--space-4xl))
    clamp(var(--space-md), 5vw, var(--space-2xl));
  position: relative;
}

.section-gradient {
  background: linear-gradient(
    180deg,
    var(--bg-dark) 0%,
    rgba(var(--primary-rgb), 0.02) 50%,
    var(--bg-dark) 100%
  );
}

/* Dark canvas sections */
.section-dark-overlay {
  position: relative;
}

.section-dark-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 8, 0.5) 0%,
    rgba(3, 3, 8, 0.2) 50%,
    rgba(3, 3, 8, 0.5) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Light canvas sections */
.section-light {
  --bg-section: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  --text-primary: #0a0a12;
  --text-secondary: #2a2a3a;
  --text-muted: #5a5a6a;
  --text-dim: #8a8a9a;
  --border: rgba(0, 0, 0, 0.08);
  background: var(--bg-section);
  position: relative;
}

.section-light .section-tag {
  color: var(--primary);
}
.section-light .section-title {
  color: var(--text-primary);
}
.section-light .section-desc {
  color: var(--text-secondary);
}

.section-light-overlay {
  position: relative;
}

.section-light-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 252, 0.8) 0%,
    rgba(248, 249, 252, 0.5) 50%,
    rgba(248, 249, 252, 0.8) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Canvas background element */
.section-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above canvas */
.section > .container-xl,
.section > .container-lg,
.section > .container {
  position: relative;
  z-index: 1;
}

/* Section header */
.section-header {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header.centered .section-tag::before {
  display: none;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
}

.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 600px;
}

/* About section spacing */
#about {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

#about .section-header {
  margin-bottom: var(--space-md);
}

/* ============================================
   14. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-base);
  position: relative;
  border-radius: var(--radius-full);
  isolation: isolate;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  box-shadow:
    0 4px 24px rgba(var(--primary-rgb), 0.3),
    0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(var(--primary-rgb), 0.5),
    0 0 0 1px rgba(var(--primary-rgb), 0.3),
    0 0 80px rgba(var(--primary-rgb), 0.15);
}

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

.btn-outline {
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid rgba(var(--primary-rgb), 0.5);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.08);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  box-shadow:
    0 8px 32px rgba(var(--primary-rgb), 0.2),
    0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

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

.btn-ghost {
  padding: var(--space-sm) 0;
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  background: transparent;
  border: none;
  letter-spacing: 1px;
  gap: var(--space-xs);
}

.btn-ghost::after {
  content: '→';
  transition:
    transform 0.3s var(--ease-out-expo),
    opacity 0.3s;
  display: inline-block;
  opacity: 0.7;
}

.btn-ghost:hover {
  color: var(--accent);
}
.btn-ghost:hover::after {
  opacity: 1;
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-sm);
  letter-spacing: 2px;
}

.btn-sm {
  padding: 6px var(--space-md);
  font-size: var(--text-xs);
  letter-spacing: 1.5px;
}

/* ============================================
   15. WHY CHOOSE US TABS
   ============================================ */
.wcu-tabs {
  margin-top: var(--space-lg);
}

.wcu-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.wcu-nav-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  height: 72px;
  background: var(--glass-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.wcu-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.wcu-nav-btn:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--primary-rgb), 0.1),
    inset 0 1px 0 rgba(var(--primary-rgb), 0.08);
  transform: translateY(-2px);
}

.wcu-nav-btn:hover::before {
  transform: scaleX(1);
}

.wcu-nav-btn.active {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--primary-rgb), 0.05)
  );
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow:
    0 0 20px rgba(var(--primary-rgb), 0.1),
    inset 0 1px 0 rgba(var(--primary-rgb), 0.12);
}

.wcu-nav-btn.active::before {
  transform: scaleX(1);
}

.wcu-nav-indicator {
  display: none;
}

.wcu-nav-icon {
  font-size: var(--text-lg);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.wcu-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wcu-nav-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.wcu-nav-sublabel {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* Panels */
.wcu-panels {
  position: relative;
}

.wcu-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  background: var(--glass-base);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: panelFadeIn 0.5s var(--ease-out-expo);
}

.wcu-panel.active {
  display: grid;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wcu-panel-image {
  position: relative;
  min-height: 300px;
  background: var(--bg-card);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.wcu-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  padding: var(--space-md);
}

.wcu-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 3, 8, 0.3), rgba(3, 3, 8, 0.6));
}

.wcu-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: floatBounce 3s ease-in-out infinite;
}

.wcu-float-1 {
  top: var(--space-lg);
  left: var(--space-lg);
}
.wcu-float-2 {
  bottom: var(--space-lg);
  right: var(--space-lg);
  animation-delay: 1.5s;
}

@keyframes floatBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.wcu-float-icon {
  font-size: var(--text-base);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
}

.wcu-float-data {
  display: flex;
  flex-direction: column;
}

.wcu-float-data strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.2;
}

.wcu-float-data small {
  font-size: var(--text-xs);
  color: #666;
}

.wcu-panel-content {
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wcu-content-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-md);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: var(--space-md);
}

.wcu-content-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.wcu-content-title span {
  color: var(--primary);
}

.wcu-content-lead {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.wcu-content-body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.wcu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.wcu-pill {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.15),
    rgba(var(--primary-rgb), 0.05)
  );
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Progress & counter footer row */
.wcu-footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.wcu-progress {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.wcu-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.5s var(--ease-out-expo);
}

.wcu-counter {
  font-family: var(--font-mono);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.wcu-counter-current {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
}
.wcu-counter-sep {
  color: var(--text-dim);
}
.wcu-counter-total {
  font-size: var(--text-base);
  color: var(--text-dim);
}

/* ============================================
   16. SOLUTIONS GRID
   ============================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.solution-card {
  background: var(--glass-base);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 2;
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    550px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.solution-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-highlight);
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(var(--primary-rgb), 0.12);
}

.solution-card:hover::before {
  transform: scaleX(1);
}
.solution-card:hover::after {
  opacity: 1;
}
.solution-card:hover .solution-image {
  transform: scale(1.08);
}

.solution-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.solution-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  transition: transform 0.6s var(--ease-out-expo);
}

.solution-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.solution-desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.solution-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.solution-card:hover .solution-tag {
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-muted);
}

/* ============================================
   17. PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: var(--space-lg);
}

/* ---- Tier accent colours ---- */
.product-card[data-tier='portable'] {
  --tier-color: #00c8ff;
  --tier-rgb: 0, 200, 255;
}
.product-card[data-tier='residential'] {
  --tier-color: #0066ff;
  --tier-rgb: 0, 102, 255;
}
.product-card[data-tier='enterprise'] {
  --tier-color: #a855f7;
  --tier-rgb: 168, 85, 247;
}
.product-card[data-tier='mobility'] {
  --tier-color: #ff6b35;
  --tier-rgb: 255, 107, 53;
}

/* ---- Card shell ---- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-base);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
  cursor: default;
}

/* Top accent bar */
.pc-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tier-color), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  z-index: 3;
}

/* Shimmer sweep */
.pc-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.7s var(--ease-out-expo);
  pointer-events: none;
  z-index: 2;
}

/* ---- Hover state ---- */
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--tier-rgb), 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(var(--tier-rgb), 0.18),
    0 0 40px rgba(var(--tier-rgb), 0.1);
}

.product-card:hover .pc-top-bar {
  opacity: 1;
}
.product-card:hover .pc-shine {
  background-position: 200% 0;
}
.product-card:hover .pc-image {
  transform: scale(1.06);
}
.product-card:hover .pc-image-glow {
  opacity: 1;
}
.product-card:hover .pc-cta {
  background: var(--tier-color);
  border-color: var(--tier-color);
  color: var(--bg-dark);
}
.product-card:hover .pc-cta-arrow {
  transform: translateX(4px);
}

/* ---- Image area ---- */
.pc-image-wrap {
  position: relative;
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(var(--tier-rgb), 0.07) 0%,
    rgba(3, 3, 8, 0.6) 70%
  );
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.pc-image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease-out-expo);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.pc-image-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(var(--tier-rgb), 0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  pointer-events: none;
}

/* Badge inside image */
.pc-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tier-color);
  background: rgba(var(--tier-rgb), 0.12);
  border: 1px solid rgba(var(--tier-rgb), 0.3);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* ---- Card body ---- */
.pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
  gap: var(--space-md);
}

/* Name + price row */
.pc-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pc-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pc-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pc-price {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--tier-color);
  letter-spacing: -0.03em;
}

.pc-price-label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  font-weight: 400;
}

/* Specs table */
.pc-specs {
  list-style: none;
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pc-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px var(--space-md);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.pc-specs li:last-child {
  border-bottom: none;
}

.pc-specs li:hover {
  background: rgba(var(--tier-rgb), 0.05);
}

.pc-spec-key {
  color: var(--text-dim);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pc-spec-val {
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* CTA button */
.pc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px var(--space-md);
  background: transparent;
  border: 1px solid rgba(var(--tier-rgb), 0.35);
  border-radius: var(--radius-lg);
  color: var(--tier-color);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background 0.3s var(--ease-out-expo),
    border-color 0.3s var(--ease-out-expo),
    color 0.3s var(--ease-out-expo);
  margin-top: auto;
}

.pc-cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}

/* Keep old classes so nothing else breaks */
.product-badge,
.product-image,
.product-name,
.product-price,
.product-specs,
.spec-label,
.spec-value {
  display: none;
}

/* ============================================
   18. STATS SECTION
   ============================================ */
.stats-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--container-xl);
}

/* Full-width light section breaker variant */
.stats-section.stats-breaker {
  max-width: var(--container-xl);
  width: calc(100% - clamp(var(--space-lg), 5vw, var(--space-2xl)) * 2);
  border-radius: var(--radius-2xl);
  background: #f8f9fc;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.07),
    0 1px 4px rgba(0, 0, 0, 0.04);
  gap: 0;
  margin-block: clamp(var(--space-2xl), 4vw, var(--space-3xl));
}

.stats-breaker .stat-item {
  background: transparent;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  padding: var(--space-xl) var(--space-lg);
}

.stats-breaker .stat-item:last-child {
  border-right: none;
}

.stats-breaker .stat-icon {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
  font-size: var(--text-lg);
  width: 40px;
  height: 40px;
}

.stats-breaker .stat-value {
  font-size: var(--text-4xl);
  background: linear-gradient(135deg, #0a0a12 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-breaker .stat-suffix {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.stats-breaker .stat-label {
  color: #2a2a3a;
}

.stats-breaker .stat-sublabel {
  color: #8a8a9a;
}

.stats-breaker .stat-item:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.stats-breaker .stat-item::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ── Numbers breaker strip ── */
.numbers-breaker {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    transparent 50%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
  position: relative;
  overflow: hidden;
  margin-block: clamp(var(--space-3xl), 6vw, var(--space-4xl));
}

.numbers-breaker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.numbers-breaker::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.numbers-breaker-inner {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: clamp(var(--space-lg), 5vw, var(--space-2xl));
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
}

.nb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(var(--space-xl), 3vw, var(--space-2xl)) var(--space-lg);
  text-align: center;
}

.nb-value {
  font-family: var(--font-mono);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nb-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

.nb-sub {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.nb-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .numbers-breaker-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .nb-divider {
    display: none;
  }
  .nb-item {
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
  .nb-item:nth-child(2n) {
    border-right: none;
  }
  .nb-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* ── Back to Top ──────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: clamp(20px, 3vh, 36px);
  right: clamp(20px, 3vw, 36px);
  z-index: calc(var(--z-sticky) + 10);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 28px rgba(var(--primary-rgb), 0.65);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #000;
}

.stats-section .stat-item {
  position: relative;
  z-index: 1;
  background: var(--glass-base);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.stat-item {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  transition: var(--transition-base);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  z-index: 2;
}

.stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.stat-item:hover::before {
  transform: scaleX(1);
}
.stat-item:hover::after {
  opacity: 1;
}

.stat-item:hover {
  background: var(--glass-hover);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stat-icon {
  font-size: var(--text-2xl);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.stat-suffix {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  font-weight: 600;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stat-sublabel {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* ============================================
   19. TERRAIN EXPLORER (CINEMATIC ACCORDION)
   ============================================ */
.te-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.te-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.3;
}

/* Header */
.te-header {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(48px, 5vw, 80px);
}

.te-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.te-global-counter {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.te-gc-current {
  color: var(--primary);
  font-weight: 700;
  min-width: 24px;
  transition: color 0.3s;
}

.te-gc-track {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.te-gc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 20%;
  transition: width 0.5s var(--ease-out-expo);
  border-radius: 1px;
}

.te-gc-total {
  color: var(--text-dim);
}

.te-header-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-xl), 6vw, var(--space-5xl));
  align-items: end;
}

.te-headline {
  margin-bottom: 0;
}

.te-header-desc {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--text-muted);
  align-self: end;
  padding-bottom: 4px;
}

/* Accordion */
.te-accordion {
  border-top: 1px solid var(--border);
}

.te-item {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.te-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 3;
  pointer-events: none;
}

.te-item.is-active::before {
  transform: scaleY(1);
}

/* Trigger button */
.te-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr auto 100px 44px;
  align-items: center;
  gap: clamp(var(--space-md), 3vw, var(--space-xl));
  padding: 0 clamp(var(--space-lg), 5vw, var(--space-3xl));
  height: 84px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}

.te-trigger:hover {
  background: rgba(var(--primary-rgb), 0.02);
}
.te-item.is-active .te-trigger {
  background: rgba(var(--primary-rgb), 0.03);
}

.te-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-dim);
  transition: color 0.4s;
  letter-spacing: 1px;
}

.te-item.is-active .te-num {
  color: var(--primary);
}

.te-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.te-label {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.te-item.is-active .te-label {
  color: var(--primary);
}

.te-sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Thumbnail preview */
.te-thumb {
  width: 100px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.88) translateY(4px);
  transition:
    opacity 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
  justify-self: end;
  flex-shrink: 0;
}

.te-item.is-active .te-thumb,
.te-trigger:hover .te-thumb {
  opacity: 0.65;
  transform: scale(1) translateY(0);
}

.te-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon +/× */
.te-trigger-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  justify-self: end;
  transition:
    border-color 0.4s,
    background 0.4s;
}

.te-trigger-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  transition: stroke 0.3s;
  overflow: visible;
}

.te-trigger-icon .te-icon-h {
  transition: transform 0.45s var(--ease-out-expo);
  transform-origin: center;
}

.te-item.is-active .te-trigger-icon {
  border-color: rgba(var(--primary-rgb), 0.5);
  background: rgba(var(--primary-rgb), 0.06);
}

.te-item.is-active .te-trigger-icon svg {
  stroke: var(--primary);
}
.te-item.is-active .te-trigger-icon .te-icon-h {
  transform: rotate(90deg) scaleX(0);
  opacity: 0;
}

/* Panel (grid-template-rows trick) */
.te-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.te-item.is-active .te-panel {
  grid-template-rows: 1fr;
}
.te-panel-inner {
  overflow: hidden;
}

/* Panel grid */
.te-panel-grid {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 540px;
}

/* Image side */
.te-media {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.te-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.te-item.is-active .te-img {
  transform: scale(1);
}

.te-media-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 55%, rgba(3, 3, 8, 0.92) 100%),
    linear-gradient(to top, rgba(3, 3, 8, 0.45) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(3, 3, 8, 0.2) 0%, transparent 20%);
  pointer-events: none;
  z-index: 1;
}

.te-media-tag {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 3, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s 0.5s var(--ease-out-expo),
    transform 0.55s 0.5s var(--ease-out-expo);
}

.te-item.is-active .te-media-tag {
  opacity: 1;
  transform: translateY(0);
}

.te-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
  animation: te-dot-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes te-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.te-auto-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.6);
  z-index: 3;
  pointer-events: none;
}

/* Content side */
.te-content {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  padding: clamp(var(--space-2xl), 5vw, var(--space-4xl));
  position: relative;
  overflow: hidden;
}

.te-content::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.te-content-inner {
  width: 100%;
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.65s 0.25s var(--ease-out-expo),
    transform 0.65s 0.25s var(--ease-out-expo);
}

.te-item.is-active .te-content-inner {
  opacity: 1;
  transform: translateX(0);
}

/* KPI row */
.te-kpis {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.te-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.te-kpi-val {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.te-kpi-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.te-content-title {
  font-size: clamp(1.75rem, 2.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.te-content-title span {
  color: var(--primary);
}

.te-content-desc {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 440px;
}

.te-feats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.te-feats li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.te-feat-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

.te-cta {
  display: inline-flex;
}

/* ─────────────────────────────────────────────────────────────
   TERRAIN EXPLORER — GSAP SCROLL-PIN FULLSCREEN MODE
   .is-scroll-mode is added to .te-section by JS when the
   accordion is pinned to the top of the viewport.
   ───────────────────────────────────────────────────────────── */
.te-section.is-scroll-mode {
  overflow: hidden;
}

/* Accordion becomes the fixed-height scroll stage */
.te-section.is-scroll-mode .te-accordion {
  position: relative;
  overflow: hidden;
}

/* Every item becomes an absolutely-stacked full-height slide */
.te-section.is-scroll-mode .te-item {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  /* height set by JS to window.innerHeight */
  margin: 0 !important;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  /* hidden by default — CSS transitions handle the reveal */
  opacity: 0;
  pointer-events: none;
  transform: translateY(36px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.65s var(--ease-out-expo);
  will-change: opacity, transform;
}

/* Active slide rises in */
.te-section.is-scroll-mode .te-item.is-active {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}

/* Trigger stays as a slim header bar at the top of each slide */
.te-section.is-scroll-mode .te-trigger {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Panel always fully open — no grid accordion animation needed */
.te-section.is-scroll-mode .te-panel {
  flex: 1;
  min-height: 0;
  grid-template-rows: 1fr !important;
  transition: none !important;
}

.te-section.is-scroll-mode .te-panel-inner {
  height: 100%;
  overflow: hidden;
}

/* Panel grid fills the remaining slide height */
.te-section.is-scroll-mode .te-panel-grid {
  height: 100%;
  min-height: unset;
}

.te-section.is-scroll-mode .te-media,
.te-section.is-scroll-mode .te-content {
  height: 100%;
  min-height: unset;
}

/* Scroll-progress bar at the bottom of the pinned accordion */
.te-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.te-section.is-scroll-mode .te-scroll-progress {
  opacity: 1;
}

.te-scroll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 0.5s var(--ease-out-expo);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.6);
}

/* "Keep scrolling" cue */
.te-scroll-cue {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: opacity 0.4s;
}
.te-scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.te-scroll-cue-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.te-scroll-cue-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: te-cue-drop 1.6s ease-in-out infinite;
}
@keyframes te-cue-drop {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ============================================
   20. TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--glass-base);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-size: clamp(48px, 3rem + 2vw, 80px);
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card:hover {
  border-color: var(--border-highlight);
  background: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.testimonial-card:hover::after {
  opacity: 1;
}
.testimonial-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.testimonial-stars span {
  color: var(--accent);
  font-size: var(--text-sm);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--bg-dark);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* Light section overrides for testimonials */
.section-light .testimonial-card {
  background: var(--bg-card);
  border-color: var(--border);
}
.section-light .testimonial-text {
  color: var(--text-secondary);
}

/* ============================================
   21. PROCESS SECTION
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.process-step {
  background: var(--bg-card);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: var(--transition-base);
}

.process-step:hover {
  background: var(--bg-card-hover);
}

.process-number {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.process-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.process-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   22. RENTALS GRID
   ============================================ */
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.rental-card {
  background: var(--glass-base);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.rental-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out-expo);
}

.rental-card.featured {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

.rental-card.featured::before {
  transform: scaleX(1);
}

.rental-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  inset: auto;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  z-index: 1;
  opacity: 1;
  transition: none;
}

.rental-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(var(--primary-rgb), 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.rental-card:hover {
  border-color: var(--border-highlight);
  background: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.rental-card:hover::before {
  transform: scaleX(1);
}
.rental-card:hover::after {
  opacity: 1;
}

.rental-card-body {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  flex: 1;
}

.rental-device {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.rental-bestfor {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}
.rental-bestfor strong {
  color: var(--text-secondary);
}

.rental-specs {
  list-style: none;
  margin-bottom: var(--space-md);
}

.rental-specs li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rental-specs li:last-child {
  border-bottom: none;
}
.rental-specs li strong {
  color: var(--text-secondary);
}

.rental-price-row {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.rental-price {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

.rental-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.rental-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-base);
}

.rental-card:hover .rental-image-wrap img {
  transform: scale(1.04);
}

.rental-actions {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.rental-actions .btn {
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}

/* Light section product card overrides */
.section-light .product-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.section-light .product-card:hover {
  background: var(--bg-card);
  border-color: var(--tier-color);
  box-shadow:
    0 12px 40px rgba(var(--tier-rgb), 0.15),
    0 4px 8px rgba(0, 0, 0, 0.06);
}
.section-light .pc-image-wrap {
  background: rgba(var(--tier-rgb), 0.04);
  border-bottom-color: rgba(var(--tier-rgb), 0.1);
}
.section-light .pc-image {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}
.section-light .pc-image-glow {
  background: radial-gradient(ellipse, rgba(var(--tier-rgb), 0.18) 0%, transparent 70%);
}
.section-light .pc-shine {
  display: none;
}
.section-light .pc-name {
  color: var(--text-primary);
}
.section-light .pc-price-label {
  color: var(--text-muted);
}
.section-light .pc-specs {
  border-color: var(--border);
}
.section-light .pc-specs li {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.section-light .pc-spec-key {
  color: var(--text-muted);
}
.section-light .pc-spec-val {
  color: var(--text-primary);
}
.section-light .pc-badge {
  background: rgba(var(--tier-rgb), 0.1);
  border-color: rgba(var(--tier-rgb), 0.3);
}
.section-light .pc-cta {
  border-color: rgba(var(--tier-rgb), 0.3);
}
.section-light .product-card:hover .pc-cta {
  background: var(--tier-color);
  border-color: var(--tier-color);
  color: #ffffff;
}

/* Light section rental overrides */
.section-light .rental-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.section-light .rental-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  box-shadow:
    0 12px 40px rgba(var(--primary-rgb), 0.15),
    0 4px 8px rgba(0, 0, 0, 0.06);
}
.section-light .rental-device {
  color: var(--text-primary);
}
.section-light .rental-bestfor,
.section-light .rental-specs li,
.section-light .rental-price-row {
  color: var(--text-muted);
}
.section-light .rental-bestfor strong,
.section-light .rental-specs li strong {
  color: var(--text-secondary);
}
.section-light .rental-price {
  color: var(--primary);
}
.section-light .rental-actions {
  border-top-color: var(--border);
  background: var(--bg-card);
}
.section-light .rental-image-wrap {
  background: rgba(var(--primary-rgb), 0.03);
  border-top-color: rgba(var(--primary-rgb), 0.08);
  border-bottom-color: rgba(var(--primary-rgb), 0.08);
}
.section-light .rental-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.15);
}
.section-light .rental-card.featured:hover {
  box-shadow:
    0 16px 48px rgba(var(--primary-rgb), 0.22),
    0 4px 8px rgba(0, 0, 0, 0.06);
}
.section-light .rental-card:hover::after {
  opacity: 0;
}

/* ============================================
   23. CONTACT / CTA SECTION
   ============================================ */
.section-contact-hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 120px);
}

/* Ambient orbs */
.contact-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.contact-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12), transparent 70%);
  top: -180px;
  right: -100px;
}

.contact-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  bottom: -100px;
  left: -80px;
}

.contact-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.07), transparent 70%);
  top: 40%;
  left: 30%;
}

.contact-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* Status eyebrow */
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  width: fit-content;
}

.contact-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.contact-status-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

/* Headline */
.contact-headline {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.contact-headline h2 {
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  flex-shrink: 0;
}

.contact-headline-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subhead {
  max-width: 380px;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-muted);
  padding-bottom: 6px;
}

/* Two-column body */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

/* Left: channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
  position: relative;
}

.contact-channel:hover {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.18);
  transform: translateX(6px);
}

.contact-channel-location {
  cursor: default;
}
.contact-channel-location:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: var(--transition-base);
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
}

.contact-channel:hover .contact-channel-icon {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-channel-value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.contact-channel-sub {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

.contact-channel-arrow {
  font-size: var(--text-xl);
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.contact-channel:hover .contact-channel-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Right: form */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--glass-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  overflow: hidden;
}

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

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: var(--text-dim);
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  background: rgba(var(--primary-rgb), 0.04);
}

.contact-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300c8ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(255, 255, 255, 0.04);
  padding-right: 40px;
  cursor: pointer;
}

.contact-form-select option {
  background: #0a0a1a;
  color: #ffffff;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-xl);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: var(--space-sm);
  box-shadow:
    0 4px 24px rgba(var(--primary-rgb), 0.3),
    0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.contact-form-submit svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(var(--primary-rgb), 0.5),
    0 0 0 1px rgba(var(--primary-rgb), 0.3),
    0 0 80px rgba(var(--primary-rgb), 0.15);
}

.contact-form-note {
  font-size: var(--text-xs);
  color: var(--text-dim);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  margin: 0;
}

/* ============================================
   24. FOOTER
   ============================================ */
.footer {
  padding: var(--space-2xl) clamp(var(--space-lg), 8vw, var(--space-4xl));
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.02), transparent);
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

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

.footer-links a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}
.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-credit {
  font-size: var(--text-xs);
  color: var(--text-dim);
}
.footer-credit a {
  color: var(--primary);
}

/* ============================================
   25. SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

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

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(6) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   26. CANVAS SCALE CONTROL WIDGET
   ============================================ */
.canvas-scale-ctrl {
  position: absolute;
  top: 106px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(3, 3, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 14px;
  padding: 10px 12px;
  user-select: none;
  transition:
    opacity 0.3s,
    border-color 0.3s;
  opacity: 0.55;
}

.canvas-scale-ctrl:hover {
  opacity: 1;
  border-color: rgba(var(--primary-rgb), 0.5);
}

.csc-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.csc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(var(--primary-rgb), 0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: 22px;
  flex-shrink: 0;
}

.csc-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  background: transparent;
  color: rgba(var(--primary-rgb), 0.9);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.15s,
    border-color 0.15s;
  flex-shrink: 0;
}

.csc-btn:hover {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary);
}

.csc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 3px;
  background: rgba(var(--primary-rgb), 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.csc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px rgba(var(--primary-rgb), 0.5);
  cursor: pointer;
  transition: transform 0.15s;
}

.csc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.csc-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px rgba(var(--primary-rgb), 0.5);
  cursor: pointer;
}

@media (max-width: 768px) {
  .canvas-scale-ctrl {
    display: none;
  }
}

/* ============================================
   27. RESPONSIVE MEDIA QUERIES
   ============================================ */

/* 1200px */
@media (max-width: 1200px) {
  .hero-content {
    max-width: 850px;
  }
  .section-header {
    max-width: 650px;
  }
}

/* 1100px — Terrain Explorer */
@media (max-width: 1100px) {
  .te-panel-grid {
    grid-template-columns: 50% 50%;
    min-height: 480px;
  }
  .te-media {
    min-height: 480px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  :root {
    --text-hero: clamp(2.5rem, 8vw, 4.5rem);
    --text-5xl: clamp(2rem, 5vw, 2.75rem);
    --text-4xl: clamp(1.75rem, 4vw, 2.25rem);
  }

  .hero-stats {
    gap: var(--space-xl);
  }
  .hero-stat .value {
    font-size: var(--text-3xl);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rentals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .wcu-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .wcu-panel {
    grid-template-columns: 1fr;
  }
  .wcu-panel-image {
    min-height: 300px;
  }

  .te-header-body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-body {
    grid-template-columns: 1fr;
  }
  .contact-headline {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }
  .contact-subhead {
    max-width: 100%;
  }
}

/* 900px */
@media (max-width: 900px) {
  .te-panel-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .te-media {
    min-height: 260px;
    height: 260px;
  }
  .te-media-scrim {
    background: linear-gradient(to bottom, transparent 50%, rgba(3, 3, 8, 0.6) 100%);
  }
  .te-content {
    padding: var(--space-xl);
  }
  .te-feats {
    grid-template-columns: 1fr;
  }
  .te-trigger {
    grid-template-columns: 56px 1fr 44px;
    height: auto;
    padding-block: var(--space-lg);
  }
  .te-thumb {
    display: none;
  }
  .te-sub {
    display: none;
  }
}

/* 768px */
@media (max-width: 768px) {
  :root {
    --text-hero: clamp(2rem, 10vw, 3.5rem);
    --text-5xl: clamp(1.75rem, 6vw, 2.25rem);
    --text-4xl: clamp(1.5rem, 5vw, 2rem);
    --text-3xl: clamp(1.25rem, 4vw, 1.75rem);
    --space-5xl: clamp(3rem, 8vw, 5rem);
    --space-4xl: clamp(2.5rem, 7vw, 4rem);
    --space-3xl: clamp(2rem, 6vw, 3rem);
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    padding-top: 64px;
    padding-inline: var(--space-lg);
    align-items: flex-start;
    padding-top: calc(64px + var(--space-xl));
  }

  .hero-content {
    max-width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
  }
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
  }
  .hero-stat .label {
    margin-top: 0;
  }
  .hero-subtitle {
    font-size: var(--text-base);
    line-height: 1.75;
  }
  .hero-scroll {
    display: none;
  }

  .section {
    padding: var(--space-3xl) var(--space-md);
  }
  .section-header {
    margin-bottom: var(--space-xl);
  }
  .section-desc {
    font-size: var(--text-base);
  }

  .trusted-logos {
    gap: var(--space-xl);
  }
  .trusted-logo {
    font-size: var(--text-base);
  }
  .marquee {
    padding: var(--space-2xl) 0;
  }
  .marquee-word {
    font-size: var(--text-4xl);
  }

  .wcu-nav {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .wcu-nav-btn {
    padding: var(--space-md);
  }
  .wcu-panel-content {
    padding: var(--space-xl);
  }
  .wcu-content-title {
    font-size: var(--text-2xl);
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-2xl,
  .container-full,
  .container-fluid {
    padding-inline: var(--space-md);
  }
}

/* 640px */
@media (max-width: 640px) {
  :root {
    --text-hero: clamp(1.75rem, 12vw, 2.75rem);
    --text-5xl: clamp(1.5rem, 7vw, 2rem);
    --text-4xl: clamp(1.35rem, 6vw, 1.75rem);
    --text-3xl: clamp(1.15rem, 5vw, 1.5rem);
    --text-2xl: clamp(1.1rem, 4vw, 1.35rem);
  }

  .hero {
    padding: clamp(70px, 10vh, 100px) var(--space-md) clamp(var(--space-lg), 4vh, var(--space-2xl));
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
  }
  .btn-lg {
    padding: var(--space-md) var(--space-xl);
  }
  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .rentals-grid {
    grid-template-columns: 1fr;
  }
  .stats-section {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }

  .te-kpis {
    gap: var(--space-md);
  }
  .te-kpi-val {
    font-size: var(--text-xl);
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: var(--space-lg);
  }
  .contact-channel {
    padding: var(--space-md);
  }

  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-2xl,
  .container-full,
  .container-fluid {
    padding-inline: var(--space-sm);
  }
}

/* 480px */
@media (max-width: 480px) {
  :root {
    --text-hero: clamp(1.5rem, 11vw, 2.25rem);
    --text-5xl: clamp(1.35rem, 8vw, 1.75rem);
    --space-5xl: clamp(2rem, 10vw, 3.5rem);
    --space-4xl: clamp(1.75rem, 8vw, 2.5rem);
    --space-3xl: clamp(1.5rem, 7vw, 2rem);
    --space-2xl: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero {
    padding: calc(var(--space-2xl) + 60px) var(--space-sm) var(--space-xl);
  }
  .nav {
    height: 70px;
    padding: 0 var(--space-md);
  }
  .nav.scrolled {
    height: 60px;
  }
  .nav-brand {
    font-size: var(--text-lg);
  }
  .nav-brand .icon {
    width: 36px;
    height: 36px;
  }

  .wcu-panel-image {
    min-height: 220px;
  }
  .wcu-content-title {
    font-size: var(--text-xl);
  }
  .wcu-pill {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
  }

  .stat-value {
    font-size: var(--text-2xl);
  }
  .stat-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .marquee {
    padding: var(--space-xl) 0;
  }
  .marquee-word {
    font-size: var(--text-3xl);
  }

  .footer {
    padding: var(--space-lg) var(--space-sm);
    gap: var(--space-sm);
  }
}

/* 360px */
@media (max-width: 360px) {
  :root {
    --text-hero: 1.5rem;
    --text-5xl: 1.25rem;
    --text-4xl: 1.15rem;
    --text-3xl: 1rem;
  }

  .hero {
    padding: calc(var(--space-xl) + 60px) var(--space-xs) var(--space-lg);
  }
  .section {
    padding: var(--space-lg) var(--space-xs);
  }

  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-2xl,
  .container-full,
  .container-fluid {
    padding-inline: var(--space-xs);
  }

  .nav {
    padding: 0 var(--space-sm);
  }
  .nav-brand {
    font-size: var(--text-base);
  }
  .nav-brand .icon {
    width: 32px;
    height: 32px;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn:active {
    transform: scale(0.98);
  }
}
