:root {
  --bg: #000000;
  --bg-2: rgba(10, 14, 32, 0.55);
  --card: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 42%, rgba(10, 14, 32, 0.28));
  --border: rgba(255, 255, 255, 0.16);
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --text: #f5f7ff;
  --muted: rgba(226, 232, 255, 0.68);
  --danger: #fb7185;
  --ok: #34d399;
  --radius: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #000;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 1;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 38% at 25% 30%, rgba(34, 211, 238, 0.07), rgba(0, 0, 0, 0) 70%),
    radial-gradient(55% 32% at 70% 78%, rgba(245, 158, 11, 0.06), rgba(0, 0, 0, 0) 70%),
    #000;
}

#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  position: relative;
  z-index: 1;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  background: linear-gradient(90deg, #67e8f9, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 20px 48px;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 20px 0 28px;
  animation: rise 0.6s ease both;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.hero h1 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.meta li {
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 50%, rgba(10, 14, 32, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  animation: rise 0.7s ease 0.08s both;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.card-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  margin-bottom: 16px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: rgba(245, 247, 255, 0.88);
}

.req {
  color: var(--cyan-soft);
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  appearance: none;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

select {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2367e8f9' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  padding-right: 36px;
}

option {
  background: #0b1020;
  color: #fff;
}

input:not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

textarea {
  resize: vertical;
  min-height: 84px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--cyan);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b1020;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(103, 232, 249, 0.55) 28%, rgba(139, 92, 246, 0.72));
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, opacity 0.15s;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  font-size: 0.9rem;
}

.success {
  text-align: center;
  padding: 28px 10px 12px;
  animation: rise 0.45s ease both;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #061018;
  background: var(--ok);
}

.success h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.success p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
}

.success-meta {
  margin-top: 16px !important;
  color: var(--cyan-soft) !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.foot {
  text-align: center;
  padding: 8px 20px 36px;
  color: var(--muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .meta {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px 16px 24px;
  }
}
