/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-accent:   #1d4ed8;
  --c-accent-light: #dbeafe;
  --c-accent-dark:  #1e40af;
  --c-bg:       #f8f8f6;
  --c-surface:  #ffffff;
  --c-text:     #0f172a;
  --c-muted:    #64748b;
  --c-border:   rgba(15,23,42,0.10);
  --c-border-focus: rgba(29,78,216,0.50);
  --c-success:  #16a34a;
  --c-warning:  #d97706;
  --c-danger:   #dc2626;
  --radius:     10px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
  --header-h:   60px;
  --progress-h: 3px;
  --nav-h:      72px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--progress-h));
  padding-bottom: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-accent); }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--c-text);
}
input[type="color"] { cursor: pointer; }

/* ============================================================
   HEADER
   ============================================================ */
.ws-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(15,23,42,0.06);
}
.ws-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.ws-logo-mark {
  height: 34px;
  width: 34px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0, 1);
}
.ws-header-brand { cursor: default; }
.ws-header-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-text);
  white-space: nowrap;
}
.ws-header-step {
  font-size: 0.8125rem;
  color: var(--c-muted);
  font-weight: 500;
  background: var(--c-bg);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--c-border);
}
.ws-header-step strong {
  color: var(--c-text);
  font-weight: 600;
}

/* PROGRESS BAR */
.ws-progress-bar-wrap {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  height: var(--progress-h);
  background: var(--c-border);
  z-index: 100;
}
.ws-progress-bar-fill {
  height: 100%;
  background: var(--c-text);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.ws-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px 24px;
}

/* ============================================================
   STEP WRAPPER & ANIMATION
   ============================================================ */
.ws-step {
  display: none;
  animation: ws-step-in 0.3s ease forwards;
}
.ws-step.ws-active {
  display: block;
}
@keyframes ws-step-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CARDS
   ============================================================ */
.ws-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  padding: 32px;
  margin-bottom: 20px;
}
.ws-card + .ws-card { margin-top: 0; }

/* Step header inside card */
.ws-step-header {
  margin-bottom: 28px;
}
.ws-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ws-step-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-text);
  display: inline-block;
}
.ws-step-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.ws-step-desc {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.ws-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ws-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.ws-col-span-2 { grid-column: span 2; }
.ws-col-span-3 { grid-column: span 3; }

.ws-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ws-field + .ws-field { margin-top: 16px; }
.ws-grid-2 .ws-field,
.ws-grid-3 .ws-field { margin-top: 0; }

.ws-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ws-required {
  color: var(--c-accent);
  font-size: 0.8125rem;
}
.ws-optional {
  font-size: 0.75rem;
  color: var(--c-muted);
  font-weight: 400;
}
.ws-help {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.ws-input,
.ws-select,
.ws-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: 0.9375rem;
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.ws-input:focus,
.ws-select:focus,
.ws-textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.10);
}
.ws-input::placeholder,
.ws-textarea::placeholder { color: #94a3b8; }
.ws-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}
.ws-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}
.ws-textarea.ws-tall { min-height: 120px; }

/* ============================================================
   RADIO PILLS
   ============================================================ */
.ws-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ws-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.ws-pill:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-light);
}
.ws-pill.ws-checked {
  border-color: var(--c-text);
  background: var(--c-text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,0.20);
}
.ws-pill input[type="radio"],
.ws-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}

/* ============================================================
   CHECKBOXES & RADIOS (standard)
   ============================================================ */
.ws-check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-check-group.ws-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.ws-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  transition: all 0.18s;
  user-select: none;
}
.ws-check-item:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-light);
}
.ws-check-item input[type="checkbox"],
.ws-check-item input[type="radio"] {
  margin-top: 2px;
  accent-color: var(--c-accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.ws-check-item-label {
  font-size: 0.875rem;
  color: var(--c-text);
  font-weight: 500;
  line-height: 1.4;
}
.ws-check-item-sub {
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-top: 2px;
}

/* Large consent checkbox */
.ws-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s;
}
.ws-consent-item:hover { border-color: var(--c-accent); }
.ws-consent-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--c-accent);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.ws-consent-item-text {
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.5;
}
.ws-consent-item-text strong { font-weight: 600; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.ws-divider {
  height: 1px;
  background: var(--c-border);
  margin: 24px 0;
}
.ws-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-muted);
  margin-bottom: 14px;
  margin-top: 24px;
}
.ws-section-title:first-child { margin-top: 0; }

/* ============================================================
   INFO BANNERS
   ============================================================ */
.ws-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--c-accent-light);
  border: 1px solid rgba(29,78,216,0.20);
  margin-bottom: 20px;
}
.ws-info-banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.ws-info-banner-text {
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.5;
}

/* ============================================================
   REPEATER
   ============================================================ */
.ws-repeater { display: flex; flex-direction: column; gap: 16px; }
.ws-repeater-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--c-bg);
  position: relative;
}
.ws-repeater-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ws-repeater-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
}
.ws-repeater-remove {
  background: none;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: var(--c-muted);
  transition: all 0.18s;
  display: flex; align-items: center; gap: 4px;
}
.ws-repeater-remove:hover {
  border-color: var(--c-danger);
  color: var(--c-danger);
  background: #fef2f2;
}
.ws-repeater-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--c-accent);
  background: var(--c-accent-light);
  color: var(--c-accent);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  margin-top: 4px;
}
.ws-repeater-add:hover {
  background: var(--c-accent);
  color: #fff;
  border-style: solid;
}

/* ============================================================
   IMPORTANCE BUTTON GROUP (3-way)
   ============================================================ */
.ws-btn-group {
  display: flex;
  border-radius: var(--radius);
  border: 1.5px solid var(--c-border);
  overflow: hidden;
}
.ws-btn-group-btn {
  flex: 1;
  padding: 8px 6px;
  background: var(--c-surface);
  border: none;
  border-right: 1px solid var(--c-border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}
.ws-btn-group-btn:last-child { border-right: none; }
.ws-btn-group-btn:hover {
  background: var(--c-bg);
  color: var(--c-text);
}
.ws-btn-group-btn.ws-active {
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   STYLE CARDS (Step 9)
   ============================================================ */
.ws-style-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ws-style-card {
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.ws-style-card:hover { border-color: var(--c-accent); }
.ws-style-card.ws-checked {
  border-color: var(--c-text);
  box-shadow: 0 0 0 3px rgba(15,23,42,0.10);
}
.ws-style-card-preview {
  height: 80px;
  position: relative;
}
.ws-style-card-preview-modern {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #e0f2fe 100%);
}
.ws-style-card-preview-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.ws-style-card-preview-warm {
  background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 50%, #fce7f3 100%);
}
.ws-style-card-preview-elegant {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f5f0e8 100%);
}
.ws-style-card-preview-lr {
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 50%, #fce7f3 100%);
}
.ws-style-card-body {
  padding: 12px 14px;
}
.ws-style-card-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.ws-style-card-desc {
  font-size: 0.775rem;
  color: var(--c-muted);
  line-height: 1.4;
}
.ws-style-card input[type="radio"] {
  position: absolute;
  opacity: 0; pointer-events: none;
}
.ws-style-card-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-text);
  color: #fff;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
}
.ws-style-card.ws-checked .ws-style-card-check { opacity: 1; }

/* ============================================================
   RADIO CARDS (Step 8 website type)
   ============================================================ */
.ws-radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ws-radio-card {
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.ws-radio-card:hover { border-color: var(--c-accent); background: var(--c-accent-light); }
.ws-radio-card.ws-checked {
  border-color: var(--c-text);
  background: var(--c-surface);
  box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
}
.ws-radio-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.ws-radio-card-icon {
  font-size: 1.375rem;
  margin-bottom: 8px;
  display: block;
}
.ws-radio-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.ws-radio-card-desc {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.4;
}
.ws-radio-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-text);
  color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.18s;
}
.ws-radio-card.ws-checked .ws-radio-card-badge { opacity: 1; }

/* ============================================================
   MATRIX TABLE (Steps 8, 10)
   ============================================================ */
.ws-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}
.ws-matrix thead th {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--c-border);
  white-space: nowrap;
}
.ws-matrix thead th:first-child { text-align: left; padding-left: 0; }
.ws-matrix tbody tr {
  border-bottom: 1px solid var(--c-border);
  transition: background 0.15s;
}
.ws-matrix tbody tr:hover { background: var(--c-bg); }
.ws-matrix tbody tr:last-child { border-bottom: none; }
.ws-matrix td {
  padding: 11px 8px;
  vertical-align: middle;
  text-align: center;
}
.ws-matrix td:first-child {
  text-align: left;
  padding-left: 0;
  font-weight: 500;
  color: var(--c-text);
}
.ws-matrix input[type="radio"] {
  accent-color: var(--c-accent);
  width: 16px; height: 16px;
  cursor: pointer;
}

/* ============================================================
   FILE UPLOAD ZONES
   ============================================================ */
.ws-upload-zone {
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: var(--c-bg);
}
.ws-upload-zone:hover,
.ws-upload-zone.ws-dragover {
  border-color: var(--c-accent);
  background: var(--c-accent-light);
}
.ws-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}
.ws-upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
.ws-upload-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}
.ws-upload-sub {
  font-size: 0.8125rem;
  color: var(--c-muted);
}
.ws-upload-files {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.ws-upload-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 0.8125rem;
  color: var(--c-text);
}

/* ============================================================
   STAT BOXES (Intro)
   ============================================================ */
.ws-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.ws-stat-box {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.ws-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.ws-stat-label {
  font-size: 0.8125rem;
  color: var(--c-muted);
  font-weight: 500;
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.ws-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.ws-nav-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  justify-content: center;
  overflow: hidden;
  padding: 0 12px;
}
.ws-nav-dot {
  height: 7px;
  border-radius: 4px;
  background: var(--c-border);
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 7px;
}
.ws-nav-dot.ws-done { background: rgba(15,23,42,0.25); }
.ws-nav-dot.ws-current {
  background: var(--c-text);
  width: 22px;
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  transition: box-shadow 0.3s ease;
  white-space: nowrap;
  min-width: 110px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ws-btn-primary {
  background: var(--c-text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,0.20);
  position: relative;
  overflow: hidden;
}
.ws-btn-primary .ws-btn-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #f97316, #ec4899, #7c3aed);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
.ws-btn-primary .ws-btn-text {
  position: relative;
  z-index: 2;
  transform: translateX(-4px);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ws-btn-primary svg.arr-1,
.ws-btn-primary svg.arr-2 {
  position: absolute;
  fill: #fff;
  z-index: 2;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ws-btn-primary .arr-1 { right: 14px; width: 14px; height: 14px; }
.ws-btn-primary .arr-2 { left: -20%; width: 14px; height: 14px; }
.ws-btn-primary:hover .arr-1 { right: -20%; }
.ws-btn-primary:hover .arr-2 { left: 14px; }
.ws-btn-primary:hover .ws-btn-text { transform: translateX(4px); }
.ws-btn-primary:hover .ws-btn-circle { width: 400px; height: 400px; opacity: 1; }
.ws-btn-primary:hover { box-shadow: 0 6px 24px rgba(236,72,153,0.22), 0 2px 12px rgba(249,115,22,0.18); }
.ws-btn-ghost {
  background: var(--c-bg);
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
}
.ws-btn-ghost:hover {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: rgba(15,23,42,0.25);
}
.ws-btn svg { flex-shrink: 0; }

/* ============================================================
   INTRO SCREEN SPECIFIC
   ============================================================ */
.ws-intro-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.ws-intro-hero {
  background: linear-gradient(160deg, #140826 0%, #2d1256 50%, #1a0a2e 100%);
  padding: 48px 32px 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ws-intro-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.55) 0%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: ws-orb-drift 8s ease-in-out infinite alternate;
}
.ws-intro-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -30px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.45) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: ws-orb-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes ws-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 15px) scale(1.1); }
}
.ws-intro-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.ws-intro-logo-wrap svg {
  width: 60px; height: 60px;
  display: block;
}
.ws-intro-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(165,180,252,0.85);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ws-intro-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.ws-intro-subtitle {
  font-size: 1rem;
  color: rgba(203,213,225,0.9);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ws-intro-body { padding: 28px 32px 32px; }
.ws-intro-check-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ws-intro-start-btn {
  width: 100%;
  padding: 15px;
  margin-top: 24px;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius);
  background: var(--c-text);
  color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 16px rgba(15,23,42,0.20);
  transition: box-shadow 0.3s ease;
}
.ws-intro-start-btn .ws-btn-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #f97316, #ec4899, #7c3aed);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
.ws-intro-start-btn .ws-btn-text {
  position: relative;
  z-index: 2;
  transform: translateX(-6px);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ws-intro-start-btn svg.arr-1,
.ws-intro-start-btn svg.arr-2 {
  position: absolute;
  width: 17px; height: 17px;
  fill: #fff;
  z-index: 2;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ws-intro-start-btn .arr-1 { right: 20px; }
.ws-intro-start-btn .arr-2 { left: -15%; }
.ws-intro-start-btn:hover .arr-1 { right: -15%; }
.ws-intro-start-btn:hover .arr-2 { left: 20px; }
.ws-intro-start-btn:hover .ws-btn-text { transform: translateX(4px); }
.ws-intro-start-btn:hover .ws-btn-circle { width: 2000px; height: 2000px; opacity: 1; }
.ws-intro-start-btn:hover { box-shadow: 0 8px 32px rgba(236,72,153,0.22), 0 2px 12px rgba(249,115,22,0.18); }
.ws-intro-start-btn:active { scale: 0.98; }

/* ============================================================
   COMPLETION SCREEN
   ============================================================ */
.ws-completion-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  padding: 48px 32px;
  text-align: center;
}
.ws-completion-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-text);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
}
.ws-completion-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.ws-completion-sub {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto 32px;
}
.ws-next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
  margin-top: 8px;
}
.ws-next-step {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px;
}
.ws-next-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.ws-next-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.ws-next-step-desc {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.4;
}

/* ============================================================
   CONDITIONAL VISIBILITY
   ============================================================ */
.ws-hidden { display: none !important; }

/* ============================================================
   COLOR INPUT COMBO
   ============================================================ */
.ws-color-combo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-color-combo input[type="color"] {
  width: 46px; height: 40px;
  border-radius: var(--radius);
  border: 1.5px solid var(--c-border);
  padding: 3px;
  background: var(--c-surface);
  flex-shrink: 0;
}
.ws-color-combo .ws-input { flex: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .ws-main { padding: 20px 14px 16px; }
  .ws-card { padding: 20px; }
  .ws-grid-2,
  .ws-grid-3 { grid-template-columns: 1fr; }
  .ws-col-span-2,
  .ws-col-span-3 { grid-column: span 1; }
  .ws-stats { grid-template-columns: 1fr; gap: 8px; }
  .ws-style-cards,
  .ws-radio-cards { grid-template-columns: 1fr; }
  .ws-next-steps { grid-template-columns: 1fr; }
  .ws-intro-hero { padding: 28px 20px 24px; }
  .ws-intro-body { padding: 20px; }
  .ws-intro-title { font-size: 1.375rem; }
  .ws-nav { padding: 0 16px; }
  .ws-btn { padding: 10px 16px; font-size: 0.875rem; min-width: 90px; }
  .ws-matrix { font-size: 0.8125rem; }
  .ws-matrix thead th { font-size: 0.6875rem; padding: 8px 4px; }
  .ws-matrix td { padding: 9px 4px; }
  .ws-header { padding: 0 16px; }
  .ws-header-name { font-size: 0.9rem; }
  .ws-logo-mark { height: 30px; width: 30px; }
  .ws-completion-card { padding: 32px 20px; }
}
@media (max-width: 400px) {
  .ws-nav-dots { display: none; }
}

/* ============================================================
   ADMIN — lr-adm-* Klassen
   ============================================================ */
.lr-adm-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }
.lr-adm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.lr-adm-header-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c-text); text-decoration: none; }
.lr-adm-header-user { font-size: 0.875rem; color: var(--c-muted); display: flex; align-items: center; gap: 16px; }
.lr-adm-header-logout { color: var(--c-muted); text-decoration: none; font-size: 0.875rem; }
.lr-adm-header-logout:hover { color: var(--c-danger); }

.lr-adm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 28px; }
.lr-adm-stat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px; text-align: center; }
.lr-adm-stat-value { font-size: 1.75rem; font-weight: 800; color: var(--c-text); letter-spacing: -0.03em; }
.lr-adm-stat-label { font-size: 0.8125rem; color: var(--c-muted); margin-top: 2px; }

.lr-adm-table-wrap { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.lr-adm-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.lr-adm-table thead th { padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.lr-adm-table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); color: var(--c-text); }
.lr-adm-table tbody tr:last-child td { border-bottom: none; }
.lr-adm-table tbody tr:hover td { background: var(--c-bg); }

.lr-adm-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.lr-adm-badge-invited    { background: #f1f5f9; color: #64748b; }
.lr-adm-badge-progress   { background: #fef3c7; color: #d97706; }
.lr-adm-badge-submitted  { background: #dcfce7; color: #16a34a; }
.lr-adm-badge-reviewed   { background: #dbeafe; color: #1d4ed8; }

.lr-adm-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; border: 1.5px solid var(--c-border); background: var(--c-surface); color: var(--c-text); cursor: pointer; text-decoration: none; transition: all 0.18s; }
.lr-adm-btn:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-light); }
.lr-adm-btn-primary { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.lr-adm-btn-primary:hover { background: #1e293b; color: #fff; border-color: #1e293b; }
.lr-adm-btn-danger { border-color: var(--c-danger); color: var(--c-danger); }
.lr-adm-btn-danger:hover { background: #fef2f2; }

.lr-adm-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.lr-adm-page-title { font-size: 1.375rem; font-weight: 700; color: var(--c-text); letter-spacing: -0.025em; }
.lr-adm-breadcrumb { font-size: 0.875rem; color: var(--c-muted); margin-bottom: 6px; }
.lr-adm-breadcrumb a { color: var(--c-accent); text-decoration: none; }
.lr-adm-breadcrumb a:hover { text-decoration: underline; }

.lr-adm-2col { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.lr-adm-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.lr-adm-card-title { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.lr-adm-kv { display: grid; gap: 12px; }
.lr-adm-kv-item { }
.lr-adm-kv-key { font-size: 0.75rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.lr-adm-kv-val { font-size: 0.9375rem; color: var(--c-text); line-height: 1.5; word-break: break-word; }
.lr-adm-kv-val-empty { color: var(--c-muted); font-style: italic; }

.lr-adm-upload-list { display: flex; flex-direction: column; gap: 8px; }
.lr-adm-upload-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg); }
.lr-adm-upload-name { font-size: 0.875rem; font-weight: 600; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.lr-adm-upload-meta { font-size: 0.75rem; color: var(--c-muted); }

.lr-adm-form-group { margin-bottom: 16px; }
.lr-adm-form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--c-text); margin-bottom: 5px; }
.lr-adm-form-group select, .lr-adm-form-group textarea, .lr-adm-form-group input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--c-border); border-radius: var(--radius); font-size: 0.9rem; color: var(--c-text); background: var(--c-surface); font-family: var(--font); }
.lr-adm-form-group textarea { min-height: 90px; resize: vertical; }
.lr-adm-form-group select { cursor: pointer; }

.lr-adm-empty { text-align: center; padding: 48px 24px; color: var(--c-muted); }
.lr-adm-empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.lr-adm-empty-text { font-size: 1rem; }

.lr-adm-alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.875rem; font-weight: 500; }
.lr-adm-alert-success { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.lr-adm-alert-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* Login Page */
.lr-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--c-bg); padding: 20px; }
.lr-login-card { width: 100%; max-width: 440px; background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--c-border); overflow: hidden; }
.lr-login-hero { background: linear-gradient(160deg, #140826 0%, #2d1256 50%, #1a0a2e 100%); padding: 40px 32px 36px; text-align: center; position: relative; overflow: hidden; }
.lr-login-hero::before { content:''; position:absolute; top:-40px; right:-40px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(124,58,237,0.55) 0%, transparent 70%); filter:blur(45px); pointer-events:none; }
.lr-login-hero::after  { content:''; position:absolute; bottom:-40px; left:-30px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(249,115,22,0.40) 0%, transparent 70%); filter:blur(50px); pointer-events:none; }
.lr-login-logo { width: 48px; height: 48px; color: #fff; margin: 0 auto 16px; display: block; position: relative; z-index: 1; }
.lr-login-title { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; position: relative; z-index: 1; }
.lr-login-sub { font-size: 0.9rem; color: rgba(203,213,225,0.85); margin-top: 6px; position: relative; z-index: 1; }
.lr-login-body { padding: 28px 32px 32px; }

/* Admin body override: no form padding */
body:has(.lr-adm-header) {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .lr-adm-stats { grid-template-columns: repeat(2, 1fr); }
  .lr-adm-2col  { grid-template-columns: 1fr; }
  .lr-adm-stats .lr-adm-stat:last-child { grid-column: span 2; }
}
