/* ============================================================
   Kitalex Exchange — Coming Soon Hero
   Brand tokens
   ============================================================ */
:root {
  --green-deep:   #064B2B;
  --green-dark:   #04331d;
  --gold:         #C99A2E;
  --gold-light:   #E8C877;
  --charcoal:     #1F2424;
  --cream:        #F8F7F2;
  --white:        #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--green-deep);
  font-family: var(--font-body);
  overflow: hidden; /* single-viewport hero, no scroll */
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---------- Background slider ---------- */
.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--green-dark); /* shows while images load / before upload */
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.2s ease;
  animation: kenburns 16s ease-in-out infinite;
  animation-play-state: paused;
}

.slide.is-active {
  opacity: 1;
  animation-play-state: running;
}

@keyframes kenburns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}

/* Brand-colored scrim so text stays legible over any photo */
.scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(4, 26, 16, 0.78) 0%,
      rgba(4, 26, 16, 0.55) 45%,
      rgba(4, 26, 16, 0.82) 100%
    );
}

/* ---------- Content ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  height: 120px;
  width: auto;
  margin-bottom: 40px;
  opacity: 0;
  animation: reveal 1s ease forwards 0.2s;
}

.logo-fallback {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 40px;
  opacity: 0;
  animation: reveal 1s ease forwards 0.2s;
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 20px;
  opacity: 0;
  animation: reveal 1s ease forwards 0.45s;
}

.subhead {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 500;
  color: var(--gold-light);
  margin: 0 0 32px;
  opacity: 0;
  animation: reveal 1s ease forwards 0.65s;
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--gold);
  padding: 10px 24px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: reveal 1s ease forwards 0.85s;
}

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

/* ---------- Slider position dots ---------- */
.dots {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold);
}

/* ============================================================
   Small screens
   ============================================================ */
@media (max-width: 480px) {
  .logo { height: 44px; margin-bottom: 28px; }
  .headline { margin-bottom: 14px; }
  .subhead { margin-bottom: 24px; }
  .dots { bottom: 20px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .slide {
    animation: none;
    transition: opacity 0.6s ease;
  }
  .logo, .logo-fallback, .headline, .subhead, .badge {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
