* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Archivo', sans-serif;
  background: #06070b;
  color: #fff;
}

body {
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.bg-slideshow,
.overlay {
  position: absolute;
  inset: 0;
}

.bg-slideshow {
  overflow: hidden;
}

.bg-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  filter: saturate(1.1) brightness(0.75) contrast(1.05);
}

.bg-slideshow .slide.active {
  opacity: 1;
}

.overlay {
  background: radial-gradient(circle at top left, rgba(255, 236, 214, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 120, 153, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.35), rgba(3, 7, 16, 0.78));
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 3rem 2rem;
  text-align: center;
}

.brand-logo {
  max-width: 260px;
  width: 100%;
  display: block;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.35));
}

h1 {
  margin: 0 auto 0.8rem;
  max-width: min(100%, 960px);
  font-size: 4.25rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.split-title {
  display: grid;
  gap: 0.15em;
}

.title-line {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.24em;
  white-space: nowrap;
}

.title-line > span {
  display: block;
}

.split-word,
.split-char {
  display: inline-block;
}

.split-word {
  white-space: nowrap;
}

.is-split .split-char {
  animation: splitTextReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--char-index) * 0.018s);
}

@keyframes splitTextReveal {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }

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

.hero-text {
  margin: 1.2rem auto 0;
  max-width: 540px;
  font-size: clamp(0.98rem, 1vw, 1.1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.buttons {
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: #FDFBEF;
  color: #111;
  box-shadow: 0 18px 45px rgba(24, 20, 15, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: 920px;
}

.info-grid div {
  padding: 1.25rem 1.3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.stat-number {
  margin: 0 0 0.55rem;
  font-size: 1em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.info-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .page-shell {
    padding: 1.4rem 0.9rem;
  }

  .content {
    padding: 2.4rem 1.1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    max-width: 220px;
  }

  h1 {
    font-size: 1.45rem;
  }

  .buttons {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.28rem;
  }
}
