/* ============================================================
   hero.css
============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ── SLIDES ── */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; animation: kenBurns 11s ease-out forwards; }
@keyframes kenBurns {
  0%   { transform: scale(1.12) translate(0, 0); }
  100% { transform: scale(1.04) translate(-.4%, .25%); }
}
.hero-slide:nth-child(1) { background-image: url('../assets/images/hero/hero-1.jpg'); }
.hero-slide:nth-child(2) { background-image: url('../assets/images/hero/hero-2.jpg'); }
.hero-slide:nth-child(3) { background-image: url('../assets/images/hero/hero-3.jpg'); }
.hero-slide:nth-child(4) { background-image: url('../assets/images/hero/hero-4.jpg'); }

/* ── OVERLAY LAYERS ── */
.hero-ov-base {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(10,22,40,.93) 0%, rgba(10,22,40,.52) 55%, rgba(10,22,40,.80) 100%);
}
.hero-ov-left {
  position: absolute; left: 0; top: 0; bottom: 0; width: 38%; z-index: 1;
  background: linear-gradient(90deg, rgba(10,22,40,.75), transparent);
}
.hero-ov-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%; z-index: 2;
  background: linear-gradient(0deg, var(--navy) 0%, transparent 100%);
}
.hero-ov-top {
  position: absolute; top: 0; left: 0; right: 0; height: 160px; z-index: 2;
  background: linear-gradient(180deg, rgba(10,22,40,.6), transparent);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,64,175,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,64,175,.055) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 32s linear infinite;
}
@keyframes gridDrift { 0% { background-position: 0 0; } 100% { background-position: 80px 80px; } }
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 82% 68% at 50% 50%, transparent 28%, rgba(0,0,0,.58) 100%);
}
.hero-flare {
  position: absolute; top: -8%; right: -4%; z-index: 2; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,.12), transparent 70%);
  animation: flareBreath 8s ease-in-out infinite alternate;
}
@keyframes flareBreath { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.2); opacity: 1; } }

/* ── PROGRESS BAR ── */
.hero-progress {
  position: absolute; top: 0; left: 0; z-index: 7;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--royal), var(--royal-light));
  box-shadow: 0 0 12px rgba(59,130,246,.5);
}
.hero-progress.running { transition: width 7s linear; }

/* ── CONTENT ── */
.hero-content {
  position: relative; z-index: 5;
  padding: 0 var(--side-pad);
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(59,130,246,.32);
  background: rgba(59,130,246,.08);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  margin-bottom: 34px;
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .22em;
  color: var(--royal-light);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  animation: heroSlideUp .85s var(--ease-expo) .5s forwards;
}
.eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--royal-light);
  border-radius: 50%;
  animation: eyebrowBlink 2.2s infinite;
}
@keyframes eyebrowBlink { 0%,100% { opacity:1; } 50% { opacity:.18; } }

/* ── HERO TITLE ── */
.hero-title {
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: .94;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: var(--white);
}
.hero-title-line { display: block; overflow: hidden; line-height: 1.06; }
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) skewX(-5deg);
  animation: charReveal .65s var(--ease-expo) forwards;
}
@keyframes charReveal { to { opacity: 1; transform: translateY(0) skewX(0); } }
.hero-title .blue { color: var(--royal-light); }

/* ── SUBHEADING ── */
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.55);
  max-width: 480px;
  line-height: 1.95;
  font-weight: 300;
  margin-bottom: 44px;
  border-left: 2px solid var(--royal);
  padding-left: 20px;
  opacity: 0;
  animation: heroSlideUp .85s var(--ease-expo) 1.4s forwards;
}

/* ── BUTTONS ── */
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroSlideUp .85s var(--ease-expo) 1.6s forwards;
}
.btn-primary--blue { background: var(--royal-mid); }

/* ── SLIDE INDICATORS ── */
.hero-indicators {
  position: absolute;
  bottom: 90px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 8px;
  opacity: 0;
  animation: heroSlideUp .8s var(--ease-expo) 2s forwards;
}
.hero-ind {
  width: 26px; height: 3px;
  background: rgba(255,255,255,.18);
  transition: all .4s var(--ease-expo);
  cursor: pointer;
}
.hero-ind.active { background: var(--royal-light); width: 52px; }

/* ── COUNTER ── */
.hero-counter {
  position: absolute;
  right: var(--side-pad); top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  animation: heroSlideUp .8s var(--ease-expo) 2.1s forwards;
}
.hero-counter-num {
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 4.2rem;
  color: rgba(30,64,175,.16);
  line-height: 1;
  letter-spacing: -.05em;
  transition: all .6s var(--ease-expo);
}
.hero-counter-line { width: 1px; height: 38px; background: rgba(30,64,175,.22); }
.hero-counter-total { font-size: .6rem; color: rgba(255,255,255,.2); letter-spacing: .14em; }

/* ── SCROLL CUE ── */
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroSlideUp .8s var(--ease-expo) 2.3s forwards;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 2px; height: 7px;
  background: var(--royal-light);
  border-radius: 1px;
  animation: scrollWheel 1.9s ease-in-out infinite;
}
@keyframes scrollWheel { 0% { transform:translateY(0); opacity:1; } 100% { transform:translateY(14px); opacity:0; } }
.scroll-cue-line { width: 1px; height: 28px; background: rgba(255,255,255,.15); }
.scroll-cue-text { font-size: .56rem; letter-spacing: .24em; color: rgba(255,255,255,.26); text-transform: uppercase; }

/* ── STATS BAR — removed ── */
.hero-stats { display: none; }
.stat-item {
  padding: 22px 0;
  text-align: center;
  background: rgba(8,16,30,.84);
  backdrop-filter: blur(22px);
  border-top: 1px solid rgba(30,64,175,.14);
  border-right: 1px solid rgba(30,64,175,.1);
  transition: background .3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(30,64,175,.12); }
.stat-num {
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--royal-light);
  line-height: 1;
}
.stat-label {
  font-size: .6rem;
  color: rgba(255,255,255,.38);
  letter-spacing: .12em;
  margin-top: 5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

@keyframes heroSlideUp { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:translateY(0); } }
