/* ==============================================================================
 * HEADER BLOCK: "Question Before Making It"
 * ==============================================================================
 * WHAT THIS FILE DOES:
 *   Provides the complete styling, atmospheric lighting, background video container,
 *   glassmorphic cards, typography, and responsive rules for the primary Hero section
 *   of the ProAffiliaters marketing website (`app/page.tsx`).
 *
 * WHY THIS FILE EXISTS:
 *   The Hero section is the highest-leverage conversion viewport on proaffiliaters.com.
 *   It showcases the automated digital ecosystem through a high-definition background
 *   video (`/videos/hero-bg.mp4`), vibrant ambient glows, official brand gradients
 *   (#4f6ef7 electric blue to #7c3aed violet), conversion-focused CTAs, and live
 *   social proof stats.
 *
 * WHAT MAJOR RESPONSIBILITY IT HANDLES:
 *   - Video Background: Positions the MP4 seamlessly with full-viewport coverage,
 *     rendering 100% natural, vibrant original video colors with zero foggy overlays.
 *   - Atmospheric Glows & Dot Grid: Renders radial blur orbs and dot-matrix patterns.
 *   - Centered Hero Typography: Styles the "#1 Affiliate Platform in India" crown badge,
 *     responsive clamp() headline with SVG underline swoosh, and value description.
 *   - Conversion Action Triggers: Primary gradient pill CTA and secondary glassmorphic demo button.
 *   - Floating Stats Card: Frosted-glass backdrop-filtered pill displaying key trust metrics.
 *   - Responsive Adaptability: Fluid scaling down to mobile viewports (<=640px).
 *
 * HOW IT FITS INTO THE OVERALL MARKETING WEBSITE:
 *   Loaded globally in `app/layout.tsx` (`/css/hero.css`), directly styling the Hero
 *   viewport in `app/page.tsx`.
 * ==============================================================================
 */

:root {
  --ink: #0f172a;
  --muted: #475569;
  --blue: #4f6ef7;
  --blue-hover: #3b5bfa;
  --violet: #7c3aed;
  --violet-deep: #5a1fd6;
  --bg-soft: #f4f6ff;
  --bg-card: #ffffff;
  --line: rgba(79, 110, 247, 0.18);
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  --grad-hover: linear-gradient(135deg, var(--blue-hover) 0%, #6d28d9 100%);
  --grad-soft: linear-gradient(135deg, rgba(79, 110, 247, 0.12), rgba(124, 58, 237, 0.12));
  --shadow-lg: 0 30px 60px -20px rgba(124, 58, 237, 0.25);
  --shadow-sm: 0 10px 25px -10px rgba(0, 0, 0, 0.08);
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==============================================================================
   1. 100VH VIEWPORT SHELL & HERO VIDEO BACKGROUND
   ============================================================================== */

.hero-page-viewport {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  box-sizing: border-box;
  background: radial-gradient(ellipse 90% 70% at 50% 15%, #ffffff 0%, #f4f6fb 65%, #edf0f8 100%);
}

/* Fallback for browsers without :has support to pull hero up behind fixed navbar */
@supports not (selector(:has(*))) {
  .hero-page-viewport {
    margin-top: -68px;
    height: 100vh;
    max-height: 100vh;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 0; /* Provides 80px top clearance for the floating capsule navbar */
  box-sizing: border-box;
  background: transparent;
}

/* Atmospheric Ambient Glows & Dot Pattern */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-right {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -50px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22) 0%, rgba(79, 110, 247, 0.18) 100%);
  opacity: 0.65;
}

.hero-glow-left {
  width: 480px;
  height: 480px;
  bottom: -120px;
  left: -80px;
  background: rgba(79, 110, 247, 0.20);
  opacity: 0.55;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 110, 247, 0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 15%, transparent 80%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

/* Interactive Antigravity Particle Field Canvas — Middle Layer (Behind objects, before background) */
.gravity-field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

/* ==============================================================================
   2. HERO CONTENT & TYPOGRAPHY
   ============================================================================== */

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}

/* 2-Column Split Hero Layout */
.hero-split-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
}

.hero-left-col {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  max-width: 680px;
}

.hero-left-col .hero-badge {
  margin-bottom: -2px;
}

.hero-left-col .hero-headline {
  text-align: left !important;
  margin: 0 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(2.15rem, 3.1vw, 3.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.035em !important;
  color: #0b132b !important;
}

.hero-left-col .hero-text-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 25%, #6366f1 55%, #8b5cf6 80%, #d946ef 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline;
  font-weight: 800;
}

.hero-left-col .hero-description {
  text-align: left !important;
  margin: 0 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(1.02rem, 1.15vw, 1.14rem) !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  max-width: 540px !important;
  letter-spacing: -0.01em;
}

.hero-left-col .hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  margin-top: 6px;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-left-col .btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%) !important;
  color: #ffffff !important;
  padding: 14px 30px !important;
  border-radius: 14px !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  box-shadow: 0 14px 30px -6px rgba(37, 99, 235, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-left-col .btn-primary-cta:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 20px 38px -6px rgba(37, 99, 235, 0.60), 0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
}

.hero-left-col .btn-demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #0f172a !important;
  padding: 13px 26px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-left-col .btn-demo-cta:hover {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09) !important;
}

.hero-left-col .hero-stats-row {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  justify-content: flex-start !important;
  gap: clamp(28px, 3.8vw, 52px) !important;
  width: 100%;
}

.hero-left-col .stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-left-col .stat-number {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(2.05rem, 2.7vw, 2.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #0f172a !important;
  line-height: 1 !important;
}

.hero-left-col .stat-label {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
  text-transform: uppercase;
}

.hero-right-col {
  flex: 0.95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  width: 100%;
}

/* Premium Rectangular Showcase Frame with Ambient Glow & GSAP 3D Tilt Support */
.hero-video-box {
  position: relative;
  width: 100%;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.16);
  overflow: visible;
  transform-style: preserve-3d;
  /* NO transition: transform here to prevent GSAP quickTo matrix conflict */
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-video-box:hover {
  box-shadow: 0 32px 65px -12px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.hero-video-box-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.28) 0%, rgba(236, 72, 153, 0.16) 45%, rgba(6, 182, 212, 0.12) 70%, transparent 80%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-video-box-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hero-box-image,
.hero-box-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-right-col .hero-live-demo-card {
  margin: 0 !important;
  width: 100% !important;
}

@media (max-width: 968px) {
  .hero-split-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    width: 100%;
  }
  .hero-left-col {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
  }
  .hero-left-col .hero-badge {
    margin: 0 auto 6px auto !important;
  }
  .hero-left-col .hero-headline {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 640px;
  }
  .hero-left-col .hero-description {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 540px;
  }
  .hero-left-col .hero-cta-group {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-left-col .hero-stats-row {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Remove image and video right column completely on mobile & tablet viewports */
  .hero-right-col {
    display: none !important;
  }
}

.hero-center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.6vh, 14px);
  width: 100%;
  max-width: 880px;
}

/* Affiliate Badge with NEW tag */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.20);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px -2px rgba(99, 102, 241, 0.12), 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-badge:hover {
  transform: translateY(-1.5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.22);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.32);
}

.hero-badge-text {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
}

@font-face {
  font-family: 'Camera Plain Variable';
  src: local('Camera Plain Variable'), local('Camera Plain'), local('ABC Camera Plain'), local('ABCCameraPlain-Bold'), local('ABCCameraPlain-Regular');
  font-weight: 100 900;
  font-display: swap;
}

/* Enforce Plus Jakarta Sans / Inter typography across hero and marquee strip */
.hero-section,
.hero-headline,
.hero-description,
.hero-badge,
.hero-badge-tag,
.hero-badge-text,
.btn-primary-cta,
.btn-demo-cta,
.stat-card,
.stat-number,
.stat-label,
.tools-platforms-strip,
.tools-header-label,
.tools-ticker-item {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Headline matching max-w-4xl text-balance text-4xl font-extrabold tracking-tight leading-[1.1] sm:text-5xl md:text-6xl */
.hero-headline {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  font-weight: 800 !important;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #0f172a;
  text-align: center;
  margin: 0 auto;
  max-width: 56rem;
}

.hero-headline-break {
  display: block;
}

/* Description */
.hero-description {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.6;
  color: #475569;
  font-weight: 450;
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}

/* ==============================================================================
   3. HERO ACTIONS & CTA BUTTONS
   ============================================================================== */

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #0066ff;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(0, 102, 255, 0.40);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-cta:hover {
  background: #0052cc;
  box-shadow: 0 14px 28px -4px rgba(0, 102, 255, 0.52);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary-cta i {
  font-size: 0.90rem;
}

.btn-demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  color: #0f172a;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-demo-cta:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.play-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0edff;
  color: #0066ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  margin-left: -2px;
}

/* ==============================================================================
   4. OPEN MINIMALIST STATS ROW
   ============================================================================== */

.hero-stats-divider {
  width: 100%;
  max-width: 620px;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: clamp(18px, 2.4vh, 28px) auto clamp(12px, 1.6vh, 18px) auto;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.stat-number {
  font-family: 'Camera Plain Variable', 'Camera Plain', 'ABC Camera Plain', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(1.85rem, 2.4vw, 2.3rem);
  font-weight: 600 !important;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.star-emerald {
  color: #10b981;
  font-size: 1.25rem;
}

.stat-label {
  font-family: 'Camera Plain Variable', 'Camera Plain', 'ABC Camera Plain', 'Inter', system-ui, sans-serif !important;
  font-size: 0.72rem;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 3px;
  white-space: nowrap;
}

/* ==============================================================================
   5. RESPONSIVE BREAKPOINTS
   ============================================================================== */

@media (max-width: 900px) {
  .hero-bg-video {
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1);
    object-position: center;
  }
  .hero-headline {
    font-size: 2.6rem;
  }
  .hero-stats-row {
    gap: clamp(24px, 4vw, 50px);
  }
}

@media (max-width: 640px) {
  .hero-page-viewport {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  .hero-section {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 16px 6px !important;
    box-sizing: border-box;
  }
  .hero-content-wrap {
    padding: 0;
    width: 100%;
  }
  .hero-left-col {
    gap: clamp(8px, 1.6vh, 14px) !important;
    max-width: 100% !important;
  }
  .hero-left-col .hero-badge {
    margin: 0 auto 2px auto !important;
  }
  .hero-left-col .hero-headline {
    font-size: clamp(1.8rem, 6.5vw, 2.25rem) !important;
    text-align: center !important;
    margin: 0 auto !important;
    line-height: 1.18 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-left-col .hero-description {
    font-size: clamp(0.86rem, 2.7vw, 0.95rem) !important;
    text-align: center !important;
    margin: 0 auto !important;
    line-height: 1.48 !important;
    width: 100% !important;
    max-width: 440px !important;
  }
  .hero-stats-divider {
    margin: 12px auto 10px auto;
  }
  .hero-left-col .hero-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 6px auto 0 auto !important;
  }
  .hero-left-col .stat-card {
    align-items: center !important;
    text-align: center !important;
  }
  .hero-left-col .stat-number {
    font-size: 1.25rem !important;
    justify-content: center !important;
  }
  .hero-left-col .stat-label {
    font-size: 0.60rem !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
  }
  .hero-left-col .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 4px auto 0 auto !important;
    gap: 8px !important;
  }
  .hero-left-col .btn-primary-cta,
  .hero-left-col .btn-demo-cta {
    width: 100% !important;
    padding: 10px 18px !important;
    font-size: 0.92rem !important;
    justify-content: center !important;
  }
  .hero-right-col {
    display: none !important;
  }
  /* Docked brands ticker marquee strip at bottom of mobile front page */
  .tools-platforms-strip {
    height: 72px !important;
    padding: 8px 0 10px !important;
    flex-shrink: 0 !important;
  }
  .tools-header-label {
    font-size: 0.60rem !important;
    margin-bottom: 5px !important;
    letter-spacing: 0.12em !important;
  }
  .tools-ticker-item {
    font-size: 0.90rem !important;
    padding: 0 18px !important;
    height: 26px !important;
  }
}

/* ==============================================================================
   6. TOOLS & PLATFORMS MARQUEE RIBBON (Docked inside 100vh Viewport)
   ============================================================================== */

.tools-platforms-strip {
  width: 100%;
  height: 100px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 16px 0 14px;
  overflow: hidden;
}

.tools-header-label {
  text-align: center;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1;
}

.tools-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tools-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tools-marquee-scroll 38s linear infinite;
  will-change: transform;
}

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

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

.tools-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
  height: 36px;
  font-family: var(--font-display), system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #334155;
  letter-spacing: -0.01em;
  border-right: none;
  user-select: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
  border-radius: 9999px;
}

.tools-ticker-item:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
  cursor: default;
}

/* ==============================================================================
   FOOTER BLOCK: "Answer in the End"
   ==============================================================================
   MAIN WORKFLOW & EXECUTION STEPS:
     1. Video Layer: Background loop plays automatically (`hero-bg.mp4`), muted and centered.
     2. Contrast Balancing: Luminous radial + linear overlay (.hero-video-overlay) ensures
        WCAG AA compliance for black text and primary CTA buttons.
     3. Ambient Atmosphere: Colored blur halos (.hero-glow-right, .hero-glow-left) and
        radial dot matrix (.hero-dot-grid) provide depth.
     4. Responsive Layout: Centered column (.hero-center-column) scales seamlessly across
        desktop, tablet, and mobile devices.

   KEY CSS CLASSES & PARAMETERS:
     - .hero-section: Viewport flex container with minimum height calc(100vh - 68px).
     - .hero-bg-video: Hardware-accelerated object-fit cover video element.
     - .btn-primary-cta: High-converting pill button with signature 135deg gradient and elevation shadow.
     - .hero-stats-row: Glassmorphism pill with backdrop-filter: blur(16px).

   DEPENDENCIES & INTEGRATIONS:
     - Dependent on font tokens: 'Plus Jakarta Sans', 'DM Sans', and FontAwesome 6 icons.
     - Linked via `app/layout.tsx` (`/css/hero.css`).

   CRITICAL CAVEATS & BUG PREVENTION:
     - Maintain pointer-events: none on video, overlay, glow, and dot grids so clicks pass
       cleanly through to CTAs and navigation items.
     - Ensure fallback poster image (/images/video-frame.jpg) is referenced to prevent
       blank space on low-bandwidth mobile connections.
   ==============================================================================
 */
