:root {
  --ink: #120c16;
  --paper: #fff8f0;
  --orange: #96c346;
  --teal: #499be0;
  --gold: #96c346;
  --wine: #244f78;
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launch-shell {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 18%, rgba(73, 155, 224, 0.3), transparent 27%),
    linear-gradient(115deg, rgba(18, 12, 22, 0.98) 0%, rgba(36, 79, 120, 0.88) 47%, rgba(18, 12, 22, 0.55) 100%),
    url("https://images.unsplash.com/photo-1764762167194-bc3e97330121?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.launch-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.visual-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.signal {
  position: absolute;
  display: block;
  width: clamp(170px, 24vw, 360px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  animation: floatSignal 10s ease-in-out infinite;
}

.signal::before,
.signal::after {
  position: absolute;
  inset: 16%;
  content: "";
  border: inherit;
  border-radius: inherit;
}

.signal::after {
  inset: 33%;
  border-color: rgba(150, 195, 70, 0.34);
}

.signal-one {
  top: 12%;
  right: 6%;
}

.signal-two {
  right: 24%;
  bottom: 8%;
  width: clamp(140px, 18vw, 270px);
  animation-delay: -3s;
}

.signal-three {
  bottom: 18%;
  left: -90px;
  width: clamp(180px, 22vw, 330px);
  animation-delay: -6s;
}

.brand-logo {
  display: block;
  width: min(210px, 52vw);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.nav-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.78rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.eyebrow {
  width: fit-content;
  padding: 0.42rem 0.72rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(150, 195, 70, 0.38);
  border-radius: 999px;
  background: rgba(150, 195, 70, 0.1);
  animation: fadeUp 700ms ease both;
}

h1 {
  /*max-width: 12ch;*/
  line-height: 0.98;
  letter-spacing: 0;
  animation: fadeUp 700ms 90ms ease both;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.76);
}

.lead {
  max-width: 620px;
  animation: fadeUp 700ms 180ms ease both;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(74px, 1fr));
  gap: 0.75rem;
  max-width: 560px;
  animation: fadeUp 700ms 270ms ease both;
}

.time-tile {
  min-height: 106px;
  padding: 1rem 0.6rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
}

.time-tile span {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-tile small {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notify-form {
  max-width: 560px;
  animation: fadeUp 700ms 360ms ease both;
}

.notify-form .input-group {
  align-items: stretch;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.notify-form .form-control {
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.notify-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.btn-launch {
  width: fit-content;
  color: var(--bs-light);
  font-weight: 500;
  background: var(--orange);
  border: 0;
  border-radius: 6px !important;
  box-shadow: 0 18px 38px rgba(150, 195, 70, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
}

.btn-launch:hover,
.btn-launch:focus-visible {
  color: var(--orange);
  background: var(--bs-light);

  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-message {
  min-height: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  animation: floatHero 7s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

.launch-card {
  position: absolute;
  display: flex;
  gap: 0.72rem;
  align-items: center;
  padding: 0.78rem 0.88rem;
  color: var(--ink);
  background: rgba(255, 248, 239, 0.94);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.launch-card strong,
.launch-card small {
  display: block;
}

.launch-card small {
  color: rgba(21, 18, 15, 0.62);
  font-weight: 700;
}

.launch-card-top {
  top: 7%;
  left: -5%;
  animation: fadeInLeft 700ms 520ms ease both;
}

.launch-card-bottom {
  right: -4%;
  bottom: 9%;
  width: min(220px, 62%);
  display: block;
  animation: fadeInRight 700ms 650ms ease both;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(73, 155, 224, 0.16);
  animation: pulse 1.8s ease-in-out infinite;
}

.progress {
  height: 0.56rem;
  margin-top: 0.55rem;
  background: rgba(21, 18, 15, 0.12);
  border-radius: 999px;
}

.progress-bar {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  border-radius: inherit;
}

.progress-bar::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatSignal {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, -24px, 0) rotate(10deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 991.98px) {
  .launch-shell {
    align-items: flex-start !important;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .nav-pill {
    display: none;
  }

  .brand-logo {
    width: min(188px, 64vw);
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-tile {
    min-height: 96px;
  }

  .notify-form .input-group {
    display: flex;
    gap: 0.35rem;
  }

  .btn-launch {
    width: 100%;
    min-height: 50px;
  }

  .launch-card-top {
    left: 0.75rem;
  }

  .launch-card-bottom {
    right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
