/* ===== Design System – Premium Evaluation UI ===== */
:root {
  --wizard-bg: #ffffff;
  --wizard-surface: #f5f7fa;
  --wizard-border: #e2e8f0;
  --wizard-muted: #64748b;
  --wizard-text: #0f172a;
  --wizard-accent: #10b981;
  --wizard-accent-hover: #059669;
  --wizard-card-radius: 16px;
  --wizard-card-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  --wizard-card-shadow-hover: 0 4px 20px rgba(16, 185, 129, 0.1);
  --wizard-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --wizard-progress-gradient: linear-gradient(90deg, #10b981, #34d399);
  --wizard-bg-subtle: #f5f7fa;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: #fafbfc;
  color: #0f172a;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.container {
  padding: var(--spacing-16);
  max-width: 520px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}

select,
input,
textarea,
button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  margin-bottom: 12px;
  background: #fff;
}

.search-input {
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

button {
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

button.secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.result {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: #ecfeff;
  color: #0e7490;
}

.muted {
  color: #6b7280;
  font-size: 14px;
}

.list-item {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.list-item:last-child {
  border-bottom: none;
}

.service-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #eef2ff;
  color: #4338ca;
}

.hidden {
  display: none;
}

.iphone-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.iphone-hero button {
  background: var(--wizard-accent);
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 16px;
}

.iphone-hero button:hover {
  background: var(--wizard-accent-hover);
}

.iphone-logo {
  width: 48px;
  height: 48px;
}

/* Landing header – centered logo, title, subtitle */
.landing-header {
  padding: var(--spacing-16) var(--spacing-16) var(--spacing-8);
  padding-top: calc(var(--spacing-16) + env(safe-area-inset-top));
  text-align: center;
}

.landing-header-inner {
  opacity: 0;
  animation: headerFadeIn 0.5s ease forwards;
}

@keyframes headerFadeIn {
  to { opacity: 1; }
}

.landing-logo {
  max-width: 120px;
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto var(--spacing-8);
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.12));
}

.landing-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--wizard-text);
  margin: 0 0 4px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.landing-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--wizard-muted);
  margin: 0;
  line-height: 1.4;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.navbar-premium {
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: transparent;
  box-shadow: none;
  color: #0f172a;
}

.navbar-premium .nav-logo-text {
  color: #0f172a;
  font-weight: 600;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: navFadeIn 0.5s ease forwards;
}

@keyframes navFadeIn {
  to { opacity: 1; }
}

.nav-logo-img {
  width: 28px;
  height: 28px;
}

.nav-logo-text {
  font-weight: 600;
  font-size: 15px;
}

.nav-logo {
  font-weight: 700;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.1);
}

.section {
  padding: 12px 0 24px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Landing – premium minimal */
.landing-main {
  min-height: 100vh;
  background: #fafbfc;
}

.carousel-section {
  padding: var(--spacing-8) 0 var(--spacing-16);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #0f172a;
  width: 100%;
  height: 48vh;
  min-height: 260px;
  max-height: 380px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
}

.carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 300ms ease;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  opacity: 0.6;
  transform: scale(1);
  transition: opacity 300ms ease, transform 300ms ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 1;
}

.carousel-slide img,
.carousel-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evaluate-cta-section {
  padding: var(--spacing-16) 0 calc(var(--spacing-24) + env(safe-area-inset-bottom));
}

.evaluate-cta-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
  width: 100%;
  min-height: 72px;
  padding: var(--spacing-16) var(--spacing-24);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-align: left;
}

.evaluate-cta-card:active {
  transform: scale(0.98);
}

.evaluate-cta-card:hover {
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.evaluate-cta-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.1) 100%);
  color: #059669;
}

.evaluate-cta-icon svg {
  width: 24px;
  height: 24px;
}

.evaluate-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.evaluate-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.evaluate-cta-desc {
  font-size: 13px;
  color: #64748b;
}

.evaluate-cta-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.evaluate-cta-card:hover .evaluate-cta-arrow {
  color: #10b981;
  transform: translateX(4px);
}

.evaluate-cta-arrow svg {
  width: 20px;
  height: 20px;
}

.products-section {
  padding: 16px 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 200ms ease, background 200ms ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left:active {
  transform: translateY(-50%) rotate(-10deg) scale(0.98);
}

.carousel-arrow.right:active {
  transform: translateY(-50%) rotate(10deg) scale(0.98);
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
}

.carousel-arrow.left {
  left: 12px;
  transform: translateY(-50%) rotate(-10deg);
}

.carousel-arrow.left:hover {
  transform: translateY(-50%) rotate(-10deg) scale(1.1);
}

.carousel-arrow.right {
  right: 12px;
  transform: translateY(-50%) rotate(10deg);
}

.carousel-arrow.right:hover {
  transform: translateY(-50%) rotate(10deg) scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-8);
  margin-top: var(--spacing-12);
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dot.active {
  width: 20px;
  background: #10b981;
}

.carousel-empty {
  color: #e2e8f0;
  padding: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.product-name {
  font-weight: 600;
}

.product-price {
  color: #2563eb;
  font-weight: 700;
}

.fav-btn {
  background: #111827;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
}

.fav-btn.active {
  background: #ef4444;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.brand-card.active {
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.model-grid.ready {
  opacity: 1;
  transform: translateY(0);
}

.model-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.model-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.model-name {
  font-weight: 600;
}

.model-actions {
  display: flex;
  gap: 8px;
}

.mini-btn {
  flex: 1;
  background: #111827;
  color: #fff;
  padding: 8px;
  border-radius: 10px;
  border: none;
  font-size: 12px;
}

.mini-btn.ghost {
  background: #e2e8f0;
  color: #0f172a;
}

.mini-btn.active {
  background: #ef4444;
}

.model-detail {
  display: grid;
  gap: 12px;
  grid-template-columns: 120px 1fr;
  align-items: center;
}

.model-detail img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.model-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
}

.chip.neutral {
  background: #f1f5f9;
  color: #0f172a;
}

@media (min-width: 768px) {
  .container {
    max-width: 960px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .carousel {
    height: 55vh;
    max-height: 480px;
  }

  .model-detail {
    grid-template-columns: 160px 1fr;
  }

  .model-detail img {
    width: 160px;
    height: 160px;
  }
}

.wizard-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  z-index: 60;
}

.wizard-backdrop.show {
  display: flex;
}

.wizard {
  background: var(--wizard-bg);
  width: 100%;
  max-height: 94vh;
  border-radius: 20px 20px 0 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  position: relative;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  animation: wizardSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes wizardSlideUp {
  from { transform: translateY(100%); opacity: 0.9; }
  to { transform: translateY(0); opacity: 1; }
}

/* Wizard header - compact 48-56px */
.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  max-height: 56px;
  padding: 12px 8px 12px 4px;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: var(--wizard-bg);
  flex-shrink: 0;
}

.wizard-back-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--wizard-text);
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--wizard-transition);
  flex-shrink: 0;
}

.wizard-back-btn:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.06);
}

.wizard-back-btn:active:not(:disabled) {
  background: rgba(15, 23, 42, 0.1);
}

.wizard-back-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.wizard-header-spacer {
  flex: 1;
}

.wizard-progress-dot {
  width: 36px;
  font-size: 12px;
  color: var(--wizard-muted);
  text-align: right;
  flex-shrink: 0;
}

.wizard-progress-wrap {
  height: 3px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
  flex-shrink: 0;
}

.step-header {
  text-align: center;
  margin-bottom: 8px;
  padding: 0 var(--spacing-16);
  padding-top: 8px;
  flex-shrink: 0;
}

.step-header h6 {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 0;
  color: var(--wizard-text);
  transition: opacity 200ms ease;
}

.step-header.fade-out h6 {
  opacity: 0;
}

.step-help-wrap {
  padding: 16px var(--spacing-16) 0;
  flex-shrink: 0;
}

.step-help-wrap p,
.step-help-wrap #stepHelp {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 10px 14px;
  color: var(--wizard-text);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  line-height: 1.4;
  text-align: center;
  transition: opacity 200ms ease;
}

.step-help-wrap.fade-out p {
  opacity: 0;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--wizard-progress-gradient);
  width: 10%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--spacing-16);
  padding-bottom: calc(var(--spacing-24) + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  background: var(--wizard-bg);
}

.wizard-body.fade,
.wizard-body.wizard-slide-in {
  animation: wizardSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Step content */
.wizard-step-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.wizard-step-subtitle {
  font-size: 14px;
  color: var(--wizard-muted);
  margin: 0 0 var(--spacing-8);
  line-height: 1.4;
  text-align: center;
}

/* Card design system - unified */
.wizard-option-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-option-grid.wizard-colors-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wizard-card {
  border: 1px solid var(--wizard-border);
  border-radius: var(--wizard-card-radius);
  padding: 14px;
  background: var(--wizard-bg);
  box-shadow: var(--wizard-card-shadow);
  cursor: pointer;
  transition: transform var(--wizard-transition), box-shadow var(--wizard-transition), border-color var(--wizard-transition);
}

.wizard-card:hover {
  box-shadow: var(--wizard-card-shadow-hover);
}

.wizard-card.selected {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}

.wizard-card:active {
  transform: scale(0.98);
}

/* Color swatches - 40-48px, double ring */
.wizard-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--wizard-card-radius);
  border: 2px solid var(--wizard-border);
  background: var(--wizard-bg);
  cursor: pointer;
  transition: all var(--wizard-transition);
}

.wizard-swatch:hover {
  box-shadow: var(--wizard-card-shadow-hover);
}

.wizard-swatch.selected {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  transform: scale(1.02);
}

.wizard-swatch:active {
  transform: scale(0.98);
}

.wizard-swatch-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: transform var(--wizard-transition);
}

.wizard-swatch.selected .wizard-swatch-circle {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px var(--wizard-accent);
}

.wizard-swatch-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--wizard-text);
  text-align: center;
}

/* Model selection – professional autocomplete */
.wizard-model-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wizard-model-autocomplete {
  position: relative;
}

.wizard-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.wizard-search-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  opacity: 0.5;
  pointer-events: none;
}

.wizard-search-wrap .wizard-search {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: 16px;
  border: 2px solid var(--wizard-border);
  background: var(--wizard-bg);
  font-size: 16px;
  transition: all var(--wizard-transition);
}

.wizard-search-wrap .wizard-search:focus {
  outline: none;
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.wizard-search-wrap .wizard-search::placeholder {
  color: var(--wizard-muted);
}

.wizard-model-hint {
  font-size: 13px;
  color: var(--wizard-muted);
  margin: 0;
  line-height: 1.4;
}

/* Model grid - 2 col mobile, 3 col wide */
.wizard-model-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-12);
  max-height: 55vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.wizard-model-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-8);
  padding: var(--spacing-16);
  border-radius: 16px;
  border: 1px solid var(--wizard-border);
  background: var(--wizard-bg);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  font: inherit;
  color: inherit;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 0;
}

.wizard-model-grid-card:active {
  transform: scale(0.98);
}

.wizard-model-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.wizard-model-grid-card.selected,
.wizard-model-grid-card:focus-visible {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  outline: none;
}

.wizard-model-grid-img {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wizard-surface);
  border: 1px solid var(--wizard-border);
}

.wizard-model-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wizard-model-grid-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--wizard-text);
  line-height: 1.2;
}

.wizard-model-grid-loading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-model-grid-loading .wizard-model-skeleton-row {
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9, #e2e8f0);
  background-size: 200% 100%;
  animation: wizardShimmer 1.2s ease-in-out infinite;
}

.wizard-model-grid .wizard-model-empty {
  grid-column: 1 / -1;
  padding: 32px 16px;
  text-align: center;
}

@media (min-width: 400px) {
  .wizard-model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wizard-model-hint {
  text-align: center;
}

/* Model dropdown - premium cards, scrollable, keyboard-safe */
.wizard-model-dropdown {
  display: none;
  position: relative;
  margin-top: 6px;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--wizard-bg);
  border-radius: 16px;
  border: 1px solid var(--wizard-border);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
  z-index: 20;
  animation: wizardDropdownFade 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-model-dropdown--visible {
  display: block;
}

@keyframes wizardDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-model-dropdown-item {
  cursor: pointer;
  padding: 0 12px 4px;
  transition: background 0.15s ease;
}

.wizard-model-dropdown-item:hover,
.wizard-model-dropdown-item--selected {
  background: rgba(16, 185, 129, 0.06);
}

.wizard-model-dropdown-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--wizard-transition);
}

.wizard-model-dropdown-item:hover .wizard-model-dropdown-card,
.wizard-model-dropdown-item--selected .wizard-model-dropdown-card {
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

/* Model image - large, admin-uploaded */
.wizard-model-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.wizard-model-img-wrap--error {
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
}

.wizard-model-img-real {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.wizard-model-placeholder-icon {
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.6;
}

.wizard-model-dropdown-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--wizard-text);
  flex: 1;
  line-height: 1.3;
}

/* Dropdown skeleton */
.wizard-model-dropdown-skeleton {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-model-skeleton-row {
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9, #e2e8f0);
  background-size: 200% 100%;
  animation: wizardShimmer 1.2s ease-in-out infinite;
}

/* Empty state */
.wizard-model-empty {
  padding: 40px 24px;
  text-align: center;
}

.wizard-model-empty-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}

.wizard-model-empty-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--wizard-text);
  margin: 0 0 8px;
}

.wizard-model-empty-hint {
  font-size: 14px;
  color: var(--wizard-muted);
  margin: 0;
  line-height: 1.5;
}

/* Storage chips - capsule buttons */
.wizard-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-8);
  justify-content: center;
}

.wizard-chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--wizard-border);
  background: var(--wizard-bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--wizard-text);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease, transform 200ms ease;
}

.wizard-chip:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
}

.wizard-chip.selected {
  background: var(--wizard-accent);
  border-color: var(--wizard-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
}

.wizard-chip:active {
  transform: scale(0.98);
}

/* Battery status badge */
.wizard-battery-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.wizard-battery-status--visible {
  opacity: 1;
}

.wizard-battery-status--green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.wizard-battery-status--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.wizard-battery-status--premium {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.12) 100%);
  color: #047857;
}

.wizard-battery-status--orange {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.wizard-battery-status--red {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}

.wizard-battery-status-icon {
  font-size: 16px;
}

/* Icon grids */
.wizard-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.wizard-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: var(--wizard-card-radius);
  border: 1px solid var(--wizard-border);
  background: var(--wizard-bg);
  box-shadow: var(--wizard-card-shadow);
  cursor: pointer;
  transition: all var(--wizard-transition);
  font: inherit;
  color: inherit;
  text-align: center;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.wizard-icon-card:hover {
  box-shadow: var(--wizard-card-shadow-hover);
}

.wizard-icon-card.selected {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.06);
  transform: scale(1.02);
}

.wizard-icon-card:active {
  transform: scale(0.98);
}

.wizard-icon-card-icon {
  font-size: 22px;
  line-height: 1;
}

.wizard-icon-card-label {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wizard-icon-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wizard-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

/* Multi-select step layout */
.wizard-multiselect-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-multiselect-btn {
  margin-top: 8px;
  flex-shrink: 0;
}

.wizard-func-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wizard-muted);
  margin-bottom: 12px;
  text-align: center;
}

.wizard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wizard-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
}

.wizard-price {
  font-size: 24px;
  font-weight: 700;
}

.wizard-pricebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.price-model {
  font-weight: 600;
  font-size: 14px;
}

.price-max {
  font-size: 12px;
  color: #64748b;
}

.price-current {
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.price-current.pulse {
  transform: scale(1.05);
}


.wizard-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 80;
}

.wizard-toast.show {
  opacity: 1;
}

.wizard-skeleton {
  height: 100px;
  border-radius: var(--wizard-card-radius);
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9, #e2e8f0);
  background-size: 200% 100%;
  animation: wizardShimmer 1.2s ease-in-out infinite;
}

@keyframes wizardShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.wizard-done {
  border-color: var(--wizard-accent);
  background: rgba(16, 185, 129, 0.08);
}

.wizard-error {
  color: #dc2626;
  padding: 16px;
  text-align: center;
}

.wizard-telegram-required {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  min-height: 280px;
}

.wizard-telegram-required-icon {
  margin-bottom: 20px;
  opacity: 0.9;
  color: var(--wizard-muted);
}

.wizard-telegram-required-icon svg {
  width: 48px;
  height: 48px;
}

.wizard-telegram-required-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--wizard-text);
  margin: 0 0 12px;
}

.wizard-telegram-required-desc {
  font-size: 16px;
  color: var(--wizard-text);
  margin: 0 0 8px;
  line-height: 1.5;
}

.wizard-telegram-required-hint {
  font-size: 14px;
  color: var(--wizard-muted);
  margin: 0 0 24px;
  line-height: 1.4;
}

.wizard-telegram-required-close {
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--wizard-border);
  color: var(--wizard-text);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  max-width: 200px;
}

.wizard-telegram-required-close:active {
  opacity: 0.9;
}

/* Battery step - input at TOP, keyboard-safe */
.wizard-battery-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 16px;
}

.wizard-battery-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wizard-surface);
  border-radius: 20px;
  padding: 20px 24px;
  border: 2px solid var(--wizard-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.wizard-battery-input-wrap:focus-within {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.wizard-battery-input-wrap input {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  width: 90px;
  min-width: 60px;
  border: none;
  background: transparent;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.wizard-battery-input-wrap input:focus {
  outline: none;
}

.wizard-battery-input-wrap input::placeholder {
  color: var(--wizard-muted);
  opacity: 0.6;
}

.wizard-battery-input-unit {
  font-size: 24px;
  font-weight: 600;
  color: var(--wizard-muted);
}

.wizard-battery-display {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.wizard-battery-display {
  background: var(--wizard-surface);
  border: 2px solid var(--wizard-border);
}

.wizard-battery-display.wizard-battery-display--red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.wizard-battery-display.wizard-battery-display--orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.wizard-battery-display.wizard-battery-display--green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.wizard-battery-display.wizard-battery-display--premium {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(52, 211, 153, 0.14) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.wizard-battery-value {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--wizard-text);
}

.wizard-battery-display .wizard-battery-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--wizard-muted);
  margin-top: 2px;
}

.wizard-battery-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--wizard-surface);
  overflow: hidden;
}

.wizard-battery-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--wizard-accent);
  transition: width 0.35s ease, background 0.35s ease;
}

.wizard-battery-step[data-status="red"] .wizard-battery-progress-bar {
  background: #dc2626;
}

.wizard-battery-step[data-status="orange"] .wizard-battery-progress-bar {
  background: #ea580c;
}

.wizard-battery-step[data-status="green"] .wizard-battery-progress-bar {
  background: #059669;
}

.wizard-battery-step[data-status="premium"] .wizard-battery-progress-bar {
  background: linear-gradient(90deg, #059669, #34d399);
}

.wizard-battery-helper {
  font-size: 12px;
  color: var(--wizard-muted);
  margin: 0;
  line-height: 1.5;
}

.wizard-battery-step .wizard-primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wizard-primary-btn {
  padding: 16px 28px;
  border-radius: 16px;
  background: var(--wizard-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--wizard-transition), background 0.2s ease;
}

.wizard-primary-btn:hover {
  background: var(--wizard-accent-hover);
}

.wizard-primary-btn:active {
  transform: scale(0.98);
}

/* Premium final screen */
.wizard-final-premium {
  padding: 16px 0 100px;
  min-height: 320px;
}

.wizard-final-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.wizard-final-loading-text {
  font-size: 16px;
  color: #64748b;
}

.wizard-final-content {
  opacity: 0;
  transform: translateY(10px);
}

.wizard-final-content.wizard-final-reveal {
  animation: wizardReveal 0.5s ease forwards;
}

@keyframes wizardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-final-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.wizard-final-item {
  font-size: 14px;
  color: #475569;
}

.wizard-final-price-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  animation: priceGlow 2s ease-in-out infinite alternate;
}

/* Dual price: trade-in + direct sell */
.wizard-final-price-dual {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 50%, #0c1222 100%);
  padding: 24px 20px;
  text-align: left;
}

.wizard-final-price-dual .wizard-final-price-label {
  text-align: center;
  margin-bottom: 20px;
}

.wizard-final-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.wizard-final-price-row:last-child {
  margin-bottom: 0;
}

.wizard-final-price-tradein {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.wizard-final-price-direct {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.wizard-final-price-row-label {
  font-size: 13px;
  opacity: 0.9;
}

.wizard-final-price-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wizard-final-price-value--big {
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 800;
  color: #34d399;
  animation: priceCountUp 0.5s ease-out;
}

.wizard-final-price-value--muted {
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 400px) {
  .wizard-final-price-row {
    flex-wrap: wrap;
  }
  .wizard-final-price-row-label {
    flex: 1 1 100%;
  }
}

.wizard-final-price-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

@keyframes priceCountUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes priceGlow {
  from { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25); }
  to { box-shadow: 0 12px 48px rgba(16, 185, 129, 0.15); }
}

.wizard-final-price-label {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.wizard-final-price-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Price satisfaction feedback block – premium minimal */
.wizard-feedback-block {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.wizard-feedback-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--wizard-text);
  margin: 0 0 6px;
  text-align: center;
}

.wizard-feedback-subtitle {
  font-size: 14px;
  color: var(--wizard-muted);
  margin: 0 0 20px;
  text-align: center;
}

.wizard-feedback-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.wizard-feedback-btn {
  flex: 1;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--wizard-border);
  background: var(--wizard-bg);
  font-size: 15px;
  font-weight: 500;
  color: var(--wizard-text);
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.wizard-feedback-btn:hover {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.wizard-feedback-btn.active {
  background: linear-gradient(135deg, var(--wizard-accent) 0%, #34d399 100%);
  border-color: var(--wizard-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
}

.wizard-feedback-textarea-wrap {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.wizard-feedback-textarea-wrap.wizard-feedback-textarea-visible {
  opacity: 1;
  transform: translateY(0);
}

.wizard-feedback-textarea-wrap.optional .wizard-feedback-textarea {
  min-height: 80px;
}

.wizard-feedback-textarea {
  width: 100%;
  min-height: 100px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--wizard-border);
  background: var(--wizard-bg);
  font-size: 15px;
  font-family: inherit;
  color: var(--wizard-text);
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.wizard-feedback-textarea:focus {
  outline: none;
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.wizard-feedback-textarea::placeholder {
  color: var(--wizard-muted);
}

.wizard-feedback-submit {
  width: 100%;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}

.wizard-feedback-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-final-trust {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.wizard-trust-item {
  font-size: 13px;
  color: #475569;
}

.wizard-final-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 24px;
}

.wizard-final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-cta-primary {
  padding: 18px 28px;
  border-radius: 16px;
  background: var(--wizard-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--wizard-transition), background 0.2s ease;
}

.wizard-cta-primary:hover {
  background: var(--wizard-accent-hover);
}

.wizard-cta-primary:active {
  transform: scale(0.98);
}

.wizard-cta-secondary {
  padding: 14px 24px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.wizard-cta-secondary:active {
  transform: scale(0.98);
}

.wizard-cta-ghost {
  padding: 12px 20px;
  border-radius: 14px;
  background: transparent;
  color: var(--wizard-muted);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-cta-ghost:hover {
  color: var(--wizard-text);
}

.wizard-contact-block {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.wizard-contact-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wizard-text);
  margin-bottom: 8px;
}

.wizard-contact-desc {
  font-size: 13px;
  color: var(--wizard-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.wizard-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-contact-actions .wizard-cta-primary {
  margin: 0;
}

.wizard-contact-actions .wizard-cta-ghost {
  margin: 0;
}

.wizard-phone-optional {
  background: var(--wizard-surface);
  border: 1px solid var(--wizard-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.wizard-phone-optional-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wizard-text);
  margin-bottom: 8px;
}

.wizard-phone-optional-desc {
  font-size: 13px;
  color: var(--wizard-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.wizard-phone-optional-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-phone-optional-actions .wizard-cta-primary,
.wizard-phone-optional-actions .wizard-cta-ghost {
  margin: 0;
}

/* Fixed bottom CTA on mobile */
@media (max-width: 767px) {
  .wizard-final-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    z-index: 5;
  }

  .wizard-final-premium {
    padding-bottom: 140px;
  }
}

.wizard-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.wizard-final-model {
  font-size: 16px;
  margin-bottom: 12px;
}

.wizard-final-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.wizard-final-label {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 8px;
}

.wizard-final-price {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.wizard-restart {
  padding: 14px 24px;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.wizard-restart:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .wizard {
    max-width: 720px;
    margin: 0 auto 24px;
    border-radius: 18px;
  }
}
