/* =========================================================================
   Groei-Curve Scan — Wizard styles
   Scope: alles begint met .gcs- of #gcs- zodat er geen conflicten zijn

   v1.2: welkomstscherm herontworpen (geen emoji's, CRO-techniques),
         nieuw preview-scherm tussen vragen en contactformulier.
   ========================================================================= */

/* --- Tokens --------------------------------------------------------------
   Lokaal binnen #gcs-overlay om themacollisies te voorkomen.
   ------------------------------------------------------------------------ */
#gcs-overlay,
.gcs-cta-wrap {
  --gcs-primary:        #1a5c72;
  --gcs-primary-dark:   #0f4356;
  --gcs-primary-soft:   #e6f3f8;
  --gcs-accent-warm:    #c87a1a;
  --gcs-accent-warm-bg: #fdf6ea;
  --gcs-text:           #0f1f28;
  --gcs-text-soft:      #4a5b66;
  --gcs-text-muted:     #8a98a3;
  --gcs-line:           #e7ecef;
  --gcs-bg-soft:        #f6f9fa;
  --gcs-radius:         12px;
  --gcs-radius-lg:      18px;
}

/* --- CTA knop ------------------------------------------------------------ */
.gcs-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.gcs-cta-btn {
  display: inline-block;
  background: var(--gcs-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(26, 92, 114, 0.18);
}
.gcs-cta-btn:hover  { background: var(--gcs-primary-dark); box-shadow: 0 8px 22px rgba(26, 92, 114, 0.28); }
.gcs-cta-btn:active { transform: scale(0.98); }

.gcs-cta-sub {
  font-size: 13px;
  color: var(--gcs-text-muted);
  margin: 0;
}

/* --- Overlay ------------------------------------------------------------- */
#gcs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 18, 26, 0.82);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(6px);
}
#gcs-overlay.gcs-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- Modal --------------------------------------------------------------- */
.gcs-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 52px 60px 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.35);
  animation: gcs-slide-in 0.28s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}
@keyframes gcs-slide-in {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* --- Sluitknop ----------------------------------------------------------- */
.gcs-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.gcs-close-btn:hover { color: #333; background: #f0f0f0; }

/* --- Progress bar -------------------------------------------------------- */
.gcs-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -12px;
}
.gcs-progress-bar {
  flex: 1;
  height: 5px;
  background: linear-gradient(to right, var(--gcs-primary) var(--fill, 0%), #e8eced var(--fill, 0%));
  border-radius: 99px;
  transition: background 0.35s ease;
}
.gcs-progress-label {
  font-size: 12px;
  color: var(--gcs-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* --- Schermen (algemeen) ------------------------------------------------- */
.gcs-screen-wrap {
  flex: 1;
  min-height: 240px;
}

/* =========================================================================
   Welkomstscherm — herontworpen
   ========================================================================= */
.gcs-welcome {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 4px 0 4px;
}

.gcs-welcome__head {
  text-align: left;
}
.gcs-welcome__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gcs-primary);
  background: var(--gcs-primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.gcs-welcome__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--gcs-text);
  margin: 0 0 14px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.gcs-welcome__body {
  font-size: 16px;
  color: var(--gcs-text-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

/* Value-prop lijst met SVG-checks */
.gcs-welcome__values {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gcs-welcome__values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gcs-text);
  line-height: 1.5;
}
.gcs-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gcs-primary);
  margin-top: 1px;
}

/* Trust signals row */
.gcs-welcome__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--gcs-bg-soft);
  border: 1px solid var(--gcs-line);
  border-radius: var(--gcs-radius);
  padding: 12px 18px;
  margin-top: 4px;
}
.gcs-trust-pill {
  font-size: 13px;
  color: var(--gcs-text-soft);
  font-weight: 600;
}
.gcs-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gcs-text-muted);
  opacity: 0.5;
}

/* Block-button (volle breedte op welkom + preview) */
.gcs-btn--block {
  display: block;
  width: 100%;
}

.gcs-welcome__micro {
  font-size: 13px;
  color: var(--gcs-text-muted);
  text-align: center;
  margin: -8px 0 0;
  line-height: 1.5;
}

/* =========================================================================
   Vraagscherm
   ========================================================================= */
.gcs-question {
  padding: 4px 0 8px;
}
.gcs-question__counter {
  font-size: 12px;
  color: var(--gcs-text-muted);
  margin: 0 0 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gcs-question__prompt {
  font-size: 17px;
  color: var(--gcs-text);
  margin: 0 0 32px;
  font-weight: 500;
}

/* Bipolaire slider */
.gcs-slider-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 8px 0;
}
.gcs-slider-label {
  font-size: 14px;
  color: var(--gcs-text-soft);
  line-height: 1.4;
}
.gcs-slider-label--left  { text-align: right; }
.gcs-slider-label--right { text-align: left;  }

.gcs-slider-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 220px;
}

.gcs-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--gcs-primary) var(--fill, 40%), #ddd var(--fill, 40%));
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.gcs-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gcs-primary);
  box-shadow: 0 2px 8px rgba(26,92,114,0.35);
  cursor: pointer;
  transition: transform 0.1s;
}
.gcs-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.gcs-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gcs-primary);
  border: none;
  cursor: pointer;
}

.gcs-slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 1px;
}
.gcs-tick {
  font-size: 12px;
  color: #c5cfd4;
  transition: color 0.15s, font-weight 0.15s;
}
.gcs-tick--active {
  color: var(--gcs-primary);
  font-weight: 700;
}

/* =========================================================================
   Preview-scherm (teaser na laatste vraag)
   ========================================================================= */
.gcs-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0 8px;
}

.gcs-preview__eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gcs-primary);
  background: var(--gcs-primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0;
}

.gcs-preview__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--gcs-text);
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.gcs-preview__tagline {
  font-size: 16px;
  color: var(--gcs-text-soft);
  margin: 0;
  line-height: 1.55;
  font-style: italic;
}

.gcs-preview__intro {
  font-size: 14px;
  color: var(--gcs-text-muted);
  margin: 4px 0 0;
  line-height: 1.55;
}

/* Twee kolommen: ontgrendeld + locked */
.gcs-preview__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.gcs-preview__col {
  border-radius: var(--gcs-radius);
  padding: 18px 18px 16px;
}
.gcs-preview__col--unlocked {
  background: var(--gcs-primary-soft);
  border: 1px solid #cfe3ec;
}
.gcs-preview__col--locked {
  background: var(--gcs-accent-warm-bg);
  border: 1px dashed #e6c89a;
}
.gcs-preview__col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.gcs-preview__col--unlocked .gcs-preview__col-label { color: var(--gcs-primary); }
.gcs-preview__col--locked   .gcs-preview__col-label { color: var(--gcs-accent-warm); }

.gcs-preview__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gcs-preview__col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gcs-text);
}
.gcs-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.gcs-icon--check { color: var(--gcs-primary); }
.gcs-icon--lock  { color: var(--gcs-accent-warm); }

.gcs-preview__col--locked li { color: var(--gcs-text-soft); }

.gcs-preview__micro {
  font-size: 13px;
  color: var(--gcs-text-muted);
  text-align: center;
  margin: -8px 0 0;
}

/* =========================================================================
   Contactformulier
   ========================================================================= */
.gcs-contact {
  padding: 4px 0;
}
.gcs-contact__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gcs-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.gcs-contact__sub {
  font-size: 15px;
  color: var(--gcs-text-soft);
  margin: 0 0 24px;
  line-height: 1.55;
}

.gcs-field {
  margin-bottom: 16px;
}
.gcs-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gcs-text);
  margin-bottom: 6px;
}
.gcs-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--gcs-line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--gcs-text);
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  outline: none;
}
.gcs-input:focus {
  border-color: var(--gcs-primary);
  box-shadow: 0 0 0 3px rgba(26,92,114,0.12);
  background: #fff;
}
.gcs-input::placeholder { color: #b9c2c8; }

.gcs-disclaimer {
  font-size: 12px;
  color: var(--gcs-text-muted);
  margin: 16px 0 0;
  line-height: 1.5;
}

.gcs-error {
  background: #fff3f3;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  margin-top: 12px;
}

/* =========================================================================
   Bedankscherm
   ========================================================================= */
.gcs-thanks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 0 8px;
}

.gcs-thanks__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gcs-thanks__check,
.gcs-thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gcs-primary-soft);
  color: var(--gcs-primary);
  font-size: 18px;
  font-weight: 700;
}
.gcs-thanks__sent {
  font-size: 14px;
  color: var(--gcs-text-soft);
  margin: 0;
}

/* Fase uitkomst kaart */
.gcs-thanks__fase-card {
  background: linear-gradient(135deg, var(--gcs-primary-soft) 0%, #eaf7f1 100%);
  border: 1.5px solid #c5e8da;
  border-radius: 14px;
  padding: 24px 28px;
}
.gcs-thanks__fase-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gcs-primary);
  margin: 0 0 8px;
}
.gcs-thanks__fase-number {
  font-size: 30px;
  font-weight: 800;
  color: #0b3d50;
  margin: 0 0 8px;
  line-height: 1.1;
}
.gcs-thanks__season {
  font-size: 20px;
  font-weight: 500;
  color: #2d8a6e;
}
.gcs-thanks__tagline {
  font-size: 16px;
  font-weight: 600;
  color: #1a3d4a;
  margin: 0 0 6px;
  line-height: 1.4;
}
.gcs-thanks__signal {
  font-size: 14px;
  color: #4a7a88;
  margin: 0;
  line-height: 1.6;
}

/* Actionable item */
.gcs-thanks__action {
  background: var(--gcs-accent-warm-bg);
  border-left: 4px solid var(--gcs-accent-warm);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
}
.gcs-thanks__action-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b07010;
  margin: 0 0 8px;
}
.gcs-thanks__action-text {
  font-size: 15px;
  color: #3a2800;
  line-height: 1.65;
  margin: 0;
}

.gcs-thanks__email-note {
  font-size: 13px;
  color: var(--gcs-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   Navigatieknoppen
   ========================================================================= */
.gcs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--gcs-line);
}

.gcs-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, opacity 0.15s, box-shadow 0.2s;
}
.gcs-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.gcs-btn:active   { transform: scale(0.97); }

.gcs-btn--primary {
  background: var(--gcs-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 92, 114, 0.22);
}
.gcs-btn--primary:hover:not(:disabled) {
  background: var(--gcs-primary-dark);
  box-shadow: 0 6px 18px rgba(26, 92, 114, 0.32);
}

.gcs-btn--ghost {
  background: transparent;
  color: var(--gcs-text-muted);
}
.gcs-btn--ghost:hover:not(:disabled) { background: #f5f5f5; color: var(--gcs-text); }

.gcs-btn--lg { font-size: 17px; padding: 16px 36px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 680px) {
  .gcs-modal {
    padding: 36px 24px 28px;
    border-radius: 14px;
    max-height: 96vh;
  }
  .gcs-welcome__title       { font-size: 24px; }
  .gcs-preview__title       { font-size: 22px; }
  .gcs-thanks__fase-number  { font-size: 24px; }

  .gcs-preview__cols {
    grid-template-columns: 1fr;
  }

  .gcs-slider-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .gcs-slider-label--left  { text-align: left; order: 1; }
  .gcs-slider-inner        { order: 2; }
  .gcs-slider-label--right { text-align: left; order: 3; }
}
