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

html,
body {
  height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: #ffffff;
  background: #0a1628;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4.5rem, 14vh, 8rem) 1.5rem 2rem;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.copy {
  text-align: center;
  max-width: 52rem;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lead {
  font-weight: 300;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  letter-spacing: 0.01em;
  line-height: 1.35;
  opacity: 0.95;
  margin-bottom: clamp(0.7rem, 1.6vh, 1.1rem);
  animation: fade-in 0.9s ease 0.15s both;
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.headline-white {
  color: #ffffff;
  animation: fade-in 0.9s ease 0.3s both;
}

.headline-gradient {
  display: block;
  white-space: nowrap;
  line-height: 1.35;
  padding-bottom: 0.12em;
  overflow: visible;
  background: linear-gradient(90deg, #3b82f6 0%, #22d3ee 55%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fade-in 0.9s ease 0.45s both;
}

.headline-eyes {
  display: block;
  margin-top: 0.15em;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1;
  color: initial;
  -webkit-text-fill-color: initial;
  background: none;
  animation: fade-in 0.9s ease 0.5s both;
}

.soon {
  margin-top: clamp(1.35rem, 3.2vh, 2.1rem);
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  opacity: 0.95;
  animation: fade-in 0.9s ease 0.65s both;
}

.interest-btn {
  margin-top: clamp(1.4rem, 3.5vh, 2.2rem);
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  animation: fade-in 0.9s ease 0.8s both;
}

.interest-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.interest-btn:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.hero-social {
  margin-top: clamp(1.5rem, 3.5vh, 2.2rem);
  animation: fade-in 0.9s ease 0.95s both;
}

.hero-social__label {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.75rem;
}

.hero-social__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.hero-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 22, 40, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-social__link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.hero-social__link:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(28, 18, 12, 0.45) 0%,
    rgba(6, 12, 24, 0.72) 100%
  );
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  overflow: hidden;
  padding: 1.75rem 1.85rem 1.4rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(
      155deg,
      rgba(55, 38, 28, 0.55) 0%,
      rgba(18, 28, 46, 0.78) 42%,
      rgba(12, 20, 34, 0.88) 100%
    );
  border: 1px solid rgba(255, 210, 160, 0.18);
  color: #fff8f0;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 220, 180, 0.12);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  animation: panel-in 0.28s ease both;
}

.modal__panel--thanks {
  width: min(100%, 28rem);
  padding: 2.4rem 2rem 2rem;
}

.modal__panel--thanks .modal__close {
  display: none;
}

.thanks {
  text-align: center;
  animation: panel-in 0.32s ease both;
}

.thanks__icon {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.35rem;
}

.thanks__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 176, 96, 0.12);
  border: 1px solid rgba(255, 210, 160, 0.16);
}

.thanks__check {
  position: absolute;
  inset: 50%;
  width: 3.6rem;
  height: 3.6rem;
  margin: -1.8rem 0 0 -1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e67a35 0%, #f0a14a 50%, #2eb8c4 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(230, 122, 53, 0.35);
}

.thanks__check svg {
  width: 1.55rem;
  height: 1.55rem;
}

.thanks__sparkle {
  position: absolute;
  background: rgba(255, 200, 140, 0.85);
  border-radius: 50%;
}

.thanks__sparkle--1 {
  width: 0.35rem;
  height: 0.35rem;
  top: 0.35rem;
  left: 1.1rem;
}

.thanks__sparkle--2 {
  width: 0.45rem;
  height: 0.45rem;
  top: 0.55rem;
  right: 0.85rem;
  background: rgba(46, 184, 196, 0.8);
}

.thanks__sparkle--3 {
  width: 0.28rem;
  height: 0.28rem;
  bottom: 1.1rem;
  left: 0.55rem;
}

.thanks__sparkle--4,
.thanks__sparkle--5 {
  width: 0.55rem;
  height: 0.55rem;
  background: transparent;
}

.thanks__sparkle--4::before,
.thanks__sparkle--4::after,
.thanks__sparkle--5::before,
.thanks__sparkle--5::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 200, 140, 0.9);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.thanks__sparkle--5::before,
.thanks__sparkle--5::after {
  background: rgba(46, 184, 196, 0.85);
}

.thanks__sparkle--4::before,
.thanks__sparkle--5::before {
  width: 0.55rem;
  height: 0.12rem;
}

.thanks__sparkle--4::after,
.thanks__sparkle--5::after {
  width: 0.12rem;
  height: 0.55rem;
}

.thanks__sparkle--4 {
  top: 1.55rem;
  right: 0.15rem;
}

.thanks__sparkle--5 {
  bottom: 0.55rem;
  right: 1.35rem;
}

.thanks__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff8f0;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.thanks__text {
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 236, 214, 0.72);
  max-width: 20rem;
  margin: 0 auto 1.55rem;
}

.thanks__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-width: 10rem;
  padding: 0.9rem 1.9rem;
  background: linear-gradient(100deg, #e67a35 0%, #f0a14a 45%, #2eb8c4 100%);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(230, 122, 53, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.thanks__btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(230, 122, 53, 0.36);
}

.thanks__btn:focus-visible {
  outline: 2px solid rgba(255, 176, 96, 0.7);
  outline-offset: 3px;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.modal__title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  padding-right: 2rem;
}

.modal__hint {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 236, 214, 0.68);
  margin-bottom: 0.95rem;
}

.interest-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 240, 224, 0.86);
}

.field:nth-child(1),
.field:nth-child(4),
.form-error,
.submit-btn {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 210, 160, 0.16);
  border-radius: 0.9rem;
  background: rgba(8, 14, 26, 0.35);
  color: #fff8f0;
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  resize: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 230, 200, 0.38);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 176, 96, 0.55);
  background: rgba(8, 14, 26, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 156, 70, 0.12);
}

.form-error {
  color: #ffb0a8;
  font-size: 0.86rem;
}

.submit-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  margin-top: 0.35rem;
  width: 100%;
  padding: 0.95rem 1rem;
  background: linear-gradient(100deg, #e67a35 0%, #f0a14a 45%, #2eb8c4 100%);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(230, 122, 53, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(230, 122, 53, 0.36);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.social {
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 210, 160, 0.12);
}

.social__label {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 236, 214, 0.72);
  margin-bottom: 0.85rem;
}

.social__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 4.4rem;
  text-decoration: none;
  color: #fff8f0;
  font-size: 0.72rem;
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social__link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  padding: 0.75rem;
  box-sizing: content-box;
  border: 1px solid rgba(255, 210, 160, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social__link:hover {
  transform: translateY(-2px);
  color: #fff;
}

.social__link:hover svg {
  background: rgba(255, 190, 120, 0.16);
  border-color: rgba(255, 200, 140, 0.45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

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

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: clamp(3.5rem, 12vh, 5.5rem);
    background-position: 58% center;
  }

  .headline {
    font-size: clamp(2.2rem, 9.5vw, 3.1rem);
  }

  .soon {
    letter-spacing: 0.38em;
    text-indent: 0.38em;
  }

  .modal__panel {
    padding: 1.35rem 1.1rem 1.15rem;
    width: min(100%, 42rem);
  }

  .interest-form {
    grid-template-columns: 1fr;
  }

  .field:nth-child(1),
  .field:nth-child(4),
  .form-error,
  .submit-btn {
    grid-column: auto;
  }

  .modal__panel--thanks {
    padding: 2.1rem 1.4rem 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy,
  .lead,
  .headline-white,
  .headline-gradient,
  .soon,
  .interest-btn,
  .modal__panel {
    animation: none;
  }
}
