:root {
  --primary: #1F6F54;
  --dark: #123328;
  --light: #FBF7EE;
  --radius: 16px;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--light) 0%, #ffffff 260px);
  min-height: 100vh;
}

h2 { font-family: var(--font-head); font-weight: 800; color: var(--dark); }

.navbar {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 1rem 0;
}
.navbar-brand { font-family: var(--font-head); font-weight: 800; color: var(--dark); font-size: 1.2rem; }
.navbar-brand i { color: var(--primary); margin-right: .4rem; }

.progress-track {
  height: 8px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden;
}
.progress-bar-fill {
  height: 100%; width: 8.33%;
  background: linear-gradient(90deg, var(--primary), var(--dark));
  transition: width .3s ease;
}
.step-counter { font-weight: 600; color: #6b7280; font-size: .9rem; }

.wizard-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
  padding: 2.5rem;
  min-height: 320px;
}
@media (max-width: 576px) { .wizard-card { padding: 1.5rem; } }

.step { display: none; }
.step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.form-control-lg { border-radius: 10px; padding: .9rem 1.1rem; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(31,111,84,.15); }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 576px) { .type-grid { grid-template-columns: 1fr; } }

.type-card {
  position: relative;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 1.4rem;
  cursor: pointer;
  transition: all .2s ease;
}
.type-card input { position: absolute; opacity: 0; }
.type-card i { font-size: 1.8rem; color: var(--primary); }
.type-card h3 { font-family: var(--font-head); font-size: 1.1rem; margin: .5rem 0 .2rem; }
.type-card p { color: #6b7280; font-size: .88rem; margin: 0; }
.type-card:hover { border-color: var(--primary); }
.type-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(31,111,84,.05);
  box-shadow: 0 0 0 3px rgba(31,111,84,.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border: none; border-radius: 999px; font-weight: 700; padding: .8rem 2rem;
}
.btn-outline-secondary { border-radius: 999px; font-weight: 600; padding: .8rem 2rem; }

.review-box {
  background: var(--light);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: .92rem;
}
.review-box dt { color: #6b7280; font-weight: 600; }
.review-box dd { margin-bottom: .6rem; }

.status-box {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 600;
}
.status-box.info { background: #eef2ff; color: #3730a3; }
.status-box.error { background: #fee2e2; color: #991b1b; }
.status-box.success { background: #dcfce7; color: #166534; }

/* ==========================================================
   Image groups (Step 11)
   ========================================================== */
.image-group {
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  background: #fafafa;
}
.image-group h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .8rem;
}
.image-group h4 i { color: var(--primary); margin-right: .4rem; }
.image-group.is-hidden { display: none; }

/* ==========================================================
   Section picker (Step 12)
   ========================================================== */
.section-pick {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: .7rem .8rem .7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: border-color .2s ease, background .2s ease;
}
.section-pick:hover { border-color: var(--primary); }
.section-pick.checked { border-color: var(--primary); background: rgba(31,111,84,.05); }
.section-pick-label {
  display: flex; align-items: flex-start; gap: .7rem;
  cursor: pointer; flex: 1; min-width: 0;
}
.section-pick input { margin-top: .3rem; flex-shrink: 0; }
.section-pick .label { font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.section-pick .desc { font-size: .82rem; color: #6b7280; }
.reorder-controls {
  display: flex; flex-direction: column; flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,.08);
  padding-right: .6rem; margin-right: .2rem;
}
.reorder-btn {
  border: none; background: transparent; color: #9ca3af;
  padding: .1rem .2rem; line-height: 1; cursor: pointer;
  transition: color .15s ease;
}
.reorder-btn:hover { color: var(--primary); }

/* ==========================================================
   Technical SEO checklist (Step 14)
   ========================================================== */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .35rem 0; font-size: .92rem; color: #374151; }
.check-list i { color: var(--primary); margin-right: .5rem; }

/* ==========================================================
   Real content rows (Steps 12-13)
   ========================================================== */
.testimonial-row { background: #fafafa; }
.content-row input::placeholder,
.testimonial-row textarea::placeholder,
.testimonial-row input::placeholder { font-size: .88rem; }

/* ==========================================================
   Color palette picker (Step 10)
   ========================================================== */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .6rem;
}
.palette-swatch {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  padding: .55rem .7rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
  text-align: left;
}
.palette-swatch:hover { border-color: var(--primary); }
.palette-swatch.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(31,111,84,.15); }
.swatch-dots { display: flex; flex-shrink: 0; }
.swatch-dots span {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  margin-left: -6px;
}
.swatch-dots span:first-child { margin-left: 0; }
.swatch-label { font-size: .78rem; font-weight: 600; color: #374151; line-height: 1.2; }
