#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--deep-navy);
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* GPU composite the entire video layer */
  transform: translateZ(0);
  will-change: transform;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* Each video on its own compositor layer */
  will-change: opacity;
  transform: translateZ(0);
}

.hero-video video.active {
  opacity: 1;
}

/* Gradient overlay — emerald tones */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2,27,26,0.96) 0%,
    rgba(2,27,26,0.92) 20%,
    rgba(2,27,26,0.78) 40%,
    rgba(2,27,26,0.45) 65%,
    rgba(2,27,26,0.12) 100%
  );
  pointer-events: none;
  /* Static overlay — no will-change to avoid unnecessary layer creation */
  transform: translateZ(0);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 7%;
  margin-bottom: 2.5rem;
  max-width: 700px;
  width: 45%;
}

.hero-gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  animation: heroFadeUp 0.8s both;
  box-shadow: 0 0 12px rgba(0,245,196,0.3);
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: heroFadeUp 0.8s 0.1s both;
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  animation: heroFadeUp 0.8s 0.2s both;
}

.hero-headline-line1 {
  display: block;
  background: linear-gradient(135deg, #F8F8F4 40%, #00F5C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline-line2 {
  color: var(--gold);
  display: block;
  text-shadow: 0 0 30px rgba(0,245,196,0.25);
}

.hero-divider {
  width: 90px;
  height: 2px;
  background: var(--gold);
  opacity: 0.9;
  margin: 2rem 0;
  animation: heroFadeUp 0.8s 0.3s both;
  box-shadow: 0 0 12px rgba(0,245,196,0.3);
}

.hero-slogan {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #F8F8F4 0%, #00F5C4 50%, #F8F8F4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: heroFadeUp 0.8s 0.32s both;
  filter: drop-shadow(0 0 8px rgba(0,245,196,0.15));
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(248,248,244,0.65);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2.5rem;
  animation: heroFadeUp 0.8s 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.4s both;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 2.5rem;
  background: var(--gold);
  color: var(--deep-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,245,196,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,245,196,0.3), 0 0 20px rgba(0,245,196,0.15);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 64px;
  padding: 0 2.25rem;
  background: rgba(0,245,196,0.04);
  border: 1px solid rgba(0,245,196,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-glass:hover {
  background: rgba(0,245,196,0.08);
  border-color: rgba(0,245,196,0.25);
}

/* ── Statistics Panel ── */
.hero-stats {
  margin-left: 7%;
  width: 80%;
  max-width: 1200px;
  background: rgba(0,245,196,0.04);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0,245,196,0.08);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: statsSlideUp 0.8s 0.5s both;
  /* Isolate backdrop-filter into its own layer */
  isolation: isolate;
  transform: translateZ(0);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(248,248,244,0.5);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(0,245,196,0.10);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes statsSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
