:root {
  --led-bg: #0A0E13;
  --led-surface: #121821;
  --led-surface-hover: #171F2A;
  --led-border: #232F3C;
  --led-cyan: #35E7FF;
  --led-cyan-light: #8FE9FF;
  --led-cyan-dim: rgba(53,231,255,0.08);
  --led-cyan-glow: rgba(53,231,255,0.14);
  --led-orange: #FFB238;
  --led-text: #EDF2F5;
  --led-text-secondary: #ACBBC9;
  --led-text-dim: #6B7E8F;
  --led-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --led-radius: 12px;
}

.led-wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  font-family: var(--led-font);
  color: var(--led-text);
}

/* Progress bar — single fill, animated by wizard-motion.css */
.led-wizard-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--led-border);
  margin-bottom: 32px;
  overflow: hidden;
}

.led-wizard-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--led-cyan);
  /* width is set inline by JS; transition is in wizard-motion.css */
}

/* Steps — shown/hidden; enter animation in wizard-motion.css */
.led-wizard-step {
  display: none;
}

.led-wizard-step.active {
  display: block;
}

.led-wizard-question {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.led-wizard-hint {
  font-size: 14px;
  color: var(--led-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.led-wizard-options {
  display: grid;
  gap: 10px;
}

.led-wizard-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--led-border);
  border-radius: var(--led-radius);
  background: var(--led-surface);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px;
  text-align: left;
  color: var(--led-text);
  width: 100%;
}

.led-wizard-option:hover {
  background: var(--led-surface-hover);
  border-color: var(--led-cyan-dim);
}

.led-wizard-option.selected {
  border-color: var(--led-cyan);
  background: var(--led-cyan-dim);
}

.led-wizard-option .option-label {
  font-weight: 600;
}

.led-wizard-option .option-sub {
  font-size: 12px;
  color: var(--led-text-dim);
  margin-top: 2px;
}

.led-wizard-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--led-border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}

.led-wizard-option.selected .led-wizard-radio {
  border-color: var(--led-cyan);
}

.led-wizard-option.selected .led-wizard-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--led-cyan);
}

.led-wizard-number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.led-wizard-number button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--led-border);
  background: var(--led-surface);
  color: var(--led-text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.led-wizard-number button:hover:not(:disabled) {
  border-color: var(--led-cyan);
  background: var(--led-cyan-dim);
}

.led-wizard-number button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.led-wizard-number .value {
  font-size: 36px;
  font-weight: 700;
  min-width: 60px;
  text-align: center;
}

.led-wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}

.led-wizard-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.led-wizard-btn-back {
  background: transparent;
  border: 1px solid var(--led-border);
  color: var(--led-text-secondary);
}

.led-wizard-btn-back:hover {
  border-color: var(--led-text-dim);
  color: var(--led-text);
}

.led-wizard-btn-next {
  background: var(--led-cyan);
  color: #06181F;
  margin-left: auto;
}

.led-wizard-btn-next:hover {
  filter: brightness(1.1);
}

.led-wizard-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Results panel — entrance animated by wizard-motion.css */
.led-results {
  display: none;
}

.led-results.active {
  display: block;
  animation: ledResultsIn 320ms ease-out;
}

@keyframes ledResultsIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .led-results.active { animation: none !important; }
}

.led-results-header {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.led-results-sub {
  font-size: 14px;
  color: var(--led-text-secondary);
  margin-bottom: 28px;
}

.led-results-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.led-result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--led-border);
  border-radius: var(--led-radius);
  background: var(--led-surface);
}

.led-result-label {
  font-weight: 600;
  font-size: 13px;
}

.led-result-value {
  font-size: 14px;
  color: var(--led-cyan-light);
  text-align: right;
}

.led-result-reason {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--led-text-dim);
  line-height: 1.5;
  display: none;
  padding-top: 8px;
  border-top: 1px solid var(--led-border);
}

.led-result-row.expanded .led-result-reason {
  display: block;
}

.led-result-row .expand-toggle {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--led-text-dim);
  cursor: pointer;
  text-align: center;
  padding-top: 4px;
}

.led-result-row .expand-toggle:hover {
  color: var(--led-cyan);
}

/* Price summary */
.led-price-card {
  background: var(--led-surface);
  border: 1px solid var(--led-border);
  border-radius: var(--led-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.led-price-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.led-price-line.subtotal {
  border-top: 1px solid var(--led-border);
  margin-top: 8px;
  padding-top: 12px;
  color: var(--led-text-dim);
}

.led-price-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--led-cyan);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

.led-price-total .amount {
  color: var(--led-cyan);
}

.led-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.led-actions .led-wizard-btn {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 15px;
}

.led-actions .led-wizard-btn-outline {
  background: transparent;
  border: 1px solid var(--led-border);
  color: var(--led-text);
}

.led-actions .led-wizard-btn-outline:hover {
  border-color: var(--led-cyan);
  color: var(--led-cyan);
}

/* Quote form */
.led-quote-form {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: var(--led-surface);
  border: 1px solid var(--led-border);
  border-radius: var(--led-radius);
}

.led-quote-form.active {
  display: block;
}

.led-quote-form input,
.led-quote-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--led-border);
  border-radius: 8px;
  background: var(--led-bg);
  color: var(--led-text);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.led-quote-form input:focus,
.led-quote-form textarea:focus {
  outline: none;
  border-color: var(--led-cyan);
}

.led-quote-form textarea {
  resize: vertical;
  min-height: 60px;
}

.led-quote-success {
  text-align: center;
  padding: 30px 0;
  color: var(--led-cyan);
}

/* Recommendation badge */
.led-recommendation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--led-cyan-dim);
  border: 1px solid var(--led-cyan);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--led-cyan);
  margin-bottom: 16px;
}

/* Live price ticker — sticky at bottom */
.led-live-price {
  position: sticky;
  bottom: 0;
  background: var(--led-surface);
  border-top: 1px solid var(--led-border);
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  z-index: 10;
}

.led-live-price.visible {
  display: flex;
}

.led-live-price .price-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--led-cyan);
  transition: opacity 150ms;
}

.led-live-price .price-label {
  font-size: 11px;
  color: var(--led-text-dim);
}

/* Warning banners */
.led-warning-banner {
  padding: 10px 14px;
  border: 1px solid var(--led-orange);
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--led-orange);
}

/* Loading */
.led-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--led-text-dim);
}

/* Mobile — 375px first */
@media (max-width: 480px) {
  .led-wizard { padding: 16px; }
  .led-wizard-question { font-size: 18px; }
  .led-result-row { grid-template-columns: 1fr; }
  .led-result-value { text-align: left; }
}
