/* ═══════════════════════════════════════════════════
   NUMBR DIAGNOSTIC — Design System & Styles
   ═══════════════════════════════════════════════════ */

:root {
  /* Colors — Primitive */
  --blue-500: #045cd3;
  --blue-600: #0765e8;
  --blue-100: #c8d7ff;
  --blue-50: #e1eaf8;
  --green-500: #00d872;
  --green-50: #edfafa;
  --orange-500: #ff4f12;
  --orange-700: #c2410c;
  --orange-50: #ffe7e3;
  --red-500: #ff2244;
  --yellow-500: #f59e0b;
  --yellow-50: #fef3c7;

  /* Neutrals */
  --black: #000000;
  --gray-600: #42505c;
  --gray-400: #999999;
  --gray-200: #f6f7fb;
  --gray-100: #f3f3f3;
  --gray-border: #e4e4e4;
  --white: #ffffff;

  /* Semantic */
  --color-primary: var(--blue-500);
  --color-primary-hover: var(--blue-600);
  --color-bg: var(--gray-200);
  --color-surface: var(--white);
  --color-text: var(--black);
  --color-text-secondary: var(--gray-600);
  --color-text-muted: var(--gray-400);
  --color-border: var(--gray-border);
  --color-success: var(--green-500);
  --color-warning: var(--yellow-500);
  --color-danger: var(--red-500);

  /* Typography */
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ═══════════════════════════════════════════════════
   SCREEN MANAGEMENT
   ═══════════════════════════════════════════════════ */

.screen {
  display: none;
  animation: fadeIn var(--transition-slow) ease;
}

.screen.active {
  display: block;
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(4, 92, 211, 0.3);
}

.btn--primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(4, 92, 211, 0.4);
  transform: translateY(-1px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(4, 92, 211, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--blue-50);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 12px 16px;
}

.btn--ghost:hover {
  background: var(--gray-100);
  color: var(--color-text);
}

.btn--sm { font-size: 13px; padding: 8px 16px; }
.btn--lg { font-size: 17px; padding: 16px 32px; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
}

.header__logo-img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer__logo-img {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}

.header__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-fast);
}

.header__link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header__link-arrow {
  transition: transform var(--transition-fast);
}

.header__link:hover .header__link-arrow {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════ */

.screen--landing {
  padding-top: 80px;
}

.landing {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  min-height: calc(100vh - 80px);
}

.landing__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
  animation: slideUp 600ms ease both;
}

.landing__headline {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  animation: slideUp 600ms 100ms ease both;
}

.landing__headline-accent {
  display: block;
  color: var(--color-primary);
}

.landing__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 540px;
  animation: slideUp 600ms 200ms ease both;
}

.landing__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  animation: slideUp 600ms 300ms ease both;
}

.landing__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.landing__bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

#btn-start {
  animation: slideUp 600ms 400ms ease both;
}

.landing__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  animation: slideUp 600ms 500ms ease both;
}

/* Radar preview */
.landing__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleIn 800ms 300ms ease both;
}

.landing__radar-preview {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-preview-svg {
  width: 100%;
  height: 100%;
}

.landing__radar-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radar-label {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radar-label--top { top: 8px; left: 50%; transform: translateX(-50%); }
.radar-label--right { top: 38%; right: 4px; }
.radar-label--bottom-right { bottom: 14%; right: 12px; }
.radar-label--bottom-left { bottom: 14%; left: 12px; }
.radar-label--left { top: 38%; left: 4px; }

/* ═══════════════════════════════════════════════════
   QUIZ
   ═══════════════════════════════════════════════════ */

.screen--quiz {
  padding-top: 60px;
}

.quiz {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

/* Progress */
.quiz__progress {
  margin-bottom: var(--space-10);
}

.quiz__progress-bar {
  height: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.quiz__progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
  width: 0%;
}

.quiz__progress-dimensions {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.quiz__dimension-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--color-text-muted);
  transition: all var(--transition-normal);
  position: relative;
}

.quiz__dimension-icon.active {
  background: var(--blue-50);
  color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.quiz__dimension-icon.completed {
  background: var(--color-primary);
  color: var(--white);
}

.quiz__dimension-icon svg {
  width: 18px;
  height: 18px;
}

.quiz__progress-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--color-text-muted);
}

.quiz__progress-sep {
  opacity: 0.5;
}

/* Question */
.quiz__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: fadeIn var(--transition-normal) ease;
}

.quiz__dimension-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--blue-50);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
  width: fit-content;
}

.quiz__dimension-badge svg {
  width: 16px;
  height: 16px;
}

.quiz__shortcut-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  float: right;
  margin-top: -14px;
}

.quiz__question {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

/* Options */
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.quiz__option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  position: relative;
}

@media (hover: hover) {
  .quiz__option:hover {
    border-color: var(--blue-100);
    background: var(--blue-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }
}

.quiz__option.selected {
  border-color: var(--color-primary);
  background: var(--blue-50);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.quiz__option-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz__option.selected .quiz__option-number {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

@media (hover: hover) {
  .quiz__option:hover .quiz__option-number {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

.quiz__option-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  padding-top: 3px;
}

.quiz__option.selected .quiz__option-text {
  color: var(--color-text);
}

/* Navigation */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

/* ═══════════════════════════════════════════════════
   GATE (LEAD CAPTURE)
   ═══════════════════════════════════════════════════ */

.screen--gate {
  padding-top: 60px;
}

.gate {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.gate__preview {
  text-align: center;
  margin-bottom: var(--space-10);
}

.gate__check-icon {
  margin-bottom: var(--space-5);
  animation: scaleIn 400ms ease both;
}

.gate__check-icon svg {
  display: inline-block;
}

.gate__title {
  font-size: 28px;
  margin-bottom: var(--space-5);
  animation: slideUp 400ms 100ms ease both;
}

.gate__score-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: slideUp 400ms 200ms ease both;
}

.gate__profile-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--blue-50);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.gate__score-text {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Form */
.gate__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  animation: slideUp 400ms 300ms ease both;
}

.gate__form-intro {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 92, 211, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(255, 34, 68, 0.1);
}

.form-error {
  display: block;
  font-size: 12px;
  color: var(--color-danger);
  margin-top: var(--space-1);
  min-height: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.form-checkbox input {
  display: none;
}

.form-checkbox__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition-fast);
}

.form-checkbox input:checked + .form-checkbox__mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox input:checked + .form-checkbox__mark::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.form-checkbox a {
  text-decoration: underline;
}

/* Unlock info */
.gate__unlock-info {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.gate__unlock-info p {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.gate__unlock-info ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gate__unlock-info li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: var(--space-5);
  position: relative;
}

.gate__unlock-info li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   LOADING
   ═══════════════════════════════════════════════════ */

.screen--loading {
  padding-top: 60px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  text-align: center;
  padding: var(--space-6);
}

.loading__spinner {
  margin-bottom: var(--space-8);
}

.loading__circle {
  animation: spin 1.2s linear infinite;
  transform-origin: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading__title {
  font-size: 24px;
  margin-bottom: var(--space-3);
  animation: slideUp 400ms ease both;
}

.loading__step {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  transition: opacity var(--transition-fast);
}

.loading__dots {
  display: flex;
  gap: var(--space-2);
}

.loading__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.3;
  animation: dotPulse 1.4s ease-in-out infinite;
}

.loading__dots span:nth-child(2) { animation-delay: 0.2s; }
.loading__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* ═══════════════════════════════════════════════════
   RESULTS
   ═══════════════════════════════════════════════════ */

.screen--results {
  padding-top: 60px;
}

.results {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}

/* Header */
.results__header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
  animation: slideUp 400ms ease both;
  flex-wrap: wrap;
}

.results__profile-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.results__profile-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results__profile-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.results__profile-tagline {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}

.results__score-summary {
  flex: 1;
  min-width: 200px;
}

.results__score-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.results__score-label {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-left: var(--space-2);
}

.results__maturity-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
}

.results__maturity-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.results__maturity-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.results__actions-top {
  display: flex;
  gap: var(--space-2);
}

/* Bottleneck */
.results__bottleneck {
  background: var(--orange-50);
  border: 1px solid rgba(255, 79, 18, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  animation: slideUp 400ms 200ms ease both;
}

.results__bottleneck-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-700);
  margin-bottom: var(--space-2);
}

.results__bottleneck-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.results__bottleneck-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.results__bottleneck-stat {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 79, 18, 0.15);
  font-style: italic;
}

/* Tabs */
.results__tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
  animation: slideUp 400ms 300ms ease both;
}

.results__tab {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.results__tab:hover {
  color: var(--color-text-secondary);
  background: var(--gray-100);
}

.results__tab.active {
  color: var(--color-primary);
  background: var(--blue-50);
}

/* Panels */
.results__panel {
  display: none;
  animation: fadeIn var(--transition-normal) ease;
}

.results__panel.active {
  display: block;
}

/* Profile tab */
.results__radar-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.results__radar-container canvas {
  max-width: 400px;
  max-height: 400px;
}

.results__profile-description {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.results__profile-description h3 {
  font-size: 18px;
  margin-bottom: var(--space-3);
}

.results__profile-description p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Dimensions tab */
.results__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.results__bar-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5) var(--space-6);
}

.results__bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.results__bar-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.results__bar-score {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.results__bar-track {
  height: 10px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.results__bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-red { background: var(--color-danger); }
.bar-yellow { background: var(--color-warning); }
.bar-green { background: var(--color-success); }

.score-red { color: var(--color-danger); }
.score-yellow { color: var(--color-warning); }
.score-green { color: var(--color-success); }

/* Areas tab */
.results__area-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.results__area-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.results__area-header:hover {
  background: var(--gray-100);
}

.results__area-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.results__area-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.results__area-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.results__area-chevron {
  transition: transform var(--transition-fast);
  color: var(--color-text-muted);
}

.results__area-block.open .results__area-chevron {
  transform: rotate(180deg);
}

.results__area-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
}

.results__area-block.open .results__area-body {
  display: block;
}

.results__area-signal,
.results__area-impact,
.results__area-stat {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.results__area-signal strong,
.results__area-impact strong {
  font-weight: 700;
  color: var(--color-text);
}

.results__area-stat {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: italic;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

/* Plan tab */
.results__plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.results__plan-header h3 {
  font-size: 18px;
}

.results__plan-counter {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--blue-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.results__action-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  border-left: 4px solid transparent;
  transition: all var(--transition-fast);
}

.results__action-card.urgency-week {
  border-left-color: var(--color-danger);
}

.results__action-card.urgency-month {
  border-left-color: var(--color-warning);
}

.results__action-card.completed {
  opacity: 0.5;
}

.results__action-urgency {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.urgency-week .results__action-urgency { color: var(--color-danger); }
.urgency-month .results__action-urgency { color: var(--color-warning); }

.results__action-title-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.results__action-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-top: 2px;
}

.results__action-checkbox.checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.results__action-checkbox.checked::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.results__action-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.results__action-meta {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.results__action-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  color: var(--color-text-secondary);
}

.results__action-reason {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.results__action-result {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.results__action-numbr {
  font-size: 13px;
  color: var(--color-primary);
  background: var(--blue-50);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  line-height: 1.5;
}

/* CTA Section */
.results__cta-section {
  margin-top: var(--space-10);
}

.results__cta-card {
  background: linear-gradient(135deg, var(--color-primary), var(--blue-600));
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(4, 92, 211, 0.3);
}

.results__cta-card h3 {
  font-size: 24px;
  margin-bottom: var(--space-3);
  color: var(--white);
}

.results__cta-card p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: var(--space-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn--white {
  background: var(--white);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.results__cta-contextual {
  font-size: 13px;
  opacity: 0.7;
  margin-top: var(--space-4);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer {
  background: var(--white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-6);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 1120px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .landing {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-top: var(--space-10);
  }

  .landing__visual {
    order: -1;
  }

  .landing__radar-preview {
    max-width: 280px;
    padding: var(--space-6);
  }

  .radar-label { font-size: 9px; }

  .quiz__shortcut-hint {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .results__header {
    flex-direction: column;
    text-align: center;
  }

  .results__actions-top {
    width: 100%;
    justify-content: center;
  }

  .results__tabs {
    overflow-x: auto;
  }

  .results__tab {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 12px;
  }

  .btn--lg {
    font-size: 15px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .landing__headline {
    font-size: 28px;
  }

  .landing__subtitle {
    font-size: 16px;
  }

  .quiz__question {
    font-size: 20px;
  }

  .quiz__option {
    padding: var(--space-4);
  }

  .gate__form-wrapper {
    padding: var(--space-5);
  }

  .results__header {
    padding: var(--space-5);
  }
}
