/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #f8f9fb;
  color: #1a2332;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* === LAYOUT === */
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* === SECTIONS === */
.section-hidden { display: none !important; }
.section-visible { animation: fadeUp .5s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(165deg, #f8f9fb 0%, #eef1f6 50%, #e4e9f2 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,35,50,.04) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-container { position: relative; z-index: 1; }

.hero-badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a2332;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #5a6577;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: #8896a6;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #e8870e;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(232,135,14,.3);
}
.btn-primary:hover { background: #d47a0a; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,135,14,.4); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 18px 44px; font-size: 17px; }

.btn-next {
  margin-top: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 10px 20px;
  background: none;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  color: #5a6577;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.btn-back:hover { border-color: #1a2332; color: #1a2332; }

/* === QUIZ === */
#quiz {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: #f8f9fb;
}
.quiz-container { text-align: center; width: 100%; }

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: #e0e4ea;
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #1a2332;
  border-radius: 100px;
  width: 16.66%;
  transition: width .4s ease;
}
.progress-label {
  font-size: 13px;
  font-weight: 600;
  color: #8896a6;
  white-space: nowrap;
}

.quiz-step h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-hint {
  font-size: 14px;
  color: #8896a6;
  margin-bottom: 8px;
}

.quiz-step { animation: fadeUp .4s ease both; }

/* === CARDS === */
.cards-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.cols-1 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

.card-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  background: #fff;
  border: 2px solid #e8ecf1;
  border-radius: 14px;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 15px;
  font-weight: 600;
  color: #1a2332;
  text-align: center;
  font-family: inherit;
}
.card-option svg { color: #8896a6; transition: color .2s; }
.card-option:hover { border-color: #1a2332; background: #fcfcfd; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,35,50,.08); }
.card-option:hover svg { color: #1a2332; }
.card-option.selected { border-color: #1a2332; background: #1a2332; color: #fff; box-shadow: 0 4px 20px rgba(26,35,50,.2); }
.card-option.selected svg { color: #fff; }

.card-sm { padding: 20px 12px; font-size: 14px; }
.card-wide { flex-direction: row; justify-content: flex-start; padding: 18px 24px; text-align: left; }

@media (max-width: 600px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .card-sm { padding: 16px 10px; font-size: 13px; }
}
@media (max-width: 400px) {
  .cols-2 { grid-template-columns: 1fr; }
}

/* === RESULTS === */
#results {
  padding: 60px 0 40px;
  background: #f8f9fb;
}
.results-container { animation: fadeUp .5s ease both; }

.results-header {
  text-align: center;
  margin-bottom: 48px;
}
.results-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.results-header p {
  font-size: 17px;
  color: #5a6577;
  margin-top: 12px;
}

/* Gauge */
.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}
.gauge-svg { width: 220px; height: 130px; }
.gauge-score {
  font-size: 48px;
  font-weight: 800;
  color: #1a2332;
  margin-top: -8px;
}
.gauge-score span { font-size: 20px; color: #8896a6; font-weight: 500; }
.gauge-label {
  font-size: 16px;
  color: #5a6577;
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
  max-width: 400px;
}

/* Areas */
.areas-section { margin-bottom: 56px; }
.areas-section h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.area-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.area-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.area-icon.red { background: #fef2f2; color: #dc2626; }
.area-icon.amber { background: #fffbeb; color: #d97706; }
.area-icon.blue { background: #eff6ff; color: #2563eb; }
.area-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.area-content p { font-size: 14px; color: #5a6577; line-height: 1.6; }

/* Process cards */
.process-section { margin-bottom: 56px; }
.process-section h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.process-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.process-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1a2332;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.process-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-card p { font-size: 14px; color: #5a6577; line-height: 1.6; }

@media (min-width: 600px) {
  .process-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Social proof */
.proof-section {
  margin-bottom: 56px;
  text-align: center;
}
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.proof-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #1a2332;
}
.proof-stat span { font-size: 14px; color: #5a6577; }
.proof-logos {
  font-size: 13px;
  color: #a0aab8;
  margin-top: 16px;
}
.proof-logos-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.proof-logo-placeholder {
  width: 100px;
  height: 36px;
  background: #e8ecf1;
  border-radius: 8px;
}

/* CTA */
.cta-section {
  background: #1a2332;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
.cta-section h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  color: #b0bac8;
  margin-bottom: 28px;
  line-height: 1.6;
}
.cta-section .btn-primary { font-size: 16px; padding: 18px 40px; }
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: #6b7a8d;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: #8896a6;
}
footer a { color: #5a6577; text-decoration: none; }
footer a:hover { color: #1a2332; }
