:root {
  --bg: #090c12;
  --bg-deep: #05070b;
  --ink: #eef5ff;
  --muted: #9db1c8;
  --brand: #00d1ff;
  --brand-dark: #0f8fbf;
  --card: rgba(10, 16, 24, 0.78);
  --line: rgba(151, 180, 208, 0.23);
  --line-strong: rgba(151, 180, 208, 0.48);
  --ok: #58d687;
  --err: #ff7f8f;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(0, 209, 255, 0.22) 0%, transparent 60%),
    radial-gradient(850px 480px at 86% 10%, rgba(38, 109, 255, 0.2) 0%, transparent 58%),
    linear-gradient(150deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

body::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 177, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 177, 200, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 35%, black 35%, transparent 92%);
}

body::after {
  width: 540px;
  height: 540px;
  right: -130px;
  top: 60px;
  border: 1px solid rgba(0, 209, 255, 0.35);
  border-radius: 42% 58% 52% 48% / 52% 44% 56% 48%;
  box-shadow:
    inset 0 0 70px rgba(0, 209, 255, 0.08),
    0 0 90px rgba(0, 209, 255, 0.18);
  transform: rotate(15deg);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
  opacity: 0.18;
}

.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 18px 14px 14px 0;
  animation: rise 650ms ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: -45px;
  border: 1px solid rgba(0, 209, 255, 0.35);
  border-radius: 18px;
  transform: rotate(-14deg);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.8rem;
}

h1 {
  margin: 12px 0 14px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #f4f9ff;
  line-height: 0.95;
}

.lead {
  margin: 0;
  max-width: 48ch;
  font-size: 1.08rem;
  color: #c5d5e7;
  line-height: 1.5;
}

.chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: #d6e7f8;
  background:
    linear-gradient(150deg, rgba(11, 24, 38, 0.9) 0%, rgba(8, 14, 24, 0.7) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 209, 255, 0.1);
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: var(--card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: rise 800ms 120ms ease-out both;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.card::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(0, 209, 255, 0.35);
  border-radius: 34px;
  transform: rotate(24deg);
}

.card::after {
  inset: 0;
  background:
    linear-gradient(rgba(157, 177, 200, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 177, 200, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.34;
}

.card > * {
  position: relative;
  z-index: 1;
}

h2 {
  margin: 0 0 16px;
  font-family: "Syne", sans-serif;
  font-size: 1.45rem;
  color: #ecf5ff;
}

form {
  display: grid;
  gap: 14px;
}

.grid {
  display: grid;
  gap: 12px;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
  font-size: 0.93rem;
  color: #bfd0e2;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: rgba(9, 17, 27, 0.85);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f97ae;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.2);
}

button {
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  font: 700 0.95rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #04131d;
  background: linear-gradient(130deg, #00e0ff 0%, #1fb6ff 45%, #00c3ff 100%);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 209, 255, 0.35);
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 16px 34px rgba(0, 209, 255, 0.42);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.status {
  min-height: 1.4em;
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--err);
}

.privacy-note {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #5c7a92;
  line-height: 1.5;
}

.privacy-note a {
  color: #5c7a92;
  text-underline-offset: 2px;
}

.privacy-note a:hover {
  color: var(--muted);
}

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

@media (max-width: 920px) {
  body::after {
    width: 360px;
    height: 360px;
    right: -120px;
  }

  .layout {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero {
    padding-right: 0;
  }

  .hero::after {
    left: auto;
    right: -40px;
    bottom: -28px;
    width: 170px;
    height: 170px;
  }

  h1 {
    max-width: 16ch;
  }
}

@media (max-width: 600px) {
  .grid.two {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 18px;
  }
}
