:root {
  --bg: #040813;
  --panel: rgba(7, 14, 27, 0.78);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --muted-2: rgba(255, 255, 255, 0.56);
  --accent: #ff0037;
  --accent-dark: #c8123e;
  --blue: #7fd6ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.launch-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(189, 55, 72, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(24, 168, 216, 0.28), transparent 24%),
    linear-gradient(145deg, #040813 0%, #081325 46%, #03070f 100%);
}

.launch-page__noise,
.launch-page__grid,
.launch-page__orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.launch-page__noise {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.launch-page__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
}

.launch-page__orb {
  filter: blur(80px);
  animation: floatOrb 10s ease-in-out infinite;
}

.launch-page__orb--red {
  top: -10%;
  left: -8%;
  width: 32rem;
  height: 32rem;
  background: rgba(186, 67, 82, 0.34);
}

.launch-page__orb--blue {
  top: 18%;
  right: -10%;
  width: 34rem;
  height: 34rem;
  background: rgba(16, 135, 189, 0.32);
  animation-delay: -3s;
}

.launch-hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

.launch-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.brand-logo__icon {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 24px rgba(255, 18, 73, 0.24));
  animation: logoFloat 5.8s ease-in-out infinite, logoGlow 4.8s ease-in-out infinite;
}

.brand-logo__word {
  font-size: clamp(1.55rem, 1.95vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 10px 34px rgba(125, 172, 216, 0.2);
  animation: logoReveal 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.brand-logo__fx {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
}

.brand-logo--smoke:hover .brand-logo__fx {
  background: radial-gradient(circle, rgba(232, 243, 255, 0.42), rgba(186, 204, 226, 0.14) 52%, transparent 76%);
  filter: blur(16px);
}

.brand-logo--smoke:hover .brand-logo__fx--1 {
  animation: smokeTrail1 980ms ease-out infinite;
}

.brand-logo--smoke:hover .brand-logo__fx--2 {
  animation: smokeTrail2 1240ms ease-out infinite;
}

.brand-logo--smoke:hover .brand-logo__fx--3 {
  animation: smokeTrail3 1340ms ease-out infinite;
}

.brand-logo--smoke:hover .brand-logo__icon {
  animation: logoDrift 1.35s ease-in-out infinite;
  filter:
    drop-shadow(-12px 10px 24px rgba(198, 218, 238, 0.16))
    drop-shadow(0 14px 24px rgba(255, 18, 73, 0.28));
}

.brand-logo--smoke:hover .brand-logo__word {
  transform: translate3d(3px, 0, 0);
  transition: transform 220ms ease;
}

.launch-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.launch-copy__eyebrow {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.launch-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d6e7f8 52%, #88d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 14px 60px rgba(77, 176, 228, 0.18);
}

.launch-copy p {
  max-width: 700px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.75;
}

.launch-marquee {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.launch-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.launch-marquee__track span {
  position: relative;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.launch-marquee__track span::after {
  content: '•';
  margin-left: 1.4rem;
  color: rgba(124, 214, 255, 0.76);
}

.launch-panels {
  display: grid;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.launch-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    linear-gradient(180deg, rgba(7, 14, 27, 0.86), rgba(7, 14, 27, 0.7));
  box-shadow:
    0 30px 80px rgba(3, 8, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px);
}

.launch-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(186, 67, 82, 0.72), rgba(24, 168, 216, 0.5), rgba(255, 255, 255, 0.08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.launch-panel::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 12rem;
  left: 0;
  top: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.11), transparent 64%);
  pointer-events: none;
}

.launch-panel--form {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.launch-panel__label {
  color: rgba(124, 214, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.launch-panel--form h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.launch-panel--form > p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.launch-form {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
}

.launch-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.launch-form-grid {
  display: grid;
  gap: 1rem;
}

.launch-field {
  display: grid;
  gap: 0.55rem;
}

.launch-field span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launch-field input,
.launch-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 12, 24, 0.52);
  border-radius: 18px;
  color: white;
  padding: 1rem 1rem 1rem 1.05rem;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.launch-field input::placeholder,
.launch-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.launch-field input:focus,
.launch-field textarea:focus {
  border-color: rgba(124, 214, 255, 0.72);
  background: rgba(9, 18, 34, 0.7);
  transform: translateY(-1px);
}

.launch-field textarea {
  min-height: 10rem;
  resize: vertical;
  border-radius: 22px;
}

.launch-file {
  display: grid;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(6, 12, 24, 0.4);
}

.launch-file input[type='file'] {
  width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
}

.launch-file input[type='file']::file-selector-button {
  margin-right: 1rem;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease;
}

.launch-file input[type='file']::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.launch-file__meta {
  display: grid;
  gap: 0.35rem;
}

.launch-file__meta strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.launch-file__meta span {
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

.launch-form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}

.launch-form-actions p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.launch-form-actions button {
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 18px;
  color: white;
  min-width: 220px;
  padding: 1rem 1.35rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.launch-form-actions button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.launch-form-response {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(110, 223, 161, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(110, 223, 161, 0.22), rgba(30, 109, 72, 0.18)),
    rgba(9, 24, 18, 0.92);
  color: #eafff1;
  line-height: 1.55;
  box-shadow:
    0 18px 40px rgba(15, 41, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: statusReveal 320ms ease-out;
}

.launch-form-response strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.launch-form-response span {
  color: rgba(234, 255, 241, 0.86);
}

.launch-form-response--error {
  border-color: rgba(255, 88, 88, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 88, 88, 0.2), rgba(120, 21, 21, 0.22)),
    rgba(28, 9, 12, 0.92);
  color: #ffe1e1;
  box-shadow:
    0 18px 40px rgba(51, 13, 13, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.launch-form-response--error span {
  color: rgba(255, 225, 225, 0.86);
}

.launch-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.6rem;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

@keyframes floatOrb {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.06); }
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

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

@keyframes logoFloat {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

@keyframes logoGlow {
  0%,
  100% { filter: drop-shadow(0 0 0 rgba(255, 20, 76, 0)); }
  50% { filter: drop-shadow(0 0 20px rgba(255, 20, 76, 0.28)); }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    letter-spacing: 0.18em;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    letter-spacing: 0.06em;
  }
}

@keyframes smokeTrail1 {
  0% {
    opacity: 0;
    transform: translate3d(-4px, 2px, 0) scale(0.62) rotate(-8deg);
  }
  20% { opacity: 0.34; }
  100% {
    opacity: 0;
    transform: translate3d(-44px, -28px, 0) scale(1.82) rotate(-18deg);
  }
}

@keyframes smokeTrail2 {
  0% {
    opacity: 0;
    transform: translate3d(2px, 0, 0) scale(0.56) rotate(6deg);
  }
  30% { opacity: 0.26; }
  100% {
    opacity: 0;
    transform: translate3d(-54px, 20px, 0) scale(1.72) rotate(16deg);
  }
}

@keyframes smokeTrail3 {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.52);
  }
  28% { opacity: 0.24; }
  100% {
    opacity: 0;
    transform: translate3d(-30px, -42px, 0) scale(1.64);
  }
}

@keyframes logoDrift {
  0%,
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  35% { transform: translate3d(2px, -1px, 0) rotate(-1.5deg); }
  65% { transform: translate3d(6px, 0, 0) rotate(1deg); }
}

@media (min-width: 900px) {
  .launch-hero {
    padding: 2.8rem 2rem 3.8rem;
  }

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

  .launch-field-wide {
    grid-column: 1 / -1;
  }

  .launch-form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .launch-form-actions p {
    max-width: 32rem;
  }
}
