/* =============================================
   HERO.CSS — Casper and Saint
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgb(223, 220, 75) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
    linear-gradient(155deg, #0D1B3E 0%, #122256 40%, #1A3378 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

/* Particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 4rem) var(--container-pad) 6rem;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.hero-title-line {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 0.95;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.35s; }
.hero-title-line:nth-child(2) { animation-delay: 0.5s; color: var(--gold); }
.hero-title-line:nth-child(3) { animation-delay: 0.65s; }

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 1s forwards;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 1.15s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 1.8s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero-stats {
    gap: var(--space-md);
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
