/* ═══════════════════════════════════════════════════════
   KIF — Hero Section
   ═══════════════════════════════════════════════════════ */

/* ─── AURORA ────────────────────────────────────── */
@keyframes aurora1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(60px, -40px) scale(1.15) rotate(5deg);
  }

  66% {
    transform: translate(-30px, 50px) scale(0.9) rotate(-3deg);
  }
}

@keyframes aurora2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  40% {
    transform: translate(-50px, 30px) scale(1.2) rotate(-6deg);
  }

  80% {
    transform: translate(40px, -60px) scale(0.85) rotate(4deg);
  }
}

@keyframes aurora3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 40px) scale(1.1);
  }
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
}

.aurora.a1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1a3a6e, transparent 70%);
  top: -10%;
  left: -8%;
  animation: aurora1 18s ease-in-out infinite;
  opacity: 0.5;
}

.aurora.a2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3d1500, transparent 70%);
  top: 35%;
  right: -8%;
  animation: aurora2 22s ease-in-out infinite;
  opacity: 0.45;
}

.aurora.a3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0f2244, transparent 70%);
  bottom: -10%;
  left: 28%;
  animation: aurora3 16s ease-in-out infinite;
  opacity: 0.4;
}

/* ─── SMOKE CANVAS ──────────────────────────────── */
.smoke-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  mix-blend-mode: screen;
}

/* ─── CONSTELLATION CANVAS ───────────────────────── */
.constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ─── LIQUID BLOBS ───────────────────────────────── */
.liquid-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobMorph var(--dur, 20s) ease-in-out infinite alternate;
  opacity: 0.18;
}

.blob-1 {
  width: 520px;
  height: 420px;
  background: radial-gradient(ellipse, #E8611A, #FF8C47 40%, transparent 70%);
  top: 10%;
  left: -8%;
  --dur: 17s;
}

.blob-2 {
  width: 440px;
  height: 540px;
  background: radial-gradient(ellipse, #4B8EF0, #1a3a8e 40%, transparent 70%);
  top: 40%;
  right: -10%;
  --dur: 23s;
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(ellipse, #9B59B6, #4B8EF0 50%, transparent 70%);
  bottom: 0%;
  left: 30%;
  --dur: 19s;
}

.blob-4 {
  width: 280px;
  height: 320px;
  background: radial-gradient(ellipse, #FF8C47, #E8611A 40%, transparent 70%);
  top: 15%;
  right: 20%;
  --dur: 14s;
  animation-direction: alternate-reverse;
  opacity: 0.12;
}

@keyframes blobMorph {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  }

  25% {
    transform: translate(30px, -20px) scale(1.08) rotate(5deg);
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    transform: translate(-20px, 35px) scale(0.95) rotate(-3deg);
    border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%;
  }

  75% {
    transform: translate(15px, 10px) scale(1.05) rotate(8deg);
    border-radius: 30% 70% 60% 40% / 70% 40% 60% 30%;
  }

  100% {
    transform: translate(-35px, -15px) scale(1.1) rotate(-6deg);
    border-radius: 50% 50% 40% 60% / 30% 60% 40% 70%;
  }
}

/* ─── HERO GLOW RING ─────────────────────────────── */
.hero-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate var(--rspeed, 18s) linear infinite;
}

.orbit-ring.reverse {
  animation-direction: reverse;
}

@keyframes ringRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ─── FLOATING BADGES ────────────────────────────── */
.hero-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9;
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(12px);
  padding: .55rem 1rem;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--frost-dim);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: badgeFloat var(--bf-dur, 6s) ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: forwards;
}

.float-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold);
}

.float-badge.b1 {
  top: 22%;
  left: 5%;
  --bf-dur: 7s;
  animation-delay: 1.2s;
}

.float-badge.b2 {
  top: 65%;
  left: 3%;
  --bf-dur: 8.5s;
  animation-delay: 1.8s;
}

.float-badge.b3 {
  top: 25%;
  right: 5%;
  --bf-dur: 6.5s;
  animation-delay: 1.5s;
}

.float-badge.b4 {
  top: 68%;
  right: 4%;
  --bf-dur: 9s;
  animation-delay: 2.1s;
}

@keyframes badgeFloat {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  15% {
    opacity: 1;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }

  100% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero-badges {
    display: none;
  }
}

/* ─── HERO LAYOUT ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ink-deep);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 10rem 2rem 8rem;
  text-align: center;
  isolation: isolate;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: 'DM Mono', monospace;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: eyebrowIn .8s cubic-bezier(.16, 1, .3, 1) .2s forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

@keyframes eyebrowIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--frost);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroTitleIn 1.1s cubic-bezier(.16, 1, .3, 1) .35s forwards;
}

.hero-h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, #B84A10 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(50px) skewY(1deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--frost-faint);
  max-width: 500px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.16, 1, .3, 1) .55s forwards;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.16, 1, .3, 1) .7s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.16, 1, .3, 1) 1.2s forwards;
}

.scroll-hint span {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .2);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}