/* OMNI Tech Website Styles
 * Theme-aware CSS with dark/light mode support
 */

/* ==========================================
   CSS VARIABLES - Theme System
   ========================================== */
:root {
  /* Sticky tabs */
  --nav-height: 72px;
  --sticky-header-height: 5rem;
  --section-max-width: 1400px;

  /* Dark mode (default) - Jedi Night & Natural Green/Blue Theme */
  --bg-primary: #001212;
  --bg-secondary: #001A1F;
  --bg-card: #002028;
  --bg-elevated: #0A3040;
  --text-primary: #E0EDE8;
  --text-secondary: #8AA8A0;
  --text-muted: #5A7A72;
  --text-bright: #FFFFFF;

  /* Brand Colors */
  --accent-orange: #78AF2E;
  --accent-green: #025EC4;
  --accent-orange-glow: rgba(120, 175, 46, 0.4);
  --accent-green-glow: rgba(2, 94, 196, 0.4);

  /* UI Colors */
  --border: rgba(120, 175, 46, 0.2);
  --border-hover: rgba(120, 175, 46, 0.4);
  --glow: rgba(120, 175, 46, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
  --gradient-bg-radial: radial-gradient(circle at 70% 30%, rgba(120, 175, 46, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(2, 94, 196, 0.08) 0%, transparent 50%);

  /* Section divider */
  --section-divider: rgba(255, 255, 255, 0.08);

  /* Transitions */
  --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Light mode overrides */
[data-theme="light"] {
  --accent-orange: #025EC4;
  --accent-orange-glow: rgba(2, 94, 196, 0.4);
  --glow: rgba(2, 94, 196, 0.3);
  --bg-primary: #F0F5F2;
  --bg-secondary: #E2EBE6;
  --bg-card: #FFFFFF;
  --bg-elevated: #D0DDD5;
  --text-primary: #001212;
  --text-secondary: #304540;
  --text-muted: #5A7A6E;
  --text-bright: #000A0A;
  --border: rgba(2, 94, 196, 0.2);
  --border-hover: rgba(2, 94, 196, 0.4);
  --gradient-bg-radial: radial-gradient(circle at 70% 30%, rgba(2, 94, 196, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(2, 94, 196, 0.05) 0%, transparent 50%);
  --section-divider: rgba(0, 0, 0, 0.06);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-accent-orange {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', sans-serif;
  /* Geist Sans for all text */
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--theme-transition);
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-orange);
  border-radius: 3px;
}

/* ==========================================
   NAVIGATION - LIQUID GLASS EFFECT
   ========================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.4s ease, border-color 0.4s ease,
              box-shadow 0.4s ease;
  will-change: background, box-shadow;
}

nav.nav-scrolled {
  background: rgba(0, 18, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  nav.nav-scrolled {
    background: rgba(0, 18, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

[data-theme="light"] nav.nav-scrolled {
  background: rgba(0, 18, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  [data-theme="light"] nav.nav-scrolled {
    background: rgba(0, 18, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

nav.nav-scrolled::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-radius: inherit;
}

[data-theme="light"] nav.nav-scrolled::before {
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 100%);
}

/* Make all nav items interactive */
.logo,
.nav-right,
.tubelight-nav {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover .logo-img {
  opacity: 0.85;
  transform: scale(1.02);
}

/* Keep logo white in light mode (nav overlays colored hero) */
[data-theme="light"] .logo-img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* TUBELIGHT NAVBAR STYLES */
.tubelight-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.tubelight-container {
  display: flex;
  align-items: center;
  gap: 4px;
  /* No background - items sit directly on glass bar */
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

[data-theme="light"] .tubelight-container {
  background: transparent;
  border: none;
  box-shadow: none;
}

.tubelight-item {
  position: relative;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* .tubelight-item.icon-item removed — Home link no longer in nav */

[data-theme="light"] .tubelight-item {
  color: rgba(255, 255, 255, 0.7);
}

.tubelight-item:hover {
  color: var(--accent-orange);
}

.tubelight-item.active {
  color: var(--accent-orange);
}

[data-theme="light"] .tubelight-item:hover,
[data-theme="light"] .tubelight-item.active {
  color: #5B9BD5;
}

/* Tablet Responsive - Tubelight Nav */
@media (max-width: 1024px) {
  .tubelight-nav {
    width: 90%;
    max-width: 700px;
  }

  .tubelight-item {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

/* Mobile Responsive - Tubelight Nav */
@media (max-width: 768px) {
  /* Move tubelight nav to bottom of screen as fixed bar */
  .tubelight-nav {
    position: fixed !important;
    top: calc(100vh - 74px) !important;
    top: calc(100svh - 74px) !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 92%;
    max-width: 480px;
    z-index: 9999 !important;
  }

  .tubelight-container {
    padding: 6px;
    gap: 0;
    justify-content: space-around;
    background: rgba(0, 18, 18, 0.95);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .tubelight-container {
      background: rgba(0, 18, 18, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
  }

  .tubelight-container::-webkit-scrollbar {
    display: none;
  }

  /* nav-dropdown-trigger mobile styles moved below with tubelight-item */

  /* Light mode: keep dark bottom bar for contrast */
  [data-theme="light"] .tubelight-container {
    background: rgba(0, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    [data-theme="light"] .tubelight-container {
      background: rgba(0, 18, 18, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
  }

  [data-theme="light"] .tubelight-item {
    color: rgba(255, 255, 255, 0.7);
  }

  .tubelight-item {
    font-size: 11px;
    padding: 0;
    flex: 0 0 auto;
    text-align: center;
    min-height: 44px;
    min-width: 0;
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    white-space: nowrap;
  }

  .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 0.2rem;
    min-height: 44px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hide dropdown chevrons on mobile — taps navigate directly */
  .nav-chevron {
    display: none;
  }

  .tubelight-item .icon {
    display: none;
  }

  .tubelight-item.cta-button {
    display: none;
  }

  /* Slim down top nav bar — just logo + toggle */
  nav {
    padding: 0.75rem 1rem;
  }
}

/* Extra small phones - tighter bottom nav */
@media (max-width: 480px) {
  .tubelight-nav {
    width: 96%;
    max-width: none;
  }

  .tubelight-item {
    font-size: 11px;
    padding: 0;
    min-height: 44px;
    min-width: 0;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav-dropdown-trigger {
    padding: 0.5rem 0.2rem;
  }

  .tubelight-container {
    gap: 0;
    justify-content: space-around;
    padding: 4px;
    justify-content: space-around;
  }
}

/* ==========================================
   THEME TOGGLE (Spring Animation - JS Controlled)
   ========================================== */
.theme-toggle-spring {
  position: relative;
  width: 48px;
  height: 28px;
  padding: 2px;
  border-radius: 9999px;
  background-color: rgba(120, 120, 120, 0.15);
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
}

.toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  /* Transitions are set via JavaScript */
}

.toggle-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  /* Transitions are set via JavaScript */
}

.icon-svg {
  width: 16px;
  height: 16px;
  color: var(--text-primary);
}

.theme-toggle-spring:hover {
  background-color: rgba(120, 120, 120, 0.25);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;

  /* Island Style */
  background: rgba(0, 18, 18, 0.6);
  /* Dark Mode Default */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="light"] .nav-cta {
  background: rgba(0, 18, 18, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(120, 175, 46, 0.1);
  box-shadow: 0 0 15px rgba(120, 175, 46, 0.2);
}

[data-theme="light"] .nav-cta:hover {
  background: rgba(10, 61, 124, 0.1);
  box-shadow: 0 0 15px rgba(10, 61, 124, 0.2);
}

/* ==========================================
   NAV DROPDOWN MENUS
   ========================================== */

/* Dropdown trigger */
.has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

/* Dropdown panel — glass card with fade+slide */
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
  padding: 20px;
  contain: layout style paint;
}

.has-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Edge alignment — prevent viewport clipping on first/last dropdowns */
.has-dropdown:first-of-type .nav-dropdown-panel {
  left: 0;
  transform: translateX(0) translateY(8px);
}
.has-dropdown:first-of-type.open .nav-dropdown-panel {
  transform: translateX(0) translateY(0);
}

.has-dropdown:nth-last-of-type(2) .nav-dropdown-panel {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(8px);
}
.has-dropdown:nth-last-of-type(2).open .nav-dropdown-panel {
  transform: translateX(0) translateY(0);
}

/* Grid layout inside panel */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
}

/* Featured card (left column — CSS gradient + Lucide icon) */
.nav-dropdown-featured {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-dropdown-icon-card {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--bg-secondary);
  background-image: var(--gradient-primary);
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-dropdown-icon-card i,
.nav-dropdown-icon-card svg {
  width: 48px;
  height: 48px;
}

.nav-dropdown-image-card {
  background: none;
  overflow: hidden;
}

.nav-dropdown-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.nav-dropdown-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
}

.nav-dropdown-card-title:hover {
  color: var(--accent-orange);
}

.nav-dropdown-card-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* Link list (right column) */
.nav-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-dropdown-link:hover {
  background: rgba(120, 175, 46, 0.08);
}

.nav-dropdown-link-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.nav-dropdown-link:hover .nav-dropdown-link-title {
  color: var(--accent-orange);
}

.nav-dropdown-link-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Company dropdown — compact single-column */
.nav-dropdown-panel--compact {
  min-width: 240px;
}

.nav-dropdown-panel--compact .nav-dropdown-grid {
  grid-template-columns: 1fr;
}

/* Light mode panel adjustments */
[data-theme="light"] .nav-dropdown-panel {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06) inset;
}

/* Responsive: disable dropdowns on mobile */
@media (max-width: 768px) {
  .nav-dropdown-panel {
    display: none !important;
  }

  .nav-chevron {
    display: none;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 3rem;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

/* Liquid Gradient Canvas */
#webGLApp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-bg-radial);
  transition: var(--theme-transition);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 175, 46, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 175, 46, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
  z-index: 0;
}

/* Hero Video (alternative to gradient) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center,
    rgba(0,18,18,0.5) 0%,
    rgba(0,18,18,0.7) 60%,
    rgba(0,18,18,0.85) 100%);
}

.hero--video .hero-content {
  color: #fff;
}

.hero--video .hero-headline,
.hero--video .headline-solid,
.hero--video .loop-word {
  color: #FFFFFF;
}

.hero--video .hero-subhead {
  color: rgba(224, 237, 232, 0.85);
}

.hero--video .hero-subhead strong {
  color: var(--accent-orange);
}

[data-theme="light"] .hero--video .hero-subhead {
  color: #FFFFFF;
}

/* Light mode — keep overlay dark for video contrast */
[data-theme="light"] .hero-overlay {
  background: radial-gradient(ellipse at center,
    rgba(0,18,18,0.4) 0%,
    rgba(0,18,18,0.6) 60%,
    rgba(0,18,18,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

/* Hero Eyebrow */


/* Hero Headline */
.hero-headline {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.headline-gradient {
  display: block;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.headline-solid {
  display: block;
  color: var(--text-bright);
}

/* Hero Text Loop */
.headline-loop-line {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.15em;
}

.headline-loop {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.loop-word {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--text-bright);
  opacity: 0;
  transform: translateY(40%);
  will-change: transform, opacity;
  pointer-events: none;
}

.loop-word.active {
  animation: loopIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loop-word.exit {
  animation: loopOut 0.25s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes loopIn {
  0%   { opacity: 0; transform: translateY(40%); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes loopOut {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-40%); }
}

/* Hero Subhead */
.hero-subhead {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.hero-subhead strong {
  color: var(--accent-orange);
  font-weight: 700;
}

/* Metrics Strip */
.metrics-strip {
  display: flex;
  flex-direction: row;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

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

.metric-value {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
}

.metric-label {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 2;
  color: var(--text-primary);
}

.scroll-indicator:hover {
  opacity: 1;
}

.chevron-icon {
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

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

  50% {
    transform: translateY(8px);
  }
}

/* Hero Responsive: Tablet */
@media (max-width: 1023px) {
  .hero {
    padding: 120px 2rem 60px;
  }

  .hero-headline {
    font-size: 48px;
  }

  .hero-subhead {
    font-size: 16px;
  }

  .metrics-strip {
    gap: 48px;
  }

  .metric-value {
    font-size: 36px;
  }
}

/* Hero Responsive: Mobile */
@media (max-width: 767px) {
  .hero {
    padding: 100px 1.5rem 60px;
    min-height: 100vh;
    /* Fallback */
    min-height: 100svh;
    /* Modern mobile browsers */
    justify-content: center;
  }

  .hero-headline {
    font-size: clamp(24px, 7vw, 40px);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subhead {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .metrics-strip {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .metric-item {
    flex: 1 1 40%;
    /* 2 per row */
    min-width: 120px;
  }

  .metric-value {
    font-size: 24px;
  }

  .metric-label {
    font-size: 12px;
  }

  .scroll-indicator {
    bottom: 100px;
    /* Move up to avoid nav bar overlap */
  }
}

/* ==========================================
   PRODUCT 3D CONTAINER
   ========================================== */
.product-3d-container {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  max-height: 600px;
  margin: -60px 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#rack-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Static image fallback for mobile or if 3D fails */
.rack-fallback {
  display: none;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
}

.rack-fallback-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 1px rgba(120, 175, 46, 0.3);
}

[data-theme="light"] .rack-fallback-img {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 0 1px rgba(120, 175, 46, 0.3);
}

/* Hide fallback when 3D is active */
.product-3d-container.threejs-active .rack-fallback {
  display: none !important;
}

/* Mobile Module List - hidden on desktop, shown via 768px media query */
.mobile-module-list {
  display: none;
}

/* Mobile 3D Scrollytelling - hidden on desktop */
.mobile-3d-scrollytelling {
  display: none;
}

/* ==========================================
   SVG WAVY CONNECTION LINES
   ========================================== */
.rack-tree-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.product-3d-container:hover .rack-tree-svg,
.rack-labels.visible~.rack-tree-svg,
.rack-tree-svg.visible {
  opacity: 1;
}

/* Connection Lines - Wavy Dotted */
.connection-line {
  fill: none;
  stroke: rgba(120, 175, 46, 0.6);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  filter: drop-shadow(0 0 4px rgba(120, 175, 46, 0.4));
  opacity: 0;
}

/* Staggered animation for each line */
.line-1 {
  animation: drawLine 1s ease forwards 0.3s;
}

.line-2 {
  animation: drawLine 1s ease forwards 0.5s;
}

.line-3 {
  animation: drawLine 1s ease forwards 0.7s;
}

.line-4 {
  animation: drawLine 1s ease forwards 0.9s;
}

.line-5 {
  animation: drawLine 1s ease forwards 1.1s;
}

@keyframes drawLine {
  0% {
    opacity: 0;
    stroke-dashoffset: 300;
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* Glow Pulse Animation after draw completes */
.rack-tree-svg.visible .connection-line {
  animation: drawLine 1s ease forwards, linePulse 3s ease-in-out infinite 1.5s;
}

.rack-tree-svg.visible .line-1 {
  animation-delay: 0.3s, 1.8s;
}

.rack-tree-svg.visible .line-2 {
  animation-delay: 0.5s, 2s;
}

.rack-tree-svg.visible .line-3 {
  animation-delay: 0.7s, 2.2s;
}

.rack-tree-svg.visible .line-4 {
  animation-delay: 0.9s, 2.4s;
}

.rack-tree-svg.visible .line-5 {
  animation-delay: 1.1s, 2.6s;
}

@keyframes linePulse {

  0%,
  100% {
    stroke: rgba(120, 175, 46, 0.4);
    filter: drop-shadow(0 0 2px rgba(120, 175, 46, 0.3));
  }

  50% {
    stroke: rgba(120, 175, 46, 0.8);
    filter: drop-shadow(0 0 8px rgba(120, 175, 46, 0.6));
  }
}

/* Light mode adjustments */
[data-theme="light"] .connection-line {
  stroke: rgba(120, 175, 46, 0.7);
  filter: drop-shadow(0 0 3px rgba(120, 175, 46, 0.3));
}

/* ==========================================
   GLASS EFFECT LABELS
   ========================================== */
.glass-label .glass-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 18, 18, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-label:hover .glass-card {
  background: rgba(120, 175, 46, 0.2);
  border-color: rgba(120, 175, 46, 0.5);
  box-shadow: 0 6px 24px rgba(120, 175, 46, 0.15);
  transform: translateX(-5px);
}

[data-theme="light"] .glass-label .glass-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .glass-label:hover .glass-card {
  background: rgba(120, 175, 46, 0.15);
  border-color: rgba(120, 175, 46, 0.4);
}

.label-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.glass-label .label-title {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Ambient Animation for Glass Labels */
.glass-label .glass-card {
  animation: cardFloat 6s ease-in-out infinite;
}

/* Staggered animation delays */
.glass-label:nth-child(1) .glass-card {
  animation-delay: 0s;
}

.glass-label:nth-child(2) .glass-card {
  animation-delay: 1.2s;
}

.glass-label:nth-child(3) .glass-card {
  animation-delay: 2.4s;
}

.glass-label:nth-child(4) .glass-card {
  animation-delay: 3.6s;
}

.glass-label:nth-child(5) .glass-card {
  animation-delay: 4.8s;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
  }

  50% {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: 0 10px 30px rgba(120, 175, 46, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(120, 175, 46, 0.3);
  }
}

/* Interactive Rack Labels */
.rack-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
}

.rack-labels.visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease 0.2s;
}

.rack-label {
  position: absolute;
  display: flex;
  align-items: flex-start;
  top: var(--label-top, 50%);
  pointer-events: auto;
}

/* Left side labels - stretch from left edge to rack */
.rack-label.left {
  left: 2%;
  right: 64%;
  /* Dot will be at rack's left edge (~36% from left) */
  flex-direction: row;
}

.rack-label.left .label-content {
  flex-shrink: 0;
  flex-grow: 0;
}

.rack-label.left .label-line {
  order: 1;
  flex-grow: 1;
  /* Line stretches to fill space */
  flex-shrink: 0;
}

.rack-label.left .label-dot {
  order: 2;
  flex-shrink: 0;
  position: relative;
}

/* Right side labels - closer to rack with shorter lines */
.rack-label.right {
  left: 58%;
  /* Dot closer to rack's right edge */
  right: 5%;
  flex-direction: row;
}

.rack-label.right .label-content {
  flex-shrink: 0;
  text-align: left;
}

.rack-label.right .label-line {
  flex-grow: 0;
  width: 30px;
  /* Fixed short line */
}

/* Label content box */
.label-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  width: 220px;
  /* Increased to fit new content */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

/* Bring hovered label to front */
.rack-label:hover {
  z-index: 100;
}

.label-title {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.label-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.label-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.6rem 0 0.5rem;
  line-height: 1.4;
}

.label-fact {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.rack-label.right .label-fact {
  justify-content: flex-end;
}

.fact-icon {
  font-size: 1rem;
}

.rack-label.left .label-content {
  transform-origin: center right;
}

.rack-label.right .label-content {
  transform-origin: center left;
}

/* Connector Lines */
.label-line {
  height: 1px;
  background: var(--border);
  width: 60px;
  transition: all 0.3s ease;
  margin-top: 1.1rem;
  /* Align with title center approx */
}

.rack-label.left .label-line {
  background: linear-gradient(90deg, var(--border), var(--accent-orange));
}

/* Connection dot */
.label-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px var(--accent-orange);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: calc(1.1rem - 5px);
  /* Align with line */
}

/* Hover states */
.rack-label:hover .label-content {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 32px rgba(120, 175, 46, 0.25);
}

.rack-label:hover .label-title {
  color: var(--accent-orange);
}

.rack-label:hover .label-details {
  max-height: 300px;
  /* Increased to prevent clipping */
  opacity: 1;
  margin-top: 0.5rem;
}

.rack-label:hover .label-line {
  background: var(--accent-orange);
  box-shadow: 0 0 15px rgba(120, 175, 46, 0.5);
  height: 3px;
}

.rack-label:hover .label-dot {
  transform: scale(1.4);
  box-shadow: 0 0 20px var(--accent-orange), 0 0 40px rgba(120, 175, 46, 0.4);
}

/* Green accent for AI App Server only */
.rack-label[data-module="appserver"] .label-dot {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.rack-label[data-module="appserver"] .label-line {
  background: linear-gradient(90deg, var(--border), var(--accent-green));
}

.rack-label[data-module="appserver"]:hover .label-content {
  border-color: var(--accent-green);
  box-shadow: 0 8px 32px rgba(2, 94, 196, 0.25);
}

.rack-label[data-module="appserver"]:hover .label-title {
  color: var(--accent-green);
}

.rack-label[data-module="appserver"] .label-fact {
  color: var(--accent-green);
}

.rack-label[data-module="appserver"]:hover .label-line {
  background: var(--accent-green);
  box-shadow: 0 0 15px rgba(2, 94, 196, 0.5);
}

.rack-label[data-module="appserver"]:hover .label-dot {
  box-shadow: 0 0 20px var(--accent-green), 0 0 40px rgba(2, 94, 196, 0.4);
}

/* Staggered entrance animation - only when visible */
.rack-label {
  opacity: 0;
  transform: translateX(-20px);
}

.rack-label.right {
  transform: translateX(20px);
}

.rack-labels.visible .rack-label {
  animation: labelSlideIn 0.6s ease forwards;
}

.rack-labels.visible .rack-label:nth-child(1) {
  animation-delay: 0.1s;
}

.rack-labels.visible .rack-label:nth-child(2) {
  animation-delay: 0.25s;
}

.rack-labels.visible .rack-label:nth-child(3) {
  animation-delay: 0.4s;
}

.rack-labels.visible .rack-label:nth-child(4) {
  animation-delay: 0.55s;
}

.rack-labels.visible .rack-label:nth-child(5) {
  animation-delay: 0.7s;
}

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

/* Pulsing dot animation */
.label-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: dotPulse 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Specs Row Below 3D */
.product-specs-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.spec-box-large {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 3rem;
  text-align: center;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  transition: all 0.3s ease;
}

.spec-box-large:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}

.spec-box-large .spec-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.spec-box-large .spec-value {
  font-family: 'Geist', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.spec-box-large .spec-label {
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================
   HERO STATS
   ========================================== */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: 'Geist', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
section {
  padding: 4rem 3rem;
  position: relative;
}

/* ==========================================
   SOLUTIONS SECTION
   ========================================== */
.solutions-section {
  width: 100%;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--section-divider);
  padding: 60px 3rem;
  transition: var(--theme-transition);
}

.solutions-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.solutions-group-title {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  margin-bottom: 24px;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-orange);
}

.solutions-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

.solutions-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.solutions-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(120, 175, 46, 0.1);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.solution-icon svg {
  width: 22px;
  height: 22px;
}

.solution-card-title {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.5px;
}

.solution-card-desc {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Solutions Responsive */
@media (max-width: 1023px) {
  .solutions-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 60px 2rem;
  }

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

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

@media (max-width: 480px) {
  .solutions-section {
    padding: 60px 1.5rem;
  }

  .solutions-grid-3,
  .solutions-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   AI SERVICES SECTION
   ========================================== */
.ai-section {
  width: 100%;
  background-color: var(--bg-primary);
  padding: 60px 3rem;
  transition: var(--theme-transition);
}

.ai-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ai-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}

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

.ai-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
}

.ai-card-icon svg {
  width: 24px;
  height: 24px;
}

.ai-card-title {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.5px;
}

.ai-card-desc {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* AI Section Responsive */
@media (max-width: 1023px) {
  .ai-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ai-section {
    padding: 60px 2rem;
  }
}

@media (max-width: 480px) {
  .ai-section {
    padding: 60px 1.5rem;
  }

  .ai-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   NEURAL NETWORK VISUALIZATION
   ========================================== */
.neural-network-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 420px;
}

.nn-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nn-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nn-node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  animation: nodePulse 3s ease-in-out infinite;
}

.nn-node.orange {
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange-glow);
}

.nn-node.green {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green-glow);
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.nn-connections {
  width: 60px;
  height: 200px;
  flex-shrink: 0;
}

.nn-line {
  stroke: rgba(120, 175, 46, 0.3);
  stroke-width: 1;
  animation: nnLinePulse 4s ease-in-out infinite;
}

@keyframes nnLinePulse {
  0%, 100% {
    opacity: 0.25;
    stroke: rgba(120, 175, 46, 0.2);
  }
  50% {
    opacity: 0.8;
    stroke: rgba(120, 175, 46, 0.6);
  }
}

.nn-label {
  font-family: 'Geist', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners-section {
  width: 100%;
  background-color: var(--bg-primary);
  padding: 60px 3rem;
  transition: var(--theme-transition);
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

/* ---------- Logo Slider ---------- */
@keyframes logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 80px;
  align-items: center;
  animation: logo-scroll 25s linear infinite;
}

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

.logo-slider-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 220px;
}

.slider-logo {
  max-width: 317px;
  max-height: 115px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
  filter: brightness(0) invert(1); /* dark mode: white logos */
}

.slider-logo--color {
  filter: none !important;
  opacity: 1;
}

.logo-slider:hover .slider-logo { opacity: 1; }

[data-theme="light"] .slider-logo {
  filter: brightness(0); /* light mode: dark logos */
}

[data-theme="light"] .slider-logo--color {
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .logo-slider-track { animation: none; transform: translateX(0); }
}

/* ---------- Featured Partner Links ---------- */
.featured-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.featured-partners-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.featured-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: 'Geist', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.featured-partner-link:hover { color: var(--accent-orange); }
.featured-partner-link svg { opacity: 0.5; transition: opacity 0.3s ease; }
.featured-partner-link:hover svg { opacity: 1; }

.featured-partner-logo {
  height: 29px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.featured-partner-link:hover .featured-partner-logo { opacity: 1; }
[data-theme="light"] .featured-partner-logo { filter: brightness(0); }

/* ==========================================
   WHAT WE DO SECTION
   ========================================== */
/* ==========================================
   GLOBAL SECTION HEADERS
   ========================================== */

/* Standardized Eyebrow (Label with Line) */
.section-tag,
.eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  color: var(--text-bright);
  display: inline-block;
  width: fit-content;
}

.hero-eyebrow,
.eyebrow-line {
  display: none !important;
}

/* Add the orange line automatically for these classes */


/* Ensure consistent Headlines */
.section-headline,
.section-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-bright);
  margin-bottom: 24px;
  text-align: left;
  letter-spacing: -1px;
}

/* Dual Column Title Layout */
.dual-column-title {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

.title-column {
  display: flex;
  flex-direction: column;
}

.title-column .headline-solid,
.title-column .headline-gradient {
  display: block;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .dual-column-title {
    flex-direction: column;
    /* Stack columns on mobile */
    gap: 0.5rem;
    align-items: center;
    /* Center align */
    text-align: center;
  }

  .title-column {
    align-items: center;
  }

  .section-headline,
  .section-title {
    font-size: 36px;
  }
}

/* Ensure consistent Subheads */
.section-subhead,
.section-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  text-align: left;
}

/* Unified Section Spacing (match Hero) */
#products,
.solutions-section,
.solutions-mega-section,
.ai-section,
.rack-comparison,
#contact,
.why-omni-section,
.s4-section,
.our-stack-section,
.cta-section {
  padding: 60px 3rem;
  position: relative;
}

/* Header Container Reset - Consistent with Partners/Contact */
.section-header,
.comparison-header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Individual Card */
.wwd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.wwd-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}

/* Card Number */
.card-number {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 24px;
}

/* Card Title */
.card-title {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 16px;
}

/* Card Description */
.card-description {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Card Bullets */
.card-bullets {
  margin-top: auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.card-bullets li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
}

.card-bullets li:last-child {
  border-bottom: none;
}

.bullet-indicator {
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 600;
  margin-right: 12px;
}

/* Scroll Animation Initial State */
.wwd-card {
  opacity: 0;
  transform: translateY(40px);
}

.wwd-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wwd-card[data-card="1"].animate-in {
  transition-delay: 0ms;
}

.wwd-card[data-card="2"].animate-in {
  transition-delay: 150ms;
}

.wwd-card[data-card="3"].animate-in {
  transition-delay: 300ms;
}

/* Responsive: Tablet */
@media (max-width: 1023px) {
  .section-headline {
    font-size: 36px;
  }

  .section-subhead {
    margin-bottom: 56px;
  }

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

/* Responsive: Mobile */
@media (max-width: 767px) {
  .section-headline {
    font-size: 28px;
  }

  .section-subhead {
    font-size: 18px;
  }

  .wwd-card {
    padding: 32px;
  }

  .card-title {
    font-size: 20px;
  }
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
#products {
  background: var(--bg-primary);
  transition: var(--theme-transition);
}

.products-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.product-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem;
  position: relative;
  transition: var(--theme-transition);
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 175, 46, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.server-diagram {
  width: 100%;
}

.server-1u {
  height: 44px;
  background: linear-gradient(180deg, #1a1a22 0%, #12121a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.75rem;
  margin-bottom: 6px;
  position: relative;
}

[data-theme="light"] .server-1u {
  background: linear-gradient(180deg, #d5d0c4 0%, #ccc7bb 100%);
  border-color: rgba(0, 0, 0, 0.1);
}

.server-1u::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-orange);
  border-radius: 4px 0 0 4px;
}

.server-1u .leds {
  display: flex;
  gap: 4px;
}

.server-1u .led-sm {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

.server-1u .vents {
  flex: 1;
  display: flex;
  gap: 2px;
  justify-content: center;
}

.server-1u .vent-sm {
  width: 2px;
  height: 24px;
  background: var(--bg-primary);
  border-radius: 1px;
}

.server-1u .model {
  font-family: 'Geist', sans-serif;
  font-size: 0.55rem;
  color: var(--accent-orange);
  background: rgba(120, 175, 46, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.server-1u .ports-sm {
  display: flex;
  gap: 3px;
}

.server-1u .port-sm {
  width: 10px;
  height: 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

[data-theme="light"] .server-1u .port-sm {
  border-color: rgba(0, 0, 0, 0.15);
}

.product-info h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.product-info .tagline {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.product-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ==========================================
   SOLUTIONS SECTION (Container)
   ========================================== */
.solutions-mega-section {
  width: 100%;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--section-divider);
  padding: 60px 3rem;
  transition: var(--theme-transition);
  position: relative;
}

.solutions-mega-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

/* ==========================================
   6-PART SOLUTIONS GRID (Compact Cards)
   ========================================== */
.solutions-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 2rem;
}

.sg6-cell {
  border-radius: 14px;
  border: none;
  background: transparent;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  cursor: pointer;
}

[data-theme="light"] .sg6-cell {
  background: transparent;
}

.sg6-cell:hover {
  box-shadow: 0 4px 20px rgba(120, 175, 46, 0.08);
  transform: translateY(-2px);
}

.sg6-cell-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sg6-cell-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  align-items: flex-start;
}

/* Icon */
.sg6-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.sg6-icon svg {
  width: 16px;
  height: 16px;
}

/* Title */
.sg6-cell-title {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

/* Short tagline shown in compact card */
.sg6-cell-tagline {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-muted);
}

.sg6-stat {
  font-weight: 700;
}
.sg6-stat.orange { color: var(--accent-orange); }
.sg6-stat.green { color: var(--accent-green); }

/* Badges */
.sg6-badge {
  font-family: 'Geist', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.sg6-badge.coming-soon {
  background: rgba(120, 175, 46, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(120, 175, 46, 0.3);
}

.sg6-badge.enhanced {
  background: rgba(2, 94, 196, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(2, 94, 196, 0.3);
}

/* Module Chips (compact) */
.sg6-module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sg6-chip {
  font-family: 'Geist', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.sg6-chip.orange {
  background: rgba(120, 175, 46, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(120, 175, 46, 0.3);
}

.sg6-chip.green {
  background: rgba(2, 94, 196, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(2, 94, 196, 0.3);
}

/* Industry Tags (compact) */
.sg6-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sg6-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geist', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

[data-theme="light"] .sg6-tag {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.sg6-tag svg {
  width: 10px;
  height: 10px;
}

/* Callout Badge (compact) */
.sg6-callout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: 'Geist', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sg6-callout.green {
  background: rgba(2, 94, 196, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(2, 94, 196, 0.25);
}

.sg6-callout svg {
  width: 14px;
  height: 14px;
}

/* Fully transparent cell */
.sg6-cell--transparent,
.sg6-cell--transparent:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

/* Rack GLB preview cards */
.sg6-cell-inner--preview {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 200px;
}

.sg6-llm-preview {
  width: 100%;
  height: 100%;
  min-height: 200px;
  position: absolute;
  inset: 0;
  background: transparent;
}

.sg6-rack-preview {
  width: 100%;
  height: 100%;
  min-height: 200px;
  position: absolute;
  inset: 0;
  --poster-color: transparent;
  background: transparent;
  animation: sg6-float 4s ease-in-out infinite;
}

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

/* Hide model-viewer default UI */
.sg6-rack-preview::part(default-progress-bar) {
  display: none;
}

.sg6-overlay-right--model {
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

.sg6-overlay-model {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  --poster-color: transparent;
  background: transparent;
}

.sg6-overlay-model::part(default-progress-bar) {
  display: none;
}

.sg6-preview-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  pointer-events: none;
}

.sg6-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .sg6-preview-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.85) 0%, transparent 100%);
}

.sg6-preview-overlay .sg6-cell-title {
  margin: 0;
}

.sg6-preview-overlay .sg6-module-chips {
  margin: 0;
}

.sg6-preview-overlay .sg6-cell-tagline {
  margin: 0;
  font-size: 11px;
}

/* ==========================================
   PRODUCTS — SovereignOMNI
   ========================================== */
.products-section {
  padding: 100px 4rem;
  background: var(--bg-primary);
  transition: var(--theme-transition);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sovereign-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.sovereign-model-wrapper {
  flex: 0 0 50%;
  position: relative;
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.sovereign-model-viewer {
  width: 100%;
  height: 100%;
  min-height: 500px;
  --poster-color: transparent;
  background: transparent;
}

.sovereign-model-viewer::part(default-progress-bar) {
  display: none;
}

.sovereign-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sovereign-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.sovereign-product-badge svg {
  width: 14px;
  height: 14px;
}

.sovereign-product-title {
  font-family: 'Geist', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.sovereign-product-lead {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sovereign-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sovereign-spec-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--theme-transition);
}

.sovereign-spec-item:hover {
  border-color: var(--border-hover);
}

.sovereign-spec-label {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sovereign-spec-value {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-orange);
}

.sovereign-features-title {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.sovereign-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sovereign-feature-list li {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.sovereign-feature-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1023px) {
  .sovereign-layout {
    flex-direction: column;
    gap: 40px;
  }

  .sovereign-model-wrapper {
    flex: none;
    width: 100%;
    min-height: 400px;
  }

  .sovereign-model-viewer {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 60px 2rem;
  }

  .sovereign-product-title {
    font-size: 22px;
  }

  .sovereign-specs {
    grid-template-columns: 1fr;
  }

  .sovereign-model-wrapper {
    min-height: 300px;
  }

  .sovereign-model-viewer {
    min-height: 300px;
  }
}

/* ==========================================
   EXPAND OVERLAY (full-page detail view)
   ========================================== */
.sg6-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s 0.35s;
}

[data-theme="light"] .sg6-overlay {
  background: rgba(255, 255, 255, 0.92);
}

.sg6-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s 0s;
}

/* Close button */
.sg6-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 18, 18, 0.6);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sg6-overlay-close:hover {
  border-color: var(--accent-orange);
  background: rgba(120, 175, 46, 0.15);
}

[data-theme="light"] .sg6-overlay-close {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

.sg6-overlay-close svg {
  width: 20px;
  height: 20px;
}

/* Left panel (default: visual) */
.sg6-overlay-left {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--bg-primary);
  border-right: none;
  overflow-y: auto;
}

.sg6-overlay-left--full {
  flex-direction: column;
  gap: 20px;
}

/* Right panel (default: text) */
.sg6-overlay-right {
  flex: 1;
  padding: 80px 60px 60px;
  overflow-y: auto;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Flipped overlay: text LEFT, visual RIGHT */
.sg6-overlay--flipped .sg6-overlay-left {
  flex: 0 0 40%;
  padding: 80px 40px 60px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}

.sg6-overlay--flipped .sg6-overlay-right {
  flex: 0 0 60%;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg6-overlay--flipped .sg6-overlay-left p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sg6-overlay--flipped .sg6-overlay-left p strong {
  color: var(--text-bright);
}

.sg6-overlay-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.sg6-overlay-header h3 {
  font-family: 'Geist', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.sg6-overlay-right p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sg6-overlay-right p strong {
  color: var(--text-bright);
}

.sg6-overlay-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-top: 8px;
}

.sg6-overlay-lead {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-primary);
}

.sg6-overlay-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sg6-overlay-bullets li {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.sg6-overlay-bullets li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
}

/* Overlay-specific inner layouts */
.sg6-overlay-chips {
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.sg6-overlay-chips .sg6-chip {
  font-size: 0.85rem;
  padding: 10px 24px;
}

.sg6-overlay-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.sg6-overlay-ai-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.sg6-overlay-ai-cards .ai-card {
  padding: 20px;
  gap: 10px;
}

.sg6-overlay-hint {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* Rack inside overlay right panel */
/* Full-scene overlay (animation fills entire page) */
.sg6-overlay--fullscene {
  background: var(--bg-primary);
}

.sg6-overlay--fullscene .sg6-overlay-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  overflow: visible;
}

.sg6-overlay--fullscene .sg6-overlay-scene .product-3d-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 18%;
  bottom: -18%;
  left: calc(-5% + 20px);
  right: 0;
  width: 150%;
}

.sg6-overlay-textpanel {
  position: relative;
  z-index: 2;
  width: 50%;
  max-width: none;
  padding: 80px 40px 60px;
  overflow-y: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(to right, var(--bg-primary) 70%, transparent 100%);
}

.sg6-overlay-textpanel p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sg6-overlay-textpanel p strong {
  color: var(--text-bright);
}

/* LLM Token Flow overlay UI — vertical (top-to-bottom) flow */
.llm-text-panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  pointer-events: none;
  z-index: 3;
  font-family: 'Geist', sans-serif;
  text-align: center;
}
.llm-input-panel { top: 25%; }
.llm-output-panel { bottom: 25%; }

.llm-panel-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.5;
  text-align: center;
}
.llm-input-panel .llm-panel-label { color: var(--accent-orange); }
.llm-output-panel .llm-panel-label { color: #025EC4; }

.llm-text-content {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  min-height: 40px;
}

.llm-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-orange);
  margin-left: 2px;
  animation: llm-blink 1s infinite;
  vertical-align: text-bottom;
}
.llm-cursor-out { background: #025EC4; }

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

.llm-flow-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.15);
  font-size: 20px;
  z-index: 3;
  pointer-events: none;
}
.llm-flow-1 { top: 28%; }
.llm-flow-2 { bottom: 28%; }

#llm-scene-container canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* AI overlay — text left, animation right */
.sg6-overlay--ai {
  display: flex;
  flex-direction: row;
  background: var(--bg-primary);
}

.sg6-overlay-textpanel--left {
  position: relative;
  z-index: 2;
  flex: 0 0 50%;
  max-width: none;
  padding: 80px 40px 60px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(to right, var(--bg-primary) 70%, transparent 100%);
}

.sg6-overlay-textpanel--left p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sg6-overlay-textpanel--left p strong {
  color: var(--text-bright);
}

.sg6-overlay-scene--right {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* Overlay uses existing service-item, tag, chip, neural, placeholder styles */

/* Service items (used in overlay) */
.sg6-service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  background: transparent;
  border: none;
}

[data-theme="light"] .sg6-service-item {
  background: transparent;
}

.sg6-service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 6px;
}

.sg6-service-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sg6-service-name {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.2px;
}

.sg6-service-desc {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Placeholder (used in overlay) */
.sg6-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  width: 100%;
  max-width: 360px;
  background: transparent;
  border: none;
  padding: 40px;
}

[data-theme="light"] .sg6-placeholder {
  background: transparent;
}

.sg6-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(120, 175, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.sg6-placeholder-icon svg {
  width: 28px;
  height: 28px;
}

.sg6-placeholder-text {
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Neural container (used in overlay) */
.sg6-neural-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  padding: 20px 0;
}

/* ==========================================
   6-PART GRID + OVERLAY RESPONSIVE
   ========================================== */

/* Tablet: 2-col */
@media (max-width: 1023px) {
  .solutions-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg6-overlay {
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sg6-overlay-left {
    flex: 0 0 auto;
    min-height: 240px;
    border-right: none;
    border-bottom: none;
  }

  .sg6-overlay-right {
    padding: 40px 32px;
  }

  /* Flipped: on tablet, text panel first (already left), visual below */
  .sg6-overlay--flipped .sg6-overlay-left {
    flex: 0 0 auto;
    padding: 40px 32px;
    min-height: auto;
  }

  .sg6-overlay--flipped .sg6-overlay-right {
    flex: 0 0 auto;
    min-height: 240px;
    padding: 40px 32px;
  }

  .sg6-overlay-textpanel {
    width: 100%;
    max-width: none;
    padding: 40px 24px;
    height: auto;
    position: relative;
    z-index: 2;
  }

  /* Fullscene (Network Stack) tablet */
  .sg6-overlay--fullscene {
    flex-direction: column;
    overflow-y: auto;
  }

  .sg6-overlay--fullscene .sg6-overlay-scene {
    position: relative;
    left: 0;
    flex: 1;
    min-height: 400px;
    overflow: hidden;
  }

  .sg6-overlay--fullscene .sg6-overlay-scene .product-3d-container {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
  }

  /* AI overlay tablet */
  .sg6-overlay--ai {
    flex-direction: column;
  }

  .sg6-overlay-textpanel--left {
    flex: 0 0 auto;
    max-width: none;
    padding: 40px 32px;
    background: linear-gradient(to bottom, var(--bg-primary) 70%, transparent 100%);
  }

  .sg6-overlay-scene--right {
    flex: 1;
    min-height: 300px;
  }
}

/* Mobile: 1-col */
@media (max-width: 768px) {
  .solutions-mega-section {
    padding: 60px 2rem;
  }

  .solutions-grid-6 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sg6-top-center { order: 1; }
  .sg6-bottom-center { order: 2; }
  .sg6-bottom-left { order: 3; }
  .sg6-top-left { order: 4; }
  .sg6-top-right { order: 5; }
  .sg6-bottom-right { order: 6; }

  .sg6-cell-inner {
    padding: 16px;
    gap: 8px;
  }

  .sg6-cell-title {
    font-size: 12px;
  }

  .sg6-overlay-left {
    min-height: 180px;
    padding: 30px 20px;
  }

  .sg6-overlay-right {
    padding: 30px 20px;
  }

  .sg6-overlay--flipped .sg6-overlay-left {
    min-height: auto;
    padding: 30px 20px;
  }

  .sg6-overlay--flipped .sg6-overlay-right {
    min-height: 180px;
    padding: 30px 20px;
  }

  .sg6-overlay-header h3 {
    font-size: 18px;
  }

  .sg6-overlay-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .sg6-overlay-textpanel {
    width: 100%;
    max-width: none;
    padding: 60px 20px 30px;
    height: auto;
    background: linear-gradient(to bottom, var(--bg-primary) 60%, transparent 100%);
  }

  /* All overlays scrollable on mobile */
  .sg6-overlay {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide all animations/3D in overlays on mobile — text only */
  .sg6-overlay--fullscene .sg6-overlay-scene {
    display: none !important;
  }

  .sg6-overlay--flipped .sg6-overlay-right {
    display: none !important;
  }

  .sg6-overlay--ai .sg6-overlay-scene--right {
    display: none !important;
  }

  /* Make text panels full width on mobile */
  .sg6-overlay-textpanel {
    width: 100% !important;
    background: none !important;
  }

  .sg6-overlay-textpanel--left {
    flex: 1 !important;
    padding: 60px 20px 30px;
    background: none !important;
  }
}

@media (max-width: 480px) {
  .solutions-mega-section {
    padding: 60px 1.5rem;
  }

  .sg6-cell-inner {
    padding: 14px;
  }
}

.product-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  transition: var(--theme-transition);
}

.spec-box .label {
  font-family: 'Geist', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.spec-box .value {
  font-family: 'Geist', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-orange);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-card:hover {
  border-color: rgba(120, 175, 46, 0.3);
  transform: translateY(-4px);
}

.product-card.featured {
  border-color: var(--accent-orange);
  position: relative;
}

.product-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent-orange);
  color: #fff;
  font-family: 'Geist', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.product-card-header {
  background: var(--bg-elevated);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: var(--theme-transition);
}

.mini-server {
  width: 100%;
  max-width: 200px;
}

.mini-1u {
  height: 28px;
  background: linear-gradient(180deg, #1a1a22 0%, #12121a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
  margin-bottom: 4px;
}

[data-theme="light"] .mini-1u {
  background: linear-gradient(180deg, #d5d0c4 0%, #ccc7bb 100%);
  border-color: rgba(0, 0, 0, 0.1);
}

.mini-1u::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 4px var(--accent-green);
}

.mini-1u .mini-vents {
  flex: 1;
  display: flex;
  gap: 2px;
  justify-content: center;
}

.mini-1u .mini-vent {
  width: 1px;
  height: 16px;
  background: var(--bg-primary);
}

.mini-1u .mini-ports {
  display: flex;
  gap: 2px;
}

.mini-1u .mini-port {
  width: 6px;
  height: 5px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mini-1u .mini-port {
  border-color: rgba(0, 0, 0, 0.15);
}

.product-card-body {
  padding: 2rem;
}

.product-card .tier {
  font-family: 'Geist', sans-serif;
  font-size: 0.65rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.product-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-card .savings {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card .savings-icon {
  font-size: 1.2rem;
}

.product-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.product-card ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.product-card ul li:last-child {
  border-bottom: none;
}

.product-card ul li span {
  font-family: 'Geist', sans-serif;
  color: var(--text-bright);
  font-size: 0.8rem;
}

.product-card .cta {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card .cta:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.product-card.featured .cta {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

/* ==========================================
   VALUE PROPS BANNER
   ========================================== */
.value-banner {
  background: var(--bg-primary);
  padding: 3rem;
  margin-top: 4rem;
  border: 1px solid var(--section-divider);
  transition: var(--theme-transition);
}

.value-banner-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
}

.value-item .value-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.value-item .value-text {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.value-item .value-highlight {
  color: var(--accent-orange);
  font-weight: 700;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
#contact {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--section-divider);
  padding: 120px 3rem;
  transition: var(--theme-transition);
}

.contact-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  margin-bottom: 60px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-heading {
  font-family: 'Geist', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-card {
  text-decoration: none;
  display: block;
}

.team-card-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.team-card:hover .team-card-content {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(120, 175, 46, 0.15);
}

.team-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.team-icon svg {
  width: 28px;
  height: 28px;
}

.team-details {
  flex: 1;
}

.team-name {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-title {
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.team-email {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.team-card:hover .team-email {
  color: var(--accent-green);
}

.team-email svg {
  width: 14px;
  height: 14px;
}

/* ==========================================
   HORIZONTAL TEAM CARDS LAYOUT (No Form)
   ========================================== */
.contact-cards-only {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-cards-only .team-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.team-cards-horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.team-card-vertical {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 280px;
  max-width: 340px;
}

.team-card-vertical:hover {
  border-color: var(--accent-orange);
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(120, 175, 46, 0.2);
}

/* Solid color photo placeholder */
.team-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ffffff;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

/* Light mode - black placeholder */
[data-theme="light"] .team-photo-placeholder {
  background-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-card-vertical:hover .team-photo-placeholder {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(120, 175, 46, 0.3);
}

.team-details-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.team-details-vertical .team-name {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.team-details-vertical .team-title {
  font-size: 0.7rem;
  max-width: 240px;
  line-height: 1.5;
}

.team-details-vertical .team-email {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .team-cards-horizontal {
    flex-direction: column;
    gap: 2rem;
  }

  .team-card-vertical {
    width: 100%;
    max-width: 100%;
  }
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: var(--theme-transition);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: 'Geist', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

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

.form-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--accent-orange);
  border: none;
  color: #fff;
  font-family: 'Geist', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  box-shadow: 0 10px 40px var(--glow);
  transform: translateY(-2px);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.glass-footer {
  width: 100%;
  padding: 1.5rem 3rem;
  /* Liquid Glass Effect matching Nav */
  background: rgba(0, 18, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  margin-top: auto;
  contain: layout style paint;
}

[data-theme="light"] .glass-footer {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-text {
  font-family: 'Geist', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: 'Geist', sans-serif;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animations for cards */
.service-card:nth-child(1) {
  transition-delay: 0s;
}

.service-card:nth-child(2) {
  transition-delay: 0.1s;
}

.service-card:nth-child(3) {
  transition-delay: 0.2s;
}

.product-card:nth-child(1) {
  transition-delay: 0s;
}

.product-card:nth-child(2) {
  transition-delay: 0.1s;
}

.product-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-visual {
    margin-top: 4rem;
  }

  .products-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .value-banner-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  /* ---- GLOBAL MOBILE BASE ---- */
  body {
    padding-bottom: 80px;
    font-size: 16px;
    overflow-x: hidden;
  }

  button,
  a,
  .tubelight-item {
    touch-action: manipulation;
  }

  .nav-links {
    display: none;
  }

  .nav-center {
    gap: 1rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  /* ---- HERO SECTION ---- */
  .hero {
    padding: 80px 1.5rem 40px;
    min-height: 100vh;
    min-height: 100svh;
    justify-content: center;
  }

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

  .hero-headline {
    font-size: clamp(22px, 7vw, 38px);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subhead {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .scroll-indicator {
    bottom: 100px;
  }

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

  /* ---- PRODUCTS SECTION ---- */

  /* Default: hide 3D elements on mobile (outside overlays) */
  #rack-canvas {
    display: none !important;
  }

  /* Show rack canvas inside overlay */
  .sg6-overlay--fullscene #rack-canvas {
    display: block !important;
  }

  .rack-fallback {
    display: none !important;
  }

  .rack-tree-svg {
    display: none !important;
  }

  .rack-labels {
    display: none !important;
  }

  .product-3d-container {
    height: auto;
    min-height: auto;
    max-height: none;
    margin: 0;
  }

  /* Hide mobile module list inside overlay, show rack instead */
  .sg6-overlay--fullscene .mobile-module-list {
    display: none !important;
  }

  /* Static module list (fallback when 3D not available) */
  .mobile-module-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    width: 100%;
  }

  /* Hide static list when 3D scrollytelling is active */
  .product-3d-container.mobile-3d-active .mobile-module-list {
    display: none !important;
  }

  .mobile-module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
    min-height: 44px;
  }

  .mobile-module-item:hover,
  .mobile-module-item:active {
    border-color: var(--accent-orange);
  }

  .mobile-module-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
  }

  .mobile-module-dot.orange { background: var(--accent-orange); color: var(--accent-orange); }
  .mobile-module-dot.green { background: var(--accent-green); color: var(--accent-green); }

  .mobile-module-name {
    font-family: 'Geist', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ---- MOBILE 3D SCROLLYTELLING ---- */
  .mobile-3d-scrollytelling {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 2.5rem;
  }

  /* Override: show canvas when 3D is active */
  .product-3d-container.mobile-3d-active #rack-canvas {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
  }

  .mobile-sticky-wrapper {
    position: sticky;
    top: calc(50vh - 250px);
    z-index: 2;
    height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }

  .mobile-scroll-spacer {
    height: 250vh;
    pointer-events: none;
  }

  /* Reveal cards — overlaid at bottom of sticky wrapper */
  .mobile-reveal-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: 10;
  }

  .mobile-reveal-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .reveal-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-height: 44px;
  }

  [data-theme="light"] .reveal-card-inner {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
  }

  .reveal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .reveal-dot.orange {
    background: var(--accent-orange);
    box-shadow: 0 0 8px rgba(120, 175, 46, 0.5);
  }

  .reveal-dot.green {
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(2, 94, 196, 0.5);
  }

  .reveal-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .reveal-card-title {
    font-family: 'Geist', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .reveal-card-desc {
    font-family: 'Geist', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
  }

  /* Scroll progress dots — right edge */
  .mobile-scroll-dots {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 11;
  }

  .mobile-scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
    transition: all 0.3s ease;
  }

  .mobile-scroll-dot.active {
    opacity: 1;
    background: var(--accent-orange);
    box-shadow: 0 0 6px rgba(120, 175, 46, 0.5);
    transform: scale(1.3);
  }

  /* Loading state overlay */
  .mobile-rack-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 20;
    background: var(--bg-primary);
  }

  .mobile-rack-loading.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: mobileRackSpin 0.8s linear infinite;
  }

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

  .loading-text {
    font-family: 'Geist', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .product-specs-grid {
    grid-template-columns: 1fr;
  }

  .product-specs-row {
    gap: 1rem;
  }

  .spec-box-large {
    padding: 1.5rem 2rem;
    min-width: 150px;
  }

  /* ---- PARTNERS SECTION ---- */
  .sticky-tab-content.partners-section { padding: 3rem 1.5rem; }
  .logo-slider { padding: 24px 0; }
  .logo-slider-track { gap: 48px; animation-duration: 18s; }
  .logo-slider-item { height: 56px; width: 160px; }
  .slider-logo { max-width: 259px; max-height: 92px; }
  .featured-partners { gap: 16px; margin-top: 24px; padding-top: 24px; }
  .featured-partners-links { flex-direction: column; gap: 20px; }

  /* ---- CONTACT SECTION ---- */
  #contact {
    padding: 80px 1.5rem;
  }

  .team-email {
    overflow-wrap: break-word;
    word-break: break-all;
    font-size: 0.75rem;
  }

  .team-card-vertical {
    padding: 1.5rem;
    min-height: 44px;
  }

  .team-details-vertical .team-title {
    font-size: 0.75rem;
  }

  .team-details-vertical .team-name {
    font-size: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* ---- FOOTER ---- */
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-text {
    font-size: 0.875rem;
  }

  .glass-footer {
    padding: 1.5rem 1.5rem calc(1.5rem + 80px);
  }
}

/* ==========================================
   EXTRA-SMALL PHONES (320px - 480px)
   ========================================== */
@media (max-width: 480px) {

  section {
    padding: 3rem 1rem;
  }

  #products,
  #contact,
  .why-omni-section,
  .s4-section,
  .our-stack-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .sticky-tab-content.partners-section { padding: 2.5rem 1rem; }
  .logo-slider-track { gap: 36px; animation-duration: 15s; }
  .logo-slider-item { height: 44px; width: 130px; }
  .slider-logo { max-width: 202px; max-height: 70px; }
  .featured-partner-link { font-size: 0.7rem; }
  .featured-partner-logo { height: 23px; }

  /* Tighter headings */
  .section-headline,
  .section-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .hero-headline {
    font-size: clamp(18px, 6.5vw, 32px);
  }

  .hero-subhead {
    font-size: 15px;
  }

  /* Module cards full width */
  .mobile-module-list {
    padding: 1rem;
  }

  .mobile-module-item {
    padding: 0.85rem 1rem;
  }

  .mobile-module-name {
    font-size: 0.8rem;
  }

  /* Contact */
  .team-heading {
    font-size: 1.1rem;
  }

  .team-details-vertical .team-email {
    font-size: 0.75rem;
  }


  .contact-form {
    padding: 1rem;
  }

  /* Footer */
  .footer-links {
    gap: 0.5rem;
    font-size: 0.7rem;
  }

  .glass-footer {
    padding: 1rem 1rem calc(1rem + 80px);
  }
}

/* Medium screens - smaller labels */
@media (max-width: 1400px) {
  .rack-label.left {
    right: 56%;
  }

  .rack-label.right {
    left: 56%;
  }

  .label-content {
    padding: 0.5rem 0.8rem;
    min-width: 100px;
    max-width: 180px;
  }

  .label-title {
    font-size: 0.75rem;
  }

  .label-desc {
    font-size: 0.7rem;
  }

  .label-fact {
    font-size: 0.65rem;
  }
}

@media (max-width: 1100px) {
  .rack-label.left {
    right: 54%;
  }

  .rack-label.right {
    left: 54%;
  }

  .label-content {
    max-width: 140px;
  }

  .label-title {
    font-size: 0.7rem;
  }
}

/* ==========================================
   LIQUID GRADIENT EFFECT
   ========================================== */
#liquid-gradient-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#liquidGradientCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gradient Scheme Controls */
.gradient-scheme-controls {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-scheme-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Geist', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.gradient-scheme-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.gradient-scheme-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #001212;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(120, 175, 46, 0.4);
}

.gradient-scheme-btn.active:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
}

/* Light mode adjustments */
[data-theme="light"] .gradient-scheme-controls {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gradient-scheme-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .gradient-scheme-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  color: #001212;
}

[data-theme="light"] .gradient-scheme-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gradient-scheme-controls {
    bottom: 6rem;
    gap: 0.5rem;
    padding: 0.4rem;
  }

  .gradient-scheme-btn {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
  }
}

/* ==========================================
   RACK COMPARISON SECTION
   ========================================== */
.rack-comparison {
  background: var(--bg-primary);
  border-top: 1px solid var(--section-divider);
  padding: 100px 3rem;
  transition: var(--theme-transition);
}

.comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 60px;
}

.comparison-header .eyebrow {
  justify-content: center;
}

.comparison-header .section-headline {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.comparison-header .section-subhead {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.comparison-rack {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.comparison-rack:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.comparison-rack.legacy {
  --rack-accent: #025EC4;
}

.comparison-rack.omni {
  --rack-accent: var(--accent-orange);
}

/* Rack Header */
.rack-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rack-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================
   SOFTWARE STACK SECTION
   ========================================== */
.software-stack-section {
  width: 100%;
  max-width: 100%;
  margin-top: 4rem;
  padding: 0;
}

/* Main two-column grid - diagram aligns with header */
.software-main-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  /* Left column narrower, right column for diagram */
  gap: 3rem;
  align-items: start;
  /* Align both columns to top */
}

/* Left column contains header + bullet points */
.software-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Match standard spacing between eyebrow and headline */
.software-left-column .section-tag {
  margin-bottom: 0.5rem;
}

.software-left-column .section-subtitle {
  margin-bottom: 1rem;
}

.software-header {
  text-align: left;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.gatespeed-credit {
  font-family: 'Geist', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  display: block;
}

.gatespeed-highlight {
  color: var(--accent-orange);
  font-weight: 700;
}

.software-content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.software-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0.5rem;
}

.software-point {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.point-title {
  font-family: 'Geist', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.point-title::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
}

.point-desc {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Software Visual Wrapper - contains image + credit */
.software-visual-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  margin-top: 8rem;
  /* Push diagram down ~25% to align with content */
}

.software-visual {
  width: 85%;
  /* Reduced by 15% */
  height: auto;
  min-height: 425px;
  /* Reduced from 500px by 15% */
  padding: 0;
  background: transparent;
  border-radius: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* Clip SVG corners to rounded border */
}

[data-theme="light"] .software-visual {
  background: transparent;
}

.stack-image {
  width: 100%;
  height: 100%;
  min-height: 425px;
  /* Reduced from 500px by 15% */
  object-fit: cover;
  border-radius: 1.5rem;
  /* Rounded corners on the image itself */
  transition: transform 0.3s ease;
}

.software-visual:hover .stack-image {
  transform: translateY(-5px);
}

/* GateSpeed Credit - positioned below image */
.software-visual-wrapper .gatespeed-credit {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 100%;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .software-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .software-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.rack-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.comparison-rack.legacy .rack-icon {
  background: rgba(68, 136, 255, 0.15);
  color: #025EC4;
}

.comparison-rack.omni .rack-icon {
  background: rgba(120, 175, 46, 0.15);
  color: var(--accent-orange);
}

.rack-title {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0;
}

.rack-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
}

.rack-badge {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-rack.legacy .rack-badge {
  background: rgba(68, 136, 255, 0.15);
  color: #025EC4;
  border: 1px solid rgba(68, 136, 255, 0.3);
}

.comparison-rack.omni .rack-badge {
  background: rgba(120, 175, 46, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(120, 175, 46, 0.3);
}

/* 3D Canvas Container */
.rack-canvas-container {
  position: relative;
  width: 100%;
  height: 550px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
}


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

/* Module Labels */
.rack-module-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.module-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(-10px);
  animation: moduleFadeIn 0.5s ease forwards;
}

.module-label.right {
  flex-direction: row-reverse;
  transform: translateX(10px);
}

.module-label:nth-child(1) {
  animation-delay: 0.3s;
}

.module-label:nth-child(2) {
  animation-delay: 0.45s;
}

.module-label:nth-child(3) {
  animation-delay: 0.6s;
}

.module-label:nth-child(4) {
  animation-delay: 0.75s;
}

.module-label:nth-child(5) {
  animation-delay: 0.9s;
}

.module-label:nth-child(6) {
  animation-delay: 1.05s;
}

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

.module-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rack-accent);
  box-shadow: 0 0 10px var(--rack-accent);
  flex-shrink: 0;
}

.module-line {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--rack-accent), transparent);
}

.module-label.right .module-line {
  background: linear-gradient(90deg, transparent, var(--rack-accent));
}

.module-tag {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.module-label:hover .module-tag {
  border-color: var(--rack-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Rack Stats */
.rack-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.rack-stat {
  background: var(--bg-card);
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-family: 'Geist', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--rack-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Comparison Summary */
.comparison-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.summary-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

.summary-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.summary-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(120, 175, 46, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.summary-value {
  font-family: 'Geist', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.summary-label {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 768px) {
  .rack-comparison {
    padding: 80px 1.5rem;
  }

  .rack-canvas-container {
    height: 350px;
  }

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

  .comparison-summary {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .rack-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .module-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .gradient-scheme-controls {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
    border-radius: 16px;
  }

  .gradient-scheme-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.6rem;
  }
}

/* ==========================================
   PRESS START 2P & HERO TEXT UPDATES
   ========================================== */
.momo-wrapper {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 0.55em;
  /* Smaller size for pixel font readability */
  margin-top: 12px;
  margin-bottom: 16px;
  /* Better spacing for pixel font */
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
  /* Forces text onto one line */
  /* Default value for Dark Mode - Text is White */
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Light Mode Overrides (Scheme 4, light bg) */
[data-theme="light"] .momo-wrapper {
  color: #000000;
  /* Re-Imagining in Black */
}

/* Hero Subhead Updates */
.hero-subhead {
  font-family: 'Geist', sans-serif;
  font-size: 21px;
  /* Increased from 18px (+2 points approx) */
  font-weight: 400;
  line-height: 1.7;
  /* Default Dark Mode: Text is White */
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 auto;
}

.hero-subhead strong {
  /* Default Dark Mode: Highlighted words are Bold and Black */
  font-weight: 700;
  color: #000000;
}

/* Light Mode Overrides for Subhead */
[data-theme="light"] .hero-subhead {
  color: #FFFFFF;
}

[data-theme="light"] .hero-subhead strong {
  color: #7EC8E3;
  /* Baby blue for highlighted words */
}

/* ==========================================
   OUR EDGE SECTION
   ========================================== */
.our-edge {
  padding: 100px 3rem;
}

.our-edge-container {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.our-edge-text {
  display: flex;
  flex-direction: column;
}

.our-edge-copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 16px;
}

.our-edge-copy--bold {
  font-weight: 700;
  color: var(--text-primary);
}

/* Stat row */
.our-edge-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--section-divider);
}

.our-edge-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.our-edge-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1.2;
}

.our-edge-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* CTA link */
.our-edge-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.our-edge-cta:hover {
  gap: 10px;
}

.our-edge-cta svg {
  flex-shrink: 0;
}

/* Divider between headline and body copy */
.our-edge-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ---- Comparison Slider ---- */
.our-edge-compare {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  background: transparent;
}

.our-edge-compare > .compare-img {
  clip-path: inset(0 0 0 50%);
}

.compare-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Top layer — width-based clipping */
.compare-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  background: transparent;
  will-change: width;
}

.compare-clip .compare-img {
  /* Image stays full-container-sized so it aligns with bottom layer */
  min-width: 0;
}

/* Slider line */
.compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent 5%, var(--accent-orange) 50%, transparent 95%);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Handle */
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  pointer-events: auto;
  cursor: grab;
}

.compare-handle:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.compare-handle svg { color: #222; }

/* Labels */
.compare-label {
  position: absolute;
  bottom: 16px;
  z-index: 15;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.compare-label--left {
  left: 16px;
  background: rgba(0,0,0,0.6);
  color: #fff;
}

.compare-label--right {
  right: 16px;
  background: rgba(120, 175, 46, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(120, 175, 46, 0.3);
}

/* Reduced motion: no transitions, fixed at 50% */
@media (prefers-reduced-motion: reduce) {
  .compare-clip,
  .compare-slider {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .our-edge {
    padding: 80px 2rem;
  }

  .our-edge-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 480px) {
  .our-edge {
    padding: 60px 1.5rem;
  }

  .our-edge-stats {
    gap: 12px;
  }
}

/* ==========================================
   WHY OMNI SECTION
   ========================================== */
.why-omni-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-omni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-omni-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.why-omni-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.why-omni-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(120, 175, 46, 0.1);
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.why-omni-stat {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  display: inline-block;
}

.why-omni-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.why-omni-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================
   S^4 SECTION — Accordion + Image Swap
   ========================================== */
.s4-container {
  max-width: 1400px;
  margin: 0 auto;
}

.s4-grid {
  display: grid;
  grid-template-columns: 0.45fr 1px 0.55fr;
  gap: 0 3rem;
  align-items: start;
  margin-top: 48px;
}

/* Vertical divider */
.s4-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Left column — sticky image */
.s4-image-sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--sticky-header-height) + 1.5rem);
}

.s4-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.s4-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  will-change: opacity;
}

.s4-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s4-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Light mode — same as dark, no filter needed */

/* Accordion items */
.s4-accordion-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
  contain: layout style;
}

.s4-accordion-item:first-child {
  border-top: 1px solid var(--border);
}

.s4-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  outline: none;
}

.s4-accordion-header:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.s4-accordion-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.s4-accordion-item.active .s4-accordion-title {
  color: var(--accent-orange);
}

.s4-accordion-arrow {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.s4-accordion-item.active .s4-accordion-arrow {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

/* Accordion body — collapse via max-height */
.s4-accordion-body {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.s4-accordion-item.active .s4-accordion-body {
  opacity: 1;
  padding-bottom: 28px;
}

.s4-accordion-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

/* Responsive: < 900px — stack vertically */
@media (max-width: 900px) {
  .s4-grid {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }

  .s4-divider {
    display: none;
  }

  .s4-image-sticky {
    position: static;
  }

  .s4-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Responsive: < 768px */
@media (max-width: 768px) {
  .s4-accordion-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .s4-accordion-header {
    padding: 18px 0;
  }

  .s4-accordion-text {
    font-size: 15px;
  }
}

/* Responsive: < 480px */
@media (max-width: 480px) {
  .s4-image-wrapper {
    max-width: 260px;
  }

  .s4-accordion-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .s4-accordion-arrow {
    width: 22px;
    height: 22px;
  }

  .s4-accordion-body {
    padding: 0;
  }

  .s4-accordion-item.active .s4-accordion-body {
    padding-bottom: 20px;
  }

  .s4-accordion-text {
    font-size: 14px;
  }
}

/* ==========================================
   OUR STACK — Horizontal Gallery
   ========================================== */
.our-stack-container {
  max-width: 1400px;
  margin: 0 auto;
}

html:not([data-theme="light"]) .sticky-tab-section#our-stack,
html:not([data-theme="light"]) .sticky-tab-section#solutions,
html:not([data-theme="light"]) .sticky-tab-section#deployment,
html:not([data-theme="light"]) .sticky-tab-section#greenfield,
html:not([data-theme="light"]) .sticky-tab-section#sovereign,
html:not([data-theme="light"]) .sticky-tab-section#why-omni {
  --section-bg: #1B2F2B;
  background: #1B2F2B;
}

[data-theme="light"] .sticky-tab-section#our-stack,
[data-theme="light"] .sticky-tab-section#solutions,
[data-theme="light"] .sticky-tab-section#deployment,
[data-theme="light"] .sticky-tab-section#greenfield,
[data-theme="light"] .sticky-tab-section#sovereign,
[data-theme="light"] .sticky-tab-section#why-omni {
  --section-bg: #9cc6db;
  background: #9cc6db;
}

/* 4-column gallery grid */
.stack-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* Individual card — no border, no background */
.stack-card {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  contain: layout style;
  will-change: transform, opacity;
}

/* Staggered entrance delays */
.stack-card:nth-child(1) { transition-delay: 0s; }
.stack-card:nth-child(2) { transition-delay: 0.1s; }
.stack-card:nth-child(3) { transition-delay: 0.2s; }
.stack-card:nth-child(4) { transition-delay: 0.3s; }

.stack-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* Image wrapper */
.stack-card-img {
  overflow: hidden;
  border-radius: 8px;
}

.stack-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 5 / 4;
  transition: transform 0.4s ease;
}


/* Subtle hover zoom on image */
.stack-card:hover .stack-img {
  transform: scale(1.03);
}

/* Text area — borderless */
.stack-card-text {
  padding: 16px 4px 0;
}

.stack-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.stack-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.stack-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-orange);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.stack-link:hover {
  gap: 10px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background-color: var(--bg-secondary);
  contain: layout style paint;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.cta-headline {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-subtext {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 175, 46, 0.3);
}

/* CTA Background Image Modifier */
.cta-bg {
  position: relative;
  z-index: 201;
  background-image: linear-gradient(rgba(0, 18, 18, 0.45), rgba(0, 18, 18, 0.45)),
                    url('/images/backgrounds/back3.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cta-button--outline:hover {
  border-color: var(--accent-orange);
  background: rgba(120, 175, 46, 0.1);
  box-shadow: 0 8px 24px rgba(120, 175, 46, 0.15);
}

[data-theme="light"] .cta-button--outline:hover {
  background: rgba(10, 61, 124, 0.1);
  box-shadow: 0 8px 24px rgba(10, 61, 124, 0.15);
}

[data-theme="light"] .cta-bg {
  background-image: linear-gradient(rgba(0, 18, 18, 0.4), rgba(0, 18, 18, 0.4)),
                    url('/images/backgrounds/back3.webp');
}

[data-theme="light"] .cta-bg .cta-headline,
[data-theme="light"] .cta-bg .cta-subtext {
  color: #FFFFFF;
}

.cta-bg .headline-gradient {
  color: #FFFFFF;
}

/* ==========================================
   COMPANY PAGE
   ========================================== */

/* Hero */
.company-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/images/backgrounds/back2.webp') center/cover no-repeat;
  overflow: hidden;
}

.company-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 18, 18, 0.55);
}

.company-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 720px;
}

.company-hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
}

[data-theme="light"] .company-hero-headline .headline-gradient {
  color: #7EC8E3;
}

.company-hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

/* Sections */
.company-section {
  background: var(--bg-primary);
  padding: 5rem 1.5rem;
}

.company-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Team Grid */
.company-team-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.company-team-card {
  background: #0A2A2A;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  text-decoration: none;
  flex: 0 1 340px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.company-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(120, 175, 46, 0.15);
}

[data-theme="light"] .company-team-card {
  background: #E2EBE6;
}

.company-photo {
  width: 280px;
  height: 280px;
  border-radius: 34%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 34%;
}

.company-team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.company-team-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.company-team-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent-orange);
}

/* Offices */
.company-offices-headline {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-bright);
  margin-top: 8px;
  margin-bottom: 2.5rem;
}

.company-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.company-office {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 24px;
}

.company-office-city {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.company-office-address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.company-map {
  border-radius: 12px;
  overflow: hidden;
}

.company-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* Company page responsive */
@media (max-width: 768px) {
  .company-offices-grid {
    grid-template-columns: 1fr;
  }

  .company-hero {
    min-height: 50vh;
  }

  .company-team-card {
    flex: 1 1 100%;
  }
}

/* ==========================================
   GLOBAL MOBILE — RESPONSIVE (< 768px)
   ========================================== */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none !important;
  }
}

/* ==========================================
   NEW SECTIONS — RESPONSIVE (< 768px)
   ========================================== */
@media (max-width: 768px) {
  .stack-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-omni-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-omni-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .stack-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-container {
    padding: 24px 0;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ==========================================
   STICKY SECTION TABS
   ========================================== */
.sticky-tabs {
  overflow: clip;
}

.sticky-tab-section {
  position: relative;
  overflow-x: clip;
  padding: 0;
  background: var(--bg-secondary);
  contain: layout style;
}

.sticky-tab-header {
  position: sticky;
  top: calc(var(--nav-height) - 1px);
  z-index: 200;
  background: var(--bg-primary);
  padding: 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.sticky-tab-header.fade-out {
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
}

.sticky-tab-header-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.sticky-tab-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-bright);
  letter-spacing: -0.5px;
  margin: 0;
}

.sticky-tab-content {
  padding: 60px 3rem;
  contain: layout style paint;
}

.sticky-tab-section[id] {
  scroll-margin-top: var(--nav-height);
}

/* Reset padding on sections now wrapped in sticky-tabs */
.sticky-tab-section.our-edge,
.sticky-tab-section.s4-section,
.sticky-tab-section.our-stack-section,
.sticky-tab-section.partners-section,
.sticky-tab-section#contact {
  padding: 0;
}

/* Light mode */
[data-theme="light"] .sticky-tab-header {
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Mobile */
@media (max-width: 768px) {
  .sticky-tab-header { padding: 0 1.5rem; }
  .sticky-tab-header-inner { padding: 1rem 0; }
  .sticky-tab-content { padding: 3rem 1rem; }
}

/* --- AI Page: Sticky Tab Overrides --- */
.sticky-tab-section#capabilities,
.sticky-tab-section#sovereign,
.sticky-tab-section#services,
.sticky-tab-section#why-omni {
  padding: 0;
}

.sticky-tab-content.ai-section {
  padding: 60px 3rem;
}

.sticky-tab-section#capabilities .sticky-tab-content {
  padding: 0 0 60px;
}

@media (max-width: 768px) {
  .sticky-tab-content.ai-section { padding: 3rem 1rem; }
  .sticky-tab-section#capabilities .sticky-tab-content { padding: 0 0 3rem; }
}

/* ==========================================
   DATA CENTERS PAGE
   ========================================== */

/* --- Video Hero --- */
.dc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 3rem;
}

.dc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(0,18,18,0.85) 0%,
    rgba(0,18,18,0.6) 40%,
    rgba(0,18,18,0.3) 70%,
    rgba(0,18,18,0.15) 100%);
}

.dc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: left;
  padding: 2rem 0;
}

.dc-hero-eyebrow {
  color: var(--accent-orange);
}

.dc-hero-headline {
  font-family: 'Geist', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
}

.dc-hero-headline .headline-gradient {
  color: var(--accent-orange);
}

[data-theme="light"] .dc-hero-eyebrow,
[data-theme="light"] .dc-hero-headline .headline-gradient {
  color: #5B9BD5;
}

.dc-hero-subhead {
  font-family: 'Geist', sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(224, 237, 232, 0.85);
  max-width: 520px;
  margin-bottom: 2rem;
}

.dc-hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.dc-hero-actions .cta-button {
  background: var(--gradient-primary);
}

[data-theme="light"] .dc-hero-actions .cta-button {
  background: var(--gradient-primary);
}

.dc-hero .scroll-indicator {
  color: rgba(255,255,255,0.7);
}

/* Hero: light mode — overlay stays dark for video contrast */
[data-theme="light"] .dc-hero-overlay {
  background: linear-gradient(90deg,
    rgba(0,18,18,0.75) 0%,
    rgba(0,18,18,0.5) 40%,
    rgba(0,18,18,0.2) 70%,
    rgba(0,18,18,0.1) 100%);
}

/* --- Section Registration --- */
.sticky-tab-section#design,
.sticky-tab-section#greenfield,
.sticky-tab-section#deployment {
  padding: 0;
}

.sticky-tab-section#deployment .sticky-tab-content {
  padding-bottom: 100px;
}

/* --- Design & Planning: Split Layout --- */
.dc-design-container,
.dc-field-container,
.dc-deploy-container {
  max-width: var(--section-max-width);
  margin: 0 auto;
}

.dc-split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.dc-split-block:last-child {
  margin-bottom: 0;
}

.dc-split-block--reversed .dc-split-text {
  order: 2;
}

.dc-split-block--reversed .dc-split-image {
  order: 1;
}

.dc-split-text h3 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.dc-split-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.dc-split-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-split-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

.dc-split-features li svg,
.dc-split-features li i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
  margin-top: 1px;
}

.dc-split-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.dc-split-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.dc-split-image:hover img {
  transform: scale(1.03);
}

/* --- Greenfield & Brownfield: Feature Cards --- */
.dc-field-group {
  margin-bottom: 16px;
}

.dc-field-group:last-child {
  margin-bottom: 0;
}

.dc-field-group .section-headline {
  margin-bottom: 2rem;
}

.dc-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dc-feature-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease;
}

.dc-feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.dc-feature-card:hover {
  border-color: var(--border-hover);
}

.dc-feature-card--wide {
  grid-template-columns: 1fr 1fr;
}

/* Brownfield group — tighten spacing between heading/subhead and card */
.dc-field-group--brownfield .section-headline {
  margin-bottom: 0.75rem;
}

.dc-field-group--brownfield .section-subhead {
  margin-bottom: 0;
}

.dc-field-group--brownfield {
  margin-top: 4rem;
  margin-bottom: -15%;
}

.dc-field-group--brownfield .dc-feature-stack {
  gap: 16px;
}

/* Brownfield variant — transparent, no card chrome */
.dc-feature-card--brownfield {
  background: transparent;
  border: none;
  padding: 0;
  gap: 32px;
  align-items: start;
  /* Override base card animation — children animate individually */
  opacity: 1;
  transform: none;
}

.dc-feature-card--brownfield:hover {
  border-color: transparent;
}

/* Staggered scroll animations for brownfield children */
.dc-feature-card--brownfield .dc-feature-card-body,
.dc-feature-card--brownfield .dc-feature-card-image,
.dc-feature-card--brownfield ul {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dc-feature-card--brownfield .dc-feature-card-body.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.dc-feature-card--brownfield .dc-feature-card-image.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.dc-feature-card--brownfield ul.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.dc-feature-card--brownfield .dc-feature-card-image {
  overflow: visible;
}

.dc-feature-card--brownfield .dc-feature-card-image img {
  max-width: 85%;
  margin-left: auto;
  margin-top: -15%;
}

.dc-feature-card-image {
  border-radius: 12px;
  overflow: hidden;
}

.dc-feature-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   PERFORMANCE: content-visibility for off-screen sections
   Skips rendering below-fold content until scrolled into view.
   ========================================== */
.our-stack-section,
.s4-section,
.our-edge,
.partners-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}


.dc-feature-card-body h4 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.dc-feature-card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.dc-feature-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-feature-card-body ul li {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(120, 175, 46, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(120, 175, 46, 0.2);
}

/* --- Greenfield: Static Timeline --- */
.dc-timeline {
  position: relative;
  margin-top: 40px;
}

.dc-timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  padding: 0 40px;
  position: relative;
}

/* Timeline line — positioned at dot center via JS */
.dc-timeline-line {
  position: absolute;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  z-index: 1;
}

/* Each step — image above dot, text below */
.dc-timeline-point {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Dim siblings when track hovered (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .dc-timeline-track:hover .dc-timeline-point {
    opacity: 0.65;
  }
  .dc-timeline-track:hover .dc-timeline-point:hover,
  .dc-timeline-track:hover .dc-timeline-point:focus-within {
    opacity: 1;
  }
}

/* Image — frameless, rounded */
.dc-timeline-img {
  border-radius: 16px;
  overflow: hidden;
  max-height: clamp(200px, 18vw, 280px);
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.dc-timeline-img img {
  width: 100%;
  height: clamp(200px, 18vw, 280px);
  object-fit: cover;
  display: block;
}

/* Active image highlight */
.dc-timeline-point.is-active .dc-timeline-img {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 24px var(--accent-orange-glow);
}
@media (hover: hover) and (pointer: fine) {
  .dc-timeline-point:hover .dc-timeline-img {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 24px var(--accent-orange-glow);
  }
}

/* Dot button — reset + accessible */
.dc-timeline-dot-btn {
  background: none;
  border: none;
  padding: 8px;
  margin: 8px 0;
  cursor: pointer;
  position: relative;
  z-index: 3;
}
.dc-timeline-dot-btn:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 4px;
  border-radius: 50%;
}

/* Dot circle */
.dc-timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--bg-primary);
  display: block;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Active dot */
.dc-timeline-point.is-active .dc-timeline-dot {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  box-shadow: 0 0 0 6px var(--accent-orange-glow);
}
@media (hover: hover) and (pointer: fine) {
  .dc-timeline-point:hover .dc-timeline-dot {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    box-shadow: 0 0 0 6px var(--accent-orange-glow);
  }
}

/* Text content — frameless */
.dc-timeline-content {
  padding: 0 8px;
}

/* Step number */
.dc-timeline-step {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* Title */
.dc-timeline-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

/* Description */
.dc-timeline-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* --- Deployment & Maintenance: Accordion + Image Swap --- */
.dc-accord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 48px;
}

/* Accordion column */
.dc-accord-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.dc-accord-item:first-child {
  border-top: 1px solid var(--border);
}

.dc-accord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  outline: none;
}
.dc-accord-header:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.dc-accord-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
.dc-accord-item.active .dc-accord-title {
  color: var(--accent-orange);
}

.dc-accord-arrow {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}
.dc-accord-item.active .dc-accord-arrow {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

/* Body collapse via max-height */
.dc-accord-body {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.dc-accord-item.active .dc-accord-body {
  opacity: 1;
  padding-bottom: 28px;
}

.dc-accord-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

/* Mobile-only inline image (hidden on desktop) */
.dc-accord-inline-img {
  display: none;
}

/* Image column — sticky + crossfade (desktop only) */
.dc-accord-image-col {
  display: block;
}
.dc-accord-image-sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--sticky-header-height) + 1.5rem);
}
.dc-accord-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.dc-accord-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.dc-accord-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dc-accord-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* --- DC Page Responsive: Tablet (≤1023px) --- */
@media (max-width: 1023px) {
  .dc-split-block {
    gap: 40px;
  }

  .dc-feature-card {
    grid-template-columns: 300px 1fr;
  }

  .dc-timeline-track {
    gap: 0 24px;
    padding: 0 24px;
  }
  .dc-timeline-line {
    left: 24px;
    right: 24px;
  }
  .dc-timeline-img {
    max-height: clamp(160px, 20vw, 200px);
  }
  .dc-timeline-img img {
    height: clamp(160px, 20vw, 200px);
  }
}

/* --- DC Page Responsive: Mobile (≤767px) --- */
@media (max-width: 767px) {
  .dc-hero {
    padding: 0 1.5rem;
    align-items: center;
    justify-content: center;
  }

  .dc-hero-content {
    text-align: center;
    max-width: 100%;
  }

  .dc-hero-overlay {
    background: rgba(0,18,18,0.7);
  }

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

  .dc-split-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .dc-split-block--reversed .dc-split-text {
    order: 2;
  }

  .dc-split-block--reversed .dc-split-image {
    order: -1;
  }

  .dc-split-image {
    order: -1;
  }

  .dc-feature-card,
  .dc-feature-card--wide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .dc-accord-grid {
    grid-template-columns: 1fr;
  }
  .dc-accord-image-col {
    display: none;
  }
  .dc-accord-inline-img {
    display: block;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
  }
  .dc-accord-inline-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .dc-field-group {
    margin-bottom: 48px;
  }

  .dc-timeline {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .dc-timeline-track {
    display: flex;
    gap: 20px;
    padding: 0 24px 16px;
    min-width: max-content;
  }
  .dc-timeline-point {
    flex: 0 0 80vw;
    max-width: 360px;
    scroll-snap-align: center;
    touch-action: pan-x;
  }
  .dc-timeline-line {
    display: none;
  }
  .dc-timeline-dot-btn {
    display: none;
  }
  /* Edge fades */
  .dc-timeline::before,
  .dc-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
    pointer-events: none;
  }
  .dc-timeline::before {
    left: 0;
    background: linear-gradient(to right, var(--section-bg, var(--bg-primary)), transparent);
  }
  .dc-timeline::after {
    right: 0;
    background: linear-gradient(to left, var(--section-bg, var(--bg-primary)), transparent);
  }
}

/* --- DC Page: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .dc-hero-video,
  .hero-video {
    display: none;
  }

  .dc-split-image:hover img {
    transform: none;
  }

  .dc-feature-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dc-accord-img {
    transition: none;
  }
  .dc-accord-body {
    transition: none;
  }

  .dc-timeline-dot {
    transition: none;
  }
  .dc-timeline-point {
    transition: none;
  }
  .dc-timeline-img {
    transition: none;
  }
}


/* ==========================================
   REDUCED MOTION — Accessibility + Battery
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #webGLApp { display: none; }
}
