:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(25, 65, 112, 0.35), transparent 35%),
    linear-gradient(180deg, #0a1322 0%, #08111f 45%, #060b13 100%);
}

.hero-slider {
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.04) brightness(0.58);
  transition:
    opacity 1.6s ease,
    transform 6s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.bg-geometry {
  background:
    linear-gradient(155deg, transparent 0 13%, rgba(255, 255, 255, 0.03) 13% 14%, transparent 14% 100%),
    linear-gradient(25deg, transparent 0 16%, rgba(255, 255, 255, 0.025) 16% 17%, transparent 17% 100%),
    linear-gradient(205deg, transparent 0 18%, rgba(255, 255, 255, 0.02) 18% 19%, transparent 19% 100%),
    linear-gradient(335deg, transparent 0 14%, rgba(255, 255, 255, 0.02) 14% 15%, transparent 15% 100%);
  opacity: 0.9;
}

.bg-vignette {
  background:
    radial-gradient(circle at center, transparent 0%, transparent 48%, rgba(0, 0, 0, 0.16) 72%, rgba(0, 0, 0, 0.45) 100%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.glow-top {
  top: -8rem;
  left: 50%;
  height: 18rem;
  width: 30rem;
  transform: translateX(-50%);
  background: rgba(70, 145, 220, 0.14);
}

.glow-bottom {
  right: 4%;
  bottom: -5rem;
  height: 12rem;
  width: 12rem;
  background: rgba(43, 167, 255, 0.1);
}

.logo-shadow {
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.95))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.48));
}

.download-tile,
.qr-tile {
  backdrop-filter: blur(10px);
}

.whatsapp-float {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  width: 3.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(38, 211, 102, 0.96), rgba(19, 150, 70, 0.96));
  color: #fff;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(38, 211, 102, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(38, 211, 102, 0.32);
}

.coming-title {
  letter-spacing: 0.06em;
  color: #d4e0ed;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 rgba(161, 185, 214, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #f3f7fb 0%, #c8d4e2 32%, #90a6c0 52%, #dce6f0 72%, #7991ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.count-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.count-ring {
  --size: 9.75rem;
  --thickness: 12px;
  position: relative;
  display: grid;
  place-items: center;
  height: var(--size);
  width: var(--size);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(13, 28, 49, 0.98) 0 56%, transparent 56%),
    conic-gradient(from -90deg, rgba(116, 208, 255, 0.2) 0turn, rgba(43, 167, 255, 0.98) calc(var(--progress) * 1turn), rgba(38, 63, 94, 0.4) 0turn);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 5px rgba(24, 47, 76, 0.58),
    0 0 30px rgba(43, 167, 255, 0.15);
}

.count-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px solid rgba(116, 208, 255, 0.3);
}

.count-ring__inner {
  display: grid;
  place-items: center;
  height: calc(var(--size) - 42px);
  width: calc(var(--size) - 42px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(19, 39, 65, 0.95), rgba(9, 18, 31, 0.96));
  box-shadow:
    inset 0 8px 18px rgba(255, 255, 255, 0.04),
    inset 0 -10px 18px rgba(0, 0, 0, 0.4);
}

.count-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #edf6ff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.count-label {
  font-size: 0.84rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(212, 226, 241, 0.74);
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.9s ease forwards;
}

.reveal-delay {
  animation-delay: 0.18s;
}

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

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    height: 3.35rem;
    width: 3.35rem;
  }

  .count-ring {
    --size: 8.5rem;
  }

  .hero-slide {
    background-position: center top;
  }

  .count-label {
    letter-spacing: 0.22em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .reveal,
  .reveal-delay {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
