@font-face {
  font-family: 'BD Megatoya';
  src: url('bd-megatoya.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 0% 100%;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: #014652;
  font-family: 'BD Megatoya', sans-serif;
  font-style: normal;
  font-variation-settings: "wght" 600, "wdth" 0, "slnt" 0;
  color: #fff;
  overflow-x: hidden;
}

/* ── Background ── */

.bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg-image {
  position: absolute;
  inset: -40px;
  background: url('bg.avif') center / cover no-repeat;
  filter: blur(24px);
  transition: filter 1.2s ease;
}

body.bg-loaded .bg-image {
  filter: blur(0);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

/* ── Language selector ── */

.lang-selector {
  position: fixed;
  top: 28px;
  right: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 100;
}

.lang-btn {
  color: #fff;
  text-decoration: none;
  font-family: 'BD Megatoya', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 600;
}

.lang-btn:hover:not(.active) {
  opacity: 0.75;
}

/* ── Page layout ── */

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 56px 40px 64px;
  width: 100%;
}

/* Logo */

.logo-header {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo {
  width: 250px;
  max-width: 68vw;
}

/* Tagline */

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline {
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 600;
  font-stretch: 0%;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* CTA button */

.page-footer {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn {
  display: inline-block;
  background: #21ada7;
  color: #fff;
  text-decoration: none;
  padding: 16px 52px;
  border-radius: 9999px;
  font-stretch: 0%;
  font-family: 'BD Megatoya', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 480px) {
  .page-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .btn {
    padding-left: 28px;
    padding-right: 28px;
  }
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
