/* ==========================================================================
   PIXIFLUX — PROGRAMMATIC ADVERTISING PLATFORM
   Brand Colors: Deep Slate Navy (#2D3C59) & Radiant Crimson (#AA1C41)
   Luminous Modern Glassmorphism, Rich Animated Floating Hero & Header
   ========================================================================== */

:root {
  /* Exact Colors Requested by User */
  --primary-navy: #2D3C59;
  --primary-navy-dark: #1E2B42;
  --primary-navy-soft: rgba(45, 60, 89, 0.08);
  --shadow-navy: rgba(45, 60, 89, 0.13);
  --shadow-navy-heavy: rgba(45, 60, 89, 0.22);

  --accent-crimson: #AA1C41;
  --accent-crimson-bright: #D82255;
  --accent-crimson-pop: #FA3868;
  --accent-crimson-soft: rgba(170, 28, 65, 0.08);
  --shadow-crimson: rgba(170, 28, 65, 0.28);
  --shadow-crimson-light: rgba(170, 28, 65, 0.15);

  /* Background Canvas & Glass Surfacing */
  --bg-canvas: #F8FAFD;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.96);
  --bg-glass-nav: rgba(255, 255, 255, 0.88);

  /* Specular Borders & Glass Shadows with #2D3C59 and #AA1C41 */
  --glass-border: rgba(45, 60, 89, 0.1);
  --glass-border-hover: rgba(170, 28, 65, 0.35);
  --glass-border-focus: rgba(45, 60, 89, 0.4);

  --card-shadow: 0 20px 45px -10px var(--shadow-navy), 0 4px 14px rgba(45, 60, 89, 0.04), inset 0 1px 0 #ffffff;
  --card-shadow-hover: 0 28px 60px rgba(45, 60, 89, 0.18), 0 0 35px var(--shadow-crimson-light), inset 0 1px 0 #ffffff;
  --button-shadow-crimson: 0 12px 30px var(--shadow-crimson), inset 0 1px 0 rgba(255, 255, 255, 0.4);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Canvas surface (referenced by several sections; was previously undefined) */
  --bg-body: #F8FAFD;

  /* Premium type-rendering tokens */
  --font-features-base: "kern" 1, "liga" 1, "calt" 1;
  --tracking-display: -0.025em;
  --leading-tight: 1.12;
  --leading-body: 1.65;

  /* Text Colors */
  --text-primary: #1E2B42;
  --text-secondary: #3B4B68;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* Radius & Transitions */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --blur-base: 22px;

  --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-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-feature-settings: var(--font-features-base);
  font-variant-ligatures: common-ligatures contextual;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Orbs (#2D3C59 and #AA1C41) */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

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

.orb-navy {
  width: 680px;
  height: 680px;
  top: -140px;
  left: 5%;
  background: radial-gradient(circle, rgba(45, 60, 89, 0.16) 0%, rgba(45, 60, 89, 0) 70%);
  animation: orbDrift1 18s ease-in-out infinite alternate;
}

.orb-crimson {
  width: 620px;
  height: 620px;
  top: 25%;
  right: 5%;
  background: radial-gradient(circle, rgba(58, 82, 122, 0.15) 0%, rgba(58, 82, 122, 0) 70%);
  animation: orbDrift2 22s ease-in-out infinite alternate;
}

.orb-soft-slate {
  width: 720px;
  height: 720px;
  bottom: -150px;
  left: 20%;
  background: radial-gradient(circle, rgba(45, 60, 89, 0.14) 0%, rgba(45, 60, 89, 0) 70%);
  animation: orbDrift3 26s ease-in-out infinite alternate;
}

/* ==========================================================================
   LUMINOUS LIGHT NAVY BLUE FLUID WAVE ANIMATION BACKGROUND
   ========================================================================== */
.ambient-waves-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.fluid-wave {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  will-change: transform;
}

/* Layer 1: Primary Light Navy Blue Wave Stream */
.wave-layer-1 {
  bottom: 0;
  height: 520px;
  background-size: 1440px 320px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232D3C59' fill-opacity='0.055' d='M0,192L60,186.7C120,181,240,171,360,181.3C480,192,600,224,720,224C840,224,960,192,1080,176C1200,160,1320,160,1380,160L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  animation: waveFlowNavy1 24s linear infinite;
  opacity: 0.95;
}

/* Layer 2: Oceanic Soft Light Navy Blue Wave Stream */
.wave-layer-2 {
  bottom: 40px;
  height: 560px;
  background-size: 1200px 340px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 340'%3E%3Cpath fill='%233D5580' fill-opacity='0.048' d='M0,224L48,208C96,192,192,160,288,160C384,160,480,192,576,208C672,224,768,224,864,202.7C960,181,1056,139,1104,117.3L1152,96L1152,340L1104,340C1056,340,960,340,864,340C768,340,672,340,576,340C480,340,384,340,288,340C192,340,96,340,48,340L0,340Z'%3E%3C/path%3E%3C/svg%3E");
  animation: waveFlowNavy2 18s linear infinite reverse;
  opacity: 0.9;
}

/* Layer 3: Deep Coastal Light Navy Upper Wave Stream */
.wave-layer-3 {
  top: 15%;
  height: 480px;
  background-size: 1600px 280px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 280'%3E%3Cpath fill='%231E2B42' fill-opacity='0.04' d='M0,96L53.3,112C106.7,128,213,160,320,165.3C426.7,171,533,149,640,128C746.7,107,853,85,960,96C1066.7,107,1173,149,1280,160C1386.7,171,1493,149,1546.7,138.7L1600,128L1600,0L1546.7,0C1493,0,1386.7,0,1280,0C1173,0,1066.7,0,960,0C853,0,746.7,0,640,0C533,0,426.7,0,320,0C213,0,106.7,0,53.3,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  animation: waveFlowNavy3 30s linear infinite;
  opacity: 0.85;
}

/* Layer 4: Azure Harmonic Light Navy Middle Wave Ribbon */
.wave-layer-4 {
  top: 45%;
  height: 380px;
  background-size: 1300px 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1300 220'%3E%3Cpath fill='%234A6999' fill-opacity='0.038' d='M0,128L43.3,138.7C86.7,149,173,171,260,160C346.7,149,433,107,520,101.3C606.7,96,693,128,780,144C866.7,160,953,160,1040,149.3C1126.7,139,1213,117,1256.7,106.7L1300,96L1300,220L1256.7,220C1213,220,1126.7,220,1040,220C953,220,866.7,220,780,220C693,220,606.7,220,520,220C433,220,346.7,220,260,220C173,220,86.7,220,43.3,220L0,220Z'%3E%3C/path%3E%3C/svg%3E");
  animation: waveFlowNavy4 22s ease-in-out infinite alternate;
  opacity: 0.85;
}

@keyframes waveFlowNavy1 {
  0% {
    transform: translateX(0) translateZ(0);
  }

  100% {
    transform: translateX(1440px) translateZ(0);
  }
}

@keyframes waveFlowNavy2 {
  0% {
    transform: translateX(0) translateZ(0);
  }

  100% {
    transform: translateX(1200px) translateZ(0);
  }
}

@keyframes waveFlowNavy3 {
  0% {
    transform: translateX(0) translateZ(0);
  }

  100% {
    transform: translateX(-1600px) translateZ(0);
  }
}

@keyframes waveFlowNavy4 {
  0% {
    transform: translateX(0) translateY(0) scaleY(1);
  }

  50% {
    transform: translateX(-300px) translateY(18px) scaleY(1.15);
  }

  100% {
    transform: translateX(-650px) translateY(-12px) scaleY(0.95);
  }
}

@keyframes orbDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(70px, 80px) scale(1.15);
  }
}

@keyframes orbDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-80px, -50px) scale(1.1);
  }
}

@keyframes orbDrift3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, -60px) scale(1.2);
  }
}

/* Interactive Canvas (Removed as requested) */
#flux-canvas {
  display: none !important;
}

/* Content Container Wrapper */
.section-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Text Gradients & Typography */
.text-center {
  text-align: center;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-optical-sizing: auto;
  font-feature-settings: var(--font-features-base);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
  /* NOTE: headings are written with <br> line breaks and rely on this to stay
     centered (text-align is `start`). Do not remove without updating markup. */
  text-align-last: center;
}

/* Responsive default scale — only applies to headings without an explicit
   size. Component classes (.zn-heading-large, .z-heading, .zn-grid-title …)
   keep overriding these via higher specificity. */
h1 {
  font-size: clamp(2.6rem, 1.4rem + 4vw, 4.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem);
  font-weight: 700;
}

h4 {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 700;
}

/* Avoid orphaned single words on the last line of body copy. */
p {
  text-wrap: pretty;
}

.text-gradient-navy {
  background: linear-gradient(135deg, #1E2B42 0%, var(--primary-navy) 35%, #6B82AD 55%, var(--primary-navy) 75%, #1E2B42 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmerNavy 7s linear infinite;
}

.text-gradient-crimson {
  background: linear-gradient(135deg, var(--accent-crimson) 0%, #FA3868 40%, #FF85A2 55%, var(--accent-crimson) 80%, #AA1C41 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmerCrimson 5.5s linear infinite;
}

@keyframes textShimmerNavy {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 250% center;
  }
}

@keyframes textShimmerCrimson {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 250% center;
  }
}

/* ==========================================================================
   REAL-TIME PROGRAMMATIC RTB AUCTION TICKER STRIP
   ========================================================================== */
.rtb-ticker-wrapper {
  width: 100%;
  max-width: 1160px;
  margin: -10px auto 45px;
  padding: 0 20px;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 60, 89, 0.15);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(45, 60, 89, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: tickerDotPulse 1.6s infinite alternate;
}

@keyframes tickerDotPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.ticker-track-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  padding: 6px 0;
  box-shadow: 0 4px 16px rgba(45, 60, 89, 0.06);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
}

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

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.ticker-sep {
  color: var(--accent-crimson);
  opacity: 0.5;
  font-size: 0.75rem;
}

.ticker-tag-navy {
  background: rgba(45, 60, 89, 0.09);
  color: var(--primary-navy);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.ticker-tag-crimson {
  background: rgba(170, 28, 65, 0.09);
  color: var(--accent-crimson);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.ticker-highlight {
  color: var(--accent-crimson);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE CURSOR AMBIENT GLOW SPOTLIGHT
   ========================================================================== */
.cursor-glow-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(170, 28, 65, 0.06) 0%, rgba(45, 60, 89, 0.05) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  will-change: transform;
}

body:hover .cursor-glow-halo {
  opacity: 1;
}

/* Card Mouse Specular Glint */
.glass-card {
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(170, 28, 65, 0.06),
      transparent 40%);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.glass-card:hover::before {
  opacity: 1;
}

/* Button Click Ripple Wave */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.65s cubic-bezier(0.2, 0.8, 0.4, 1);
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   HIGH-IMPACT ANIMATED GLOSS HEADER
   ========================================================================== */
.glass-navbar-wrapper {
  position: sticky;
  top: 18px;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

/* Animated Outer Perimeter Glow */
.navbar-animated-border-glow {
  position: absolute;
  top: -2px;
  width: calc(100% - 36px);
  max-width: 1164px;
  height: 76px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg,
      rgba(45, 60, 89, 0.4) 0%,
      rgba(170, 28, 65, 0.5) 35%,
      rgba(250, 56, 104, 0.6) 50%,
      rgba(45, 60, 89, 0.4) 100%);
  background-size: 200% 100%;
  animation: borderGlowFlow 6s linear infinite;
  filter: blur(8px);
  opacity: 0.65;
  pointer-events: none;
}

@keyframes borderGlowFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.glass-navbar {
  position: relative;
  width: 100%;
  max-width: 1160px;
  height: 72px;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 16px 40px var(--shadow-navy), inset 0 1px 0 #ffffff;
  transition: var(--transition-smooth);
}

.glass-navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(45, 60, 89, 0.18), 0 0 25px rgba(170, 28, 65, 0.12);
}

/* Brand Logo with Animated Breathing Glow */
.brand-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-aura {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle, rgba(170, 28, 65, 0.15) 0%, transparent 70%);
  opacity: 0.6;
  animation: logoAuraPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes logoAuraPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.brand-logo-img {
  height: 47px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-fast);
}

.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.05);
}

/* Platform Live Pulsing Badge */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(45, 60, 89, 0.08);
  border: 1px solid rgba(45, 60, 89, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 0.06em;
}

.status-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: var(--accent-crimson);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-crimson);
}

.status-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-crimson);
  animation: radarSonar 1.8s ease-out infinite;
}

@keyframes radarSonar {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Desktop Animated Nav Links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-crimson));
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--primary-navy);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary-navy);
  font-weight: 700;
}

/* Header Animated Action Group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-glass-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow-navy);
  transition: var(--transition-fast);
}

.icon-glass-btn:hover {
  background: #ffffff;
  color: var(--accent-crimson);
  border-color: var(--accent-crimson);
  box-shadow: 0 4px 16px var(--shadow-crimson-light);
  transform: scale(1.05);
}

.icon-svg {
  width: 19px;
  height: 19px;
}

/* Header Animated CTA Button: "Book a demo" */
.btn-header-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--accent-crimson) 0%, #D82255 100%);
  color: #fff;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--button-shadow-crimson);
  overflow: visible;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-shimmer-wave {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.btn-shimmer-wave::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg,
      transparent 35%,
      rgba(255, 255, 255, 0.35) 50%,
      transparent 65%);
  transform: rotate(25deg) translateX(-100%);
  animation: buttonShimmer 3.5s infinite ease-in-out;
}

@keyframes buttonShimmer {
  0% {
    transform: rotate(25deg) translateX(-100%);
  }

  40%,
  100% {
    transform: rotate(25deg) translateX(100%);
  }
}

/* Character Wave Animation for "Book a demo" (move-out) */
@keyframes move-out {
  0% {
    transform: translateY(0);
  }

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

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

.text-animation {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  user-select: none;
}

.text-animation span {
  display: inline-block;
  animation: move-out 0.85s ease infinite;
}

.text-animation span.space {
  width: 4px;
  animation: none;
}

.text-animation span:nth-child(1) {
  animation-delay: 0s;
}

.text-animation span:nth-child(2) {
  animation-delay: 0.08s;
}

.text-animation span:nth-child(3) {
  animation-delay: 0.16s;
}

.text-animation span:nth-child(4) {
  animation-delay: 0.24s;
}

.text-animation span:nth-child(5) {
  animation-delay: 0.32s;
}

.text-animation span:nth-child(6) {
  animation-delay: 0.40s;
}

.text-animation span:nth-child(7) {
  animation-delay: 0.48s;
}

.text-animation span:nth-child(8) {
  animation-delay: 0.56s;
}

.text-animation span:nth-child(9) {
  animation-delay: 0.64s;
}

.text-animation span:nth-child(10) {
  animation-delay: 0.72s;
}

.text-animation span:nth-child(11) {
  animation-delay: 0.80s;
}

.btn-header-demo:hover .text-animation span,
.btn-demo-solid:hover .text-animation span {
  animation-duration: 0.55s;
}

.btn-header-demo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px var(--shadow-crimson), 0 0 25px rgba(250, 56, 104, 0.4);
}

.btn-arrow-icon {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.btn-header-demo:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle-btn span {
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 60px var(--shadow-navy-heavy);
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(45, 60, 89, 0.08);
}

.mobile-cta {
  text-align: center;
  justify-content: center;
  margin-top: 8px;
}

/* ==========================================================================
   HERO SECTION (MATCHING SCREENSHOT INSPIRATION)
   ========================================================================== */
.hero-section {
  padding: 60px 0 90px;
  position: relative;
  z-index: 2;
}

.hero-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr;
  align-items: center;
  gap: 60px;
}

/* Left: Character & Floating Glass UI Composition */
.hero-visual-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-backdrop-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 28, 65, 0.08) 0%, rgba(45, 60, 89, 0.08) 60%, transparent 70%);
  border: 2px dashed rgba(45, 60, 89, 0.15);
  animation: rotateCircle 35s linear infinite;
  z-index: 1;
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.character-wrapper {
  position: relative;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 25px 60px var(--shadow-navy-heavy), 0 0 40px rgba(170, 28, 65, 0.15);
  border: 4px solid #ffffff;
  z-index: 2;
}

.hero-person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glass Widgets */
.floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px var(--shadow-navy), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 #ffffff;
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-widget:hover {
  transform: scale(1.04) translateY(-3px) !important;
  box-shadow: 0 22px 48px var(--shadow-navy-heavy), 0 0 25px var(--shadow-crimson-light);
}

/* Continuous Float Animations */
@keyframes float1 {

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

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes float2 {

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

  50% {
    transform: translateY(10px) rotate(-1.5deg);
  }
}

@keyframes float3 {

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

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes float4 {

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

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

@keyframes floatHeart {

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

  50% {
    transform: scale(1.12) translateY(-6px);
  }
}

.float-anim-1 {
  animation: float1 5.5s ease-in-out infinite;
}

.float-anim-2 {
  animation: float2 6s ease-in-out infinite;
}

.float-anim-3 {
  animation: float3 6.5s ease-in-out infinite;
}

.float-anim-4 {
  animation: float4 5s ease-in-out infinite;
}

.float-anim-5 {
  animation: floatHeart 3s ease-in-out infinite;
}

/* Widget 1: 74% Growth */
.widget-growth {
  top: 15px;
  left: -10px;
  padding: 16px 20px;
  min-width: 170px;
}

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

.widget-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.widget-badge-green {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.widget-divider-line {
  height: 1px;
  background: rgba(45, 60, 89, 0.08);
  margin: 10px 0 12px;
}

.widget-bars-container {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 28px;
}

.w-bar {
  flex: 1;
  border-radius: 4px;
  background: var(--accent-crimson);
  transition: height 0.3s ease;
}

.bar-1 {
  height: 35%;
  background: rgba(45, 60, 89, 0.35);
  animation: barLive1 1.8s ease-in-out infinite alternate;
}

.bar-2 {
  height: 60%;
  background: var(--accent-crimson);
  animation: barLive2 2.1s ease-in-out infinite alternate 0.15s;
}

.bar-3 {
  height: 40%;
  background: rgba(45, 60, 89, 0.45);
  animation: barLive3 1.9s ease-in-out infinite alternate 0.3s;
}

.bar-4 {
  height: 80%;
  background: var(--accent-crimson);
  animation: barLive4 2.4s ease-in-out infinite alternate 0.1s;
}

.bar-5 {
  height: 55%;
  background: #FA3868;
  animation: barLive5 2.0s ease-in-out infinite alternate 0.25s;
}

.bar-6 {
  height: 92%;
  background: var(--accent-crimson);
  animation: barLive6 2.2s ease-in-out infinite alternate 0.4s;
}

.bar-7 {
  height: 75%;
  background: var(--primary-navy);
  animation: barLive7 1.7s ease-in-out infinite alternate 0.2s;
}

@keyframes barLive1 {

  0%,
  100% {
    height: 25%;
  }

  50% {
    height: 75%;
  }
}

@keyframes barLive2 {

  0%,
  100% {
    height: 70%;
  }

  50% {
    height: 35%;
  }
}

@keyframes barLive3 {

  0%,
  100% {
    height: 30%;
  }

  50% {
    height: 85%;
  }
}

@keyframes barLive4 {

  0%,
  100% {
    height: 88%;
  }

  50% {
    height: 45%;
  }
}

@keyframes barLive5 {

  0%,
  100% {
    height: 45%;
  }

  50% {
    height: 95%;
  }
}

@keyframes barLive6 {

  0%,
  100% {
    height: 95%;
  }

  50% {
    height: 40%;
  }
}

@keyframes barLive7 {

  0%,
  100% {
    height: 60%;
  }

  50% {
    height: 100%;
  }
}

/* Widget 2: Lisa Patinson Testimonial */
.widget-testimonial {
  bottom: 15px;
  left: 0px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  min-width: 220px;
}

.widget-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-crimson);
}

.widget-avatar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-testi-info {
  display: flex;
  flex-direction: column;
}

.testi-author {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.testi-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.testi-stars {
  font-size: 0.75rem;
  color: #F59E0B;
  letter-spacing: 2px;
  margin-top: 2px;
}

/* Widget 3: 4 App Feature Tiles */
.widget-tiles-grid {
  bottom: 0px;
  right: -10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
}

.tile-cell {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.tile-cell:hover {
  transform: scale(1.1);
}

.tile-cell svg {
  width: 22px;
  height: 22px;
}

.tile-video {
  background: #FFE4E8;
  color: var(--accent-crimson);
}

.tile-crown {
  background: #FEF3C7;
  color: #D97706;
}

.tile-gallery {
  background: #E0F2FE;
  color: #0284C7;
}

.tile-plus {
  background: #E2E8F0;
  color: var(--primary-navy);
}

/* Widget 4: QR Scan / Verified Badge */
.widget-qr {
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  position: absolute;
  overflow: hidden;
}



.qr-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-navy);
}

.qr-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Widget 5: Heart */
.widget-heart {
  top: -15px;
  left: 90px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-crimson);
  background: #FFF0F3;
  border: 1px solid rgba(170, 28, 65, 0.2);
  position: absolute;
}

/* Heartbeat Radar Ripple Aura */
.widget-heart::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(170, 28, 65, 0.45);
  animation: heartRadarPulse 2.2s cubic-bezier(0.2, 0.9, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes heartRadarPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.95;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.widget-heart svg {
  width: 18px;
  height: 18px;
  animation: heartThrob 1.8s ease-in-out infinite;
}

@keyframes heartThrob {

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

  25% {
    transform: scale(1.15);
  }

  40% {
    transform: scale(0.95);
  }

  55% {
    transform: scale(1.1);
  }
}

/* Right: Hero Content Matching Screenshot */
.hero-content-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  background: rgba(45, 60, 89, 0.06);
  border: 1px solid rgba(45, 60, 89, 0.15);
  border-radius: var(--radius-full);
}

.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-crimson);
  box-shadow: 0 0 8px var(--accent-crimson);
}

.tag-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-navy);
}

.hero-title {
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Dual Buttons Matching Screenshot */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* "Book a demo" Solid Crimson Button */
.btn-demo-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--accent-crimson);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px var(--shadow-crimson);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-demo-solid:hover {
  background: #C71B48;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(170, 28, 65, 0.42);
}

/* "Explore the platform" Outline Button */
.btn-explore-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #ffffff;
  color: var(--accent-crimson);
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid var(--accent-crimson);
  box-shadow: 0 4px 14px rgba(45, 60, 89, 0.05);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-explore-outline:hover {
  background: rgba(170, 28, 65, 0.05);
  border-color: #C71B48;
  color: #C71B48;
  transform: translateY(-2px);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(45, 60, 89, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-crimson);
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.metrics-section {
  padding: 20px 0 60px;
  position: relative;
  z-index: 2;
}

.stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.stat-cell {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-crimson);
}

.stat-desc {
  display: block;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(45, 60, 89, 0.08);
}

/* ==========================================================================
   ONE CONNECTED PROGRAMMATIC ADVERTISING PLATFORM (HIGH-IMPACT REDESIGN)
   ========================================================================== */
.platform-pillars-section {
  padding: 100px 0 120px;
  position: relative;
  z-index: 2;
}

.section-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(45, 60, 89, 0.06);
  border: 1px solid rgba(45, 60, 89, 0.14);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-crimson);
  box-shadow: 0 0 8px var(--accent-crimson);
  animation: pulseDot 2s infinite;
}

/* Interactive Platform Tabs Filter Bar */
.platform-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 60, 89, 0.12);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(45, 60, 89, 0.06);
  margin: 28px auto 0;
  max-width: 100%;
  overflow-x: auto;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.platform-tab-btn:hover {
  color: var(--primary-navy);
  background: rgba(45, 60, 89, 0.05);
}

.platform-tab-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 14px var(--shadow-navy);
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-crimson);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

/* 3-Column Pillars Grid */
.platform-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (max-width: 1080px) {
  .platform-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Platform Card Architecture */
.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(45, 60, 89, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px 16px 28px;
  box-shadow: 0 20px 48px -10px var(--shadow-navy), 0 2px 8px rgba(45, 60, 89, 0.04), inset 0 1px 0 #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, opacity 0.35s ease;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-navy) 0%, var(--accent-crimson) 50%, #10B981 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-8px);
  border-color: rgba(170, 28, 65, 0.32);
  box-shadow: 0 32px 70px rgba(45, 60, 89, 0.16), 0 0 32px var(--shadow-crimson-light), inset 0 1px 0 #ffffff;
}

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

.platform-card.is-filtered-out {
  display: none;
}

/* High-Impact Bespoke 3D Visual Stage */
.platform-visual-stage {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(45, 60, 89, 0.12);
  border: 1px solid rgba(45, 60, 89, 0.1);
  background: #111A28;
}

.visual-media-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.platform-img-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.platform-card:hover .platform-img-visual {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.02);
}

.visual-gloss-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 26, 40, 0.1) 0%, rgba(17, 26, 40, 0.5) 100%);
  pointer-events: none;
}

/* Dynamic Laser Scanning Beam Animation */
.visual-laser-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2D3C59 30%, #AA1C41 70%, transparent);
  box-shadow: 0 0 12px #AA1C41, 0 0 24px rgba(170, 28, 65, 0.6);
  opacity: 0.85;
  animation: laserSweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

.visual-laser-scan.scan-crimson {
  background: linear-gradient(90deg, transparent, #AA1C41 40%, #FA3868 60%, transparent);
  box-shadow: 0 0 14px #FA3868, 0 0 28px rgba(250, 56, 104, 0.7);
  animation-duration: 3.2s;
}

.visual-laser-scan.scan-emerald {
  background: linear-gradient(90deg, transparent, #10B981 40%, #34D399 60%, transparent);
  box-shadow: 0 0 14px #10B981, 0 0 28px rgba(16, 185, 129, 0.7);
  animation-duration: 4s;
}

@keyframes laserSweep {
  0% {
    top: 0%;
    opacity: 0;
  }

  15% {
    opacity: 0.95;
  }

  85% {
    opacity: 0.95;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Floating Programmatic Telemetry HUD */
.hud-floating-layer {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(17, 26, 40, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hud-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 1.8s infinite;
}

.hud-pill-locked {
  background: rgba(170, 28, 65, 0.85);
  border-color: rgba(250, 56, 104, 0.5);
  box-shadow: 0 4px 16px rgba(170, 28, 65, 0.4);
}

.hud-lock-svg {
  width: 12px;
  height: 12px;
}

.hud-pill-guaranteed {
  background: rgba(16, 185, 129, 0.85);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.hud-check-icon {
  font-weight: 900;
  font-size: 0.75rem;
}

/* Floating Stats Cluster */
.hud-stats-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hud-stat-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid rgba(45, 60, 89, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hud-stat-val {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.hud-stat-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hud-stat-badge.highlight-crimson .hud-stat-val {
  color: var(--accent-crimson);
}

.hud-stat-badge.highlight-navy .hud-stat-val {
  color: var(--primary-navy);
}

/* PG Mini Pacing Progress Bar */
.hud-pacing-bar-wrap {
  width: 100%;
  padding: 8px 12px;
  background: rgba(17, 26, 40, 0.78);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hud-pacing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 5px;
}

.pacing-pct {
  color: #34D399;
}

.hud-pacing-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
}

.hud-pacing-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399, #FA3868);
  border-radius: 3px;
  animation: pacingShimmer 2.4s infinite linear;
}

@keyframes pacingShimmer {
  0% {
    filter: brightness(0.95);
  }

  50% {
    filter: brightness(1.25);
  }

  100% {
    filter: brightness(0.95);
  }
}

/* Card Content Area */
.platform-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 8px;
}

.pillar-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pillar-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary-navy);
}

.cat-dot-navy {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-navy);
}

.cat-dot-crimson {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-crimson);
}

.cat-dot-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.pillar-status-chip {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(45, 60, 89, 0.06);
  color: var(--primary-navy);
}

.chip-exclusive {
  background: #FFF0F3;
  color: var(--accent-crimson);
  border: 1px solid rgba(170, 28, 65, 0.2);
}

.chip-sla {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.platform-card:hover .pillar-title {
  color: var(--accent-crimson);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

/* Capability Chips */
.pillar-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.p-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: var(--primary-navy);
  border: 1px solid rgba(45, 60, 89, 0.08);
  transition: all 0.2s ease;
}

.platform-card:hover .p-chip {
  background: #ffffff;
  border-color: rgba(45, 60, 89, 0.16);
  box-shadow: 0 2px 6px rgba(45, 60, 89, 0.04);
}

/* Card Actions Footer */
.pillar-actions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 60, 89, 0.08);
  margin-top: auto;
}

.pillar-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-crimson);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: gap 0.25s ease, color 0.25s ease;
}

.pillar-action-link:hover {
  gap: 12px;
  color: #D82255;
}

.arrow-symbol {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.pillar-action-link:hover .arrow-symbol {
  transform: translateX(4px);
}

.btn-inspect-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(45, 60, 89, 0.05);
  border: 1px solid rgba(45, 60, 89, 0.1);
  color: var(--primary-navy);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-inspect-quick svg {
  width: 14px;
  height: 14px;
}

.btn-inspect-quick:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 12px var(--shadow-navy);
}

/* ==========================================================================
   PROGRAMMATIC SOLUTION DEEP-DIVE MODAL
   ========================================================================== */
.pillar-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 26, 40, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.pillar-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.pillar-modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 60, 89, 0.15);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), 0 0 40px var(--shadow-crimson-light);
  padding: 34px;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-modal-backdrop.is-open .pillar-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(45, 60, 89, 0.12);
  background: #F8FAFD;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--accent-crimson);
  color: #fff;
  border-color: var(--accent-crimson);
}

.modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(170, 28, 65, 0.08);
  color: var(--accent-crimson);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 540px) {
  .modal-metrics-row {
    grid-template-columns: 1fr;
  }
}

.modal-stat-box {
  padding: 12px 14px;
  background: #F8FAFD;
  border: 1px solid rgba(45, 60, 89, 0.08);
  border-radius: var(--radius-sm);
  text-align: center;
}

.modal-stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.modal-stat-num.stat-crimson {
  color: var(--accent-crimson);
}

.modal-stat-num.stat-emerald {
  color: #10B981;
}

.modal-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.modal-workflow-box {
  padding: 18px;
  background: rgba(45, 60, 89, 0.03);
  border: 1px dashed rgba(45, 60, 89, 0.16);
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.workflow-step:not(:last-child) {
  border-bottom: 1px solid rgba(45, 60, 89, 0.06);
}

.workflow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.modal-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-cta-btn {
  flex: 1;
}

.modal-dismiss-btn {
  padding: 14px 24px;
}

/* ==========================================================================
   PROGRAMMATIC PLAYGROUND & BENCHMARK
   ========================================================================== */
.playground-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.playground-glass-console {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px var(--shadow-navy), inset 0 1px 0 #ffffff;
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(45, 60, 89, 0.03);
  border-bottom: 1px solid rgba(45, 60, 89, 0.08);
}

.console-dots {
  display: flex;
  gap: 8px;
}

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

.dot.crimson {
  background: var(--accent-crimson);
}

.dot.slate {
  background: #64748B;
}

.dot.navy {
  background: var(--primary-navy);
}

.console-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: monospace;
}

.badge-status-green {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 36px;
}

.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.preset-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset-chip {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px var(--shadow-navy);
  transition: var(--transition-fast);
}

.preset-chip:hover {
  border-color: var(--accent-crimson);
  color: var(--accent-crimson);
}

.preset-chip.active {
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-crimson));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--shadow-crimson);
}

.control-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.slider-info label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.slider-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-crimson);
  font-family: monospace;
}

.flux-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(45, 60, 89, 0.1);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.flux-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-crimson));
  border: 2px solid #ffffff;
  box-shadow: 0 2px 10px var(--shadow-crimson);
  cursor: pointer;
}

.control-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.btn-secondary-glass {
  padding: 12px 22px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow-navy);
  transition: var(--transition-fast);
}

.btn-primary-action {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-crimson) 0%, #C71B48 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--button-shadow-crimson);
  cursor: pointer;
}

/* Right Console Display */
.preview-display {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #ffffff;
  border: 1px solid rgba(45, 60, 89, 0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 20px 45px var(--shadow-navy), inset 0 1px 0 #ffffff;
}

.preview-ambient-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(170, 28, 65, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  opacity: 0.75;
}

.preview-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-logo-icon {
  height: 32px;
  width: auto;
}

.preview-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(170, 28, 65, 0.1);
  color: var(--accent-crimson);
  border-radius: var(--radius-full);
  border: 1px solid rgba(170, 28, 65, 0.25);
}

.preview-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
}

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

.preview-code-block {
  background: var(--primary-navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  font-family: monospace;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.6;
}

.code-val {
  color: #FA3868;
  font-weight: 600;
}

.preview-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-metric {
  font-size: 0.75rem;
  background: rgba(45, 60, 89, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* ==========================================================================
   SHOWCASE SECTION
   ========================================================================== */
.showcase-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.filter-tabs-container {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px var(--shadow-navy);
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab.active {
  background: var(--primary-navy);
  color: #fff;
  box-shadow: 0 4px 14px var(--shadow-navy-heavy);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.showcase-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e1424;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.showcase-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px var(--shadow-navy);
}

.showcase-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.client-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.metric-highlight {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-crimson);
  background: rgba(170, 28, 65, 0.08);
  border: 1px solid rgba(170, 28, 65, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.showcase-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.showcase-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 22px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tag {
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(45, 60, 89, 0.06);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.inspect-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--accent-crimson);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   ESTIMATOR SECTION
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.estimator-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 44px;
}

.estimator-config {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.config-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.billing-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mode-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow-navy);
  transition: var(--transition-fast);
}

.mode-tab.active {
  background: rgba(170, 28, 65, 0.05);
  border-color: var(--accent-crimson);
  box-shadow: 0 4px 16px var(--shadow-crimson-light);
}

.tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tab-badge {
  font-size: 0.78rem;
  color: var(--accent-crimson);
  font-weight: 600;
  margin-top: 4px;
}

.config-scope-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.scope-level-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(45, 60, 89, 0.08);
  border: 1px solid var(--primary-navy);
  color: var(--primary-navy);
  border-radius: var(--radius-full);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.features-checklist {
  border-top: 1px solid rgba(45, 60, 89, 0.08);
  padding-top: 20px;
}

.checklist-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deliverables-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Estimator Output Card */
.estimator-summary-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px var(--shadow-navy), inset 0 1px 0 #ffffff;
}

.estimate-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.price-display {
  display: flex;
  align-items: baseline;
  margin: 10px 0 6px;
}

.currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-right: 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.price-cycle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 600;
}

.price-sub {
  font-size: 0.88rem;
  color: #059669;
  font-weight: 700;
}

.summary-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
  border-top: 1px solid rgba(45, 60, 89, 0.08);
  border-bottom: 1px solid rgba(45, 60, 89, 0.08);
  padding: 18px 0;
}

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

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

.spec-val {
  font-weight: 700;
  color: var(--primary-navy);
}

.full-width {
  width: 100%;
}

.estimate-guarantee {
  font-size: 0.76rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.perk-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.perk-icon.navy-glow {
  background: rgba(45, 60, 89, 0.1);
  border: 1px solid var(--primary-navy);
  color: var(--primary-navy);
}

.perk-icon.crimson-glow {
  background: rgba(170, 28, 65, 0.1);
  border: 1px solid var(--accent-crimson);
  color: var(--accent-crimson);
}

.perk-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.perk-text strong {
  color: var(--primary-navy);
}

.direct-contact-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.contact-email-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-crimson);
  text-decoration: none;
}

.box-time {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 700;
}

/* Contact Form */
.contact-form-card {
  padding: 40px;
}

#project-brief-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-item input {
  display: none;
}

.chip-item span {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: 0 2px 6px var(--shadow-navy);
  transition: var(--transition-fast);
}

.chip-item input:checked+span {
  background: var(--accent-crimson);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--shadow-crimson);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.glass-input {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  box-shadow: 0 2px 6px var(--shadow-navy);
  transition: border-color var(--transition-fast);
}

.glass-input:focus {
  border-color: var(--accent-crimson);
  box-shadow: 0 0 14px var(--shadow-crimson-light);
}

.glass-input.textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  font-size: 0.76rem;
  color: var(--accent-crimson);
  margin-top: 4px;
  font-weight: 600;
}

.form-feedback {
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #047857;
}

.form-feedback.hidden {
  display: none;
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 60, 89, 0.5);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 30px 80px var(--shadow-navy-heavy);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45, 60, 89, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast */
.glass-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #ffffff;
  border: 1.5px solid var(--accent-crimson);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--primary-navy);
  font-size: 0.94rem;
  font-weight: 700;
  box-shadow: 0 16px 36px var(--shadow-navy), 0 0 20px var(--shadow-crimson-light);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-spring);
  z-index: 1100;
}

.glass-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.glass-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(45, 60, 89, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 80px 0 40px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-crimson);
}

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

.system-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(45, 60, 89, 0.04);
  border: 1px solid rgba(45, 60, 89, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.footer-col-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.footer-newsletter-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.newsletter-btn {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.newsletter-msg {
  font-size: 0.8rem;
  margin-top: 8px;
  color: #059669;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(45, 60, 89, 0.08);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent-crimson);
}

.legal-separator {
  color: rgba(45, 60, 89, 0.2);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  color: var(--primary-navy);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px var(--shadow-navy);
}

.back-to-top-btn:hover {
  border-color: var(--accent-crimson);
  color: var(--accent-crimson);
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .character-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .character-backdrop-circle {
    width: 360px;
    height: 360px;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .hero-trust-strip {
    justify-content: center;
  }

  .hero-tag-pill {
    margin: 0 auto;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .estimator-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links-desktop,
  .nav-actions .btn-header-demo {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .character-wrapper {
    width: 260px;
    height: 260px;
  }

  .character-backdrop-circle {
    width: 300px;
    height: 300px;
  }

  .widget-growth {
    left: -10px;
    top: 0;
    padding: 10px 14px;
    min-width: 130px;
  }

  .widget-testimonial {
    left: -10px;
    bottom: 0;
    padding: 8px 12px;
    min-width: 180px;
  }

  .widget-tiles-grid {
    right: -10px;
    bottom: -10px;
    padding: 8px;
    gap: 6px;
  }

  .tile-cell {
    width: 38px;
    height: 38px;
  }

  .widget-qr {
    right: 0;
    top: 0;
    padding: 6px 10px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .stats-ribbon {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.stat-divider {
  width: 60%;
  height: 1px;
}

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

.footer-top {
  grid-template-columns: 1fr;
}

.footer-bottom {
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

/* ==========================================================================
   ABOUT / MISSION SECTION
   ========================================================================== */
.about-section {
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.about-person-img {
  width: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(45, 60, 89, 0.15);
}

.about-content-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content-block .section-title {
  text-align-last: left;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* About Floating Widgets */
.widget-impressions {
  top: 10%;
  left: -40px;
  width: 220px;
  padding: 16px;
}

.widget-engagement {
  bottom: 10%;
  right: -30px;
  width: 200px;
  padding: 20px;
  text-align: center;
}

.widget-title-small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-info-icon {
  width: 16px;
  height: 16px;
  color: #a0aec0;
}

.widget-metric-row {
  margin: 12px 0;
}

.widget-chart-mini {
  width: 100%;
  height: 40px;
  margin-bottom: 12px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.widget-badge-down {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(170, 28, 65, 0.1);
  color: var(--accent-crimson);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.widget-badge-up {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.widget-icon-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-circle-bg {
  width: 48px;
  height: 48px;
  background: rgba(45, 60, 89, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
}

.icon-circle-bg svg {
  width: 24px;
  height: 24px;
}

.widget-metric-center {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.widget-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Checklist Grid */
.about-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 16px;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-crimson);
}

@media (max-width: 968px) {
  .about-two-col {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-visual-stage {
    order: -1;
  }

  .widget-impressions {
    left: 10px;
  }

  .widget-engagement {
    right: 10px;
  }
}

/* ==========================================================================
   OUR PROFESSIONALS SECTION
   ========================================================================== */
.professionals-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.professionals-visual-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.circle-crimson {
  background: radial-gradient(circle, rgba(170, 28, 65, 0.15) 0%, transparent 70%);
}

.professionals-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(45, 60, 89, 0.15);
  z-index: 2;
}

.professionals-img {
  width: 100%;
  display: block;
}

.professionals-content-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.professionals-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.widget-pro {
  bottom: 20%;
  right: -30px;
  width: 160px;
  padding: 20px;
  text-align: center;
}

@media (max-width: 968px) {
  .professionals-two-col {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .professionals-visual-stage {
    order: -1;
  }

  .widget-pro {
    right: 10px;
  }
}

/* Custom Animation Classes for Professionals Section */
.float-anim-slow {
  animation: floatImage 8s ease-in-out infinite;
  width: 80%;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

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

.pulse-anim {
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Animated Eyebrow Pill */
.section-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(45, 60, 89, 0.05);
  border: 1px solid rgba(45, 60, 89, 0.1);
  border-radius: 30px;
  width: max-content;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Moving glow effect on the pill border */
.section-eyebrow-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(170, 28, 65, 0.2), transparent);
  animation: sweepGlow 3s infinite linear;
}

@keyframes sweepGlow {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-crimson);
  box-shadow: 0 0 8px var(--accent-crimson);
  animation: dotPulse 2s infinite alternate;
}

@keyframes dotPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.eyebrow-text-animated {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--primary-navy) 0%, var(--accent-crimson) 50%, var(--primary-navy) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */
.integrations-section {
  padding: 40px 0 80px 0;
  position: relative;
  background: var(--bg-body);
  overflow-x: clip;
  overflow-y: visible;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Full bleed trick */
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 32px;
  padding-right: 32px;
}

/* Scroll Animations */
.track-left {
  animation: scrollLeft 35s linear infinite;
}

.track-right {
  animation: scrollRight 35s linear infinite;
}

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

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Integration Glass Card */
.integration-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(45, 60, 89, 0.1);
  box-shadow: 0 10px 30px rgba(45, 60, 89, 0.05);
  border-radius: 16px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.integration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(170, 28, 65, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.integration-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(170, 28, 65, 0.15);
  border-color: rgba(170, 28, 65, 0.3);
}

.integration-card:hover::before {
  opacity: 1;
}

.integration-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.integration-card:hover .integration-name {
  color: var(--accent-crimson);
}

/* ==========================================================================
   WHY CHOOSE US SECTION (4-CARD GRID)
   ========================================================================== */
.why-choose-us-section {
  padding: 60px 0;
  position: relative;
  background: var(--bg-body);
  overflow: visible;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Strict single row */
  gap: 20px;
  margin-top: 40px;
}

.why-card {
  position: relative;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  border-radius: 16px;
  background: rgba(45, 60, 89, 0.03);
  border: 1px solid rgba(45, 60, 89, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  overflow: hidden;
}

/* Unique Animation: When the grid is hovered, all cards shrink and dim slightly */
.why-choose-grid:hover .why-card {
  opacity: 0.6;
  transform: scale(0.95);
  filter: grayscale(80%);
}

/* The specifically hovered card expands, glows, and comes into full color */
.why-choose-grid .why-card:hover {
  opacity: 1;
  transform: scale(1.08) translateY(-10px);
  filter: grayscale(0%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(170, 28, 65, 0.15);
  border-color: rgba(170, 28, 65, 0.3);
  z-index: 10;
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(170, 28, 65, 0.1);
  color: var(--accent-crimson);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  border: 1px solid rgba(170, 28, 65, 0.2);
}

.why-card:hover .why-card-icon {
  background: var(--accent-crimson);
  color: #fff;
  box-shadow: 0 0 25px rgba(170, 28, 65, 0.6);
  transform: rotateY(180deg);
  /* Unique flip animation on hover */
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
  position: relative;
  z-index: 1;
}

.why-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PROGRESS TRACKING (FLOATING THEME)
   ========================================================================== */
.progress-floating-section {
  padding: 60px 0 120px 0;
  position: relative;
  background: var(--bg-surface);
  overflow: visible;
}

.progress-stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-main-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(170, 28, 65, 0.3);
}

.main-dash-img {
  width: 100%;
  display: block;
}

/* Floating Glass Stats */
.floating-stat {
  position: absolute;
  z-index: 5;
  width: 280px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 60, 89, 0.1);
  box-shadow: 0 15px 35px rgba(45, 60, 89, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.floating-stat:hover {
  transform: scale(1.05);
  border-color: rgba(170, 28, 65, 0.3);
  box-shadow: 0 20px 40px rgba(170, 28, 65, 0.15);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Positions around the dashboard */
.stat-pos-1 {
  top: 10%;
  left: -20px;
}

.stat-pos-2 {
  bottom: 15%;
  right: -40px;
}

.stat-pos-3 {
  bottom: 0%;
  left: 10%;
}

/* Text Animations */
.animated-gradient-text {
  background: linear-gradient(270deg, var(--primary-navy) 0%, #3b4b6b 50%, var(--primary-navy) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextSweep 5s ease infinite;
  display: inline-block;
}

@keyframes gradientTextSweep {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.shimmer-text {
  background: linear-gradient(135deg, var(--accent-crimson) 0%, #ff4d6d 50%, var(--accent-crimson) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerEffect 3s linear infinite;
  display: inline-block;
}

@keyframes shimmerEffect {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@media (max-width: 968px) {
  .progress-stage {
    flex-direction: column;
    min-height: auto;
    gap: 30px;
  }

  .floating-stat {
    position: relative;
    width: 100%;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}

/* ==========================================================================
   DIGITAL SWITCHBOARD SECTION
   ========================================================================== */
.switchboard-section {
  padding: 100px 0;
  position: relative;
  background: var(--bg-body);
  overflow: hidden;
}

.switchboard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left: The Switchboard Panel */
.switchboard-panel {
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(45, 60, 89, 0.1);
  box-shadow: 0 20px 60px rgba(45, 60, 89, 0.08);
}

.panel-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-crimson);
  margin-bottom: 30px;
  font-weight: 700;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(45, 60, 89, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-toggle-row:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(45, 60, 89, 0.05);
  background: #fff;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
  font-family: var(--font-display);
}

.taboola-icon {
  background: #005ce6;
}

.prog-icon {
  background: #6b21a8;
}

.adsterra-icon {
  background: #10b981;
}

.pixi-icon {
  background: #ec4899;
}

.pixiflux-icon {
  background: #f43f5e;
}

.platform-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Neon CSS Toggle Switch */
.neon-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.neon-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.neon-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.neon-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.neon-checkbox:checked+.neon-slider {
  background-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.neon-checkbox:checked+.neon-slider:before {
  transform: translateX(26px);
}

/* Right: Data Terminals */
.terminal-column {
  /* margin-top: 55px; */
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.data-terminal {
  position: relative;
  padding: 35px 30px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(25, 35, 60, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), inset 0 0 0 rgba(45, 212, 191, 0);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.data-terminal:nth-child(2) {
  border-color: rgba(255, 77, 109, 0.2);
}

/* Hover Glow Effect */
.data-terminal:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), inset 0 0 25px rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.5);
}

.data-terminal:nth-child(2):hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), inset 0 0 25px rgba(255, 77, 109, 0.15);
  border-color: rgba(255, 77, 109, 0.5);
}

/* Moving Grid Background Animation */
.data-terminal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
  pointer-events: none;
  animation: bgGridPan 20s linear infinite;
  z-index: 0;
}

@keyframes bgGridPan {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-40px, -40px);
  }
}

.terminal-title,
.terminal-desc {
  position: relative;
  z-index: 1;
  /* Keep text above the grid */
}

.terminal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pulsing Neon Dot */
.terminal-title::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulseNeonDot 2s infinite;
}

.data-terminal:nth-child(2) .terminal-title::before {
  background: var(--accent-crimson);
  box-shadow: 0 0 12px var(--accent-crimson);
}

@keyframes pulseNeonDot {

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

  50% {
    transform: scale(1.6);
    opacity: 0.6;
  }
}

.terminal-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 968px) {
  .switchboard-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ TERMINAL SECTION
   ========================================================================== */
.faq-terminal-section {
  padding: 100px 0;
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-terminal-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(45, 60, 89, 0.08);
  border: 1px solid rgba(45, 60, 89, 0.05);
  overflow: hidden;
}

/* Hide Radio Buttons */
.faq-radio {
  display: none;
}

/* Left: Question Tabs */
.faq-question-list {
  display: flex;
  flex-direction: column;
  background: rgba(45, 60, 89, 0.03);
  padding: 30px;
  border-right: 1px solid rgba(45, 60, 89, 0.05);
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-navy);
  border: 1px solid transparent;
}

.faq-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-tab-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-crimson);
  opacity: 0.7;
}

.faq-tab-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Active State for Tabs */
#faq-1:checked~.faq-question-list label[for="faq-1"],
#faq-2:checked~.faq-question-list label[for="faq-2"],
#faq-3:checked~.faq-question-list label[for="faq-3"],
#faq-4:checked~.faq-question-list label[for="faq-4"],
#faq-5:checked~.faq-question-list label[for="faq-5"] {
  background: #fff;
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 10px 20px rgba(45, 60, 89, 0.08);
  transform: translateX(10px);
}

#faq-1:checked~.faq-question-list label[for="faq-1"] .faq-tab-number,
#faq-2:checked~.faq-question-list label[for="faq-2"] .faq-tab-number,
#faq-3:checked~.faq-question-list label[for="faq-3"] .faq-tab-number,
#faq-4:checked~.faq-question-list label[for="faq-4"] .faq-tab-number,
#faq-5:checked~.faq-question-list label[for="faq-5"] .faq-tab-number {
  color: var(--accent-cyan);
  opacity: 1;
}

/* Right: Terminal Display */
.faq-answer-display {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  display: flex;
  flex-direction: column;
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-path {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.terminal-content-area {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.faq-answer-content {
  display: none;
  color: #a5b4fc;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  line-height: 1.8;
}

.faq-answer-content strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Show Answer based on Radio */
#faq-1:checked~.faq-answer-display .answer-1,
#faq-2:checked~.faq-answer-display .answer-2,
#faq-3:checked~.faq-answer-display .answer-3,
#faq-4:checked~.faq-answer-display .answer-4,
#faq-5:checked~.faq-answer-display .answer-5 {
  display: block;
}

/* Typewriter Animation Effect */
.typewriter-text {
  overflow: hidden;
  border-right: .15em solid var(--accent-cyan);
  white-space: pre-wrap;
  animation: typing 1s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--accent-cyan);
  }
}

@media (max-width: 968px) {
  .faq-terminal-layout {
    grid-template-columns: 1fr;
  }

  .faq-question-list {
    border-right: none;
    border-bottom: 1px solid rgba(45, 60, 89, 0.05);
  }
}

/* ==========================================================================
   BOOK A DEMO (HOLOGRAPHIC THEME)
   ========================================================================== */
.demo-booking-section {
  padding: 120px 0;
  position: relative;
  background: var(--bg-body);
  overflow: hidden;
}

.demo-booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(25, 35, 60, 0.9));
  border: 1px solid rgba(45, 212, 191, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(45, 212, 191, 0.05);
  border-radius: 30px;
  padding: 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Background animated grid for the card itself */
.demo-booking-layout::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.demo-info-panel,
.demo-form-panel {
  position: relative;
  z-index: 1;
}

.demo-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.demo-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: fit-content;
}

.demo-contact-link:hover {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateX(10px);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}

.contact-icon {
  font-size: 20px;
  color: var(--accent-cyan);
}

/* Holographic Form Elements */
.holo-input-group {
  position: relative;
  margin-top: 15px;
  margin-bottom: 30px;
}

.holo-input-group input,
.holo-input-group select,
.holo-input-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 16px;
  color: #fff;
  font-family: var(--font-primary);
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.holo-input-group select option {
  background: #0f172a;
  color: #fff;
}

.holo-input-group textarea {
  resize: vertical;
}

.holo-input-group label {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Floating Label Animation */
.holo-input-group input:focus~label,
.holo-input-group input:not(:placeholder-shown)~label,
.holo-input-group textarea:focus~label,
.holo-input-group textarea:not(:placeholder-shown)~label,
.holo-input-group .select-label {
  top: -24px;
  left: 5px;
  font-size: 13px;
  color: var(--accent-cyan);
}

.holo-input-group input:focus,
.holo-input-group select:focus,
.holo-input-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

/* Glowing Submit Button */
.holographic-submit-btn {
  width: 100%;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--accent-crimson), #ff4d6d);
  color: #fff;
  border: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.holographic-submit-btn:hover {
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 968px) {
  .demo-booking-layout {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

/* ==========================================================================
   FUTURISTIC GLOW FOOTER
   ========================================================================== */
.holographic-footer {
  background: linear-gradient(180deg, #384580, #384580);
  position: relative;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(45, 212, 191, 0.1);
  overflow: hidden;
}

.footer-ambient-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-layout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.filter-glow {
  /* filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.4)); */
  filter: contrast(0.4);
  max-width: 180px;
}

.holographic-footer .footer-col-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-align: left;
}

.footer-holographic-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  text-align: left;
}

.footer-holographic-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-holographic-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
  text-align: left;
}

.glow-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.glow-contact-item:hover {
  color: #fff;
}

.glow-contact-item:hover .contact-icon {
  color: var(--accent-crimson);
  text-shadow: 0 0 10px rgba(170, 28, 65, 0.8);
}

.social-holo-links {
  display: flex;
  gap: 15px;
}

.social-orb {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-orb:hover {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

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

.footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.footer-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  z-index: 9999;
}

.holo-action-btn {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.holo-action-btn svg {
  width: 24px;
  height: 24px;
}

.whatsapp-pulse {
  background: #384580;
  animation: pulse-green 1.5s infinite;
}

.whatsapp-pulse:hover {
  background: #b61326;
  box-shadow: 0 10px 25px rgba(240, 62, 107, 0.5);
  transform: translateY(-5px) scale(1.05);
}

.holo-back-to-top.top-pulse {
  background: var(--accent-crimson);
  animation: pulse-crimson 2s infinite 1s;
}

.holo-back-to-top.top-pulse:hover {
  background: #e60039;
  box-shadow: 0 10px 25px rgba(255, 77, 109, 0.5);
  transform: translateY(-5px) scale(1.05);
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.8);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
  }
}

@keyframes pulse-cyan {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

@media (max-width: 768px) {
  .footer-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Custom Animated Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b1120;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-crimson));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1cead1, #ff2a55);
}

/* Global Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

[data-reveal]:not([data-reveal="left"]):not([data-reveal="right"]):not([data-reveal="top"]) {
  transform: translate3d(0, 80px, 0);
}

[data-reveal="left"] {
  transform: translate3d(-100px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(100px, 0, 0);
}

[data-reveal="top"] {
  transform: translate3d(0, -80px, 0);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger Effects for Grid Items */
[data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

[data-reveal]:nth-child(3) {
  transition-delay: 0.3s;
}

[data-reveal]:nth-child(4) {
  transition-delay: 0.45s;
}

[data-reveal]:nth-child(5) {
  transition-delay: 0.6s;
}

[data-reveal]:nth-child(6) {
  transition-delay: 0.75s;
}

/* Fix Mobile Overlap for Floating Widgets */
@media (max-width: 768px) {
  .widget-impressions {
    top: -33px;
    padding: 5px 5px;
    width: 180px;
    left: -27px;
    transform: scale(0.75);
    transform-origin: top left;
    z-index: 10;
  }

  .widget-engagement {
    bottom: -10px;
    right: -70px;
    transform: scale(0.75);
    transform-origin: bottom right;
    z-index: 10;
  }

  [data-reveal]:not([data-reveal="left"]):not([data-reveal="right"]):not([data-reveal="top"]) {
    transform: translate3d(0, 40px, 0);
  }

  /* Global Layout Resets for Mobile */
  .hero-two-col,
  .professionals-two-col,
  .about-two-col,
  .switchboard-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column;
    gap: 40px !important;
  }

  .why-choose-grid,
  .platform-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .progress-stage {
    flex-direction: column;
  }

  .floating-stat {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 10px auto;
  }
}

/* ==========================================================================
   USER REQUESTED OVERRIDES: FULL WIDTH, HIGHLIGHTED IMAGES & NEW ANIMATIONS
   ========================================================================== */

/* 1. Full Width Website Layout */
.section-container {
  max-width: 95% !important;
  /* Spans across the screen but leaves a small margin */
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Make navbar match full width */
.glass-navbar,
.navbar-animated-border-glow {
  max-width: 95% !important;
}

@media (max-width: 768px) {
  .section-container {
    max-width: 100% !important;
    padding: 0 20px !important;
  }
}

/* 2. Highlighted ("ilight") and Animated Images */
.platform-img-visual,
.hero-person-img,
.main-dash-img,
.showcase-image img,
.blog-img-hover {
  border-radius: var(--radius-md);
  /* Glowing / highlighted drop shadow */
  box-shadow: 0 15px 45px rgba(170, 28, 65, 0.4), 0 0 30px rgba(45, 212, 191, 0.3) !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease !important;
  /* Continuous smooth floating animation */
  animation: floatImageAnim 5s ease-in-out infinite !important;
  /* Increase brightness/highlight */
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)) brightness(1.1);
  display: block;
}

.platform-img-visual:hover,
.hero-person-img:hover,
.main-dash-img:hover,
.showcase-image img:hover,
.blog-img-hover:hover {
  transform: translateY(-12px) scale(1.04) !important;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8)) brightness(1.25);
}

@keyframes floatImageAnim {

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

  50% {
    transform: translateY(-15px);
  }
}

/* 3. Effective Glass Card & Button Animations */
.glass-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.glass-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(45, 60, 89, 0.3), 0 0 30px rgba(170, 28, 65, 0.25) !important;
}

/* Make primary buttons pulse to look more engaging */
.btn-header-demo,
.btn-demo-solid {
  animation: btnPulseGlow 3s infinite alternate !important;
}

@keyframes btnPulseGlow {
  0% {
    box-shadow: 0 12px 30px rgba(170, 28, 65, 0.3);
  }

  100% {
    box-shadow: 0 12px 45px rgba(170, 28, 65, 0.8), 0 0 25px rgba(250, 56, 104, 0.5);
  }
}

/* 4. New Premium Vibrant Navbar Design (No Black) */
.glass-navbar {
  background: rgba(56, 69, 128, 0.85) !important;
  /* Vibrant Navy #384580 */
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 15px 40px rgba(56, 69, 128, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.glass-navbar.scrolled {
  background: rgba(56, 69, 128, 0.96) !important;
  box-shadow: 0 20px 48px rgba(56, 69, 128, 0.45), 0 0 25px rgba(170, 28, 65, 0.25) !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

/* Brighten logo without dark shadows */
.brand-logo-img {
  /* filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.4)) brightness(8.5) !important; */
}

/* Adjust mobile toggle button for vibrant theme */
.mobile-toggle-btn {
  background: rgba(56, 69, 128, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.mobile-toggle-btn span {
  background-color: #ffffff !important;
}

/* 5. Full Screen Background Video */
.video-background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.85;
}

/* This takes a standard dark "Tech Connecting Network" video and magically turns it into a bright, white/light-grey theme video! */
.light-tech-filter {
  filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(0.9);
}

/* Overlay to ensure text readability over the video */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 253, 0.7);
  /* Light overlay to blend nicely with the light theme */
}

/* 6. Temlis.com Style Hover Video Preview */
.visual-media-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: block;
}

.hover-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  border-radius: var(--radius-md);
  pointer-events: none;
}

.visual-media-container:hover .hover-preview-video {
  opacity: 1;
}

.preview-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(255, 255, 255, 0.95);
  color: #384580;
  /* Vibrant matching text */
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(56, 69, 128, 0.25);
}

.visual-media-container:hover .preview-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   PAGE PRELOADER ANIMATION
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background-color: #f8fafd;
  /* Match light theme background */
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Delay background fade so logo scales first */
  transition: opacity 0.8s ease 0.3s, visibility 1.2s;
}

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

.loader-pill {
  position: relative;
  background: #f1f1f1;
  color: #888;
  padding: 12px 30px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-loader.loaded .loader-pill {
  opacity: 0;
  transform: scale(0.9);
}

/* Animate main content in once loader finishes */
body.page-ready .hero-content-left>*,
body.page-ready .hero-visual-container {
  animation: slideUpReveal 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
}

body.page-ready .hero-content-left>*:nth-child(1) {
  animation-delay: 0.4s;
}

body.page-ready .hero-content-left>*:nth-child(2) {
  animation-delay: 0.5s;
}

body.page-ready .hero-content-left>*:nth-child(3) {
  animation-delay: 0.6s;
}

body.page-ready .hero-visual-container {
  animation-delay: 0.7s;
}

@keyframes slideUpReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   INTRO ANIMATION (PIXI [IMG] FLUX)
   ========================================================================== */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#intro-screen.hide {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 10000;
  width: 100%;
}

.intro-word-left,
.intro-word-right {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -2px;
  line-height: 1;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease-out;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
}

.intro-logo-mark {
  height: 1.05em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.04em;
  object-fit: contain;
}

#intro-screen.split .intro-word-left {
  transform: translateX(-100vw);
  opacity: 0;
}

#intro-screen.split .intro-word-right {
  transform: translateX(100vw);
  opacity: 0;
}

#intro-clip-area {
  width: 150px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: var(--card-shadow);
}

#intro-clip-area.expanded {
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  border-radius: 30px;
  position: fixed;
  top: 20px;
  left: 20px;
  box-shadow: none;
  z-index: 0;
}

/* Make sure the video stays centered and covers the area */
#intro-clip-area .video-background-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
}

/* ==========================================================================
   NEW HERO LAYOUT (Like Video)
   ========================================================================== */
.hero-section.video-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  /* stretch child to full height so margin-top auto works */
  justify-content: center;
  padding: 120px 5% 40px;
  z-index: 2;
  /* above background */
  opacity: 0;
  /* hidden initially until intro finishes */
  transition: opacity 1s ease;
}

.hero-section.video-hero.show {
  opacity: 1;
}

.hero-content-fullscreen {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: auto;
  /* let flex stretch it */
  flex-grow: 1;
}

.hero-title-massive {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #3d527b;
  text-transform: uppercase;
}


.hero-title-massive .text-gradient-navy {
  background: linear-gradient(135deg, #fff, #ddd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-massive .text-gradient-crimson {
  background: linear-gradient(135deg, var(--accent-crimson-bright), var(--accent-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  text-align: left;
  margin-top: auto;
}

.hero-subtext-bottom {
  max-width: 450px;
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn-bottom {
  background: linear-gradient(90deg, #ee2837, #e4212b);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(170, 28, 65, 0.4);
}

.hero-btn-bottom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(170, 28, 65, 0.6);
}

/* ==========================================================================
   NEW CLEAN VIDEO-STYLE HEADER
   ========================================================================== */
/* .new-floating-header {
  position: fixed;
  top: 20px !important;
  left: 20px !important;
  transform: none !important;
  width: calc(100% - 40px) !important;
  max-width: none;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 100px !important;
  padding: 0 40px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  z-index: 9999 !important;
  opacity: 0;
  transition: opacity 1s ease, background 0.3s ease;
} */

/* ==========================================================================
   DYNAMIC ISLAND ANIMATED GLASSMORPHIC HEADER (NO BLACK)
   ========================================================================== */

.new-floating-header {
  position: fixed;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 40px) !important;
  max-width: 1280px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  padding: 0 14px 0 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  z-index: 9999 !important;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Radiant Animated Halo Rim */
.new-floating-header::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 999px;
  padding: 1.5px;
  background: linear-gradient(90deg, #d6181a, #ff4b63, #4e7eff, #c850c0, #d6181a);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: navAuraShift 7s linear infinite;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

@keyframes navAuraShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

.new-floating-header.show {
  opacity: 1 !important;
}

/* Navbar Inner Flex Layout (Zero Overlap) */
.new-floating-header .new-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  width: 100%;
  gap: 16px;
  position: relative;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-container:hover {
  transform: scale(1.04);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Centered Floating Nav Links */
.new-floating-header .nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.new-floating-header .nav-links-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-display);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 18px;
  border-radius: 999px;
  transition: all 0.25s ease;
  background: transparent;
  overflow: hidden;
}

.new-floating-header .nav-links-desktop a .link-text {
  position: relative;
  z-index: 1;
  color: rgb(28, 55, 134);
}

.new-floating-header .nav-links-desktop a:hover,
.new-floating-header .nav-links-desktop a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

/* Nav Actions (Right side) */
.new-floating-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {

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

  50% {
    transform: scale(1.4);
    opacity: 0.6;
    box-shadow: 0 0 14px #10b981;
  }
}

.header-time {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgb(28, 55, 134);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Animated Gradient CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #d6181a 0%, #ff334b 100%);
  border-radius: 999px;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(214, 24, 26, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: ctaShimmer 4s infinite;
}

@keyframes ctaShimmer {

  0%,
  75% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}

.nav-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(214, 24, 26, 0.5);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.nav-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   SCROLLED STATE: CERAMIC LIGHT FROSTED GLASS (HIGH CONTRAST, NO BLACK)
   ========================================================================== */

.new-floating-header.scrolled {
  top: 14px !important;
  max-width: 1200px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(25px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.new-floating-header.scrolled .brand-logo-img {
  filter: none !important;
}

.new-floating-header.scrolled .nav-links-desktop {
  background: #eef1f6 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.new-floating-header.scrolled .nav-links-desktop a {
  color: #1a1e29 !important;
}

.new-floating-header.scrolled .nav-links-desktop a .link-text {
  color: #1a1e29 !important;
}

.new-floating-header.scrolled .nav-links-desktop a:hover,
.new-floating-header.scrolled .nav-links-desktop a.active {
  color: #d6181a !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.new-floating-header.scrolled .nav-links-desktop a:hover .link-text,
.new-floating-header.scrolled .nav-links-desktop a.active .link-text {
  color: #d6181a !important;
}

.new-floating-header.scrolled .nav-live-pill {
  background: #eef1f6 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.new-floating-header.scrolled .header-time {
  color: #1a1e29 !important;
}

.new-floating-header.scrolled .mobile-toggle-btn span {
  background: #1a1e29 !important;
}

/* Mobile Menu Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.mobile-toggle-btn span {
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18, 22, 34, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: #ffffff;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-drawer-logo {
  height: 38px;
  filter: none;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1e2438;
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e2438;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-link:hover {
  color: #d6181a;
  transform: translateX(6px);
}

.mobile-drawer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-cta-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #d6181a 0%, #ff334b 100%);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(214, 24, 26, 0.35);
}

@media (max-width: 992px) {
  .new-floating-header .nav-links-desktop {
    display: none;
  }

  .nav-live-pill {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .new-floating-header {
    padding: 0 16px !important;
  }
}

/* ==========================================================================
   ANIMATED BACKGROUND IMAGE
   ========================================================================== */
.bg-image-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurnsBg 20s infinite alternate linear;
}

@keyframes kenBurnsBg {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ==========================================================================
   NEW TWO-COLUMN LAYOUT AND SCROLL ANIMATIONS
   ========================================================================== */

.z-section {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.z-section.bg-white {
  background: #ffffff;
  color: #000;
}

.z-section.bg-dark {
  background: #fff;
  color: var(--primary-navy);
}

.z-left {
  width: 40%;
  padding: 60px 5%;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.z-section.bg-dark .z-left {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.z-label {
  position: sticky;
  top: 120px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.z-right {
  width: 60%;
  padding: 60px 5%;
  display: flex;
  flex-direction: column;
}

.z-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.z-paragraph {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  letter-spacing: -0.01em;
}

.z-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 40px;
}

.z-grid-item {
  font-size: 1.4rem;
  font-weight: 500;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Platform Specific Styles */
.z-platform-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.z-platform-item h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.z-platform-item p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Benefits Specific Styles */
.z-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.z-benefit-card {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 20px;
}

.z-benefit-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.z-benefit-card p {
  font-size: 1.125rem;
  color: #555;
}

/* Integrations Specific Styles */
.z-integrations-list {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Footer Styles */
.z-footer {
  padding: 100px 5% 0 5%;
  display: flex;
  flex-direction: column;
}

.z-footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.z-footer-left {
  width: 40%;
}

.z-footer-left p {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 40px;
}

.z-btn-solid {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: var(--primary-navy);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
}

.z-footer-right {
  width: 40%;
}

.z-footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.z-footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

.z-footer-massive {
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 900;
  text-align: center;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #fff;
}

/* SCROLL ANIMATIONS */
.slide-up-text {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide-up-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .z-section {
    flex-direction: column;
  }

  .z-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px 5%;
  }

  .z-section.bg-dark .z-left {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .z-label {
    position: relative;
    top: 0;
  }

  .z-right {
    width: 100%;
    padding: 60px 5%;
  }

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

  .z-benefits-grid {
    grid-template-columns: 1fr;
  }

  .z-footer-top {
    flex-direction: column;
    gap: 60px;
  }

  .z-footer-left,
  .z-footer-right {
    width: 100%;
  }
}