
.hero-section {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: 5rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Icon badge ───────────────────────────────────────────────── */
.hero-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 97, 166, 0.18);
  border: 1.5px solid rgba(18, 97, 166, 0.45);
  color: #1261A6;
  margin-bottom: 1.5rem;
}

/* ── Typography ───────────────────────────────────────────────── */
.hero-title {
  font-size: clamp(1.4rem, 3vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  word-break: break-word;
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw , 1.2rem);
  color: rgba(230, 230, 230, 0.92);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 0 2.5rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #1261A6;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(18, 97, 166, 0.18);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1261A6;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 28px rgba(18, 97, 166, 0.45);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* ── Navigation dots ──────────────────────────────────────────── */
.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-dot {
  position: relative;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s,
    color 0.25s;
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.nav-dot-active {
  background: #1261A6;
  border-color: #1261A6;
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 2px 12px rgba(18, 97, 166, 0.329);
}

.nav-dot-label {
  position: relative;
  z-index: 1;
}

/* ── Progress bar inside active dot ───────────────────────────── */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 0 9999px 9999px;
  animation: progressFill linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ── Fade + slide-up utility ──────────────────────────────────── */
.fade-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* ── Letter-appear animation ──────────────────────────────────── */
@keyframes letterAppear {
  from {
    opacity: 0;
    transform: translateY(18px) rotateX(-80deg);
  }

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

.animate-letter {
  animation: letterAppear 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Mobile overrides ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-section {
    padding-top: calc(var(--header-h) + 0.5rem);
    padding-bottom: 4.5rem;
  }

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-icon-badge {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .animate-letter {
    animation-duration: 0.35s;
  }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .animate-letter {
    animation: none;
    opacity: 1;
  }

  .fade-item {
    transition: none;
  }
}

