/* Shared styles for every Digi Bannister scorecard funnel page. Page-specific tweaks go in a per-page <style>, not here. */
:root {
  --bg: #0c0f14;
  --bg-card: #14181f;
  --bg-card-hover: #1a1f28;
  --accent: #3ee8b5;
  --accent-dim: rgba(62, 232, 181, 0.12);
  --accent-glow: rgba(62, 232, 181, 0.25);
  --text: #e8eaed;
  --text-dim: #8b919a;
  --text-dark: #0c0f14;
  --danger: #ff6b6b;
  --warn: #ffd166;
  --success: #3ee8b5;
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.ambient-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,232,181,0.08), transparent 70%);
  top: -200px; right: -200px;
}
.ambient-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(62,232,181,0.05), transparent 70%);
  bottom: -100px; left: -150px;
}

.section {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.section.active { display: flex; }

.landing {
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 80px;
}

.logo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeDown 0.6s ease forwards;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
}
.logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.hero {
  max-width: 720px;
  text-align: center;
  margin-bottom: 56px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(62,232,181,0.15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeDown 0.6s 0.15s ease forwards;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeDown 0.6s 0.3s ease forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeDown 0.6s 0.45s ease forwards;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 40px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px var(--accent-glow);
  opacity: 0;
  animation: fadeDown 0.6s 0.6s ease forwards;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px var(--accent-glow), 0 8px 30px rgba(0,0,0,0.3);
}
.cta-btn svg { width: 18px; height: 18px; }

.cta-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
  opacity: 0;
  animation: fadeDown 0.6s 0.7s ease forwards;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 860px;
  width: 100%;
  margin-bottom: 64px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px 24px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.value-card:nth-child(1) { animation-delay: 0.8s; }
.value-card:nth-child(2) { animation-delay: 0.9s; }
.value-card:nth-child(3) { animation-delay: 1.0s; }
.value-card .icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.value-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  max-width: 700px;
  width: 100%;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.5s 1.1s ease forwards;
}
.proof-item { text-align: center; }
.proof-item .num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.proof-item .label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credibility {
  max-width: 620px;
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.5s 1.2s ease forwards;
}
.credibility p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}
.credibility strong { color: var(--text); }

.quiz {
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  justify-content: center;
}

.quiz-container { max-width: 600px; width: 100%; }

.quiz-progress { margin-bottom: 40px; }
.quiz-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.quiz-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px var(--accent-glow);
}

.quiz-step { display: none; }
.quiz-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}
.quiz-step h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.quiz-step .step-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.form-group input, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder { color: var(--text-dim); }

/* POPIA consent checkbox */
.consent-group {
  margin-top: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.consent-group label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.consent-group label a {
  color: var(--accent);
  text-decoration: none;
}
.consent-group label a:hover {
  text-decoration: underline;
}
.consent-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.option-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  width: 100%;
}
.option-btn:hover {
  border-color: rgba(62,232,181,0.3);
  background: var(--bg-card-hover);
}
.option-btn.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.option-btn .check {
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.option-btn.selected .check {
  border-color: var(--accent);
  background: var(--accent);
}
.option-btn.selected .check::after {
  content: '\2713';
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.btn-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-back:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }
.btn-next {
  background: var(--accent);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  margin-left: auto;
}
.btn-next:hover { box-shadow: 0 0 30px var(--accent-glow); transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

.results {
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
}
.results-container { max-width: 680px; width: 100%; }

.score-display {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeIn 0.6s ease;
}
.score-ring-wrapper {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto 24px;
}
.score-ring-wrapper svg { transform: rotate(-90deg); }
.score-ring-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 10; }
.score-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-number .value {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}
.score-number .out-of {
  font-size: 14px;
  color: var(--text-dim);
}
.score-label {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.score-summary {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

.insights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.insight-card:nth-child(1) { animation-delay: 0.3s; }
.insight-card:nth-child(2) { animation-delay: 0.5s; }
.insight-card:nth-child(3) { animation-delay: 0.7s; }
.insight-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.insight-icon.strength { background: rgba(62,232,181,0.12); }
.insight-icon.gap { background: rgba(255,107,107,0.12); }
.insight-icon.action { background: rgba(255,209,102,0.12); }
.insight-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.insight-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.results-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card), rgba(62,232,181,0.05));
  border: 1px solid rgba(62,232,181,0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  opacity: 0;
  animation: fadeUp 0.5s 0.9s ease forwards;
}
.results-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.results-cta p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.results-cta .cta-btn {
  opacity: 1;
  animation: none;
}
.wa-btn {
  background: #25D366 !important;
  box-shadow: 0 0 40px rgba(37,211,102,0.25) !important;
}
.wa-btn:hover {
  box-shadow: 0 0 60px rgba(37,211,102,0.3), 0 8px 30px rgba(0,0,0,0.3) !important;
}
.wa-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.wa-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
  margin-bottom: 20px;
}
.alt-cta {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.alt-cta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
  transition: opacity 0.2s;
}
.alt-cta a:hover { opacity: 0.8; }
.spots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--warn);
  margin-top: 16px;
  font-weight: 600;
}
.spots .dot {
  width: 6px; height: 6px;
  background: var(--warn);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Calendly booking section */
.booking {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px;
}
.booking-container { max-width: 700px; width: 100%; }
.booking h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  animation: fadeDown 0.5s 0.2s ease forwards;
  opacity: 0;
}
.booking p.booking-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
  text-align: center;
  animation: fadeDown 0.5s 0.35s ease forwards;
  opacity: 0;
}
.calendly-embed {
  min-height: 1000px;
  animation: fadeUp 0.5s 0.5s ease forwards;
  opacity: 0;
}
.calendly-embed iframe {
  width: 100% !important;
  height: 1000px !important;
}
.booking .alt-cta {
  text-align: center;
  margin-top: 24px;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 600px) {
  .landing { padding: 28px 18px 60px; }
  .hero { margin-bottom: 40px; }
  .proof-bar { gap: 24px; }
  .quiz { padding: 28px 18px; }
  .results { padding: 40px 18px; }
  .booking { padding: 40px 18px; }
  .quiz-step h2 { font-size: 20px; }
  .calendly-embed { min-height: 1100px; }
}

/* ── Playbook additions (bonus stack, currency line, tier offer, FAQ) ── */
.bonus-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeDown 0.6s 0.8s ease forwards;
}
.bonus-list li { display: inline; }
.bonus-list li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

.currency-line {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px !important;
  max-width: none !important;
}
.tier-offer {
  font-size: 14px;
  color: var(--text);
  background: var(--accent-dim);
  border: 1px solid rgba(62,232,181,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 auto 20px;
  max-width: 460px;
}
.tier-offer:empty { display: none; }

.faq {
  max-width: 620px;
  width: 100%;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.5s 1.3s ease forwards;
}
.faq h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
