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

:root {
  --bg: #0a0906;
  --bg-card: #110f0a;
  --bg-input: #16130d;
  --gold: #d4a84b;
  --gold-light: #e8c97a;
  --gold-dim: #7a5f28;
  --gold-pale: #1e1808;
  --text: #f2ede4;
  --text-muted: #857d6e;
  --text-dim: #3d3728;
  --border: rgba(212,168,75,0.1);
  --border-hover: rgba(212,168,75,0.22);
  --border-focus: rgba(212,168,75,0.5);
  --error: #c44a3a;
  --success: #4a8c5c;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* HEADER STEPS */
.step-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,9,6,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.step-logo { text-decoration: none; display: flex; align-items: baseline; gap: .4rem; flex-shrink: 0; }
.step-logo-main { font-family: var(--font-body); font-weight: 500; font-size: .85rem; letter-spacing: .15em; color: var(--text-muted); }
.step-logo-product { font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--gold-dim); }

/* PROGRESS BAR */
.progress-track {
  flex: 1; max-width: 480px;
  display: flex; align-items: center; gap: 0;
}
.progress-step {
  display: flex; align-items: center; flex: 1;
}
.progress-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 500; letter-spacing: .05em;
  flex-shrink: 0; transition: all .3s;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--bg-card);
}
.progress-step.done .progress-dot {
  background: var(--gold-pale);
  border-color: var(--gold-dim);
  color: var(--gold-dim);
}
.progress-step.done .progress-dot::after { content: '✓'; }
.progress-step.active .progress-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0906;
}
.progress-line {
  flex: 1; height: 1px;
  background: var(--border);
  transition: background .3s;
}
.progress-step.done + .progress-step .progress-line,
.progress-step.done .progress-line { background: var(--gold-dim); }
.progress-label { display: none; }

.step-save { font-size: .72rem; color: var(--text-dim); display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.step-save::before { content: '🔒'; font-size: .7rem; }

/* LAYOUT */
.step-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: calc(100vh - 57px);
}

/* FORM PANEL */
.form-panel {
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--border);
}
.form-eyebrow { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: .75rem; }
.form-title { font-family: var(--font-display); font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .6rem; }
.form-title em { font-style: italic; color: var(--gold-light); }
.form-subtitle { font-size: .875rem; color: var(--text-muted); margin-bottom: 3rem; line-height: 1.6; }

/* FORM ELEMENTS */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: .75rem; letter-spacing: .06em;
  color: var(--text-muted); font-weight: 400;
}
label .req { color: var(--gold-dim); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
textarea,
select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .2s, background .2s;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--border-focus);
  background: var(--bg-card);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237a5f28' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
select option { background: #110f0a; }

.input-hint { font-size: .72rem; color: var(--text-dim); margin-top: .25rem; }

/* PHONE GROUP */
.phone-group { display: grid; grid-template-columns: 110px 1fr; gap: .5rem; }

/* CHECKBOX / RADIO */
.radio-group, .check-group { display: flex; flex-direction: column; gap: .5rem; }
.radio-option, .check-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .875rem; color: var(--text-muted);
}
.radio-option:hover, .check-option:hover { border-color: var(--border-hover); }
.radio-option input, .check-option input { accent-color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; }
.radio-option.selected, .check-option.selected {
  border-color: var(--gold-dim);
  background: var(--gold-pale);
  color: var(--text);
}

/* TAG INPUT */
.tags-input { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem; background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px; min-height: 48px; cursor: text; }
.tags-input:focus-within { border-color: var(--border-focus); }
.tag { display: flex; align-items: center; gap: .35rem; background: var(--gold-pale); border: 1px solid var(--gold-dim); color: var(--gold); font-size: .75rem; padding: .2rem .6rem; border-radius: 2rem; }
.tag-remove { cursor: pointer; opacity: .6; font-size: .8rem; }
.tag-remove:hover { opacity: 1; }
.tags-input input { border: none; background: transparent; outline: none; font-size: .875rem; color: var(--text); font-family: var(--font-body); min-width: 100px; flex: 1; padding: .15rem .25rem; }
.tags-input input::placeholder { color: var(--text-dim); }

/* EXPERIENCE BLOCK */
.exp-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.exp-block:hover { border-color: var(--border-hover); }
.exp-block-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  cursor: pointer;
}
.exp-block-title { font-size: .9rem; font-weight: 500; color: var(--text); }
.exp-block-sub { font-size: .78rem; color: var(--text-muted); margin-top: .1rem; }
.exp-block-toggle { color: var(--gold-dim); font-size: .85rem; transition: transform .25s; }
.exp-block.open .exp-block-toggle { transform: rotate(180deg); }
.exp-block-body { padding: 1.5rem; display: none; border-top: 1px solid var(--border); }
.exp-block.open .exp-block-body { display: block; }

.add-btn {
  display: flex; align-items: center; gap: .5rem;
  width: 100%; padding: .875rem;
  background: transparent; border: 1px dashed var(--border-hover);
  border-radius: 8px; color: var(--text-muted); font-size: .875rem;
  cursor: pointer; font-family: var(--font-body);
  transition: border-color .2s, color .2s;
  justify-content: center;
}
.add-btn:hover { border-color: var(--gold-dim); color: var(--gold); }
.add-btn::before { content: '+'; font-size: 1.1rem; color: var(--gold-dim); }

/* FORM NAV */
.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2.5rem; margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.btn-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--text-muted); font-size: .875rem; text-decoration: none; transition: color .2s; background: none; border: none; cursor: pointer; font-family: var(--font-body); }
.btn-back:hover { color: var(--text); }
.btn-back::before { content: '←'; }
.btn-next {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold); color: #0a0906;
  padding: .875rem 2rem; border-radius: 2rem;
  font-size: .9rem; font-weight: 500;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: opacity .2s, transform .2s; white-space: nowrap;
}
.btn-next:hover { opacity: .88; transform: translateY(-1px); }
.btn-next::after { content: '→'; }

/* SIDEBAR */
.sidebar {
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  display: flex; flex-direction: column; gap: 2rem;
  position: sticky; top: 57px;
  height: calc(100vh - 57px);
  overflow-y: auto;
}
.sidebar-block { border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.sidebar-block:last-child { border-bottom: none; }
.sidebar-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 1rem; }
.sidebar-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.3; margin-bottom: .75rem; }
.sidebar-title em { font-style: italic; color: var(--gold); }
.sidebar-text { font-size: .8rem; color: var(--text-muted); line-height: 1.7; }

.tip-item { display: flex; gap: .75rem; margin-bottom: .875rem; }
.tip-icon { width: 28px; height: 28px; background: var(--gold-pale); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; }
.tip-text { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }
.tip-text strong { color: var(--text); font-weight: 500; }

.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.trust-item::before { content: '✓'; color: var(--success); font-size: .75rem; flex-shrink: 0; }

/* CV PREVIEW MINI */
.cv-preview { background: #fff; border-radius: 6px; padding: 1.25rem; aspect-ratio: .707; overflow: hidden; position: relative; }
.cv-preview-bar { height: 6px; background: #1a1a2e; border-radius: 2px; margin-bottom: .5rem; }
.cv-preview-bar.short { width: 60%; }
.cv-preview-line { height: 3px; background: #e8e8e8; border-radius: 1px; margin-bottom: .35rem; }
.cv-preview-line.medium { width: 75%; }
.cv-preview-line.short { width: 45%; }
.cv-preview-section { margin-top: .75rem; }
.cv-preview-section-title { height: 4px; background: #c8a040; border-radius: 1px; width: 40%; margin-bottom: .4rem; }
.cv-preview-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(17,15,10,.95) 100%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: .75rem; }
.cv-preview-badge { font-size: .65rem; color: var(--gold-dim); letter-spacing: .1em; text-transform: uppercase; }

/* PAYMENT FORM */
.payment-box { background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 14px; overflow: hidden; }
.payment-header { padding: 2rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.payment-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--gold-light); letter-spacing: -.02em; }
.payment-note { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }
.payment-body { padding: 2rem; }
.payment-methods { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.payment-method { background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px; padding: .4rem .75rem; font-size: .72rem; color: var(--text-muted); }
.stripe-field { background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px; padding: .875rem 1rem; margin-bottom: 1rem; height: 48px; display: flex; align-items: center; }
.stripe-placeholder { font-size: .85rem; color: var(--text-dim); }
.payment-secure { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: var(--text-dim); margin-top: .75rem; }

/* CONFIRMATION */
.confirm-hero { text-align: center; padding: 6rem 3rem; border-bottom: 1px solid var(--border); }
.confirm-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.confirm-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 1rem; }
.confirm-title em { font-style: italic; color: var(--gold-light); }
.confirm-sub { color: var(--text-muted); font-size: 1rem; max-width: 40ch; margin: 0 auto 2.5rem; line-height: 1.75; }

/* SECTION UTIL */
section.step-section { padding: 3.5rem 3rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .step-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .step-header { padding: 1rem 1.5rem; }
  .form-panel { padding: 2.5rem 1.5rem; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  section.step-section { padding: 2.5rem 1.5rem; }
  .progress-track { max-width: 220px; }
}
