:root {
  --bg: #0b1320;
  --panel: #132033;
  --panel-2: #1a2c45;
  --line: rgba(255,255,255,.08);
  --text: #f6efe5;
  --muted: #c9bead;
  --gold: #d8b36a;
  --gold-strong: #e7c784;
  --accent: #8a2432;
  --success: #1f7a52;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #09111c 0%, #0d1726 100%);
  color: var(--text);
}
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 72px 0 42px; background: radial-gradient(circle at top, rgba(216,179,106,.18), transparent 35%); }
.hero__inner { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold); margin: 0 0 12px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h1 span { color: var(--gold); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.card, .result-card { background: rgba(19,32,51,.95); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.wizard { padding: 24px; margin: 22px 0 48px; }
.progress { height: 10px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); transition: width .3s ease; }
.step { display: none; }
.step.active { display: block; }
.step__count { color: var(--gold); font-size: 14px; margin: 0 0 8px; }
.grid { display: grid; gap: 16px; }
.options { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 20px 0; }
.option { text-align: left; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; transition: .2s ease; }
.option:hover { transform: translateY(-2px); border-color: rgba(216,179,106,.5); }
.option strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.option span { color: var(--muted); font-size: .95rem; }
.option.selected { border-color: var(--gold); background: linear-gradient(180deg, rgba(216,179,106,.14), rgba(255,255,255,.02)); box-shadow: 0 0 0 1px rgba(216,179,106,.15) inset; }
.actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.btn { border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--gold); color: #131313; }
.btn--primary:hover:not(:disabled) { background: var(--gold-strong); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover:not(:disabled) { border-color: rgba(216,179,106,.5); color: var(--gold); }
.hidden { display: none !important; }
.results { margin: 0 0 64px; }
.results__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results__list { display: grid; gap: 18px; }
.result-card { padding: 24px; position: relative; overflow: hidden; }
.result-card--top { border-color: rgba(216,179,106,.5); }
.result-card__line { position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), #fff0c8); }
.result-card__meta { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.result-card__subtitle, .result-card__desc { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.badge { padding: 8px 12px; border: 1px solid rgba(216,179,106,.2); border-radius: 999px; font-size: 13px; color: var(--gold); background: rgba(216,179,106,.08); }
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.spec { padding: 8px 12px; border-radius: 10px; background: var(--panel-2); color: var(--text); font-size: 14px; }
.spec strong { color: var(--gold); }
.result-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.match { color: var(--gold); font-weight: 700; white-space: nowrap; }
.notice, .error { padding: 16px; border-radius: 14px; }
.notice { background: rgba(31,122,82,.15); border: 1px solid rgba(31,122,82,.3); }
.error { background: rgba(138,36,50,.2); border: 1px solid rgba(138,36,50,.35); }
@media (max-width: 700px) {
  .wizard { padding: 18px; }
  .result-card__meta { flex-direction: column; }
}
