/* ============================================================
   LEAD GENERATION PAGE — lead-gen-hero.css
   ============================================================ */

/* ── Hero — full screen ── */
.lg-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
}

/* ── Fallback gradient (shows when video isn't loaded) ── */
.lg-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a14 0%, #2a0f1f 40%, #1a0518 100%);
}

.lg-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(124,58,237,0.38) 0%, transparent 55%),
    radial-gradient(ellipse at 76% 65%, rgba(233,30,140,0.32) 0%, transparent 55%);
}

/* ── Background video ── */
.lg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ── Overlays ── */
.lg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,3,12,0.55) 0%,
    rgba(8,3,12,0.32) 45%,
    rgba(8,3,12,0.82) 100%
  );
  z-index: 2;
}

.lg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 2;
}

/* ── Showreel button ── */
.lg-play-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.lg-play-btn:hover {
  background: rgba(0,0,0,0.65);
  border-color: rgba(255,255,255,0.3);
}

.lg-play-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e91e8c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(233,30,140,0.5);
}

.lg-play-icon svg {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}

.lg-play-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ── Centre content ── */
.lg-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 80px 40px;
  max-width: 880px;
  width: 100%;
}

/* Eyebrow */
.lg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
}

.lg-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74,222,128,0.8);
  animation: lg-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes lg-dot-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.7); }
  50%       { box-shadow: 0 0 18px rgba(74,222,128,1); }
}

/* Headline */
.lg-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.lg-headline .accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: #e91e8c;
  display: block;
  letter-spacing: -0.02em;
}

/* Subhead */
.lg-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0 auto 36px;
  max-width: 540px;
}

/* CTAs */
.lg-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lg-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  background: #e91e8c;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(233,30,140,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.lg-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(233,30,140,0.6);
}

.lg-cta-primary svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.lg-cta-primary:hover svg {
  transform: translate(2px, -2px);
}

.lg-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.lg-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

/* ── Progress bar (bottom edge) ── */
.lg-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 5;
}

.lg-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e91e8c, #7c3aed, #e91e8c);
  background-size: 200% 100%;
  animation: lg-progress 14s linear infinite;
}

@keyframes lg-progress {
  0%   { width: 0%;    background-position: 0% 50%; }
  100% { width: 100%;  background-position: 100% 50%; }
}

/* ── Floating ambient dots ── */
.lg-float-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.lg-fd-1 {
  width: 5px;
  height: 5px;
  background: #e91e8c;
  top: 24%;
  left: 14%;
  box-shadow: 0 0 14px rgba(233,30,140,0.85);
  animation: lg-float 5s ease-in-out infinite;
}

.lg-fd-2 {
  width: 4px;
  height: 4px;
  background: #b59bff;
  bottom: 30%;
  right: 16%;
  box-shadow: 0 0 12px rgba(181,155,255,0.75);
  animation: lg-float 6s ease-in-out infinite 1.2s;
}

.lg-fd-3 {
  width: 3px;
  height: 3px;
  background: #4ade80;
  top: 60%;
  left: 8%;
  box-shadow: 0 0 8px rgba(74,222,128,0.7);
  animation: lg-float 7s ease-in-out infinite 2.5s;
}

@keyframes lg-float {
  0%, 100% { transform: translateY(0);    opacity: 0.75; }
  50%       { transform: translateY(-16px); opacity: 1; }
}

/* ── Scroll indicator ── */
.lg-scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
  animation: lg-scroll-fade 2s ease-in-out infinite;
}

.lg-scroll-hint span {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.lg-scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid rgba(255,255,255,0.7);
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
}

@keyframes lg-scroll-fade {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.85; transform: translateX(-50%) translateY(4px); }
}

/* ══════════════════════════════════════════
   ENTRANCE ANIMATIONS
══════════════════════════════════════════ */

/* Shared fade-up keyframe */
@keyframes lg-fade-up {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shared fade-down keyframe (for showreel btn) */
@keyframes lg-fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Video slow zoom-in on load */
@keyframes lg-video-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Overlay fades in */
@keyframes lg-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Headline word shimmer sweep */
@keyframes lg-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Floating dot pop-in */
@keyframes lg-dot-pop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Apply animations ── */

/* Video zoom */
.lg-video {
  animation: lg-video-zoom 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Overlay */
.lg-overlay {
  animation: lg-overlay-in 1.2s ease both;
}

/* Showreel pill drops in from top */
.lg-play-btn {
  animation: lg-fade-down 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Content — remove the single-block animation, each child animates individually */
.lg-content {
  animation: none;
}

/* Eyebrow */
.lg-eyebrow {
  animation: lg-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* Headline — slides up with a slight extra lift */
.lg-headline {
  animation: lg-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}

/* Accent line inside headline — slightly delayed after main headline */
.lg-headline .accent {
  display: block;
  animation: lg-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}

/* Subhead */
.lg-sub {
  animation: lg-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* CTA row */
.lg-ctas {
  animation: lg-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.18s both;
}

/* Floating dots — pop in after content settles */
.lg-fd-1 {
  animation:
    lg-dot-pop  0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both,
    lg-float    5s ease-in-out 2s infinite;
}

.lg-fd-2 {
  animation:
    lg-dot-pop  0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both,
    lg-float    6s ease-in-out 2.2s infinite 1.2s;
}

.lg-fd-3 {
  animation:
    lg-dot-pop  0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.8s both,
    lg-float    7s ease-in-out 2.4s infinite 2.5s;
}

/* Scroll hint fades in last */
.lg-scroll-hint {
  animation:
    lg-fade-up     0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both,
    lg-scroll-fade 2s ease-in-out 2.4s infinite;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .lg-hero          { min-height: 100svh; }
  .lg-content       { padding: 56px 24px 70px; }
  .lg-ctas          { flex-direction: column; align-items: stretch; }
  .lg-cta-primary,
  .lg-cta-secondary { justify-content: center; }
  .lg-play-btn      { top: 14px; right: 14px; }
  .lg-fd-1          { left: 6%; }
  .lg-fd-2          { right: 6%; }
  .lg-scroll-hint   { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lg-video,
  .lg-overlay,
  .lg-play-btn,
  .lg-eyebrow,
  .lg-headline,
  .lg-headline .accent,
  .lg-sub,
  .lg-ctas,
  .lg-fd-1, .lg-fd-2, .lg-fd-3,
  .lg-scroll-hint,
  .lg-eyebrow-dot    { animation: none; opacity: 1; transform: none; }
}


/* ══════════════════════════════════════════
   OUR RESULTS — STATS SECTION
══════════════════════════════════════════ */

.lg-results-section {
  background: #080808;
  padding: 80px 50px 90px;
  position: relative;
  overflow: hidden;
}

.lg-results-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(124,58,237,0.1) 0%,
    rgba(233,30,140,0.06) 45%,
    transparent 75%
  );
  filter: blur(80px);
  pointer-events: none;
}

.lg-results-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.lg-results-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.lg-results-label-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74,222,128,0.7);
  animation: lg-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.lg-results-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 60px;
}

.lg-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.lg-results-stat {
  position: relative;
}

.lg-results-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.lg-accent {
  color: #e91e8c;
}

.lg-results-stat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ── Scroll-triggered animation system ── */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
[data-anim="fade-up"]    { transform: translateY(44px); }
[data-anim="fade-left"]  { transform: translateX(-48px); }
[data-anim="fade-right"] { transform: translateX(48px); }
[data-anim="scale-in"]   { transform: scale(0.93) translateY(24px); }

[data-anim].anim-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Tablet */
@media (max-width: 900px) {
  .lg-results-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}

/* Mobile */
@media (max-width: 768px) {
  .lg-results-section { padding: 50px 20px 60px; }
  .lg-results-heading  { margin-bottom: 40px; }
  .lg-results-grid     { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* mobile readability: micro-labels under 10px are raised on phones */
@media (max-width: 768px) {
  .lg-scroll-hint span { font-size: 10.5px; }
}
