/* ═══════════════════════════════════════════
   Sport CRM Finder — Styles v1.0
   crm-systeme.com/crm-im-sport/
   Theme: Sport Green + Deep Blue
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

.scf-root {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 860px;
  margin: 0 auto;
  color: #1a202c;
  line-height: 1.55;
}

/* ── CARD ── */
.scf-card {
  background: #fff;
  border: 1.5px solid #d1fae5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
}

/* ── HEADER — sport deep green gradient ── */
.scf-header {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  padding: 28px 32px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.scf-header::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.scf-header::after {
  content: '⚽';
  position: absolute;
  bottom: -10px; right: 28px;
  font-size: 80px;
  opacity: .07;
  pointer-events: none;
  line-height: 1;
}
.scf-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.92);
}
.scf-header h2 {
  font-size: clamp(17px, 3.2vw, 23px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.scf-header p {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  max-width: 480px;
}
.scf-progress-bar-wrap {
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  height: 6px;
  margin-top: 16px;
  overflow: hidden;
}
.scf-progress-bar-fill {
  height: 100%;
  background: #86efac;
  border-radius: 10px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.scf-progress-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 5px;
}

/* ── BODY ── */
.scf-body { padding: 26px 30px; }

/* ── QUESTION ── */
.scf-question { animation: scfFadeUp .3s ease both; }
@keyframes scfFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scf-q-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 6px;
}
.scf-q-text {
  font-size: clamp(16px, 2.8vw, 21px);
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 18px;
  line-height: 1.3;
}

/* ── ANSWER GRIDS ── */
.scf-answers--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.scf-answers--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.scf-answers--1col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── ANSWER BUTTON ── */
.scf-answer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 2px solid #d1fae5;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
  font-family: inherit;
  color: #1a202c;
  position: relative;
  overflow: hidden;
}
.scf-answer-btn:hover {
  border-color: #059669;
  background: #ecfdf5;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(5,150,105,.14);
}
.scf-answer-btn.selected {
  border-color: #059669;
  background: #ecfdf5;
  box-shadow: 0 0 0 3px rgba(5,150,105,.14);
}
.scf-answer-btn--row { padding: 12px 16px; }
.scf-answer-btn--priority { user-select: none; }
.scf-answer-btn.scf-prio-primary {
  border-color: #059669;
  background: #ecfdf5;
  box-shadow: 0 0 0 3px rgba(5,150,105,.16);
}
.scf-answer-btn.scf-prio-secondary {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}

.scf-answer-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
/* sportart grid: smaller icon */
.scf-answers--3col .scf-answer-icon { width: 32px; height: 32px; font-size: 17px; }
.scf-answers--3col .scf-answer-btn  { padding: 10px 10px; gap: 8px; flex-direction: column; align-items: center; text-align: center; }
.scf-answers--3col .scf-answer-text { display: flex; flex-direction: column; align-items: center; }

.scf-answer-text  { flex: 1; min-width: 0; }
.scf-answer-label { font-size: 14px; font-weight: 700; }
.scf-answer-sub   { font-size: 12px; color: #64748b; margin-top: 2px; }

/* ── PRIORITY BADGES ── */
.scf-prio-badge {
  position: absolute; top: 7px; right: 7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
  pointer-events: none;
}
.scf-prio-badge--1 { background: #059669; }
.scf-prio-badge--2 { background: #0d9488; }

/* ── PRIORITY WRAPPER ── */
.scf-priority-wrapper { display: flex; flex-direction: column; gap: 12px; }
.scf-priority-hint {
  font-size: 13px; font-weight: 600; color: #475569;
  background: #f0fdf4; border: 1px solid #d1fae5;
  border-radius: 8px; padding: 8px 14px;
}
.scf-priority-continue { align-self: flex-end; margin-top: 4px; }

/* ── BUTTONS ── */
.scf-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; font-family: inherit;
  transition: all .15s ease;
}
.scf-btn-primary { background: #059669; color: #fff; }
.scf-btn-primary:hover { background: #047857; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,.3); }
.scf-btn-ghost { background: transparent; color: #64748b; border: 2px solid #e2e8f0; }
.scf-btn-ghost:hover { border-color: #cbd5e1; color: #334155; }

.scf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }

/* ── RESULTS ── */
.scf-results { animation: scfFadeUp .35s ease both; }

.scf-results-header { text-align: center; margin-bottom: 20px; }
.scf-check {
  width: 52px; height: 52px; background: #d1fae5;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin: 0 auto 12px;
}
.scf-results-header h3 { font-size: clamp(17px,3vw,21px); font-weight: 800; color: #064e3b; margin-bottom: 4px; }
.scf-context-line {
  display: inline-block;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 20px; padding: 3px 12px;
  font-size: 13px; font-weight: 600; color: #065f46;
  margin: 6px 0 4px;
}
.scf-results-header p { font-size: 13px; color: #64748b; }

/* ── WINNER ── */
.scf-winner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid #059669;
  border-radius: 16px; padding: 22px; margin-bottom: 16px; position: relative;
}
.scf-winner-ribbon {
  position: absolute; top: 11px; right: 13px;
  font-size: 11px; font-weight: 700; color: #059669;
  background: rgba(5,150,105,.09); border: 1px solid rgba(5,150,105,.22);
  border-radius: 20px; padding: 3px 10px;
}
.scf-tool-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.scf-tool-logo {
  width: 56px; height: 56px; object-fit: contain;
  border-radius: 12px; border: 1.5px solid #d1fae5;
  background: #fff; padding: 5px; flex-shrink: 0;
}
.scf-tool-info { flex: 1; min-width: 0; }
.scf-tool-nameline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scf-tool-name     { font-size: 18px; font-weight: 800; color: #064e3b; }
.scf-tool-tagline  { font-size: 13px; color: #64748b; margin-top: 2px; }
.scf-badge-pill {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: #fff;
}
.scf-stars-row { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.scf-stars     { color: #f59e0b; font-size: 15px; letter-spacing: -1px; }
.scf-stars-num { color: #374151; font-size: 13px; font-weight: 600; }
.scf-best-for  { color: #64748b; font-size: 12px; margin-left: 4px; }

.scf-price-row  { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.scf-price-from { font-size: 20px; font-weight: 800; color: #059669; }
.scf-price-note { font-size: 13px; color: #64748b; }

.scf-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }
.scf-highlight-item { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #374151; }
.scf-highlight-check { color: #059669; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.scf-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 14px 20px;
  background: #059669; color: #fff !important;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  text-decoration: none !important; transition: all .15s ease;
  font-family: inherit; cursor: pointer; border: none;
}
.scf-cta-btn:hover { background: #047857; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,150,105,.35); color: #fff !important; }
.scf-cta-disclaimer { text-align: center; font-size: 11px; color: #9ca3af; margin-top: 6px; }

/* ── ALTERNATIVES ── */
.scf-alts-title { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.scf-alt-card {
  background: #f0fdf4; border: 1.5px solid #d1fae5;
  border-radius: 14px; padding: 13px 15px; margin-bottom: 9px;
  transition: border-color .15s, background .15s;
}
.scf-alt-card:hover { border-color: #059669; background: #ecfdf5; }
.scf-alt-top  { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.scf-alt-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; border: 1px solid #d1fae5; background: #fff; padding: 4px; flex-shrink: 0; }
.scf-alt-body { flex: 1; min-width: 0; }
.scf-alt-nameline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.scf-alt-name  { font-size: 14px; font-weight: 700; color: #064e3b; }
.scf-alt-badge { padding: 1px 7px; border-radius: 10px; font-size: 10px; font-weight: 700; color: #fff; }
.scf-alt-price { font-size: 12px; color: #059669; font-weight: 600; margin-top: 2px; }
.scf-alt-cta {
  padding: 7px 13px; background: #fff;
  border: 1.5px solid #059669; color: #047857;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: all .14s;
}
.scf-alt-cta:hover { background: #059669; color: #fff; text-decoration: none; }

/* ── PASSUNG BAR ── */
.scf-match-bar-wrap { display: flex; align-items: center; gap: 10px; }
.scf-match-label { font-size: 12px; color: #64748b; white-space: nowrap; flex-shrink: 0; min-width: 52px; }
.scf-match-track { flex: 1; height: 8px; background: #d1fae5; border-radius: 99px; overflow: hidden; }
.scf-match-fill  { height: 100%; border-radius: 99px; transition: width .7s cubic-bezier(.4,0,.2,1); }
.scf-match-pct   { font-size: 13px; font-weight: 700; color: #374151; min-width: 36px; text-align: right; flex-shrink: 0; }

/* ── LOGO FALLBACK ── */
.scf-logo-fallback {
  border-radius: 10px; background: #d1fae5;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #065f46; flex-shrink: 0;
}

/* ── FOOTER ── */
.scf-results-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #d1fae5;
  gap: 12px; flex-wrap: wrap;
}
.scf-restart-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 2px solid #d1fae5;
  border-radius: 8px; padding: 7px 13px;
  font-size: 13px; font-weight: 600; color: #64748b;
  cursor: pointer; font-family: inherit; transition: all .13s;
}
.scf-restart-btn:hover { border-color: #a7f3d0; color: #065f46; }
.scf-affiliate-note { font-size: 11px; color: #9ca3af; max-width: 300px; line-height: 1.5; text-align: right; }

/* ══ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 640px) {
  .scf-header { padding: 20px 16px 16px; }
  .scf-body   { padding: 18px 14px; }

  .scf-answers--3col { grid-template-columns: repeat(2, 1fr); }
  .scf-answers--2col { grid-template-columns: 1fr; }
  .scf-answers--1col { flex-direction: column; }

  .scf-winner-ribbon { display: none; }
  .scf-highlights    { grid-template-columns: 1fr; }
  .scf-results-footer { flex-direction: column; align-items: flex-start; }
  .scf-affiliate-note { text-align: left; max-width: 100%; }
  .scf-priority-continue { align-self: stretch; justify-content: center; }
}
@media (max-width: 380px) {
  .scf-answers--3col { grid-template-columns: repeat(2, 1fr); }
  .scf-answer-label  { font-size: 12px; }
  .scf-answer-sub    { display: none; }
}
