:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #e5e7eb;
  --primary: #111827;
  --primary-soft: #1f2937;
  --accent: #7c3aed;
  --accent-2: #2563eb;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --danger: #dc2626;
  --warning: #d97706;
  --success: #059669;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(124,58,237,0.10), transparent 30%),
    radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.bda-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.bda-hidden { display: none !important; }
.bda-site-main { min-height: 60vh; }
.bda-section { padding: 32px 0 16px; }
.bda-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(229,231,235,0.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.bda-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248,250,252,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,0.75);
}
.bda-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.bda-brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.bda-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bda-nav a:not(.bda-btn) { color: var(--muted); font-weight: 600; }
.bda-hero { padding: 42px 0 14px; }
.bda-hero-grid, .bda-grid-3, .bda-result-grid { display: grid; gap: 20px; }
.bda-hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
.bda-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bda-hero-card, .bda-side-card, .bda-info-card, .bda-quiz-shell, .bda-score-card, .bda-gate-card, .bda-final-cta, .bda-result-main, .bda-result-side { padding: 30px; }
.bda-eyebrow, .bda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.bda-eyebrow, .bda-badge-info { background: var(--accent-soft); color: var(--accent); }
.bda-badge-warning { background: #fef3c7; color: var(--warning); }
.bda-badge-success { background: #dcfce7; color: var(--success); }
h1, h2, h3, h4, p { margin: 0; }
h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; }
h4 { font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.7; }
.bda-lead { font-size: 18px; max-width: 780px; margin-bottom: 22px; }
.bda-lead.small { font-size: 17px; }
.bda-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.bda-btn {
  appearance: none; border: none; cursor: pointer; border-radius: 18px;
  padding: 16px 22px; font-size: 15px; font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.bda-btn:hover { transform: translateY(-1px); }
.bda-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; box-shadow: 0 14px 28px rgba(37,99,235,0.20);
}
.bda-btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.bda-btn-small { padding: 12px 16px; font-size: 14px; }
.bda-pill-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.bda-pill {
  border-radius: 999px; padding: 10px 14px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--primary-soft);
}
.bda-side-card { display: grid; gap: 16px; }
.bda-mini-stat {
  border-radius: 22px; background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--line); padding: 22px;
}
.bda-mini-stat strong { display: block; font-size: 30px; margin-bottom: 6px; letter-spacing: -0.03em; }
.bda-panel-center { text-align: center; max-width: 820px; margin: 0 auto; }
.bda-quiz-section { padding-bottom: 60px; }
.bda-progress-wrap { margin-bottom: 28px; }
.bda-progress-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.bda-progress-bar { width: 100%; height: 12px; background: #edf2f7; border-radius: 999px; overflow: hidden; }
.bda-progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%); transition: width .25s ease; }
.bda-question-block { min-height: 290px; }
.bda-question-type {
  display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent); background: var(--accent-soft);
  padding: 8px 12px; border-radius: 999px; margin-bottom: 16px;
}
.bda-question-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 26px; max-width: 800px; }
.bda-answers { display: grid; gap: 14px; }
.bda-answer-btn {
  width: 100%; text-align: left; padding: 18px 20px; border-radius: 18px; background: #fff; color: var(--text);
  border: 1px solid var(--line); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bda-answer-btn:hover { border-color: #c4b5fd; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,58,237,0.08); }
.bda-answer-btn.selected { border-color: var(--accent); background: #f5f3ff; box-shadow: 0 10px 24px rgba(124,58,237,0.14); }
.bda-quiz-note { margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 700; }
.bda-quiz-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.bda-result-grid { grid-template-columns: 1.05fr 0.95fr; margin-bottom: 22px; }
.bda-score-big { font-size: clamp(46px, 8vw, 78px); line-height: 1; letter-spacing: -0.06em; margin: 12px 0; }
.bda-list { display: grid; gap: 12px; margin-top: 16px; }
.bda-list-item { display: flex; align-items: flex-start; gap: 10px; }
.bda-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text); margin-top: 9px; flex-shrink: 0; }
.bda-side-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.bda-score-card { margin: 0 0 22px; }
.bda-score-grid, .bda-recommend-grid, .bda-plan-grid { display: grid; gap: 16px; margin-top: 16px; }
.bda-score-row, .bda-recommend-card, .bda-plan-card {
  border-radius: 22px; background: #fff; border: 1px solid var(--line); padding: 22px;
}
.bda-score-row-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.bda-score-label, .bda-score-value { font-weight: 800; }
.bda-tiny-bar { width: 100%; height: 10px; background: #edf2f7; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.bda-tiny-fill { height: 100%; border-radius: 999px; }
.bda-gate-card { text-align: center; margin-bottom: 22px; }
.bda-lead-form { display: grid; gap: 14px; max-width: 620px; margin: 18px auto 0; }
.bda-input {
  width: 100%; border-radius: 18px; border: 1px solid var(--line); padding: 16px 18px; font-size: 15px;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.bda-input:focus { border-color: #c4b5fd; box-shadow: 0 0 0 4px rgba(196,181,253,0.25); }
.bda-foot-note { font-size: 13px; margin-top: 12px; }
.bda-final-cta { margin-top: 22px; }
.bda-footer { border-top: 1px solid rgba(229,231,235,0.9); padding: 28px 0 42px; }
.bda-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .bda-hero-grid, .bda-grid-3, .bda-result-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bda-container { width: min(100% - 20px, 1140px); }
  .bda-header-inner, .bda-nav, .bda-actions, .bda-quiz-nav { flex-direction: column; align-items: stretch; }
  .bda-nav { gap: 12px; }
  .bda-btn { width: 100%; }
  .bda-hero-card, .bda-side-card, .bda-info-card, .bda-quiz-shell, .bda-score-card, .bda-gate-card, .bda-final-cta, .bda-result-main, .bda-result-side { padding: 22px; }
}
