body.landing-page {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica Neue, Arial, sans-serif;
  position: relative;
  overflow: hidden;
  background-color: #030817;
  background-image: linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.65) 0%,
      rgba(5, 11, 32, 0.35) 40%,
      rgba(3, 8, 23, 0.9) 100%
    ),
    url("../images/index_bg_image.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f6f8ff;
}

.snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
      rgba(255, 255, 255, 0.6) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
  background-size: 220px 220px, 180px 180px, 120px 120px;
  background-position: 0 0, 50px 80px, 100px 30px;
  animation: snowFall 18s linear infinite;
  z-index: 0;
}

.snow--mid {
  opacity: 0.7;
  animation-duration: 25s;
  filter: blur(0.4px);
}

.snow--far {
  opacity: 0.4;
  animation-duration: 35s;
  filter: blur(0.8px);
}

.snow--near {
  opacity: 0.9;
  animation-duration: 15s;
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -5%, 0);
  }
  100% {
    transform: translate3d(5%, 105%, 0);
  }
}

main.landing {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.flash-stack {
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.flash {
  width: 100%;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 9, 24, 0.8);
  color: #f6f8ff;
  box-shadow: 0 15px 30px rgba(2, 5, 12, 0.4);
  text-align: center;
  font-size: 0.95rem;
}

.flash--success {
  background: rgba(14, 71, 50, 0.85);
  border-color: rgba(74, 222, 128, 0.75);
  color: #ddffe9;
}

.flash--error {
  background: rgba(96, 19, 30, 0.85);
  border-color: rgba(248, 113, 113, 0.85);
  color: #ffe8eb;
}

.flash--info {
  background: rgba(20, 45, 74, 0.85);
  border-color: rgba(96, 165, 250, 0.8);
  color: #dbe8ff;
}

.hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(80vh, 720px);
  text-align: left;
}

.hero-card {
  width: 100%;
  max-width: min(820px, 100%);
  background: rgba(5, 9, 26, 0.82);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(2, 4, 12, 0.8);
  backdrop-filter: blur(10px);
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #ffffff;
}

.hero-card .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.6rem;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line--accent {
  margin-top: 0.25rem;
  white-space: nowrap;
}

.hero-card .lead {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: rgba(247, 251, 255, 0.9);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.05rem;
  color: #dfe9ff;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bbf0ff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form {
  background: rgba(9, 15, 36, 0.85);
  border-radius: 24px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2.4rem;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.form-input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #f6f8ff;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-input:focus {
  border-color: rgba(127, 228, 181, 0.9);
  box-shadow: 0 0 0 2px rgba(127, 228, 181, 0.3);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.signup-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  border-radius: 5px;
  padding: 0.95rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  background-image: linear-gradient(135deg, #7fe4b5, #1fba80);
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 200ms ease;
  appearance: none;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.6);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  body.landing-page {
    background-attachment: scroll;
  }

  .hero-card {
    padding: 1.8rem;
  }

  .hero {
    min-height: 70vh;
  }
}

@media (max-width: 640px) {
  .hero-card h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero-title-line,
  .hero-title-line--accent {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .hero-card {
    text-align: center;
  }

  .feature-list li {
    flex-direction: column;
    gap: 0.4rem;
  }

  .cta-wrapper {
    margin-left: auto;
    margin-right: auto;
  }
}
