:root {
  --bg: #030615;
  --bg-soft: #071126;
  --text: #f6fbff;
  --muted: #9fb3ca;
  --line: rgba(122, 196, 255, 0.18);
  --accent: #2dc7ff;
  --accent-2: #6f7cff;
  --card: rgba(5, 13, 30, 0.72);
  --shadow: 0 30px 100px rgba(0, 122, 255, 0.2);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 199, 255, 0.17), transparent 28rem),
    radial-gradient(circle at 80% 40%, rgba(111, 124, 255, 0.16), transparent 30rem),
    linear-gradient(135deg, #020410 0%, #050816 48%, #071426 100%);
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 22px;
  isolation: isolate;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  z-index: -1;
}

.grid {
  position: fixed;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  z-index: -3;
}

.orb {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: .32;
  z-index: -2;
  animation: float 12s ease-in-out infinite;
}
.orb-one { left: -140px; top: 8%; background: var(--accent); }
.orb-two { right: -140px; bottom: 6%; background: var(--accent-2); animation-delay: -5s; }

.hero {
  width: min(980px, 100%);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 22px 30px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.logo {
  display: block;
  width: min(390px, 76vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(45,199,255,.25));
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .94;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.subtitle {
  margin: 28px auto 0;
  max-width: 670px;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 0;
}
.words span {
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #d7e8f8;
  font-size: 14px;
}

.lead-form {
  width: min(760px, 100%);
  margin: 52px auto 0;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    var(--card);
  box-shadow: 0 24px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(22px);
}
.lead-form h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}
.lead-form p {
  margin: 10px auto 26px;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}
label span {
  display: block;
  margin: 0 0 8px 2px;
  color: #c7d7e7;
  font-size: 13px;
}
.wide { grid-column: 1 / -1; }
input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(0, 0, 0, .22);
  outline: none;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus {
  border-color: rgba(45,199,255,.65);
  box-shadow: 0 0 0 4px rgba(45,199,255,.1);
  background: rgba(0, 0, 0, .32);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
button {
  position: relative;
  width: 100%;
  height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  color: #02101c;
  background: linear-gradient(90deg, var(--accent), #8edcff);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(45,199,255,.24);
}
button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  left: -90px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
button:disabled {
  cursor: wait;
  opacity: .72;
}
.form-message {
  min-height: 24px;
  margin-top: 16px;
  color: #b9eaff;
  font-size: 14px;
}
.form-message.error { color: #ffb7b7; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .75s cubic-bezier(.2,.8,.2,1) forwards;
}
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .48s; }
.delay-5 { animation-delay: .6s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(24px, -22px, 0) scale(1.08); }
}
@keyframes shine {
  0%, 72% { left: -90px; }
  100% { left: calc(100% + 90px); }
}

@media (max-width: 640px) {
  .page-shell { padding: 36px 16px; align-items: start; }
  .brand { padding: 18px 20px; border-radius: 26px; }
  h1 { letter-spacing: -0.06em; }
  .form-grid { grid-template-columns: 1fr; }
  .lead-form { border-radius: 28px; }
}
