:root {
  --red: #e72929;
  --red-deep: #c41f1f;
  --red-soft: #f04a4a;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.82);
  --white-mute: rgba(255, 255, 255, 0.62);
  --font-brand: "Great Vibes", cursive;
  --font-body: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--red);
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

/* ——— Atmosphere ——— */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 50% at 10% 90%, rgba(0, 0, 0, 0.16), transparent 55%),
    linear-gradient(160deg, var(--red-deep) 0%, var(--red) 45%, var(--red-soft) 100%);
}

.backdrop__shine {
  position: absolute;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -8%;
  right: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  animation: pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.backdrop__arc {
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 65%);
  pointer-events: none;
}

.flight-path {
  position: absolute;
  inset: 18% 0 auto;
  width: 100%;
  height: 42%;
  opacity: 0.35;
  pointer-events: none;
}

.flight-path__line {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-dasharray: 10 14;
  stroke-linecap: round;
  animation: dash 28s linear infinite;
}

.plane-mark {
  position: absolute;
  top: 14%;
  right: clamp(1.5rem, 8vw, 6rem);
  width: clamp(88px, 16vw, 140px);
  color: var(--white);
  opacity: 0.95;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.plane-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— Content ——— */
.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
  min-height: 100dvh;
  padding: clamp(2rem, 6vw, 5rem);
}

.brand {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(4rem, 14vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 0.15rem;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-soft);
  margin-bottom: 1.5rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.headline {
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.lede {
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--white-soft);
  max-width: 36ch;
  margin-bottom: 2rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.lede strong {
  color: var(--white);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn--solid {
  background: var(--white);
  color: var(--red);
}

.btn--solid:hover {
  background: #fff5f5;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  padding: 1.25rem clamp(2rem, 6vw, 5rem);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white-mute);
  margin-top: -4rem;
}

.foot__sep {
  opacity: 0.7;
}

/* ——— Motion ——— */
@keyframes dash {
  to { stroke-dashoffset: -480; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
  }

  .stage {
    padding-top: 16vh;
    min-height: calc(100dvh - 4rem);
  }

  .foot {
    margin-top: 0;
  }

  .plane-mark {
    top: 8%;
    right: 1.25rem;
    width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop__shine,
  .flight-path__line,
  .plane-mark,
  .brand,
  .tag,
  .headline,
  .lede,
  .actions {
    animation: none !important;
  }
}
