/* ============================================================
   DIY Website Trap – Landing Page & Intake Wizard Styles
   /static/css/diy_trap.css
   ============================================================ */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --diy-blue:        #1d6ef2;
  --diy-blue-dark:   #1558cc;
  --diy-blue-light:  #e8f0fe;
  --diy-accent:      #f97316;        /* warm orange for highlights */
  --diy-dark:        #0d1117;
  --diy-dark-mid:    #161b22;
  --diy-text:        #374151;
  --diy-muted:       #6b7280;
  --diy-border:      #e5e7eb;
  --diy-success:     #10b981;
  --diy-warn:        #f59e0b;
  --diy-error:       #ef4444;
  --diy-radius:      14px;
  --diy-radius-lg:   22px;
  --diy-shadow:      0 8px 32px rgba(0,0,0,0.08);
  --diy-shadow-lg:   0 24px 64px rgba(0,0,0,0.13);
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.diy-hero {
  position: relative;
  background: linear-gradient(140deg, #0d1117 0%, #161b22 40%, #0d1827 100%);
  padding: 9rem 1.5rem 6rem;
  overflow: hidden;
  text-align: center;
}

/* Decorative gradient orbs */
.diy-hero::before,
.diy-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.diy-hero::before {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(29,110,242,0.25) 0%, transparent 70%);
}
.diy-hero::after {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}

.diy-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.diy-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29,110,242,0.15);
  border: 1px solid rgba(29,110,242,0.4);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.diy-hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.6); }
}

.diy-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.diy-hero__title-accent {
  background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.diy-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.diy-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.diy-hero__pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.diy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.diy-pill .fas { color: var(--diy-success); font-size: 0.65rem; }

/* Scroll hint caret */
.diy-hero__scroll-hint {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.diy-hero__scroll-hint span {
  display: block;
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scrollCaret 1.8s ease-in-out infinite;
}
@keyframes scrollCaret {
  0%, 100% { opacity: 0.2; transform: rotate(45deg) translateY(0); }
  50%       { opacity: 0.8; transform: rotate(45deg) translateY(6px); }
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.diy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
}

.diy-btn--primary {
  background: var(--diy-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(29,110,242,0.35);
}
.diy-btn--primary:hover, .diy-btn--primary:focus {
  background: var(--diy-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,110,242,0.45);
  color: #fff;
  text-decoration: none;
}

.diy-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.diy-btn--ghost:hover, .diy-btn--ghost:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.diy-btn--sm {
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
}

/* ─────────────────────────────────────────────────────────────
   ARTICLE SECTION
───────────────────────────────────────────────────────────── */
.diy-article-wrap {
  background: #f8fafc;
  padding: 4rem 1.5rem 5rem;
}

.diy-article {
  max-width: 740px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: var(--diy-text);
  line-height: 1.8;
  font-size: 1.05rem;
}

.diy-article__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.diy-article__category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--diy-blue);
  background: var(--diy-blue-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin: 0;
}

.diy-article__date {
  font-size: 0.82rem;
  color: var(--diy-muted);
  margin: 0;
}

.diy-article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.diy-article p { margin-bottom: 1.2rem; }

.diy-article__intro {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.7;
}

/* ── Callout cards ──────────────────────────────────────────── */
.diy-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.diy-callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--diy-border);
  border-radius: var(--diy-radius);
  padding: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.diy-callout:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.diy-callout--warn { border-top: 3px solid var(--diy-warn); }

.diy-callout__icon {
  width: 32px; min-width: 32px;
  height: 32px;
  background: #fef3c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--diy-warn);
  font-size: 0.8rem;
}

/* ── Time list ──────────────────────────────────────────────── */
.diy-time-list { margin: 1.5rem 0 2rem; }

.diy-time-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--diy-border);
  font-size: 0.97rem;
}
.diy-time-item:last-child { border-bottom: none; }

.diy-time-icon {
  color: var(--diy-muted);
  font-size: 0.85rem;
  padding-top: 2px;
  min-width: 20px;
}

/* ── Highlight box ──────────────────────────────────────────── */
.diy-highlight-box {
  background: linear-gradient(135deg, #0d1827 0%, #1a2744 100%);
  border: 1px solid rgba(29,110,242,0.3);
  border-radius: var(--diy-radius);
  padding: 2rem;
  margin: 2.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
}

.diy-highlight-box__stat {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #60a5fa, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Feature list ───────────────────────────────────────────── */
.diy-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.diy-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.97rem;
  padding: 0.5rem 0;
}

.diy-feature-list .fa-check-circle { color: var(--diy-success); font-size: 1rem; }

/* ── Comparison Table ───────────────────────────────────────── */
.diy-table-wrap {
  overflow-x: auto;
  margin: 1.5rem -1rem 2rem;
  border-radius: var(--diy-radius);
}

.diy-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  border: 1px solid var(--diy-border);
  border-radius: var(--diy-radius);
  overflow: hidden;
}

.diy-table thead tr {
  background: var(--diy-dark);
  color: rgba(255,255,255,0.9);
}

.diy-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.diy-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--diy-border);
  color: var(--diy-text);
  vertical-align: middle;
}

.diy-table tbody tr:last-child td { border-bottom: none; }
.diy-table tbody tr:nth-child(even) td { background: #f9fafb; }
.diy-table tbody tr:hover td { background: #f0f6ff; }

.diy-table__highlight-col {
  background: rgba(29,110,242,0.07) !important;
  border-left: 2px solid var(--diy-blue);
  font-weight: 600;
}

.diy-table__bad { color: var(--diy-error); font-weight: 600; }
.diy-table__ok  { color: var(--diy-success); }
.diy-table__good { color: var(--diy-success); font-weight: 700; }

.diy-table__note {
  font-size: 0.78rem;
  color: var(--diy-muted);
  margin-top: 0.5rem;
  padding: 0 1rem;
}

/* ── Pull quote ─────────────────────────────────────────────── */
.diy-quote-block {
  border-left: 4px solid var(--diy-blue);
  background: var(--diy-blue-light);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--diy-radius) var(--diy-radius) 0;
  margin: 2.5rem 0;
  font-size: 1.05rem;
  color: #1e3a5f;
  line-height: 1.7;
}
.diy-quote-block p { margin: 0; }

/* ── Final CTA strip (within article) ──────────────────────── */
.diy-final-cta-strip {
  background: linear-gradient(135deg, var(--diy-dark) 0%, #1a2744 100%);
  border-radius: var(--diy-radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  margin: 3rem 0;
}

.diy-final-cta-strip__copy {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.6;
}
.diy-final-cta-strip__copy strong { color: #fff; }

@media (min-width: 600px) {
  .diy-final-cta-strip {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── Article footer / sources ───────────────────────────────── */
.diy-article__footer {
  border-top: 1px solid var(--diy-border);
  padding-top: 2rem;
  margin-top: 3rem;
}

.diy-article__footer-note {
  font-size: 0.8rem;
  color: var(--diy-muted);
  line-height: 1.6;
}

.diy-sources {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--diy-muted);
}

.diy-sources summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--diy-blue);
  padding: 0.25rem 0;
}

.diy-sources ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  line-height: 2;
}

.diy-sources a {
  color: var(--diy-blue);
  text-decoration: none;
}
.diy-sources a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   INTAKE SECTION
───────────────────────────────────────────────────────────── */
.intake-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #e8f0fe 100%);
  padding: 5rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.intake-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(29,110,242,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.intake-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Section header ─────────────────────────────────────────── */
.intake-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.intake-header__tag {
  display: inline-block;
  background: var(--diy-blue-light);
  color: var(--diy-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.intake-header__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.intake-header__sub {
  font-size: 1rem;
  color: var(--diy-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   WIZARD CARD
───────────────────────────────────────────────────────────── */
.wizard {
  background: #fff;
  border-radius: var(--diy-radius-lg);
  box-shadow: var(--diy-shadow-lg);
  overflow: hidden;
  border: 1px solid var(--diy-border);
}

/* ── Progress bar ───────────────────────────────────────────── */
.wizard__progress-bar {
  height: 4px;
  background: #e5e7eb;
  position: relative;
}

.wizard__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--diy-blue) 0%, #60a5fa 100%);
  width: 20%;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  border-radius: 0 2px 2px 0;
}

/* ── Step track ─────────────────────────────────────────────── */
.wizard__step-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 0;
}

.wizard__step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--diy-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard__dots {
  display: flex;
  gap: 0.4rem;
}

.wizard__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.wizard__dot--active {
  background: var(--diy-blue);
  width: 22px;
  border-radius: 4px;
}

.wizard__dot--done {
  background: var(--diy-blue);
  opacity: 0.4;
}

.wizard__dot:hover { transform: scale(1.3); }

/* ── Slides viewport ────────────────────────────────────────── */
.wizard__viewport {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
}

/* ── Individual slide ───────────────────────────────────────── */
/* Transition is defined in CSS so JS never needs element.style */
.wizard__slide {
  display: none;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  padding: 2rem 2rem 1rem;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  will-change: transform, opacity;
  background: #fff;
}

.wizard__slide--active {
  display: block;
}

/* Off-screen states — set via classList, not inline style */
.wizard__slide--enter-right {
  transform: translateX(100%);
  opacity: 0;
  display: block;
  pointer-events: none;
}

.wizard__slide--enter-left {
  transform: translateX(-100%);
  opacity: 0;
  display: block;
  pointer-events: none;
}

.wizard__slide--exit-right {
  transform: translateX(100%);
  opacity: 0;
  display: block;
}

.wizard__slide--exit-left {
  transform: translateX(-100%);
  opacity: 0;
  display: block;
}

@media (min-width: 480px) {
  .wizard__slide { padding: 2.25rem 2.5rem 1.25rem; }
}

/* ── Progress bar — driven by data-step attribute ───────────── */
/* JS calls progress.setAttribute('data-step', n) instead of style.width */
.wizard__progress-fill[data-step="0"] { width: 20%; }
.wizard__progress-fill[data-step="1"] { width: 40%; }
.wizard__progress-fill[data-step="2"] { width: 60%; }
.wizard__progress-fill[data-step="3"] { width: 80%; }
.wizard__progress-fill[data-step="4"] { width: 100%; }

/* ── Buttons — hidden attribute support ─────────────────────── */
/* Browsers hide [hidden] elements by default, but be explicit */
.wizard__btn[hidden] { display: none !important; }


.wizard__slide-inner {}

.wizard__slide-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.wizard__slide-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.wizard__slide-sub {
  font-size: 0.92rem;
  color: var(--diy-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* ── Fields ─────────────────────────────────────────────────── */
.wizard__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizard__field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .wizard__field-row { grid-template-columns: 1fr 1fr; }
}

.wizard__field--mt { margin-top: 0.5rem; }

.wizard__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.wizard__label .fab {
  font-size: 0.8rem;
  width: 1em;
  text-align: center;
  opacity: 0.7;
}

.wizard__req {
  color: var(--diy-error);
  margin-left: 2px;
}

.wizard__input {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--diy-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  display: block;
  resize: vertical;
}

.wizard__input:focus {
  border-color: var(--diy-blue);
  box-shadow: 0 0 0 3px rgba(29,110,242,0.12);
}

.wizard__input--err {
  border-color: var(--diy-error) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

.wizard__input::placeholder { color: #9ca3af; }

.wizard__textarea { min-height: 96px; }

.wizard__hint {
  display: block;
  font-size: 0.75rem;
  color: var(--diy-muted);
  margin-top: 0.3rem;
}

.wizard__error {
  display: none;
  font-size: 0.78rem;
  color: var(--diy-error);
  font-weight: 500;
  margin-top: 0.3rem;
}

/* ── Chips ──────────────────────────────────────────────────── */
.wizard__chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.wizard__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3f4f6;
  border: 1.5px solid var(--diy-border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--diy-text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, color 0.18s ease;
  font-family: 'Inter', sans-serif;
}

.wizard__chip:hover {
  border-color: var(--diy-blue);
  background: var(--diy-blue-light);
  color: var(--diy-blue);
  transform: translateY(-1px);
}

.wizard__chip--active {
  background: var(--diy-blue);
  border-color: var(--diy-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(29,110,242,0.3);
}

/* ── Summary (slide 5) ──────────────────────────────────────── */
.wizard__summary {
  background: #f8fafc;
  border: 1px solid var(--diy-border);
  border-radius: var(--diy-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  max-height: 260px;
  overflow-y: auto;
  font-size: 0.87rem;
  scrollbar-width: thin;
}

.ws-section {
  margin-bottom: 1rem;
}

.ws-section:last-child { margin-bottom: 0; }

.ws-section-title {
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--diy-blue);
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--diy-blue-light);
  padding-bottom: 0.25rem;
}

.ws-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.2rem 0;
  line-height: 1.5;
  flex-wrap: wrap;
}

.ws-label {
  color: var(--diy-muted);
  font-weight: 600;
  min-width: 110px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.ws-val {
  color: #111827;
  word-break: break-word;
}

.wizard__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--diy-muted);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.wizard__privacy .fas { color: var(--diy-success); margin-top: 2px; }

/* ── Nav buttons ────────────────────────────────────────────── */
.wizard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem 2rem;
  gap: 1rem;
  border-top: 1px solid var(--diy-border);
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .wizard__nav { padding: 1.25rem 2.5rem 2rem; }
}

.wizard__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.78rem 1.5rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wizard__btn--back {
  background: #f3f4f6;
  color: var(--diy-text);
}
.wizard__btn--back:hover {
  background: var(--diy-border);
  transform: translateX(-2px);
}

.wizard__btn--next {
  background: var(--diy-blue);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(29,110,242,0.3);
}
.wizard__btn--next:hover {
  background: var(--diy-blue-dark);
  transform: translateX(2px);
  box-shadow: 0 6px 22px rgba(29,110,242,0.4);
}

.wizard__btn--submit {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.wizard__btn--submit:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.4);
}
.wizard__btn--submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ─────────────────────────────────────────────────────────────
   SUCCESS / ERROR STATES
───────────────────────────────────────────────────────────── */
.wizard-success {
  background: #fff;
  border-radius: var(--diy-radius-lg);
  box-shadow: var(--diy-shadow-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 1px solid #d1fae5;
}

.wizard-success__icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  animation: successPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

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

.wizard-success__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.75rem;
}

.wizard-success__msg {
  font-size: 1.05rem;
  color: var(--diy-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.wizard-success a {
  color: var(--diy-blue);
  font-weight: 600;
  text-decoration: none;
}
.wizard-success a:hover { text-decoration: underline; }

.wizard-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--diy-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #991b1b;
  font-size: 0.88rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.wizard-error-banner .fas { color: var(--diy-error); margin-top: 2px; font-size: 1rem; }
.wizard-error-banner a { color: #991b1b; font-weight: 600; }

/* ─────────────────────────────────────────────────────────────
   FOOTER CTA STRIP
───────────────────────────────────────────────────────────── */
.diy-footer-cta {
  background: var(--diy-dark);
  padding: 2.5rem 1.5rem;
}

.diy-footer-cta__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .diy-footer-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.diy-footer-cta__heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.diy-footer-cta__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) { .diy-footer-cta__links { justify-content: flex-end; } }

.diy-footer-cta__link {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}
.diy-footer-cta__link:hover { color: #fff; }

.diy-footer-cta__sep {
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE TWEAKS
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .diy-hero { padding: 8rem 1.25rem 4.5rem; }
  .diy-article-wrap { padding: 3rem 1.25rem 4rem; }
  .intake-section { padding: 3.5rem 1.25rem 4.5rem; }
  .wizard__slide { padding: 1.5rem 1.25rem 1rem; }
  .wizard__nav { padding: 1rem 1.25rem 1.5rem; }
  .wizard-success { padding: 2.5rem 1.5rem; }
}
