/* ==========================================================================
   AUTOVENTURE.TECH — MASTER DESIGN SYSTEM & STYLESHEET
   Enterprise Autonomous AI Systems & 3D Scroll Architecture
   ========================================================================== */

/* --- ROOT VARIABLES & DESIGN TOKENS --- */
:root {
  --bg-primary: #050811;
  --bg-surface: #0a0f1d;
  --bg-card: rgba(11, 17, 32, 0.85);
  --bg-card-hover: rgba(15, 23, 42, 0.95);
  --bg-glass: rgba(10, 15, 29, 0.8);
  
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  
  --cyan-primary: #06b6d4;
  --cyan-glow: #00f2fe;
  --cyan-bright: #38bdf8;
  --cyan-deep: #0891b2;
  --blue-electric: #3b82f6;
  --blue-glow: #60a5fa;
  --blue-deep: #1d4ed8;
  --emerald-accent: #10b981;
  
  --border-subtle: #1e293b;
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-cyan-glow: rgba(0, 242, 254, 0.45);
  --border-blue-glow: rgba(59, 130, 246, 0.45);
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hero: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  scroll-behavior: auto; /* Managed by Lenis */
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* --- AMBIENT BACKGROUND & GRID --- */
.ambient-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 4px 4px;
}

.ambient-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.glow-1 {
  top: -200px;
  left: 10%;
  background: radial-gradient(circle, var(--cyan-primary), transparent 70%);
}

.glow-2 {
  bottom: 10%;
  right: -200px;
  background: radial-gradient(circle, var(--blue-electric), transparent 70%);
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* --- TYPOGRAPHY & UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cyan-text { 
  color: var(--cyan-glow); 
  font-weight: 700;
  text-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

.cyan-glow {
  color: var(--cyan-glow);
  text-shadow: 0 0 25px rgba(0, 242, 254, 0.8), 0 0 50px rgba(0, 242, 254, 0.4);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4));
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--blue-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.text-emerald { 
  color: var(--emerald-accent); 
  font-weight: 700;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan-glow);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1.15rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
}

.section-subtitle {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

/* --- GLASSMORPHISM CARDS & PANELS --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-cyan-glow);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.15), 0 0 20px rgba(6, 182, 212, 0.1);
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

/* --- BUTTONS --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--cyan-primary);
  color: var(--bg-primary);
  border-color: var(--cyan-glow);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
  transform: translateY(-1px);
}

.btn-primary .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-cyan-glow);
  background: rgba(255, 255, 255, 0.08);
}

/* --- PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #03050c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.preloader-logo {
  font-family: var(--font-hero);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.preloader-logo .cyan-dot {
  color: var(--cyan-glow);
}

.preloader-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--blue-electric));
  box-shadow: 0 0 15px var(--cyan-glow);
  transition: width 0.15s ease-out;
}

.preloader-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* --- PULSE DOT --- */
.pulse-dot, .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 10px var(--cyan-glow);
  animation: pulse-glow 2s infinite ease-in-out;
  display: inline-block;
}

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

/* --- FIXED SITE HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.header-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 0.85rem);
  margin-right: clamp(0.5rem, 1.5vw, 2rem);
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-wrapper {
  position: relative;
  width: clamp(36px, 2.6vw, 44px);
  height: clamp(36px, 2.6vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 2px solid rgba(0, 242, 254, 0.75);
  border-radius: 9px;
  padding: 2.5px;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.45), 0 3px 12px rgba(0, 0, 0, 0.9);
  animation: spin-logo-square 14s linear infinite;
  transform-origin: center center;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-wrapper {
  border-color: #00f2fe;
  box-shadow: 0 0 28px rgba(0, 242, 254, 0.95), 0 0 12px #ffffff;
  animation-duration: 5s;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

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

.brand-name {
  font-family: var(--font-hero);
  font-size: clamp(1.1rem, 1.45vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.98), 0 0 16px rgba(0, 242, 254, 0.3);
  line-height: 1;
  white-space: nowrap;
}

.brand-accent {
  color: var(--cyan-glow, #00f2fe);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.75);
}

/* Footer Logo Specifics */
.footer-logo-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  padding: 4px;
}

.footer-brand-name {
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
}

/* Preloader Logo Icon */
.preloader-logo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 3px solid var(--cyan-glow);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.75), 0 0 15px rgba(255, 255, 255, 0.5);
  animation: spin-logo-square 14s linear infinite;
  transform-origin: center center;
  will-change: transform;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 1.35rem);
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.82vw, 0.8125rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  white-space: nowrap;
  padding: 4px 2px;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--cyan-glow);
  transition: width var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.audio-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.audio-btn:hover {
  color: var(--cyan-glow);
  border-color: var(--border-cyan-glow);
  background: rgba(6, 182, 212, 0.1);
}

.audio-btn svg {
  width: 16px;
  height: 16px;
}

/* --- MOBILE MENU BUTTON & DRAWER --- */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--cyan-glow);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-cyan-glow);
}

.mobile-menu-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-menu-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100vw;
  height: calc(100dvh - var(--header-height));
  background: rgba(3, 5, 12, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-glass);
  padding: 1.25rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  overflow-y: auto;
}

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

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #CBD5E1;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #ffffff;
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--border-cyan-glow);
}

.mobile-nav-link svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-glow);
}

.mobile-nav-cta {
  margin-top: 0.85rem;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.85rem 1rem !important;
  font-size: 0.78rem !important;
}

/* ==========================================================================
   SECTION 1: HERO CANVAS PINNED SCROLL
   ========================================================================== */
.hero-scroll-section {
  position: relative;
  height: 550vh; /* Gives long fluid scrub distance */
  width: 100vw;
}

.hero-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  z-index: 2;
}

.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Narrative Typography Layer */
.narrative-typography-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 20;
}

.narrative-block {
  position: absolute;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
}

.narrative-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  width: min(88vw, 620px);
  max-width: 90vw;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.2rem, 2vw, 1.75rem) clamp(1.2rem, 2.5vw, 2rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(3, 6, 15, 0.94) 0%, rgba(3, 6, 15, 0.68) 65%, transparent 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #00E5FF;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 229, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 2.6vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  width: 100%;
  max-width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 8px 45px rgba(0, 0, 0, 0.98);
}

.hero-title .cyan-glow,
.hero-title .hero-title-tech,
.hero-title .brand-accent-matte {
  color: #CBD5E1;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.95vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #F8FAFC;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.95);
  margin-top: 0.25rem;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.narrative-heading-light {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95);
}

.narrative-heading-large {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 3.65rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95);
}

.narrative-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

/* Narrative Corner Interval 5 */
.narrative-corner {
  top: 18%;
  left: 8%;
}

.hud-box {
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hud-caption {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: var(--cyan-glow);
  margin-bottom: 0.5rem;
}

.hud-slogan {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hud-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hero Scroll Prompt */
.hero-scroll-prompt {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 15;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.prompt-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.prompt-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--cyan-glow);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ==========================================================================
   SECTION 2: STICKY ARCHITECTURE EXPLAINER (Pipeline Breakdown)
   ========================================================================== */
.pipeline-section {
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-container {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.pipeline-sticky-col {
  width: 50%;
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3rem;
}

.sticky-card-wrapper {
  width: 100%;
  max-width: 540px;
  position: relative;
}

.sticky-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.1);
}

.pipeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-img.active {
  opacity: 1;
  transform: scale(1);
}

.image-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  animation: scan-vertical 3.5s infinite linear;
  pointer-events: none;
}

@keyframes scan-vertical {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.pipeline-state-badge {
  position: absolute;
  bottom: -1rem;
  left: 2rem;
  right: 2rem;
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.state-indicator-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.state-meta {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}

.state-label {
  font-size: 0.5625rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.state-value {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* Right Scroll Panels */
.pipeline-scroll-col {
  width: 50%;
}

.pipeline-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 3rem 4rem 1rem;
}

.panel-inner {
  padding: 3rem;
  width: 100%;
}

.panel-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan-glow);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
}

.panel-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.panel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 2rem;
}

.panel-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
}

.panel-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.panel-metric-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--cyan-glow);
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.m-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

/* ==========================================================================
   SECTION 3: HORIZONTAL INFRASTRUCTURE RAIL
   ========================================================================== */
.horizontal-rail-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 1.25rem) 0 2rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.04) 0%, var(--bg-primary) 70%);
  overflow: hidden;
  box-sizing: border-box;
}

.rail-header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
  padding: 0 2rem;
  text-align: center;
  box-sizing: border-box;
}

.rail-header .section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #00E5FF;
  margin-bottom: 0.4rem;
}

.rail-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.rail-header .section-subtitle {
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto;
}

.rail-progress-track {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin: 0.85rem auto 0 auto;
  overflow: hidden;
  position: relative;
}

.rail-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--cyan-glow));
  box-shadow: 0 0 10px var(--cyan-glow);
  transition: width 0.1s linear;
}

.horizontal-rail-wrapper {
  width: 100vw;
  overflow: hidden;
}

.horizontal-rail-track {
  display: flex;
  gap: 2rem;
  padding: 0 4rem;
  width: max-content;
  align-items: stretch;
}

.rail-card {
  width: clamp(360px, 28vw, 420px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.rail-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan-glow);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 229, 255, 0.15);
}

.card-video-box {
  width: 100%;
  height: 165px;
  position: relative;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(11, 17, 32, 0.95) 100%);
}

.card-id {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.card-content {
  padding: 1.25rem 1.4rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #00E5FF;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.card-icon-tag svg {
  width: 15px;
  height: 15px;
}

.card-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card-text {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.card-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   SECTION 4: PARALLAX MANIFESTO STATEMENT
   ========================================================================== */
.manifesto-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0;
  overflow: hidden;
}

.manifesto-bg-parallax {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
}

.manifesto-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.15);
}

.manifesto-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 8, 17, 0.65) 0%, var(--bg-primary) 92%);
}

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

.manifesto-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan-glow);
  padding: 0.45rem 1.35rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-full);
  margin-bottom: 2.5rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.manifesto-quote {
  font-family: var(--font-hero);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95);
}

.manifesto-body {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.75;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.85);
}

.manifesto-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.stat-card {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--border-glass);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.stat-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 5: REVERSE COLUMN INTELLIGENCE MATRIX
   ========================================================================== */
.matrix-section {
  padding: 8rem 0;
  position: relative;
  background: var(--bg-primary);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.matrix-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.matrix-card {
  overflow: hidden;
  background: var(--bg-card);
}

.matrix-img-box {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.matrix-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.matrix-card:hover .matrix-img-box img {
  transform: scale(1.06);
}

.metric-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--bg-primary);
  background: var(--cyan-glow);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.7);
}

.matrix-info {
  padding: 2.25rem 2rem;
}

.matrix-info h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.matrix-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.matrix-telemetry {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.matrix-mini-card {
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
}

.matrix-mini-card svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.matrix-mini-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.matrix-mini-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.highlight-border {
  border-color: var(--border-cyan-glow);
  background: rgba(0, 242, 254, 0.05);
}

/* ==========================================================================
   SECTION 6: CORE SYSTEM SHOWCASE
   ========================================================================== */
.showcase-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.08) 0%, var(--bg-primary) 70%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  background: var(--bg-card);
}

.showcase-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.showcase-card:hover .showcase-img-box img {
  transform: scale(1.08);
}

.showcase-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan-glow);
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-cyan-glow);
}

.showcase-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.showcase-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
}

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

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan-glow);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.card-action-link:hover {
  gap: 0.75rem;
}

.ceo-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan-glow);
  margin-top: -0.35rem;
  margin-bottom: 1rem;
}

.ceo-quote-box {
  background: rgba(0, 242, 254, 0.05);
  border-left: 3px solid var(--cyan-glow);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card-action-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-action-link:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   SECTION 7: INTERACTIVE STACK MATRIX & LIVE TELEMETRY
   ========================================================================== */
.stack-section {
  padding: 8rem 0;
  background: var(--bg-primary);
}

.stack-interactive-container {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bg-card);
}

.stack-tabs {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
  overflow-x: auto;
}

.stack-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.stack-tab:hover {
  color: #ffffff;
  border-color: var(--border-cyan-glow);
  background: rgba(0, 242, 254, 0.08);
}

.stack-tab.active {
  color: var(--bg-primary);
  background: var(--cyan-glow);
  border-color: var(--cyan-glow);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

.stack-tab svg {
  width: 18px;
  height: 18px;
}

.stack-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

.pane-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--cyan-glow);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.pane-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.pane-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
}

.spec-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.spec-val {
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

/* Terminal Log Pane */
.stack-terminal-pane {
  background: #020409;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #0b1120;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--emerald-accent);
}

.terminal-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.9;
  color: #cbd5e1;
  max-height: 280px;
  overflow-y: auto;
}

.log-time { color: #64748b; }
.log-info { color: #38bdf8; }
.log-success { color: #4ade80; }
.log-cyan { color: #22d3ee; }

/* ==========================================================================
   SECTION 8: ENTERPRISE AUDIT CAPTURE
   ========================================================================== */
.audit-section {
  position: relative;
  padding: 9rem 0;
  overflow: hidden;
  background: #020409;
}

.audit-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.audit-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) blur(12px);
}

.audit-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 8, 17, 0.7) 0%, var(--bg-primary) 95%);
}

.audit-container {
  position: relative;
  z-index: 2;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}.audit-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.audit-subtitle {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.audit-guarantees {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.g-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

.guarantee-item h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.guarantee-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Terminal Lead Form */
.terminal-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan-glow);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 242, 254, 0.2);
}

.terminal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.t-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan-glow);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #e2e8f0;
}

.terminal-input, .terminal-select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.terminal-input:focus, .terminal-select:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.terminal-select {
  cursor: pointer;
}

.terminal-select option {
  background: #0b1120;
  color: #fff;
}

.terminal-slider {
  width: 100%;
  accent-color: var(--cyan-glow);
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--bg-primary);
  background: var(--cyan-glow);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  transition: all var(--transition-fast);
}

.btn-submit:hover {
  background: #fff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

.audit-success-box {
  text-align: center;
  padding: 2rem 1rem;
}

.audit-success-box.hide {
  display: none;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.audit-success-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.audit-success-box p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ==========================================================================
   SECTION: FREQUENTLY ASKED QUESTIONS (Rich SEO Accordion)
   ========================================================================== */
.faq-section {
  position: relative;
  padding: 7rem 0 6rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.05) 0%, var(--bg-primary) 70%);
  border-top: 1px solid var(--border-subtle);
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--cyan-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.12);
  background: rgba(11, 17, 32, 0.85);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan-glow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
}

.faq-toggle-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--cyan-glow);
  color: #ffffff;
}

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

.faq-answer-content {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.75;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.faq-answer-content p {
  margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   SECTION 10: SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #020308;
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 0 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}

.system-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  color: var(--emerald-accent);
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  width: fit-content;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.col-heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--cyan-glow);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem !important;
  color: #e2e8f0 !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-link:hover {
  color: var(--cyan-glow) !important;
  transform: translateX(3px);
}

.footer-contact-link svg {
  width: 15px;
  height: 15px;
  color: var(--cyan-glow);
  flex-shrink: 0;
}

.compliance-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.compliance-tag svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-glow);
}

/* ==========================================================================
   DIRECT CONTACT CHANNELS & FLOATING QUICK ACTION
   ========================================================================== */
.audit-direct-channels {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(11, 17, 32, 0.75);
  border: 1px solid var(--border-cyan-glow);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.audit-direct-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan-glow);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.channel-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
}

.channel-card-link:hover {
  border-color: var(--cyan-glow);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
}

.channel-icon.green {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.channel-info h5 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.channel-info span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.channel-action-arrow {
  color: var(--cyan-glow);
  font-size: 0.875rem;
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.floating-whatsapp-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 0 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65), 0 0 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-whatsapp-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.floating-whatsapp-label {
  background: rgba(5, 8, 17, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-whatsapp-widget:hover .floating-whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cyan-glow);
}

.back-to-top svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & VIEWPORT CONTAINMENT FOR ALL DEVICES
   ========================================================================== */
@media (max-width: 1280px) {
  .header-container {
    padding: 0 1.25rem;
  }
  .header-nav {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.75rem;
  }
  .brand-logo {
    margin-right: 1rem;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .pipeline-container {
    flex-direction: column;
  }
  .pipeline-sticky-col {
    width: 100%;
    height: 45vh;
    min-height: 280px;
    padding: 1.5rem;
  }
  .pipeline-scroll-col {
    width: 100%;
  }
  .pipeline-panel {
    min-height: auto;
    padding: 2.5rem 1.5rem;
  }
  .manifesto-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-grid, .showcase-grid {
    grid-template-columns: 1fr;
  }
  .matrix-col {
    transform: none !important;
  }
  .stack-content-grid {
    grid-template-columns: 1fr;
  }
  .audit-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 48px;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  html, body, #main-content {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    padding: 0 0.85rem !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  section {
    padding: 2.5rem 0 !important;
    overflow-x: clip !important;
  }

  .section-title {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  .section-subtitle {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }

  .section-badge {
    font-size: 0.53rem !important;
    padding: 0.25rem 0.65rem !important;
    letter-spacing: 1px !important;
    margin-bottom: 0.5rem !important;
  }

  /* 3. Sticky/Fixed Navigation & Mobile Header */
  .site-header {
    height: 48px !important;
    background: rgba(3, 5, 12, 0.96) !important;
  }

  .header-container {
    padding: 0 0.75rem !important;
    height: 100% !important;
  }

  .brand-logo {
    margin-right: 0.25rem !important;
    gap: 0.45rem !important;
  }

  .brand-logo-img {
    width: 24px !important;
    height: 24px !important;
  }

  .brand-name {
    font-size: 0.8125rem !important;
    letter-spacing: 0.8px !important;
  }

  .header-actions {
    gap: 0.45rem !important;
  }

  .hide-mobile-btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    width: 32px !important;
    height: 32px !important;
  }

  .mobile-menu-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .mobile-menu-drawer {
    top: 48px !important;
    height: calc(100dvh - 48px) !important;
    padding: 1rem 0.85rem 2rem 0.85rem !important;
  }

  .audio-btn {
    width: 30px !important;
    height: 30px !important;
  }

  /* 1. Recalibrated Hero Canvas & Narrative Timeline (No Dark Voids) */
  .hero-scroll-section {
    height: 250vh !important;
    min-height: 250vh !important;
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .hero-sticky-viewport {
    height: 100dvh !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .hero-canvas {
    width: 100vw !important;
    height: 100dvh !important;
  }

  .narrative-typography-layer {
    width: 100vw !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }

  .narrative-block {
    width: min(88vw, 330px) !important;
    max-width: 88vw !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .narrative-center {
    padding: 1rem 0.85rem !important;
    border-radius: 12px !important;
  }

  .badge-tag {
    font-size: 0.53rem !important;
    letter-spacing: 1px !important;
    padding: 3px 8px !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-title {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 0.4rem 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .hero-tagline {
    font-size: clamp(0.6875rem, 2.6vw, 0.76rem) !important;
    letter-spacing: 0.2px !important;
    padding: 4px 10px !important;
    white-space: normal !important;
    text-align: center !important;
    margin-top: 0.1rem !important;
  }

  .narrative-heading-light {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
  }

  .narrative-heading-large {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
  }

  .narrative-sub {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
  }

  .hud-box {
    max-width: 100% !important;
    padding: 0.85rem 0.75rem !important;
    text-align: center !important;
  }

  .hud-caption {
    font-size: 0.53rem !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 0.3rem !important;
  }

  .hud-slogan {
    font-size: 0.8125rem !important;
    letter-spacing: 0.8px !important;
    line-height: 1.25 !important;
  }

  .hud-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .hero-scroll-prompt {
    bottom: 1rem !important;
    scale: 0.7;
  }

  /* 2. Manifesto & Leadership (Fluid Bounds & Typography) */
  .manifesto-quote-card {
    padding: 1.15rem 0.85rem !important;
  }

  .manifesto-quote {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

  .leadership-card {
    padding: 1rem 0.85rem !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  .founder-avatar {
    width: 54px !important;
    height: 54px !important;
    margin: 0 auto !important;
  }

  .founder-name {
    font-size: 0.95rem !important;
  }

  .founder-title {
    font-size: 0.72rem !important;
  }

  .founder-bio {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }

  .founder-credentials {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
  }

  .cred-badge {
    font-size: 0.53rem !important;
    padding: 2px 5px !important;
  }

  .manifesto-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .stat-card {
    padding: 0.85rem 0.65rem !important;
    text-align: center !important;
  }

  .stat-number {
    font-size: 1.55rem !important;
  }

  .stat-label {
    font-size: 0.6875rem !important;
  }

  /* 4. Section 2: Pipeline Flywheel (Non-Overlapping Fluid Flow) */
  .pipeline-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .pipeline-sticky-col {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
    z-index: 1 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sticky-card-wrapper {
    width: min(72vw, 240px) !important;
    max-width: 240px !important;
    height: auto !important;
    margin: 0 auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .sticky-image-container,
  .pipeline-image-box {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: var(--radius-md) !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
  }

  .pipeline-state-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0.75rem auto 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    transform: none !important;
  }

  .pipeline-scroll-col {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .pipeline-panel {
    padding: 0.5rem 0 !important;
    margin-bottom: 1.25rem !important;
    min-height: auto !important;
    width: 100% !important;
  }

  .panel-inner {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .panel-tag {
    font-size: 0.5625rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0.5rem !important;
  }

  .panel-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.25 !important;
  }

  .panel-desc {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }

  .panel-features {
    font-size: 0.76rem !important;
    gap: 0.45rem !important;
    margin: 0.85rem 0 !important;
  }

  .panel-metric-strip {
    margin-top: 0.85rem !important;
    padding-top: 0.75rem !important;
  }

  /* Section 3: Horizontal Services Rail Animation on Mobile */
  .horizontal-rail-section {
    min-height: 100dvh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: calc(var(--header-height) + 0.5rem) 0 1rem 0 !important;
    overflow: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .rail-header,
  .horizontal-rail-header {
    padding: 0 1rem 0.75rem 1rem !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }

  .horizontal-rail-wrapper {
    overflow: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  .horizontal-rail-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.85rem !important;
    padding: 0 1rem !important;
    width: max-content !important;
    will-change: transform !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .rail-card {
    width: min(84vw, 305px) !important;
    min-width: min(84vw, 305px) !important;
    max-width: 84vw !important;
    flex-shrink: 0 !important;
    padding: 1rem 0.85rem !important;
    box-sizing: border-box !important;
  }

  .card-video-box {
    height: 135px !important;
    border-radius: 8px !important;
    margin-bottom: 0.65rem !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .ambient-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .card-heading {
    font-size: 1rem !important;
    margin-bottom: 0.35rem !important;
  }

  .card-text {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
  }

  .card-tech-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
  }

  .tech-pill {
    font-size: 0.53rem !important;
    padding: 2px 5px !important;
  }

  /* Section 4: Comparison Matrix & ROI (Fluid Bounds) */
  .matrix-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .matrix-col {
    padding: 1.15rem 0.85rem !important;
    width: 100% !important;
  }

  .matrix-col-header h3 {
    font-size: 0.95rem !important;
  }

  .matrix-feature {
    font-size: 0.74rem !important;
    padding: 0.35rem 0 !important;
  }

  .roi-calculator-card {
    padding: 1.15rem 0.85rem !important;
    width: 100% !important;
  }

  .roi-metric-number {
    font-size: 1.45rem !important;
  }

  /* Section 5: Target Industries & Showcase */
  .showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .showcase-card {
    padding: 1.15rem 0.85rem !important;
    width: 100% !important;
  }

  /* Section 6: Tech Stack & Architecture */
  .stack-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .tech-node {
    padding: 0.65rem 0.5rem !important;
  }

  .tech-node-name {
    font-size: 0.72rem !important;
  }

  .tech-node-desc {
    font-size: 0.6rem !important;
  }

  .terminal-window {
    padding: 0.85rem 0.65rem !important;
    width: 100% !important;
  }

  /* Section 7: FAQs */
  .faq-question {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  .faq-answer-content {
    padding: 0 0.65rem 0.75rem 0.65rem !important;
    font-size: 0.74rem !important;
    line-height: 1.45 !important;
  }

  /* Section 8: Audit Application Form */
  .audit-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .terminal-card {
    padding: 1.15rem 0.85rem !important;
    width: 100% !important;
  }

  .terminal-input,
  .terminal-select {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.78rem !important;
    width: 100% !important;
  }

  .btn-submit {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: 1px !important;
    width: 100% !important;
  }

  .contact-direct-card {
    padding: 1rem 0.85rem !important;
    width: 100% !important;
  }

  .contact-channel-item {
    padding: 0.55rem 0.65rem !important;
  }

  .channel-text .channel-val {
    font-size: 0.78rem !important;
  }

  /* Footer */
  .footer-container {
    padding: 1.75rem 0.85rem 1rem 0.85rem !important;
    width: 100% !important;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
    font-size: 0.65rem !important;
  }

  .footer-bottom-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem !important;
  }

  /* Floating WhatsApp Widget (Compact & Collision-Free) */
  .floating-whatsapp-widget {
    bottom: 12px !important;
    right: 12px !important;
    z-index: 900 !important;
  }

  .floating-whatsapp-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .floating-whatsapp-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .floating-whatsapp-label {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1rem !important;
  }

  .narrative-block {
    width: 92vw !important;
  }

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

  .stack-grid {
    grid-template-columns: 1fr !important;
  }

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