.lfpo4-q {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
}

/* Progress */
.lfpo4-q__progress {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.lfpo4-q__progress-bar {
  height: 100%;
  background: #16a34a;
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Header */
.lfpo4-q__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}
.lfpo4-q__subtitle {
  font-size: 1rem;
  color: #6b7280;
  text-align: center;
  margin: 0 0 2rem;
}

/* Question */
.lfpo4-q__prompt {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  text-align: center;
}
.lfpo4-q__help {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin: 0 0 1.5rem;
}

/* Card options */
.lfpo4-q__options--cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.lfpo4-q__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  text-align: center;
  min-height: 100px;
  font-family: inherit;
  font-size: inherit;
}
.lfpo4-q__card:hover {
  border-color: #16a34a;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
}
.lfpo4-q__card--selected {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.lfpo4-q__card:active {
  transform: scale(0.98);
}
.lfpo4-q__card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.lfpo4-q__card-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.lfpo4-q__card-help {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* Checkbox options */
.lfpo4-q__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.lfpo4-q__check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.lfpo4-q__check-item:hover {
  background: #f9fafb;
}
.lfpo4-q__check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
  flex-shrink: 0;
}
.lfpo4-q__check-label {
  flex: 1;
  font-weight: 500;
}
.lfpo4-q__check-wh {
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
}
.lfpo4-q__wh-estimate {
  text-align: center;
  padding: 0.75rem;
  background: #f0fdf4;
  border-radius: 8px;
  font-size: 0.9rem;
}
.lfpo4-q__wh-value {
  font-weight: 700;
  color: #16a34a;
}

/* Nav */
.lfpo4-q__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 1rem;
}

/* Buttons */
.lfpo4-q__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.lfpo4-q__btn--back {
  background: #f3f4f6;
  color: #374151;
}
.lfpo4-q__btn--back:hover {
  background: #e5e7eb;
}
.lfpo4-q__btn--next {
  background: #16a34a;
  color: #fff;
  margin-left: auto;
}
.lfpo4-q__btn--next:hover:not(:disabled) {
  background: #15803d;
}
.lfpo4-q__btn--next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lfpo4-q__btn--add-system {
  background: #16a34a;
  color: #fff;
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  margin-top: 1rem;
}
.lfpo4-q__btn--add-system:hover:not(:disabled) {
  background: #15803d;
}
.lfpo4-q__btn--add-system:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.lfpo4-q__btn--outline {
  background: transparent;
  border: 2px solid #16a34a;
  color: #16a34a;
}
.lfpo4-q__btn--outline:hover {
  background: #f0fdf4;
}
.lfpo4-q__btn--primary {
  background: #16a34a;
  color: #fff;
}

/* Loading */
.lfpo4-q__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: lfpo4-spin 0.8s linear infinite;
  margin: 2rem auto 1rem;
}
@keyframes lfpo4-spin {
  to { transform: rotate(360deg); }
}
.lfpo4-q__loading-text {
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
}

/* Result items */
.lfpo4-q__system-items {
  margin-bottom: 1.5rem;
}
.lfpo4-q__item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.lfpo4-q__item-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.lfpo4-q__item-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lfpo4-q__item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  background: #f9fafb;
  flex-shrink: 0;
}
.lfpo4-q__item-info {
  flex: 1;
  min-width: 0;
}
.lfpo4-q__item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #16a34a;
  text-decoration: underline;
  text-decoration-color: rgba(22, 163, 74, 0.3);
  text-underline-offset: 2px;
  display: block;
}
.lfpo4-q__item-name:hover {
  color: #15803d;
  text-decoration-color: #15803d;
}
.lfpo4-q__item-details-link {
  font-size: 0.75rem;
  color: #16a34a;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 500;
}
.lfpo4-q__item-details-link:hover {
  text-decoration: underline;
}
.lfpo4-q__item-specs {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
}
.lfpo4-q__item-warranty {
  font-size: 0.75rem;
  color: #16a34a;
  margin: 0.25rem 0 0;
}
.lfpo4-q__item-price {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.lfpo4-q__item-qty {
  font-weight: 400;
  color: #6b7280;
}

/* Free items */
.lfpo4-q__system-free-section {
  margin-top: 0.5rem;
}
.lfpo4-q__free-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #16a34a;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.lfpo4-q__item--free {
  border-color: #bbf7d0;
  background: #f0fdf4;
  padding: 0.75rem 1rem;
}
.lfpo4-q__item--free .lfpo4-q__item-body {
  gap: 0.5rem;
}
.lfpo4-q__free-check {
  color: #16a34a;
  font-weight: 700;
}
.lfpo4-q__item-strike {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: auto;
}

/* Summary */
.lfpo4-q__system-summary {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.lfpo4-q__system-price-row,
.lfpo4-q__system-free-row,
.lfpo4-q__system-shipping-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}
.lfpo4-q__price-big {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}
.lfpo4-q__system-free-row {
  color: #16a34a;
  font-weight: 500;
}
.lfpo4-q__system-shipping-row {
  color: #16a34a;
  font-size: 0.9rem;
}

/* Trust badges */
.lfpo4-q__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Rationale */
.lfpo4-q__rationale {
  margin-bottom: 1.5rem;
}
.lfpo4-q__rationale h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.lfpo4-q__rationale ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lfpo4-q__rationale li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: #374151;
}
.lfpo4-q__rationale li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

/* Contact CTA */
.lfpo4-q__contact-cta {
  text-align: center;
  padding: 1.5rem;
  background: #eff6ff;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.lfpo4-q__contact-cta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.lfpo4-q__contact-cta p {
  margin: 0 0 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}
.lfpo4-q__contact-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Escape */
.lfpo4-q__escape {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}
.lfpo4-q__escape a {
  color: #6b7280;
  text-decoration: none;
}
.lfpo4-q__escape a:hover {
  color: #374151;
  text-decoration: underline;
}

/* Email Capture Gate */
.lfpo4-q__email-gate {
  text-align: center;
  padding: 2rem 1rem;
}
.lfpo4-q__email-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.lfpo4-q__email-gate h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.lfpo4-q__email-gate p {
  color: #6b7280;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.lfpo4-q__email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
  margin: 0 auto;
}
.lfpo4-q__email-input {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
  font-family: inherit;
  transition: border-color 0.2s;
}
.lfpo4-q__email-input:focus {
  outline: none;
  border-color: #16a34a;
}
.lfpo4-q__email-privacy {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0.5rem 0 0;
  text-align: center;
}
.lfpo4-q__skip-email {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.75rem;
  text-decoration: underline;
  font-family: inherit;
}
.lfpo4-q__skip-email:hover {
  color: #6b7280;
}

/* Epiphany Bridge */
.lfpo4-q__epiphany {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

/* Value Stack */
.lfpo4-q__value-stack {
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.lfpo4-q__value-stack h3 {
  background: #1a1a2e;
  color: #fff;
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.lfpo4-q__stack-table {
  width: 100%;
  border-collapse: collapse;
}
.lfpo4-q__stack-table td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}
.lfpo4-q__stack-price {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.lfpo4-q__stack-free td {
  color: #16a34a;
}
.lfpo4-q__stack-free s {
  color: #9ca3af;
}
.lfpo4-q__free-tag {
  background: #16a34a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-left: 4px;
  vertical-align: middle;
}
.lfpo4-q__stack-total td {
  font-weight: 700;
  font-size: 1rem;
  border-top: 2px solid #e5e7eb;
  border-bottom: none;
  padding: 0.75rem 1rem;
}

/* Savings */
.lfpo4-q__system-savings {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.5rem 0;
}

/* Scarcity */
.lfpo4-q__scarcity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: #dc2626;
  font-weight: 600;
  font-size: 0.85rem;
}
.lfpo4-q__scarcity-dot {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: lfpo4-pulse 1.5s ease-in-out infinite;
}
@keyframes lfpo4-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Guarantee */
.lfpo4-q__guarantee {
  text-align: center;
  padding: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #374151;
  background: #fffbeb;
  border-radius: 8px;
  border: 1px solid #fde68a;
}

/* Bottom contact */
.lfpo4-q__contact {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fffbeb;
  border-radius: 8px;
  font-size: 0.9rem;
}
.lfpo4-q__contact p {
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.lfpo4-q__contact a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  margin: 0 0.5rem;
}

/* Error */
.lfpo4-q__error {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  animation: lfpo4-fadeIn 0.3s ease;
}
@keyframes lfpo4-fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fallback */
.lfpo4-q__fallback-msg {
  text-align: center;
  padding: 2rem 1rem;
}
.lfpo4-q__fallback-msg h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.lfpo4-q__fallback-msg p {
  color: #6b7280;
  margin: 0 0 1.5rem;
}

/* Mobile */
@media (max-width: 480px) {
  .lfpo4-q {
    padding: 1rem 0.75rem;
  }
  .lfpo4-q__title {
    font-size: 1.35rem;
  }
  .lfpo4-q__options--cards {
    grid-template-columns: 1fr;
  }
  .lfpo4-q__card {
    min-height: 60px;
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem;
  }
  .lfpo4-q__card-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  .lfpo4-q__item-body {
    flex-wrap: wrap;
  }
  .lfpo4-q__item-img {
    width: 60px;
    height: 60px;
  }
  .lfpo4-q__price-big {
    font-size: 1.25rem;
  }
  .lfpo4-q__trust-badges {
    flex-direction: column;
    align-items: center;
  }
}
