/* === HOME HERO === */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1929 0%, #1B3A5C 55%, #0f3530 100%);
  color: var(--color-text-inverse);
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

/* Dot grid overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: 32px 32px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

/* Orbs */
.home-hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.home-hero__orb--1 {
  width: 700px;
  height: 700px;
  top: -250px;
  right: -200px;
  background: radial-gradient(circle, rgba(62, 207, 178, 0.28), transparent 70%);
}

.home-hero__orb--2 {
  width: 500px;
  height: 500px;
  bottom: -180px;
  left: -80px;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.5), transparent 70%);
}

/* Content layer */
.home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .home-hero__inner {
    max-width: 1440px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-12);
  }
}

/* Eyebrow */
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  border: 1px solid rgba(62, 207, 178, 0.3);
  background: rgba(62, 207, 178, 0.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.home-hero__eyebrow svg {
  width: 14px;
  height: 14px;
}

/* H1 */
.home-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
}

/* Lead */
.home-hero__lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: var(--space-8);
}

/* CTAs */
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Stat panel */
.home-hero__stats {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-8) var(--space-8);
}

.home-hero__stat + .home-hero__stat {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-hero__stat-val {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.home-hero__stat-lbl {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  font-weight: var(--font-medium);
  line-height: 1.4;
}

/* Hero image */
.home-hero__visual {
  display: none;
}

@media (min-width: 1024px) {
  .home-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

.home-hero__img-placeholder {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1200 / 655;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  isolation: isolate;
  transform: translateZ(0);
}

.home-hero__img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 38%),
    linear-gradient(135deg, rgba(62, 207, 178, 0.18), transparent 42%);
  pointer-events: none;
  z-index: 1;
}

.home-hero__img-placeholder > i,
.home-hero__img-placeholder > svg {
  display: none;
}

.home-hero__img-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Brighter gradient in hero to keep contrast on the dark background */
.home-hero .text-gradient {
  background: linear-gradient(135deg, #f3fffc 0%, #9ff3e3 45%, #3ecfb2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 18px rgba(159, 243, 227, 0.18);
}
