:root {
  --danger: #dc2626;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #1a2b5f;
  --primary-light: #2d4a8c;
  --accent: #4361ee;
  --accent-hover: #3651d4;
  --success: #10b981;
  --warning: #f59e0b;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Offset anchor targets so the sticky nav doesn't cover them. */
:target,
#form,
#pricing,
#examples,
.wizard {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; }
p  { color: var(--text-secondary); }

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

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 200ms ease;
  min-height: 48px;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 8px 24px rgba(67, 97, 238, 0.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-sm {
  padding: 10px 18px;
  font-size: .875rem;
  min-height: 40px;
  border-radius: 8px;
}

/* Founder-tier ref banner */
.ref-banner {
  background: linear-gradient(135deg, rgba(67,97,238,0.08), rgba(26,43,95,0.06));
  color: var(--primary);
  text-align: center;
  padding: 10px 16px;
  font-size: .85rem;
  border-bottom: 1px solid rgba(67, 97, 238, 0.15);
}
.ref-banner code {
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
}
.ref-banner-strike { text-decoration: line-through; opacity: .55; margin: 0 4px; }

/* Test-mode banner — thin sticky strip */
.testmode-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fef3c7;
  color: #78350f;
  text-align: center;
  padding: 4px 16px;
  min-height: 24px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(180, 83, 9, 0.15);
}

/* ------------------ Navigation ------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--text-secondary); font-weight: 500; font-size: .95rem; }
.nav-link:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 200ms ease;
}

/* ------------------ Hero ------------------ */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
}
.hero-content { text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; color: var(--text); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 56px; }
.hero-cta-note { color: var(--text-secondary); font-size: .85rem; }

/* Mockup browser frame */
.browser-mock {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid var(--border);
  transform: translateY(40px);
  opacity: 0;
  animation: hero-mock-in 800ms ease 300ms forwards;
}
@keyframes hero-mock-in { to { opacity: 1; transform: translateY(0); } }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #cbd5e1;
}
.browser-dot:nth-child(1) { background: #ef4444; }
.browser-dot:nth-child(2) { background: #f59e0b; }
.browser-dot:nth-child(3) { background: #10b981; }
.browser-address {
  margin-left: 16px;
  background: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .75rem;
  color: var(--text-secondary);
  flex: 1;
}
.browser-content { padding: 0; background: #fff; }

/* Hero site preview */
.site-preview {
  padding: 48px 32px 40px;
  background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 100%);
  text-align: center;
}
.site-preview-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #1a4d8f;
  margin-bottom: 8px;
}
.site-preview-sub { color: #64748b; margin-bottom: 20px; font-size: .95rem; }
.site-preview-btn {
  display: inline-block;
  background: #1a4d8f;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
}
.site-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
.site-preview-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  font-size: .8rem;
}
.site-preview-card strong { display: block; color: #1a4d8f; margin-bottom: 4px; }
.site-preview-card span { color: #64748b; font-size: .75rem; }

/* ------------------ Trust bar ------------------ */
.trust-bar {
  background: var(--bg-soft);
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  font-size: .85rem;
  color: var(--text-secondary);
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* ------------------ Sections ------------------ */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; margin-top: 12px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* ------------------ Steps ------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}
.step-card h3 { margin-bottom: 8px; color: var(--text); }
.step-card p { font-size: .95rem; }

/* ------------------ Examples (4 profession-specific mini mockups) ------------------ */
.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.example-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.example-card .browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.example-card .browser-address {
  margin-left: 12px;
  background: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: .7rem;
  color: var(--text-secondary);
  flex: 1;
  font-family: var(--font-body);
}

.example-hero {
  min-height: 220px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
}
.example-hero-content { width: 100%; }
.example-hero h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.example-hero .example-sub {
  font-size: .85rem;
  margin-bottom: 16px;
  line-height: 1.4;
}
.example-cta {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.example-legal {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
}
.example-legal::first-letter { color: var(--success); }

/* Per-profession palettes */
.example-kine .example-hero {
  background: linear-gradient(135deg, #1a4d8f 0%, #2d6bc4 100%);
  color: #fff;
}
.example-kine h3 { color: #fff; }
.example-kine .example-sub { color: rgba(255,255,255,.82); }
.example-kine .example-cta { background: #fff; color: #1a4d8f; }

.example-osteo .example-hero {
  background: linear-gradient(180deg, #e6f5ed 0%, #fff 100%);
}
.example-osteo h3 { color: #1b7a4e; }
.example-osteo .example-sub { color: #3f5b4d; }
.example-osteo .example-cta { background: #1b7a4e; color: #fff; }

.example-lawyer .example-hero {
  background: linear-gradient(160deg, #4a1024 0%, #7a1b3d 100%);
  color: #fff;
}
.example-lawyer h3 {
  color: #f2d9a8;
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
}
.example-lawyer .example-sub { color: rgba(255,255,255,.78); }
.example-lawyer .example-cta { background: #f2d9a8; color: #4a1024; }

.example-accountant .example-hero {
  background: linear-gradient(135deg, #1a1c1d 0%, #2d3436 100%);
  color: #fff;
}
.example-accountant h3 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.example-accountant .example-sub { color: rgba(255,255,255,.72); }
.example-accountant .example-cta {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1c1d;
}

@media (min-width: 768px) {
  .examples-grid-2x2 { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ------------------ Features ------------------ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(67,97,238,.1), rgba(26,43,95,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; line-height: 1.6; }

/* ------------------ Pricing ------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 200ms ease;
}
.plan:hover { transform: translateY(-4px); }
.plan-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 12px 40px rgba(67, 97, 238, 0.2);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; color: var(--text); }
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 4px;
}
.plan-price span { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.plan-billing { margin: -8px 0 20px; color: var(--text-secondary); font-size: .85rem; }
.plan-sub { color: var(--text-secondary); font-size: .9rem; margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.plan li {
  padding: 10px 0 10px 28px;
  color: var(--text);
  font-size: .95rem;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  color: var(--success);
  font-weight: 700;
  font-size: 1.05rem;
}
.plan-url-example {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--bg-soft, #f4f6fb);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  color: var(--text-secondary);
}
.pricing-note { text-align: center; margin-top: 32px; color: var(--text-secondary); font-size: .85rem; }
.pricing-guarantee { color: var(--success, #10b981); font-weight: 500; }
.founder-counter {
  display: inline-block;
  margin: 16px auto 0;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(26, 43, 95, 0.06));
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--text);
}
.founder-counter strong { color: var(--primary); }
.founder-counter .founder-discount { color: var(--accent); font-weight: 600; }

/* ------------------ Form wizard ------------------ */
.form-section { padding: 80px 0; background: var(--bg-soft); }
.wizard {
  max-width: 680px;
  margin: 40px auto 0;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.progress-wrap { margin-bottom: 32px; }
.progress {
  height: 4px;
  background: var(--bg-muted);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  width: 16.66%;
  transition: width 400ms cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: .75rem;
  color: var(--text-secondary);
}
.progress-steps span.active { color: var(--accent); font-weight: 600; }

.step {
  border: none;
  padding: 0;
  margin: 0;
  animation: step-in 350ms ease;
}
@keyframes step-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step legend {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 24px;
  color: var(--text);
}

.site-form label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
}
.req-star { color: var(--danger); font-weight: 700; margin-left: 2px; }
.opt-tag { color: var(--text-secondary); font-weight: 400; font-size: .85em; margin-left: 4px; }
.step-hint {
  color: var(--text-secondary);
  font-size: .85rem;
  margin: -8px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-muted);
}

/* Photo uploads */
.step-subheading { font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; color: var(--text); font-family: var(--font-body); letter-spacing: -0.01em; }
.step-subheading-hint { font-size: .85rem; color: var(--text-secondary); margin-bottom: 16px; }

.photo-uploads {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.photo-upload {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 200ms ease, background 200ms ease;
  position: relative;
}
.photo-upload:hover { border-color: var(--accent); background: rgba(67, 97, 238, 0.03); }
.photo-upload.has-file { border-style: solid; border-color: var(--accent); }
.photo-upload-label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  margin: 0;
}
.photo-upload-label input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0.1px; height: 0.1px;
  min-height: 0; padding: 0; border: none;
}
.photo-upload-head { display: flex; flex-direction: column; gap: 4px; }
.photo-upload-head strong { color: var(--text); font-weight: 600; font-size: .95rem; }

.photo-thumb {
  border-radius: 10px;
  background: var(--bg-muted);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 1.5rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.photo-thumb::before { content: "📷"; }
.photo-thumb.has-image::before { content: ""; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.photo-upload[data-thumb-size="logo"] .photo-thumb      { width: 50px;  height: 50px;  border-radius: 6px; }
.photo-upload[data-thumb-size="portrait"] .photo-thumb  { width: 120px; height: 120px; border-radius: 50%; }
.photo-upload[data-thumb-size="cabinet"] .photo-thumb   { width: 240px; height: 160px; }

.photo-hint { margin-top: 10px; font-size: .75rem; color: var(--text-secondary); }
.photo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--bg-muted);
  border-radius: 8px;
  font-size: .8rem;
}
.photo-filename {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.photo-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.photo-remove:hover { background: rgba(220, 38, 38, 0.08); }
.photo-error {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
  border-radius: 8px;
  font-size: .8rem;
}

/* Step 5 two-column layout */
.design-layout { display: block; }
.design-controls { }
.design-preview-col { margin-top: 32px; }
.design-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 12px;
  gap: 12px;
}
.device-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border-radius: 8px;
  padding: 3px;
}
.device-toggle-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
}
.device-toggle-btn.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.preview-jump { display: none; width: 100%; margin-top: 12px; }

/* Design live preview */
.design-preview-wrap {
  margin: 12px 0 20px;
  transition: all 300ms ease;
}
.design-preview-wrap[data-device="mobile"] {
  max-width: 375px;
  margin: 12px auto 20px;
}
.design-preview-wrap[data-device="mobile"] .design-preview {
  border: 10px solid #1a1a2e;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}
.design-preview-wrap[data-device="mobile"] .dp-services {
  grid-template-columns: 1fr;
}
.design-preview-wrap[data-device="mobile"] .dp-nav { font-size: .7rem; gap: 8px; }

/* ------------------ Homepage .site-preview (rich mockup) ------------------ */
.site-preview {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(40px);
  opacity: 0;
  animation: hero-mock-in 800ms ease 300ms forwards;
}
.sp-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.sp-address {
  margin-left: 12px;
  background: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  font-size: .72rem;
  color: var(--text-secondary);
  flex: 1;
  font-family: var(--font-body);
}
.sp-frame {
  height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.sp-frame::-webkit-scrollbar { width: 8px; }
.sp-frame::-webkit-scrollbar-thumb { background: rgba(26,43,95,.2); border-radius: 4px; }

/* Fake nav inside the mockup */
.sp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26,43,95,0.08);
  font-family: var(--font-body);
  font-size: .85rem;
  position: sticky;
  top: 0;
  z-index: 2;
}
.sp-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1a2b5f;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.sp-nav-links { display: flex; gap: 18px; color: var(--text-secondary); }
.sp-nav-links span { cursor: default; }

/* Hero with background photo + dark blue overlay */
.sp-hero {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(15, 45, 84, 0.80) 0%, rgba(26, 43, 95, 0.70) 100%),
    image-set(
      url("/static/img/mockup/hero.webp") type("image/webp"),
      url("/static/img/mockup/hero.jpg") type("image/jpeg")
    ) center/cover no-repeat,
    #0f2d54;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 60px 32px;
}
/* Safari/older: image-set fallback. */
@supports not (background-image: image-set(url("") type("image/webp"))) {
  .sp-hero {
    background:
      linear-gradient(135deg, rgba(15, 45, 84, 0.80) 0%, rgba(26, 43, 95, 0.70) 100%),
      url("/static/img/mockup/hero.jpg") center/cover no-repeat,
      #0f2d54;
  }
}
.sp-hero-inner { text-align: center; max-width: 540px; }
.site-preview .sp-hero-title,
.hero h1.sp-hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.sp-hero-sub {
  font-size: .95rem;
  margin-bottom: 24px;
  color: #f1f5f9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  font-family: var(--font-body);
}
.sp-hero-cta {
  display: inline-block;
  background: #fff;
  color: #0f2d54;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-family: var(--font-body);
}

/* Sections */
.sp-section { padding: 48px 32px; background: #fff; }
.sp-section-alt { background: #f8fafc; }
.sp-h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a2b5f;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

/* Specialty cards */
.sp-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26,43,95,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.sp-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-card-icon svg {
  width: 56px;
  height: 56px;
  stroke-width: 2;
}
.sp-card-icon--rehab { background: #dbeafe; color: #1a4d8f; }
.sp-card-icon--sport { background: #ffedd5; color: #c2410c; }
.sp-card-icon--pedi  { background: #dcfce7; color: #166534; }
@media (max-width: 639px) {
  .sp-card { gap: 14px; padding: 14px; }
  .sp-card-icon { width: 64px; height: 64px; }
  .sp-card-icon svg { width: 44px; height: 44px; }
}
.sp-card-body { flex: 1; min-width: 0; }
.sp-card-body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a2b5f;
  letter-spacing: -0.01em;
}
.sp-card-body p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Hours + contact */
.sp-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.sp-hours, .sp-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,43,95,0.08);
  font-size: .88rem;
  color: var(--text);
}
.sp-hours li:last-child { border-bottom: none; }
.sp-hours strong { font-weight: 600; color: #1a2b5f; }
.sp-hours span { color: var(--text-secondary); }
.sp-contact-list li {
  padding: 8px 0;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.6;
}

/* Footer */
.sp-footer {
  background: #0f2d54;
  color: rgba(255,255,255,0.78);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  font-family: var(--font-body);
}
.sp-footer strong { color: #fff; font-weight: 600; }
.sp-footer-mark { opacity: .7; }

@media (max-width: 640px) {
  .sp-frame { height: 560px; }
  .sp-hero { min-height: 260px; padding: 40px 20px; }
  .site-preview .sp-hero-title,
  .hero h1.sp-hero-title { font-size: 1.75rem; }
  .sp-section { padding: 32px 20px; }
  .sp-nav { padding: 12px 20px; font-size: .8rem; }
  .sp-nav-links { gap: 12px; }
  .sp-contact { gap: 20px; }
}
.design-preview {
  --p-primary: #1a4d8f;
  --p-light: #e8f0fe;
  --p-accent: #2d6bc4;
  --p-dark: #0f2d54;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow 200ms ease;
  font-family: var(--font-body);
}
.dp-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.dp-address {
  margin-left: 12px;
  background: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: .7rem;
  color: var(--text-secondary);
  flex: 1;
}
.dp-body {
  background: #fff;
  transition: background 300ms ease, color 300ms ease;
}
.dp-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: .75rem;
}
.dp-logo { font-weight: 700; color: var(--p-primary); margin-right: auto; font-size: .85rem; }
.dp-navlink { color: var(--text-secondary); }
.dp-hero {
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--p-light) 0%, #fff 100%);
  text-align: center;
  transition: background 300ms ease;
}
.dp-hero-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--p-primary);
  margin-bottom: 6px;
  transition: color 300ms ease;
}
.dp-hero-sub { color: var(--text-secondary); font-size: .75rem; margin-bottom: 14px; }
.dp-cta {
  display: inline-block;
  background: var(--p-primary);
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  transition: background 300ms ease;
}
.dp-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px;
  background: #fff;
}
.dp-card {
  background: var(--p-light);
  padding: 10px;
  border-radius: 8px;
  font-size: .7rem;
  transition: background 300ms ease;
}
.dp-card strong { display: block; color: var(--p-primary); margin-bottom: 2px; transition: color 300ms ease; }
.dp-card span { color: var(--text-secondary); font-size: .65rem; }
.dp-footer {
  background: var(--p-dark);
  color: rgba(255,255,255,.85);
  padding: 12px 18px;
  font-size: .7rem;
  text-align: center;
  transition: background 300ms ease;
}

/* Layout variants */
.design-preview.layout-classique { /* baseline above */ }

.design-preview.layout-moderne .dp-hero { padding: 40px 20px; background: linear-gradient(135deg, var(--p-primary), var(--p-accent)); }
.design-preview.layout-moderne .dp-hero-title { color: #fff; font-size: 1.4rem; }
.design-preview.layout-moderne .dp-hero-sub { color: rgba(255,255,255,.85); }
.design-preview.layout-moderne .dp-cta { background: #fff; color: var(--p-primary); }
.design-preview.layout-moderne .dp-services { background: var(--p-light); }
.design-preview.layout-moderne .dp-card { background: #fff; box-shadow: var(--shadow-sm); }

.design-preview.layout-epure .dp-hero { background: #fff; padding: 36px 20px; }
.design-preview.layout-epure .dp-services {
  display: block;
  padding: 24px 40px;
  font-size: .75rem;
  color: var(--text-secondary);
  line-height: 2;
}
.design-preview.layout-epure .dp-card {
  background: transparent;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.design-preview.layout-epure .dp-card:last-child { border-bottom: none; }
.design-preview.layout-epure .dp-card strong { display: inline; margin-right: 8px; }
.design-preview.layout-epure .dp-card span { display: inline; }

@media (min-width: 600px) {
  .photo-uploads { grid-template-columns: repeat(3, 1fr); }
  .photo-upload-label { grid-template-columns: 1fr; text-align: center; }
  .photo-thumb { margin: 0 auto; }
}
@media (max-width: 599px) {
  .design-preview-wrap { border-radius: 14px; }
  .dp-services { grid-template-columns: repeat(3, 1fr); }
  .preview-jump { display: block; }
}
@media (min-width: 1024px) {
  .wizard { max-width: none; }
  .design-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: start;
  }
  .design-preview-col {
    margin-top: 0;
    position: sticky;
    top: 90px;
  }
  form .step[data-step="5"] { max-width: none; }
  /* Constrain other steps for readability */
  form .step:not([data-step="5"]) { max-width: 620px; margin: 0 auto; }
}

/* ──────────────── Sprint 1 — Trust blocks ──────────────── */

/* Wizard step 6 form */
.tb-groups { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 24px; }
.tb-group {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.tb-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tb-group-title { font-weight: 600; color: var(--text); font-size: .95rem; }
.tb-group-choice { display: flex; gap: 14px; font-size: .85rem; color: var(--text-secondary); }
.tb-group-choice label { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; font-weight: 400; }
.tb-group-choice input[type="radio"] { margin: 0; accent-color: var(--accent, #4361ee); }
.tb-group-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tb-group-body[hidden] { display: none; }
.tb-group-body label { margin: 0; }
.tb-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px 14px;
  margin-bottom: 6px;
}
.tb-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 400; color: var(--text); cursor: pointer;
}
.tb-check input { accent-color: var(--accent, #4361ee); }
.tb-check-single { margin: 8px 0; }
.tb-faq-suggestions { background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; }
.tb-faq-sugg-list { list-style: none; padding: 0; margin: 0; font-size: .8rem; color: var(--text-secondary); }
.tb-faq-sugg-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.tb-faq-sugg-list li:last-child { border-bottom: none; }
.tb-faq-sugg-list strong { color: var(--text); font-weight: 600; }
.tb-faq-sugg-list em { font-style: normal; }

/* Sprint 2 — health-block form controls (wizard) */
.tb-health-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .02em;
  vertical-align: middle;
}
.tb-lieux-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.tb-lieu-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tb-lieu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.tb-lieu-item-head strong { color: var(--primary); font-size: .9rem; }
.tb-lieu-remove {
  background: none;
  border: none;
  color: var(--danger, #dc2626);
  cursor: pointer;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 6px;
}
.tb-lieu-remove:hover { background: rgba(220, 38, 38, 0.08); }
#tb-lieux-add:disabled { opacity: .5; cursor: not-allowed; }

/* Sprint 3 — category badges (juridique / chiffre / archi) */
.tb-category-badge {
  display: inline-block; margin-left: 8px;
  padding: 2px 8px; border-radius: 999px;
  font-size: .7rem; font-weight: 500; letter-spacing: .02em; vertical-align: middle;
}
.tb-badge-juridique { background: #fef3c7; color: #78350f; }
.tb-badge-chiffre   { background: #dbeafe; color: #1e3a8a; }
.tb-badge-archi     { background: #fce7f3; color: #831843; }

/* Chips builder (competences, secteurs) */
.tb-chips-builder { display: flex; flex-direction: column; gap: 10px; }
.tb-chips-selected { display: flex; flex-wrap: wrap; gap: 6px; min-height: 8px; }
.tb-chips-suggestions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tb-chips-sug-label { font-size: .8rem; color: var(--text-secondary); margin-right: 4px; }
.tb-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .82rem; line-height: 1;
  border: 1px solid var(--border);
  background: #fff; color: var(--text);
  cursor: pointer;
}
.tb-chip-selected { background: rgba(67, 97, 238, 0.1); border-color: var(--accent); color: var(--primary); }
.tb-chip-selected button {
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-size: 1rem; line-height: 1; padding: 0 0 0 4px;
}
.tb-chip-suggestion:hover { background: var(--bg-soft); border-color: var(--accent); color: var(--accent); }
.tb-chips-input-wrap { display: flex; gap: 8px; }
.tb-chips-input { flex: 1; }
#tb-portfolio-add:disabled { opacity: .5; cursor: not-allowed; }

/* Draft banner */
.draft-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(67,97,238,0.08), rgba(26,43,95,0.06));
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: .9rem;
  color: var(--text);
  flex-wrap: wrap;
}
.draft-banner strong { color: var(--primary); }
.draft-actions { display: flex; gap: 8px; }
.draft-actions .btn-sm { padding: 8px 14px; min-height: 36px; font-size: .8rem; }
.site-form label > input,
.site-form label > select,
.site-form label > textarea {
  margin-top: 6px;
}
.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: .95rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  min-height: 48px;
}
.site-form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.12);
}

.field-label {
  display: block;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}
.hint { color: var(--text-secondary); font-size: .8rem; margin-top: 4px; display: block; }
.hint.helper { color: #3b5480; font-size: .78rem; line-height: 1.45; margin-top: 6px; }
.ordinal-fields { display: contents; }  /* transparent wrapper, kids flow in parent */
.specialties { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}
.wizard-actions .btn:only-child { margin-left: auto; }

/* Palette cards */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.palette-card, .layout-card {
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  transition: all 200ms ease;
  text-align: center;
  position: relative;
}
.palette-card:hover, .layout-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.palette-card input, .layout-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.palette-card:has(input:checked),
.layout-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(67, 97, 238, 0.04);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
}
.palette-card:has(input:checked)::after,
.layout-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.palette-circles { display: flex; gap: 8px; }
.palette-circles .c1, .palette-circles .c2 {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.palette-circles .c1 { background: var(--c1); }
.palette-circles .c2 { background: var(--c2); }
.palette-label, .layout-label {
  font-size: .85rem;
  color: var(--text);
  font-weight: 500;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.wire {
  width: 100%;
  height: 72px;
  background: var(--bg-muted);
  border-radius: 8px;
  padding: 6px;
}
.wire rect { fill: var(--primary); opacity: .35; }
.layout-card:has(input:checked) .wire { background: rgba(67,97,238,.08); }
.layout-card:has(input:checked) .wire rect { fill: var(--accent); opacity: .7; }

/* Recap */
.recap {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.recap-row:last-child { border-bottom: none; }
.recap-row span:first-child { color: var(--text-secondary); flex-shrink: 0; }
.recap-row strong { text-align: right; font-weight: 500; color: var(--text); }

/* Plan select */
.plan-select { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
.plan-option {
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  background: #fff;
  display: block;
  position: relative;
  transition: all 200ms ease;
}
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(67, 97, 238, 0.04);
}
.plan-option-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.plan-option-head strong {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}
.plan-option-head span { color: var(--text-secondary); font-weight: 500; }
.plan-option ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: .85rem; color: var(--text-secondary); }
.plan-option li { padding: 3px 0 3px 20px; position: relative; }
.plan-option li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--success); font-weight: 600;
}
/* Sprint 5 Lot 1 — v3 plan radios */
.plan-option-tagline {
  margin: 0 0 10px; font-size: .88rem; color: var(--text-secondary);
  line-height: 1.45;
}
.plan-option-featured {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(67, 97, 238, 0.08);
}
.plan-option-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}

/* Final submit with gradient & pulse */
.btn-generate {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 1.05rem;
  padding: 18px 36px;
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.35);
}
.btn-generate:hover {
  color: #fff;
  animation: pulse 1.2s ease-in-out infinite;
  box-shadow: 0 12px 32px rgba(67, 97, 238, 0.5);
}
@keyframes pulse {
  0%, 100% { transform: translateY(-2px) scale(1); }
  50%      { transform: translateY(-2px) scale(1.02); }
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-result {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: .95rem;
  display: none;
}
.form-result.visible { display: block; }
.form-result.success { background: rgba(16, 185, 129, 0.1); color: #065f46; border: 1px solid rgba(16, 185, 129, 0.2); }
.form-result.error   { background: rgba(239, 68, 68, 0.1); color: #991b1b; border: 1px solid rgba(239, 68, 68, 0.2); }

/* ------------------ Footer ------------------ */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.footer-logo { color: #fff; font-weight: 700; font-size: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-copyright { font-size: .85rem; color: rgba(255,255,255,0.6); }

/* Scroll reveal removed — all sections visible immediately. */
.reveal { opacity: 1; transform: none; }

/* ------------------ Responsive ------------------ */
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 16%; right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0.2;
    z-index: 0;
  }
  .examples-grid:not(.examples-grid-2x2) { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
  .feature { flex-direction: row; align-items: flex-start; gap: 24px; }
  .feature-text { flex: 1; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-featured { transform: translateY(-12px); }
  .plan-featured:hover { transform: translateY(-16px); }
  .plan-select { grid-template-columns: repeat(3, 1fr); }
  .footer-top { flex-direction: row; align-items: center; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .wizard { padding: 28px 20px; }
  .site-preview-grid { grid-template-columns: 1fr; }
}
