:root {
  --purple: #9333ea;
  --purple-light: #a855f7;
  --magenta: #d946ef;
  --magenta-bright: #e879f9;
  --bg: #050508;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(147,51,234,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ─── LAYOUT ───────────────────────────────────────────── */
.page-wrap {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(147,51,234,0.15);
  margin: 40px auto;
}

/* ─── LEFT PANEL ───────────────────────────────────────── */
.left-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  background: linear-gradient(135deg, #0d0d1a 0%, #0a0a14 100%);
}

.left-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(147,51,234,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(217,70,239,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.left-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 80%);
}

.left-content {
  position: relative;
  z-index: 2;
}

.eagle-logo {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(147,51,234,0.4);
}

.left-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
  display: block;
}

.left-h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.left-h1 .hl {
  background: linear-gradient(135deg, var(--purple-light), var(--magenta-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.left-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}

/* Bullet list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(147,51,234,0.2);
  border: 1px solid rgba(147,51,234,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item .num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-light), var(--magenta-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .lbl {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── RIGHT PANEL ──────────────────────────────────────── */
.right-panel {
  background: #0c0c14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 44px;
  position: relative;
}

.right-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.form-card {
  width: 100%;
  max-width: 420px;
}

/* Progress indicator */
.progress-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.progress-step.active { color: var(--purple-light); }
.progress-step.done { color: #22c55e; }

.p-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.progress-step.active .p-dot {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.progress-step.done .p-dot {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.p-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.p-line.done { background: #22c55e; }

/* Form header */
.form-header {
  margin-bottom: 28px;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Error message */
.form-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: 10px;
  color: #fca5a5;
  font-size: 0.88rem;
  padding: 12px 16px;
  margin-bottom: 16px;
}

/* Form fields */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(147,51,234,0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}

.form-input::placeholder { color: rgba(148,163,184,0.45); }

.form-input:focus {
  border-color: var(--purple-light);
  background: rgba(147,51,234,0.07);
  box-shadow: 0 0 0 3px rgba(147,51,234,0.15);
}

/* Submit button */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(147,51,234,0.4);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(147,51,234,0.55);
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--muted);
}

.trust-badge .icon { color: #22c55e; }

/* Divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.form-divider span {
  font-size: 0.75rem;
  color: rgba(148,163,184,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Social proof mini */
.mini-proof {
  background: rgba(147,51,234,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mini-proof-avatars {
  display: flex;
}

.mini-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #0c0c14;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  margin-left: -8px;
}

.mini-avatar:first-child { margin-left: 0; }

.mini-proof-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.mini-proof-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── FOOTER ───────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(147,51,234,0.15);
  padding: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(148,163,184,0.5);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--purple-light); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(148,163,184,0.3);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: rgba(148,163,184,0.25);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 800px) {
  body { align-items: stretch; justify-content: flex-start; }

  .page-wrap {
    grid-template-columns: 1fr;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .left-panel { padding: 48px 28px; }

  .right-panel {
    padding: 40px 24px;
    align-items: flex-start;
  }

  .right-panel::before { display: none; }

  .stats-row { gap: 20px; }
}
