/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-main-area {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Background Canvas Overlay */
.hero-canvas-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
  user-select: none;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 9, 20, 0.6) 0%, rgba(2, 9, 20, 0) 20%, rgba(2, 9, 20, 0) 82%, rgba(2, 9, 20, 0.75) 100%),
    linear-gradient(90deg, rgba(2, 9, 20, 0.9) 0%, rgba(2, 10, 24, 0.62) 25%, rgba(2, 12, 28, 0.12) 42%, rgba(0, 0, 0, 0) 58%);
}

/* Hero Content Area */
.hero-content-container {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-content-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 7rem;
    padding-bottom: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-container {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

.hero-text-block {
  max-width: 660px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-eyebrow {
    margin-bottom: 1.25rem;
  }
}

.hero-eyebrow-text {
  font-size: 10.5px;
  letter-spacing: 0.29em;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 400;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-eyebrow-text {
    font-size: 11.5px;
  }
}

.hero-eyebrow-bar {
  width: 2.75rem;
  height: 2px;
  background-color: var(--cyan-accent);
  flex-shrink: 0;
}

.hero-headline {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .hero-headline {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 66px;
  }
}

@media (min-width: 1280px) {
  .hero-headline {
    font-size: 70px;
  }
}

.hero-description {
  margin-top: 1.25rem;
  font-size: 14.5px;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 400;
  line-height: 1.62;
  max-width: 460px;
}

@media (min-width: 640px) {
  .hero-description {
    margin-top: 1.5rem;
    font-size: 16px;
  }
}

/* Hero CTA Row */
.hero-cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-cta-row {
    margin-top: 2.25rem;
    gap: 1.75rem;
  }
}

.btn-watch-story {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.btn-watch-story .play-circle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background-color: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-watch-story:hover .play-circle {
  border-color: var(--cyan-bright);
  background-color: rgba(0, 210, 255, 0.15);
}

.btn-watch-story-text {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .btn-watch-story-text {
    font-size: 14.5px;
  }
}

.btn-watch-story:hover .btn-watch-story-text {
  color: var(--cyan-bright);
}

.watch-story-underline {
  width: 3rem;
  height: 2px;
  background-color: var(--cyan-accent);
  margin-top: 0.25rem;
  transition: width 200ms ease;
}

.btn-watch-story:hover .watch-story-underline {
  width: 100%;
}

/* 4-Column Hero KPI Metrics Strip */
.hero-kpi-strip {
  margin-top: 2.5rem;
  padding-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 0;
}

@media (min-width: 640px) {
  .hero-kpi-strip {
    margin-top: 3.5rem;
    flex-wrap: nowrap;
  }
}

.kpi-col {
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .kpi-col {
    padding-right: 2.25rem;
  }
}

.kpi-col-center {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .kpi-col-center {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

.kpi-col-last {
  padding-left: 1.5rem;
}

@media (min-width: 640px) {
  .kpi-col-last {
    padding-left: 2.25rem;
  }
}

.kpi-divider {
  height: 3rem;
  width: 1px;
  background-color: rgba(0, 200, 255, 0.55);
  flex-shrink: 0;
}

.kpi-value {
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .kpi-value {
    font-size: 33px;
  }
}

.kpi-label {
  margin-top: 0.5rem;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: rgba(203, 213, 225, 0.9);
  text-transform: uppercase;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .kpi-label {
    font-size: 10.5px;
  }
}

/* Client Logos Bottom Strip */
.client-logos-bar {
  position: relative;
  z-index: 20;
  width: 100%;
  background-color: #020a16;
  border-top: 1px solid rgba(0, 180, 255, 0.35);
}

.client-logos-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .client-logos-inner {
    padding: 1.5rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .client-logos-inner {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

.client-logos-kicker {
  font-size: 9.5px;
  letter-spacing: 0.27em;
  color: rgba(203, 213, 225, 0.8);
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .client-logos-kicker {
    font-size: 10px;
  }
}

/* Logo marquee: main.js duplicates the logos once, so -50% is a seamless loop */
.client-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.client-logos-flex {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 50s linear infinite;
}

.client-logos-flex > * {
  margin-right: 2rem;
  flex-shrink: 0;
}

.client-marquee:hover .client-logos-flex {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  to { transform: translateX(-50%); }
}

.client-logo-btn {
  padding: 0.25rem 0.4rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-btn:hover {
  opacity: 1;
}

.client-divider {
  display: none;
  height: 1.75rem;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .client-divider {
    display: block;
  }
}


/* Phones: KPI strip as a 2x2 grid instead of a ragged wrapped row */
@media (max-width: 639px) {
  .hero-kpi-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero-kpi-strip .kpi-divider {
    display: none;
  }

  .kpi-col,
  .kpi-col-center,
  .kpi-col-last {
    padding: 0;
  }
}
