/* ==========================================================================
   LEZZFLOW v2 — AWARD-WINNING STYLESHEET
   Awwwards-level Art Direction • Butter-Smooth Performance • Strict Honesty
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-root: #05070d;
  --bg-surface-1: #090e1a;
  --bg-surface-2: #0f172a;
  --bg-surface-elevated: #131d35;
  --bg-card: rgba(14, 21, 38, 0.72);
  --bg-card-hover: rgba(20, 30, 55, 0.85);

  /* Accents */
  --primary: #2f7bff;
  --primary-light: #5e9bff;
  --primary-bright: #7db1ff;
  --primary-glow: rgba(47, 123, 255, 0.35);
  --primary-glow-subtle: rgba(47, 123, 255, 0.12);
  
  /* Amber Warm Accent (Used sparingly for status / highlights) */
  --accent-warm: #ffb224;
  --accent-warm-glow: rgba(255, 178, 36, 0.3);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(47, 123, 255, 0.7);
  --border-active: rgba(94, 155, 255, 0.4);

  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dimensions & Spacing */
  --nav-height: 80px;
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Easing Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-root);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  background-color: var(--bg-root);
  color: var(--text-primary);
  min-height: 100vh;
}

.site-container {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
}

/* Skip link for keyboard users: fully hidden until focused */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

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



/* --------------------------------------------------------------------------
   03. SIGNATURE MOMENT 1: PRELOADER (Curtain Lift & Percentage)
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-root);
  pointer-events: all;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.is-loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 320px;
  width: 100%;
}

.preloader-logo-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--primary-glow), 0 0 10px rgba(47, 123, 255, 0.4);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  animation: preloader-logo-in 0.6s var(--ease-out-expo) forwards;
}

.preloader-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

@keyframes preloader-logo-in {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.preloader-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.preloader-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.preloader-status-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.preloader-number {
  color: var(--primary-light);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   04. BACKGROUND SYSTEM: FILM GRAIN, AMBIENT ORBS & CURSOR GLOW
   -------------------------------------------------------------------------- */
/* Film-Grain Noise Overlay via inline SVG data-uri (feTurbulence at 4% opacity) */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Ambient Subtle Lighting Orbs (Transform only) */
.ambient-glow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.28;
  will-change: transform;
}

.orb-top {
  width: 650px;
  height: 650px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #2f7bff 0%, rgba(47, 123, 255, 0) 70%);
}

.orb-mid {
  width: 500px;
  height: 500px;
  top: 45%;
  right: -100px;
  background: radial-gradient(circle, #1a50c7 0%, rgba(26, 80, 199, 0) 70%);
  opacity: 0.2;
}

.orb-bottom {
  width: 600px;
  height: 600px;
  bottom: 5%;
  left: -150px;
  background: radial-gradient(circle, #2f7bff 0%, rgba(47, 123, 255, 0) 70%);
  opacity: 0.18;
}

/* Single Interactive Cursor Glow (Desktop Only, Moved via rAF Lerp) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  margin-top: -220px;
  margin-left: -220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.14) 0%, rgba(47, 123, 255, 0.03) 45%, transparent 70%);
  transform: translate3d(-600px, -600px, 0);
  will-change: transform;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none) {
  .cursor-glow {
    display: none !important;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none !important;
  }
}

/* Scroll Progress Bar at Top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1000;
  will-change: transform;
}

/* Confetti Burst Canvas */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
}

/* --------------------------------------------------------------------------
   05. TYPOGRAPHIC UTILITIES & ACCENTS
   -------------------------------------------------------------------------- */
.brand-dot {
  color: var(--primary);
  display: inline-block;
  margin-left: 1px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a8cbff 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
}

/* Pulse Dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 10px var(--accent-warm-glow);
  display: inline-block;
  animation: pulse-glow 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

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

/* --------------------------------------------------------------------------
   06. BUTTONS & MAGNETIC INTERACTIONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease-out-expo), opacity 0.25s ease;
  will-change: transform;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e64e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(47, 123, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.05rem;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out-expo);
  flex-shrink: 0;
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

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

.btn-magnetic {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   07. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 900;
  transition: transform 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

.navbar.scrolled {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand & Real Logo Badge (Navbar: rounded 12px, white bg, subtle blue glow ring) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 16px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  background: rgba(255, 178, 36, 0.1);
  border: 1px solid rgba(255, 178, 36, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

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

.nav-anchor {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-anchor.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

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

.btn-nav {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Navigation Drawer: hidden off-canvas and inert until opened */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(5, 7, 13, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  transform: translateY(-100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.3s ease, visibility 0.3s;
  will-change: transform;
}

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

.mobile-drawer-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem var(--container-pad);
  overflow-y: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: transform 0.2s ease, color 0.2s ease;
}
.mobile-nav-link:hover {
  color: var(--primary-light);
  transform: translateX(8px);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   08. HERO SECTION (Signature Moment 2: Per-Line Mask & 3D Parallax Tilt Logo)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hero-header {
  max-width: 960px;
}

.hero-eyebrow-wrapper {
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(47, 123, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-light);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 8px var(--accent-warm-glow);
}

/* Fluid Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 11vw, 6.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.hero-mask-inner {
  display: block;
  transform: none;
  opacity: 1;
}

/* Robust hero visibility without JS requirement */
.hero-section .reveal-item {
  opacity: 1;
  transform: none;
}

.hero-subtext {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-honest-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.notice-icon {
  color: var(--accent-warm);
}

/* Hero Media Showcase & Floating 3D Logo Mark */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.hero-media-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px var(--primary-glow-subtle);
  aspect-ratio: 16 / 9.5;
  background: var(--bg-surface-1);
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  will-change: transform;
}

.hero-image-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.1) 0%, rgba(5, 7, 13, 0.5) 100%);
  pointer-events: none;
}

/* Hero Floating 3D Logo Mark (Real logo badge with 3D tilt on mouse move) */
.hero-floating-emblem {
  position: absolute;
  top: -24px;
  right: clamp(1rem, 5%, 3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-glow);
  z-index: 15;
  transform-style: preserve-3d;
  will-change: transform;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-emblem-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  overflow: hidden;
  flex-shrink: 0;
}

.hero-emblem-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.hero-emblem-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-emblem-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-emblem-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-warm);
}

/* Floating Spec Badges */
.hero-spec-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  z-index: 12;
}

.chip-left {
  bottom: -20px;
  left: clamp(1rem, 4%, 2.5rem);
}

.chip-right {
  bottom: 25px;
  right: clamp(1rem, 4%, 2.5rem);
}

.spec-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.spec-chip-icon {
  color: var(--accent-warm);
  font-size: 0.9rem;
}

.spec-chip-content {
  display: flex;
  flex-direction: column;
}

.spec-chip-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.spec-chip-val {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Scroll Hint Link */
.hero-scroll-indicator {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.scroll-hint-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.scroll-hint-track {
  width: 20px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-hint-pip {
  width: 4px;
  height: 7px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  margin-top: 4px;
  animation: scroll-pip 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  will-change: transform;
}

@keyframes scroll-pip {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.scroll-hint-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   09. SIGNATURE MOMENT 3: MARQUEE STRIPS (Dividers with GPU Animation)
   -------------------------------------------------------------------------- */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  user-select: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 14, 26, 0.6);
  padding: 1.15rem 0;
  z-index: 10;
}

.marquee-subtle {
  background: rgba(5, 7, 13, 0.85);
  border-color: rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.marquee-bullet {
  color: var(--primary-light);
  font-size: 0.8rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   10. COMMON SECTION LAYOUT & CONTAINER
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
  z-index: 10;
}

.section-below-fold {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* --------------------------------------------------------------------------
   11. SIGNATURE MOMENT 4: STICKY STACKING CARDS (How It Works 01-03)
   -------------------------------------------------------------------------- */
.stacking-deck {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

.stack-card {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-glow-subtle);
  will-change: transform, opacity;
  transition: transform 0.3s var(--ease-out-expo);
}

.stack-card[data-index="0"] {
  top: calc(var(--nav-height) + 1.5rem);
  z-index: 1;
}
.stack-card[data-index="1"] {
  top: calc(var(--nav-height) + 2.75rem);
  z-index: 2;
}
.stack-card[data-index="2"] {
  top: calc(var(--nav-height) + 4rem);
  z-index: 3;
}

.stack-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
}

.stack-card-info {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
}

.stack-card-meta {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stack-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary-light);
  letter-spacing: -0.04em;
}

.stack-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-warm);
  background: rgba(255, 178, 36, 0.1);
  border: 1px solid rgba(255, 178, 36, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.stack-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.stack-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.stack-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stack-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.stack-card-visual {
  height: 100%;
  min-height: 380px;
  background: var(--bg-surface-2);
  border-left: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.stack-image-frame {
  width: 100%;
  height: 100%;
}

.stack-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.stack-card:hover .stack-media-img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   11B. THE ECOSYSTEM (Three Apps • Video Centerpiece • Flow Strip)
   -------------------------------------------------------------------------- */
.ecosystem-section {
  position: relative;
  z-index: 10;
}

/* Video Showcase Centerpiece */
.ecosystem-showcase {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.ecosystem-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  max-height: 560px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface-1);
  border: 1px solid rgba(47, 123, 255, 0.32);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(47, 123, 255, 0.16);
  overflow: hidden;
  will-change: transform;
}

/* Real Video Element (covers placeholder when loaded) */
.ecosystem-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out-expo);
}

.ecosystem-video.is-loaded {
  opacity: 1;
  pointer-events: auto;
}

/* Pure-CSS Animated Fallback Placeholder */
.ecosystem-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  background: var(--bg-root);
}

.ecosystem-fallback-bg {
  position: absolute;
  inset: -25%;
  background: 
    radial-gradient(ellipse 65% 55% at 20% 30%, rgba(47, 123, 255, 0.28), transparent 65%),
    radial-gradient(ellipse 55% 50% at 80% 70%, rgba(255, 178, 36, 0.2), transparent 65%),
    radial-gradient(ellipse 50% 50% at 50% 20%, rgba(56, 189, 248, 0.2), transparent 65%),
    linear-gradient(180deg, #090e1a 0%, #05070d 100%);
  animation: ecoGradientShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ecoGradientShift {
  0% {
    transform: scale(1) translate(0, 0);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: scale(1.08) translate(-1.5%, 2%);
    filter: hue-rotate(15deg);
  }
  100% {
    transform: scale(1) translate(1.5%, -1%);
    filter: hue-rotate(-10deg);
  }
}

.ecosystem-fallback-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 35%, transparent 85%);
  pointer-events: none;
}

.ecosystem-fallback-badge {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  background: rgba(14, 21, 38, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-warm);
}

.ecosystem-visual-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ecosystem-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eco-path-track {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.eco-path-active {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: ecoDashMove 2.5s linear infinite;
}

@keyframes ecoDashMove {
  to {
    stroke-dashoffset: -44;
  }
}

/* 3 Pulsing Nodes */
.eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  pointer-events: auto;
  z-index: 4;
}

.eco-node-customer {
  left: 22.2%;
  top: 66.7%;
}

.eco-node-mart {
  left: 50%;
  top: 31%;
}

.eco-node-delivery {
  left: 77.8%;
  top: 66.7%;
}

.eco-node-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out-expo);
}

.eco-node:hover .eco-node-icon-box {
  transform: scale(1.12);
}

.eco-node-customer .eco-node-icon-box {
  border-color: var(--primary);
  color: var(--primary-bright);
  box-shadow: 0 0 24px rgba(47, 123, 255, 0.45);
}

.eco-node-mart .eco-node-icon-box {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  box-shadow: 0 0 24px rgba(255, 178, 36, 0.45);
}

.eco-node-delivery .eco-node-icon-box {
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.eco-node-pulse {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: ecoPulseRing 2.4s infinite cubic-bezier(0.2, 0.8, 0.4, 1);
  pointer-events: none;
  z-index: 1;
}

.eco-node-customer .eco-node-pulse {
  color: var(--primary);
}

.eco-node-mart .eco-node-pulse {
  color: var(--accent-warm);
  animation-delay: 0.8s;
}

.eco-node-delivery .eco-node-pulse {
  color: #38bdf8;
  animation-delay: 1.6s;
}

@keyframes ecoPulseRing {
  0% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.85;
  }
  60% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0.25;
  }
  100% {
    transform: translateX(-50%) scale(1.8);
    opacity: 0;
  }
}

.eco-node-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: rgba(9, 14, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.eco-node-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.eco-node-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.eco-node-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.ecosystem-fallback-status {
  position: relative;
  z-index: 3;
  align-self: center;
  margin-top: auto;
}

.eco-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(9, 14, 26, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eco-status-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Three App Cards Grid */
.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.ecosystem-card {
  background: linear-gradient(145deg, rgba(19, 29, 53, 0.7) 0%, rgba(9, 14, 26, 0.9) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.ecosystem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 155, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 32px var(--primary-glow-subtle);
}

.eco-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eco-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo);
}

.ecosystem-card:hover .eco-card-icon-wrap {
  transform: scale(1.08);
}

.eco-icon-customer {
  background: rgba(47, 123, 255, 0.12);
  border: 1px solid rgba(47, 123, 255, 0.3);
  color: var(--primary-bright);
}

.eco-icon-mart {
  background: rgba(255, 178, 36, 0.12);
  border: 1px solid rgba(255, 178, 36, 0.3);
  color: var(--accent-warm);
}

.eco-icon-delivery {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.eco-app-role-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
}

.eco-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eco-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.eco-card-tagline {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--primary-bright);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.eco-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.eco-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.eco-feature-list .check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.eco-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.eco-built-label {
  color: var(--text-muted);
  font-weight: 500;
}

.eco-built-target {
  color: var(--accent-warm);
  font-weight: 600;
  text-transform: capitalize;
}

/* Flow Strip (4 Steps Timeline) */
.ecosystem-flow-strip {
  background: rgba(9, 14, 26, 0.78);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.eco-flow-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.eco-flow-badge-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
  text-transform: uppercase;
}

.eco-flow-timeline {
  position: relative;
  width: 100%;
}

.eco-flow-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
}

.eco-flow-line-pulse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--primary-light) 40%, var(--accent-warm) 60%, transparent 100%);
  background-size: 200% 100%;
  animation: ecoFlowStream 3s linear infinite;
}

@keyframes ecoFlowStream {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.eco-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eco-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.eco-step-num-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--primary-glow-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.eco-step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.eco-flow-step:hover .eco-step-num-wrap {
  transform: scale(1.1);
  border-color: var(--accent-warm);
  box-shadow: 0 0 20px var(--accent-warm-glow);
}

.eco-step-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 180px;
}

/* Ecosystem Responsive Adjustments */
@media (max-width: 960px) {
  .ecosystem-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .eco-flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .eco-flow-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .ecosystem-video-frame {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .eco-node-icon-box {
    width: 42px;
    height: 42px;
  }

  .eco-node-pulse {
    width: 42px;
    height: 42px;
  }

  .eco-node-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .eco-node-meta {
    padding: 0.25rem 0.5rem;
  }

  .eco-node-label {
    font-size: 0.78rem;
  }

  .eco-node-sub {
    display: none;
  }

  .eco-flow-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .eco-flow-step {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
  }

  .eco-step-text {
    max-width: none;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-fallback-bg,
  .eco-path-active,
  .eco-node-pulse,
  .eco-flow-line-pulse {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   12. SIGNATURE MOMENT 6: 3D TILT CARDS (Customers & Sellers)
   -------------------------------------------------------------------------- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1.05fr 1fr;
}
.split-reverse .split-content {
  order: 2;
}
.split-reverse .split-visual {
  order: 1;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.25rem 0;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
}

.benefit-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(47, 123, 255, 0.1);
  border: 1px solid rgba(47, 123, 255, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon-box svg {
  width: 22px;
  height: 22px;
}

.benefit-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.benefit-copy {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.split-cta-row {
  margin-top: 1rem;
}

/* 3D Tilt Showcase Card Container */
.tilt-showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card-inner {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), 0 0 35px var(--primary-glow-subtle);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out-expo);
}

.device-pill-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.device-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.tilt-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.tilt-caption {
  padding: 1.25rem 1.5rem;
  background: rgba(9, 14, 26, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.caption-lead {
  font-weight: 700;
  color: var(--primary-light);
}

.caption-text {
  color: var(--text-secondary);
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.15) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.tilt-showcase-card:hover .tilt-glare {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   13. DELIVERY PARTNERS STRIP
   -------------------------------------------------------------------------- */
.partners-banner {
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.partners-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.partner-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(47, 123, 255, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.partner-card-icon svg {
  width: 22px;
  height: 22px;
}

.partner-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.partner-card-copy {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.partners-action-row {
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   14. SIGNATURE MOMENT 5: STATS BAND (Count-Up Numbers & Strict Honesty)
   -------------------------------------------------------------------------- */
.stats-band-box {
  background: rgba(9, 14, 26, 0.88);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.stats-band-header {
  margin-bottom: 3.5rem;
}

.stats-honest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
  background: rgba(255, 178, 36, 0.08);
  border: 1px solid rgba(255, 178, 36, 0.25);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
}

.stats-counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.stat-counter-block {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(47, 123, 255, 0.35);
  padding-left: 1.5rem;
}

.stat-value-wrap {
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.35rem;
}

.stat-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   15. SIGNATURE MOMENT 7: WAITLIST SECTION & CONFETTI BURST
   -------------------------------------------------------------------------- */
.waitlist-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 50px var(--primary-glow-subtle);
  position: relative;
  overflow: hidden;
}

.waitlist-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(255, 178, 36, 0.1);
  border: 1px solid rgba(255, 178, 36, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.waitlist-copy {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 0.75rem auto;
}

.waitlist-honest-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Role Selector Pills */
.role-selector-wrap {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.role-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.role-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.role-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-light);
  box-shadow: 0 2px 14px var(--primary-glow);
}

/* Email Input + Submit Button */
.input-action-group {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  background: rgba(5, 7, 13, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.45rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-action-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 20px var(--primary-glow-subtle);
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  padding-left: 1rem;
}

.input-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.waitlist-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.waitlist-input::placeholder {
  color: var(--text-dim);
}
.waitlist-input:focus {
  outline: none;
}

.btn-submit {
  border-radius: var(--radius-full);
  padding: 0.8rem 1.65rem;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.4rem;
}
.form-feedback.error {
  color: #f87171;
}

/* Success State Box */
.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.waitlist-success.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}
.success-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.success-badge-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.success-queue-chip {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(47, 123, 255, 0.15);
  border: 1px solid rgba(47, 123, 255, 0.35);
  color: var(--primary-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}

.success-role-chip {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}

.btn-reset {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   16. TEAM SECTION (Team legezt - SIH 2026)
       STRICT HONESTY: Mohd Jibraan — Team Leader (only verified role).
       Other members: Names only, NO invented roles/titles.
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.team-card {
  position: relative;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease;
  will-change: transform;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
}

.team-card-lead {
  border-color: rgba(47, 123, 255, 0.4);
  background: linear-gradient(180deg, rgba(16, 25, 48, 0.8) 0%, rgba(9, 14, 26, 0.95) 100%);
  box-shadow: 0 10px 40px var(--primary-glow-subtle);
}

.team-avatar-shell {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.team-card-lead .team-avatar-shell {
  background: linear-gradient(135deg, var(--primary) 0%, #174bb0 100%);
  border-color: var(--primary-light);
  box-shadow: 0 0 20px var(--primary-glow);
}

.team-initials {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.team-role-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-top: 0.25rem;
}

.team-member-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.team-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background: var(--primary-glow);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-card-glow {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   17. SIGNATURE MOMENT 8: FOOTER (Big Wordmark, Huge Fluid Type)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #030408;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 2.5rem;
  overflow: hidden;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 20px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.footer-bio {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links-list a:hover {
  color: var(--text-primary);
}

.footer-disabled-link {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-notice-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Giant Monumental Wordmark */
.footer-monumental-wordmark {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.monumental-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 15vw, 13.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: rgba(255, 255, 255, 0.035);
  text-transform: lowercase;
  text-align: center;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.back-to-top-btn:hover {
  color: var(--text-primary);
}

.arrow-up-icon {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   18. GPU-COMPOSITED REVEAL SYSTEM (IntersectionObserver)
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: transform 0.85s var(--ease-out-expo), opacity 0.85s ease;
  will-change: transform, opacity;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-floating-emblem {
    top: -15px;
    right: 1.5rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .split-reverse .split-content {
    order: 1;
  }
  .split-reverse .split-visual {
    order: 2;
  }
  .stack-card-grid {
    grid-template-columns: 1fr;
  }
  .stack-card-visual {
    min-height: 280px;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }
  .mobile-drawer {
    display: block;
  }
  .hero-floating-emblem {
    position: static;
    margin-top: 1.25rem;
    align-self: flex-start;
    max-width: 100%;
  }
  .hero-spec-chip {
    display: none;
  }
  /* Disable sticky stacking on mobile/touch to prevent overlap and jank */
  .stack-card {
    position: static !important;
    transform: none !important;
  }
  .stacking-deck {
    gap: 1.75rem;
  }
  .input-action-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
  }
  .btn-submit {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 72px;
  }

  /* Compact sections on mobile */
  .section {
    padding: 3.5rem 0;
  }
  .section-container {
    padding-inline: 1.1rem;
  }

  /* Hero section adjustments */
  .hero-section {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3.5rem;
    min-height: auto;
  }
  .hero-subtext {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .hero-cta-row .btn {
    width: 100%;
  }

  /* Marquee: compact and slower on small viewports */
  .marquee-strip {
    padding: 0.75rem 0;
  }
  .marquee-group {
    font-size: 0.75rem;
    gap: 1.5rem;
    padding-right: 1.5rem;
  }
  .marquee-track {
    animation-duration: 45s;
  }

  /* Stats grid: single column with tighter padding */
  .stats-band-box {
    padding: 1.75rem 1.25rem;
  }
  .stats-band-header {
    margin-bottom: 2rem;
  }
  .stats-counters-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .stat-counter-block {
    padding-left: 1.25rem;
  }

  /* Waitlist and role pills */
  .role-selector-wrap {
    flex-direction: column;
    gap: 0.65rem;
  }
  .role-pill {
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
  .waitlist-card {
    padding: 1.75rem 1.25rem;
  }

  /* All buttons & inputs min-height 44px */
  button,
  input,
  .btn,
  .role-pill {
    min-height: 44px;
  }

  /* Footer single column and fluid monumental wordmark */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-monumental-wordmark {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
  }
  .monumental-text {
    font-size: clamp(2.2rem, 14vw, 5.5rem);
  }
}

@media (max-width: 480px) {
  /* Navbar brand text and pill badge */
  .nav-brand-text {
    font-size: 1.15rem;
  }
  .nav-pill-badge {
    display: none;
  }
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  /* Hero floating emblem: compact and non-overflowing */
  .hero-floating-emblem {
    max-width: 100%;
    padding: 0.6rem 0.85rem 0.6rem 0.6rem;
    gap: 0.75rem;
  }
  .hero-emblem-badge {
    width: 48px;
    height: 48px;
  }
  .hero-emblem-img {
    width: 40px;
    height: 40px;
  }
  .hero-emblem-title {
    font-size: 1.1rem;
  }

  /* Team grid: single column */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Ultra-narrow container and card padding */
  .section-container {
    padding-inline: 1rem;
  }
  .waitlist-card {
    padding: 1.5rem 1rem;
  }

  /* Monumental wordmark scales down to fit 320px safely */
  .monumental-text {
    font-size: clamp(2rem, 13vw, 4rem);
  }
}

/* --------------------------------------------------------------------------
   20. PREFERS-REDUCED-MOTION (Critical Accessibility & Performance Rule)
   -------------------------------------------------------------------------- */
@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;
  }


  .marquee-track {
    animation: none !important;
  }

  .reveal-item,
  .hero-mask-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cursor-glow,
  .tilt-glare {
    display: none !important;
  }

  .stack-card {
    position: static !important;
    transform: none !important;
  }
}
