/* ===== ONBOARDING / GET STARTED PAGE — Always Dark (Linear near-black) ===== */

:root {
  --ob-bg:          #08090a;
  --ob-surface:     #0f1011;
  --ob-surface-2:   #131415;
  --ob-border:      rgba(255,255,255,0.06);
  --ob-border-2:    rgba(255,255,255,0.10);
  --ob-text:        #f7f8f8;
  --ob-text-muted:  #d0d6e0;
  --ob-text-faint:  #8a8f98;
  --ob-primary:     #5e6ad2;
  --ob-primary-h:   #828fff;
  --ob-primary-hl:  rgba(94,106,210,0.15);
  --ob-navy:        #0f1011;
  --ob-gold:        #f5a623;
  --ob-success:     #34d47a;
  --ob-success-hl:  #0a2a18;
}

.onboarding-page {
  min-height: 100svh;
  padding-top: 68px;
  background: var(--ob-bg);
}

/* Force get-started header always dark */
.get-started-header {
  background: rgba(8, 9, 10, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.get-started-header .nav-logo-text          { color: #fff !important; }
.get-started-header .nav-logo-text span     { color: var(--ob-primary) !important; }
.get-started-header .theme-toggle           { color: rgba(255,255,255,0.5) !important; background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.08) !important; }
.get-started-header .theme-toggle:hover     { color: #fff !important; background: rgba(255,255,255,0.08) !important; }
.get-started-header .nav-logo-icon          { color: var(--ob-primary); }

/* ── LAYOUT ── */
.onboarding-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100svh - 68px);
}

/* ── SIDEBAR ── */
.onboarding-sidebar {
  background: var(--ob-navy);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: flex-start;
  position: sticky;
  top: 68px;
  height: calc(100svh - 68px);
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 340px;
}

.sidebar-badge {
  display: inline-flex;
  padding: 0.25rem 1rem;
  background: rgba(94,106,210,0.15);
  border: 1px solid rgba(94,106,210,0.35);
  border-radius: 9999px;
  color: #828fff;
  font-size: 0.75rem;
  font-weight: 590;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.sidebar-headline {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-feature-settings: "cv01","ss03";
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 590;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sidebar-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
}

.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.trust-icon {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(94,106,210,0.2);
  color: #828fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-testimonial {
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
}

.sidebar-stars {
  color: #f5a623;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.sidebar-testimonial blockquote {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 0.75rem;
  max-width: none;
}

.sidebar-testimonial cite {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-style: normal;
}

/* ── FORM PANEL ── */
.onboarding-form-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--ob-surface-2);
  overflow-y: auto;
  min-height: calc(100svh - 68px);
}

.onboarding-form-inner {
  width: 100%;
  max-width: 660px;
}

/* ── PROGRESS ── */
.progress-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--ob-primary);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-label {
  font-size: 0.75rem;
  font-weight: 510;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}

/* ── FORM STEPS ── */
.form-step {
  display: none;
  animation: stepIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-header { margin-bottom: 2rem; }

.step-emoji {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-feature-settings: "cv01","ss03";
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 590;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.step-subtitle {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
}

/* ── CHOICE CARDS ── */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--ob-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.choice-card:hover {
  border-color: var(--ob-primary);
  background: rgba(94,106,210,0.1);
}

.choice-card.selected {
  border-color: var(--ob-primary);
  background: rgba(94,106,210,0.14);
  box-shadow: 0 0 0 1px var(--ob-primary);
}

.choice-icon  { font-size: 1.5rem; line-height: 1; margin-bottom: 0.25rem; }
.choice-label { font-size: 0.875rem; font-weight: 590; color: #f7f8f8; line-height: 1.2; }
.choice-sub   { font-size: 0.75rem; color: rgba(255,255,255,0.38); line-height: 1.4; }

/* ── STEP NAV ── */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.step-nav .btn-outline {
  color: rgba(255,255,255,0.52);
  border-color: rgba(255,255,255,0.1);
  background: transparent;
}

.step-nav .btn-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 510;
  color: rgba(255,255,255,0.72);
}

.form-input {
  padding: 0.75rem 1rem;
  background: var(--ob-surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ob-text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-feature-settings: "cv01","ss03";
}

.form-input::placeholder { color: rgba(255,255,255,0.22); }

.form-input:focus {
  border-color: var(--ob-primary);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.18);
}

.form-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }

.form-consent {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.consent-label {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
  cursor: pointer;
  align-items: flex-start;
}

.consent-label input {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--ob-primary);
}

/* ── SUCCESS STATE ── */
#step-success { display: none; }
#step-success.active {
  display: flex;
  flex-direction: column;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: rgba(52,212,122,0.12);
  color: #34d47a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-feature-settings: "cv01","ss03";
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 590;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.success-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  max-width: 52ch;
}

.success-next-steps {
  width: 100%;
  background: var(--ob-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 2rem;
}

.success-next-steps h3 {
  font-size: 0.9375rem;
  font-weight: 590;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.next-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.6;
}

.next-step:first-of-type { border-top: none; padding-top: 0; }

.next-step-num {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: var(--ob-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 590;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-step strong {
  display: block;
  color: var(--ob-text);
  font-weight: 510;
  margin-bottom: 0.25rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .onboarding-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .onboarding-sidebar {
    position: static;
    height: auto;
  }
  .choice-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .choice-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .step-nav    { flex-direction: column-reverse; }
  .step-nav .btn { width: 100%; justify-content: center; }
}
