@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #060b18; color: #fff; font-family: Montserrat, Arial, sans-serif; }
body {
  min-width: 280px;
  background: radial-gradient(ellipse at 50% 0%, #082039, transparent 65%), radial-gradient(ellipse at 50% 100%, #07182b, transparent 65%), #060b18;
}
/* Lightweight particle layer; motion is defined below. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #20b8d699 1px, transparent 2px), radial-gradient(circle, #20b8d65c 1.5px, transparent 2.5px);
  background-size: 137px 173px, 211px 239px;
  background-position: 19px 47px, 83px 109px;
}

/* Mobile-first spacing; short desktop viewports use the same compact rhythm. */
.page {
  --section-gap: 32px;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 0 50px;
  text-align: center;
}
.brand { margin-bottom: 28px; }
.brand-logo { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 6px; }
/* No fake logo or broken image while awaiting the official artwork. */
.brand-logo:not([src]) { display: none; }
.brand-name { font-size: 19px; line-height: 1.2; font-weight: 700; }
h1 { max-width: calc(100% - 24px); font-size: clamp(28px, 9.4vw, 44px); font-weight: 900; line-height: 1.02; letter-spacing: -1.4px; margin-bottom: var(--section-gap); }
h1 span { display: block; font-size: 1.16em; background: linear-gradient(110deg, #27d4f2, #00c8ef 45%, #168cff); background-clip: text; -webkit-background-clip: text; color: transparent; }
strong { color: #00c8ef; font-weight: 700; }
.benefits { width: calc(100% - 32px); max-width: 1050px; list-style: none; margin-bottom: var(--section-gap); font-size: 19px; line-height: 1.4; font-weight: 500; }
.benefits li + li::before { content: ""; display: block; width: 55px; height: 1px; background: rgba(32,184,214,.8); margin: 13px auto; }
.benefits li:last-child { font-size: 16px; }
.offer-card { width: calc(100% - 32px); max-width: 880px; padding: 22px 16px; border: 1px solid rgba(32,184,214,.45); border-radius: 28px; background: rgba(5,18,35,.45); box-shadow: inset 0 0 28px rgba(32,184,214,.035); margin-bottom: var(--section-gap); font-size: 16px; line-height: 1.45; font-weight: 500; }
.offer-card p + p { margin-top: 10px; }
.offer-label { color: rgba(255,255,255,.55); font-size: .88em; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: calc(100% - 40px); max-width: 590px; min-height: 66px; flex-shrink: 0; padding: 12px 24px; background: linear-gradient(135deg, #00c8ef 0%, #0d8fad 50%, #168cff 100%); background-size: 200% 200%; color: #fff; font-size: 26px; font-weight: 800; border-radius: 999px; text-decoration: none; cursor: pointer; box-shadow: 0 8px 40px #20b8d659; }
.btn-cta svg { width: 32px; height: 32px; flex-shrink: 0; }
.btn-cta:hover { box-shadow: 0 0 0 8px #20b8d626, 0 16px 60px #20b8d680; }
.btn-cta:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
/* Mobile height adaptation: compress whitespace before changing any sizing. */
@media (max-width: 600px) {
  .page { justify-content: flex-start; min-height: 100svh; padding-top: 34px; padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  @supports (height: 100dvh) {
    .page { min-height: 100dvh; }
  }
}
@media (max-width: 600px) and (max-height: 800px) {
  .page { --section-gap: 30px; padding-top: 28px; }
  .brand { margin-bottom: 26px; }
  .benefits li + li::before { margin-block: 11px; }
  .offer-card { padding-block: 20px; line-height: 1.35; margin-bottom: 28px; }
}
@media (max-width: 600px) and (max-height: 720px) {
  .page { --section-gap: 24px; padding-top: 20px; }
  .brand { margin-bottom: 20px; }
  .benefits li + li::before { margin-block: 8px; }
  .benefits { margin-bottom: 22px; }
  .offer-card { padding-block: 16px; margin-bottom: 20px; }
  .offer-card p + p { margin-top: 8px; }
}
@media (max-width: 600px) and (max-height: 680px) {
  .page { --section-gap: 18px; padding-top: 14px; }
  .brand { margin-bottom: 16px; }
  .benefits li + li::before { margin-block: 6px; }
  .benefits { margin-bottom: 18px; }
  .offer-card { padding-block: 14px; line-height: 1.3; margin-bottom: 16px; }
  .offer-card p + p { margin-top: 7px; }
}
@media (min-width: 768px) {
  .page { --section-gap: clamp(28px, 4.2svh, 46px); padding: 30px 24px 50px; }
  .brand { margin-bottom: clamp(28px, 3.3svh, 36px); }
  .brand-name { font-size: clamp(19px, 2.3svh, 25px); }
  .brand-logo { width: clamp(60px, 8svh, 88px); height: clamp(60px, 8svh, 88px); }
  h1 { font-size: clamp(44px, 6.6svh, 76px); letter-spacing: -2px; }
  .benefits { font-size: clamp(22px, 3svh, 32px); }
  .benefits li:last-child { font-size: clamp(20px, 2.7svh, 29px); }
  .benefits li + li::before { margin: clamp(10px, 1.6svh, 17px) auto; }
  .offer-card { padding: clamp(20px, 2.6svh, 28px) 40px; font-size: clamp(20px, 2.5svh, 27px); }
  .offer-card p + p { margin-top: clamp(7px, 1svh, 11px); }
  .btn-cta { width: min(590px, 80vw); min-height: clamp(64px, 7.2svh, 76px); font-size: clamp(28px, 3svh, 32px); }
  .btn-cta svg { width: 38px; height: 38px; }
}
/* Staggered entrance without moving the full-height page wrapper. */
.brand { animation: fadeIn .7s ease backwards; }
h1 { animation: fadeIn .7s ease .1s backwards; }
.benefits { animation: fadeIn .7s ease .2s backwards; }
.offer-card { animation: fadeIn .7s ease .3s backwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 4–5. Reference CTA: 4s moving gradient and 2.5s expanding halo. */
.btn-cta {
  position: relative;
  overflow: hidden;
  animation: fadeIn .7s ease .4s backwards, gradientShift 4s ease infinite, ctaPulse 2.5s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff26, transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 #20b8d680, 0 8px 40px #20b8d659; }
  50% { box-shadow: 0 0 0 12px #20b8d600, 0 8px 40px #20b8d659; }
}
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover { transform: translateY(-3px) scale(1.03); }
  .btn-cta:hover::before { opacity: 1; }
}

/* 6. CSS approximation of the reference's slow upward particle drift.
   Each layer travels one tile per loop, so the repeat has no visible jump. */
body::before { animation: particleDrift 16s linear infinite, particleTwinkle 4s ease-in-out infinite; }
@keyframes particleDrift {
  from { background-position: 19px 47px, 83px 109px; }
  to { background-position: 19px -126px, 83px -130px; }
}
@keyframes particleTwinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .75; }
}

/* Honor reduced-motion preferences, including entrance and hover motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn-cta:hover { transform: none; }
}
