/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
}

/* === Variables === */
:root {
  --slalom-blue: #0C62FB;
  --slalom-blue-hover: #0a52d4;
  --slalom-dark: #0a1628;
  --blue-light: #EDF2FF;
  --blue-lighter: #F5F8FF;
  --red: #E53935;
  --orange: #FB8C00;
  --green: #43A047;
  --blue: #1E88E5;
  --gray-50: #fafbfc;
  --gray-100: #f0f2f5;
  --gray-200: #e4e7ec;
  --gray-300: #d1d5db;
  --gray-400: #9da4b0;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 10px 20px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --max-width: 680px;
  --transition: 0.2s ease;
}

/* === Layout === */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
.section-landing {
  padding: 0;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-brand img {
  display: block;
}
.header-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slalom-blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 4px;
}
.header-controls {
  display: flex;
  align-items: center;
}

/* Language Toggle Pill */
.lang-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 14px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--gray-500);
  transition: all var(--transition);
}
.lang-btn:hover {
  color: var(--gray-700);
}
.lang-btn.active {
  background: var(--slalom-blue);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--slalom-blue);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: var(--slalom-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12,98,251,0.3);
}
.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--gray-200);
}
.btn-white {
  background: white;
  color: var(--slalom-dark);
  font-weight: 700;
}
.btn-white:hover:not(:disabled) {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-lg {
  padding: 14px 40px;
  font-size: 17px;
  border-radius: var(--radius);
}
.btn-block {
  width: 100%;
}
.btn-link {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 12px;
  display: block;
  text-align: center;
  width: 100%;
}
.btn-link:hover {
  color: var(--gray-700);
}

/* === Landing Page === */
.landing-hero-bg {
  width: 100%;
  background: linear-gradient(135deg, var(--slalom-dark) 0%, #142240 50%, #0C62FB 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.landing-hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(12,98,251,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.landing-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(12,98,251,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.landing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.landing-logo {
  margin-bottom: 32px;
  opacity: 0.9;
}
.landing-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.landing-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.landing-body {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Value Cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.value-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.value-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.value-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E8F5E9;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

/* === Quiz Section === */
.quiz-container {
  max-width: var(--max-width);
  width: 100%;
  padding: 88px 24px 40px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}
.stepper-step.active {
  color: var(--slalom-blue);
  font-weight: 600;
}
.stepper-step.done {
  color: var(--green);
}
.stepper-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  flex-shrink: 0;
}
.stepper-step.active .stepper-dot {
  background: var(--slalom-blue);
  color: white;
}
.stepper-step.done .stepper-dot {
  background: var(--green);
  color: white;
}
.stepper-line {
  width: 40px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
}
.stepper-step.done + .stepper-line {
  background: var(--green);
}

/* Progress */
.progress-container { margin-bottom: 24px; }
.progress-text {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 500;
}
.progress-track {
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--slalom-blue);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Question Card */
.question-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
  min-height: 280px;
}
.question-segment-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--blue-light);
  color: var(--slalom-blue);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.question-text {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--gray-800);
}
.question-hint {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* Option Cards */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  width: 100%;
}
.option-card:hover {
  border-color: rgba(12,98,251,0.4);
  background: var(--blue-lighter);
}
.option-card.selected {
  border-color: var(--slalom-blue);
  border-left-width: 4px;
  background: var(--blue-lighter);
}
.option-card.selected .option-radio {
  border-color: var(--slalom-blue);
  background: var(--slalom-blue);
}
.option-card.selected .option-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}
.option-card.selected .option-check {
  border-color: var(--slalom-blue);
  background: var(--slalom-blue);
}
.option-card.selected .option-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* Radio indicator */
.option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

/* Checkbox indicator */
.option-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

/* Option content */
.option-content {
  flex: 1;
  min-width: 0;
}
.option-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}
.option-description {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1.4;
}

/* Quiz Navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* === Qualifying === */
.qualifying-intro {
  text-align: center;
  margin-bottom: 28px;
}
.qualifying-intro h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}
.qualifying-intro p {
  font-size: 14px;
  color: var(--gray-500);
}

/* === GDPR Gate === */
.gate-container {
  max-width: 520px;
  width: 100%;
  padding: 88px 24px 40px;
}
.gate-score-preview {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
}
.gate-score-preview canvas {
  display: block;
}
.gate-score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 800;
  color: var(--slalom-blue);
}
.gate-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}
.gate-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
}
.gate-form {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  transition: all var(--transition);
  background: var(--gray-50);
}
.form-group input:focus {
  outline: none;
  border-color: var(--slalom-blue);
  box-shadow: 0 0 0 3px rgba(12,98,251,0.1);
  background: white;
}
.form-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin: -2px 0 8px;
  line-height: 1.4;
}
.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--slalom-blue);
}
.form-check label {
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1.5;
}

/* === Results === */
.results-container {
  max-width: 800px;
  width: 100%;
  padding: 88px 24px 60px;
}
.results-hero {
  text-align: center;
  margin-bottom: 40px;
}
.score-gauge {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
}
.score-gauge canvas {
  display: block;
}
.score-gauge-value {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 52px;
  font-weight: 800;
  color: var(--slalom-blue);
}
.score-gauge-label {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}
.maturity-badge {
  margin-bottom: 16px;
}
.maturity-pill {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.3px;
}
.result-headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--gray-800);
}
.result-summary {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Card */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-800);
}

/* Radar Chart */
#radar-chart {
  max-width: 640px;
  margin: 0 auto;
  display: block;
}

/* Dimension Breakdown */
.dimension-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.dimension-item {
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.dimension-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dimension-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
}
.dimension-score {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-700);
}
.dimension-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.dimension-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.dimension-level {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 0.3px;
}
.dimension-diagnosis {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 10px;
  line-height: 1.5;
}
.dimension-action {
  font-size: 13px;
  color: var(--slalom-blue);
  margin-top: 4px;
  font-weight: 600;
  line-height: 1.5;
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.insight-card {
  padding: 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.insight-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-800);
}
.insight-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Actions */
.actions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.action-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.action-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slalom-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.action-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-800);
}
.action-content p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* CTA Section */
.results-cta-section {
  margin: 32px -28px -28px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.results-cta-inner {
  background: linear-gradient(135deg, var(--slalom-dark) 0%, #142240 50%, #0C62FB 100%);
  padding: 48px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
}
.cta-logo {
  margin-bottom: 16px;
  opacity: 0.85;
}
.cta-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.cta-learn-more {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.cta-learn-more:hover {
  color: white;
}

/* Event QR */
.event-qr {
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

/* Restart */
.restart-row {
  text-align: center;
  padding: 20px 0;
}

/* === Responsive === */
@media (max-width: 640px) {
  .landing-title { font-size: 2rem; }
  .landing-subtitle { font-size: 1rem; }
  .landing-hero-bg { padding: 80px 20px 60px; }
  .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; align-items: center; gap: 12px; }
  .question-card { padding: 24px; }
  .gate-form { padding: 24px; }
  .quiz-container { padding-top: 76px; }
  .gate-container { padding-top: 76px; }
  .results-container { padding-top: 76px; }
  .results-cta-inner { padding: 36px 20px; }
  .stepper-line { width: 24px; }
  #radar-chart { max-width: 320px; }
}

@media (max-width: 400px) {
  .landing-title { font-size: 1.6rem; }
  .question-card { padding: 18px; }
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.question-card {
  animation: fadeIn 0.3s ease;
}
