/* ==========================================
   CineAHO K-WAIS-IV Wechsler Intelligence Test
   Design System & Styling
   ========================================== */

/* 1. Root & HSL Theme Colors */
:root {
  --font-wais: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-gold: #fbbf24;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  
  --grad-purple: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  --grad-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-red: linear-gradient(135deg, #ef4444 0%, #be123c 100%);
  
  --glow-purple: rgba(168, 85, 247, 0.15);
  --glow-blue: rgba(59, 130, 246, 0.12);
}

/* Light Theme overrides */
:root, [data-theme="light"] {
  --wais-bg: #f8fafc;
  --wais-panel-bg: rgba(255, 255, 255, 0.65);
  --wais-panel-border: rgba(15, 23, 42, 0.08);
  --wais-text-main: #0f172a;
  --wais-text-secondary: #475569;
  --wais-text-muted: #94a3b8;
  --wais-input-bg: rgba(15, 23, 42, 0.03);
  --wais-input-border: rgba(15, 23, 42, 0.1);
  --wais-card-shadow: 0 10px 30px 0 rgba(148, 163, 184, 0.12);
  --wais-btn-secondary: rgba(15, 23, 42, 0.05);
  --wais-table-header-bg: rgba(15, 23, 42, 0.03);
  --wais-table-row-hover: rgba(168, 85, 247, 0.04);
}

/* Dark Theme overrides */
[data-theme="dark"] {
  --wais-bg: #070913;
  --wais-panel-bg: rgba(14, 20, 38, 0.6);
  --wais-panel-border: rgba(255, 255, 255, 0.06);
  --wais-text-main: #f1f5f9;
  --wais-text-secondary: #94a3b8;
  --wais-text-muted: #64748b;
  --wais-input-bg: rgba(255, 255, 255, 0.03);
  --wais-input-border: rgba(255, 255, 255, 0.08);
  --wais-card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  --wais-btn-secondary: rgba(255, 255, 255, 0.05);
  --wais-table-header-bg: rgba(255, 255, 255, 0.02);
  --wais-table-row-hover: rgba(168, 85, 247, 0.06);
}

/* 2. Base resets */
body {
  background-color: var(--wais-bg);
  color: var(--wais-text-main);
  font-family: var(--font-wais);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.wais-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 20px 40px 20px;
}

.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.bg-glow-purple {
  top: -150px;
  left: -100px;
  background: var(--glow-purple);
}

.bg-glow-blue {
  bottom: -150px;
  right: -100px;
  background: var(--glow-blue);
}

/* 3. Panel Container Styles */
.wais-panel {
  padding: 35px;
  margin-bottom: 25px;
  border-radius: 24px;
}

/* Intro Screen Layout */
.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wais-text-secondary);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
  animation: iq-pulse 1.8s infinite;
}

@keyframes iq-pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.intro-content-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 40px;
  align-items: start;
}

.intro-text-section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 15px 0;
  letter-spacing: -0.04em;
}

.intro-text-section h2 .gradient-text {
  background: linear-gradient(135deg, var(--wais-text-main) 20%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--wais-text-secondary);
  margin-bottom: 25px;
}

.test-guide-box {
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
}

.test-guide-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.test-guide-box ul {
  padding-left: 20px;
  margin: 0;
}

.test-guide-box li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--wais-text-secondary);
  margin-bottom: 6px;
}

.test-guide-box li:last-child {
  margin-bottom: 0;
}

.btn-start-test {
  background: var(--grad-purple);
  color: white !important;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-start-test:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

/* Intro Cards Grid */
.intro-indices-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.index-intro-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 18px;
  transition: border-color 0.25s, transform 0.25s;
}

.index-intro-card:hover {
  transform: translateX(4px);
  border-color: rgba(168, 85, 247, 0.25);
}

.index-intro-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-purple { background: rgba(168, 85, 247, 0.1); color: var(--accent-purple); }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.icon-gold { background: rgba(251, 191, 36, 0.1); color: var(--accent-gold); }
.icon-red { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }

.index-intro-card .card-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.index-intro-card .card-text p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--wais-text-secondary);
  margin: 0;
}

/* 4. Active Test Container Styles */
.test-progress-header {
  margin-bottom: 25px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.current-index-label {
  font-size: 1rem;
  font-weight: 700;
}

.question-index-label {
  font-size: 0.85rem;
  color: var(--wais-text-secondary);
  font-weight: 600;
}

.progress-bar-container {
  height: 6px;
  background: var(--wais-input-bg);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--grad-purple);
  width: 8%;
  border-radius: 10px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Domain guide text */
.domain-guide {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--wais-panel-border);
  padding-bottom: 18px;
  margin-bottom: 25px;
}

.domain-guide i {
  font-size: 1.8rem;
}

.domain-guide h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.domain-guide p {
  font-size: 0.85rem;
  color: var(--wais-text-secondary);
  margin: 0;
}

/* Question layouts */
.question-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 25px;
}

.choices-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.choice-card-btn {
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  color: var(--wais-text-main);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.2s ease;
}

.choice-card-btn:hover {
  background: var(--wais-panel-bg);
  border-color: var(--accent-purple);
  transform: translateY(-1px);
}

.choice-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--wais-panel-border);
  color: var(--accent-purple);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.choice-card-btn:hover .choice-marker {
  background: var(--accent-purple);
  color: white;
}

/* PRI SVG Matrix container */
.matrix-display-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.matrix-svg-card {
  padding: 15px;
  background: rgba(255,255,255,0.02);
  border: 1.5px solid var(--wais-panel-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Choices grid for visual reasoning (PRI) */
.choices-grid-pri {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.choice-pri-card {
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 14px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.choice-pri-card:hover {
  background: var(--wais-panel-bg);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.choice-pri-marker {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--wais-panel-border);
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-pri-card:hover .choice-pri-marker {
  background: var(--accent-blue);
  color: white;
}

/* WMI Digit Span Digital board */
.wmi-digital-board {
  height: 160px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--wais-panel-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.wmi-digital-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.digital-digit {
  font-family: 'Outfit', monospace;
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.35);
  letter-spacing: 5px;
  line-height: 1;
  transition: transform 0.1s ease;
}

.digital-digit.pulse {
  transform: scale(1.1);
}

.digital-guide-text {
  font-size: 0.82rem;
  color: var(--wais-text-secondary);
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wmi-input-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
}

.wmi-text-input {
  width: 100%;
  padding: 15px;
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-input-border);
  border-radius: 12px;
  color: var(--wais-text-main);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  outline: none;
  letter-spacing: 6px;
  box-sizing: border-box;
  transition: all 0.25s;
}

.wmi-text-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
}

.btn-wmi-submit {
  width: 100%;
  background: var(--grad-gold);
  color: white !important;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-wmi-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(251, 191, 36, 0.25);
}

/* PSI Symbol Search Board Layout */
.psi-game-wrapper {
  margin-top: 15px;
}

.psi-timer-bar-container {
  height: 8px;
  background: var(--wais-input-bg);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.psi-timer-fill {
  height: 100%;
  background: var(--grad-red);
  width: 100%;
  border-radius: 10px;
  transition: width 0.1s linear;
}

.psi-scoreboard {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--wais-text-secondary);
  font-weight: 600;
  margin-bottom: 25px;
}

.psi-scoreboard strong {
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
}

#psi-time-left { color: var(--accent-red); }
#psi-score-counter { color: var(--accent-green); }

.psi-game-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 18px;
}

.psi-target-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(239, 68, 68, 0.25);
  border-radius: 14px;
}

.psi-target-row span.label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
}

.psi-symbol-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--wais-panel-border);
  font-size: 1.6rem;
  color: var(--wais-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.psi-target-row .psi-symbol-box {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.psi-options-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.btn-psi-option {
  flex: 1;
  height: 52px;
  background: var(--wais-panel-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 12px;
  color: var(--wais-text-main);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-psi-option:hover {
  transform: translateY(-2px);
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.btn-psi-option:active {
  transform: translateY(0);
}

.btn-psi-option.option-none {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wais-text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

/* 5. Loading Scoring Spinner Layout */
.scoring-content {
  text-align: center;
  padding: 40px 10px;
}

.scoring-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.scoring-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 10px 0;
}

.scoring-content p {
  font-size: 0.88rem;
  color: var(--wais-text-secondary);
  margin-bottom: 30px;
}

/* Matrix Dot Simulation Animation */
.loading-matrix-simulation {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.matrix-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-purple);
  animation: matrix-bounce 1.4s infinite ease-in-out both;
}

.matrix-dot:nth-child(1) { animation-delay: -0.32s; background-color: var(--accent-purple); }
.matrix-dot:nth-child(2) { animation-delay: -0.16s; background-color: var(--accent-blue); }
.matrix-dot:nth-child(3) { animation-delay: -0.08s; background-color: var(--accent-gold); }
.matrix-dot:nth-child(4) { background-color: var(--accent-red); }

@keyframes matrix-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* 6. Report Dashboard Layout */
.report-hero-card {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 30px;
  padding: 30px;
  margin-bottom: 20px;
  align-items: center;
}

.report-hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--wais-panel-border);
  padding-right: 25px;
}

.iq-badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.iq-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wais-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#report-fsiq-value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin: 5px 0;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.iq-percentile {
  font-size: 0.88rem;
  color: var(--wais-text-secondary);
}

.iq-percentile strong {
  font-size: 1.05rem;
  color: var(--accent-purple);
  font-family: 'Outfit', sans-serif;
}

.iq-classification-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.iq-grade-tag {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
  margin-bottom: 10px;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.iq-brief-summary {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--wais-text-secondary);
  margin: 0;
}

/* Bell curve area */
.report-hero-right {
  display: flex;
  flex-direction: column;
}

.bell-curve-header {
  margin-bottom: 12px;
}

.bell-curve-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bell-curve-header span {
  font-size: 0.72rem;
  color: var(--wais-text-muted);
}

.canvas-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bell-curve-canvas {
  max-width: 100%;
  height: auto;
}

/* KPI Index Dashboard Grid */
.indices-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.kpi-index-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.kpi-index-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.kpi-index-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 6px 0;
}

.kpi-index-row h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.kpi-grade {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
}

.kpi-index-card p {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--wais-text-secondary);
  margin: 0;
}

.border-purple { border-left: 3.5px solid var(--accent-purple); }
.border-blue { border-left: 3.5px solid var(--accent-blue); }
.border-gold { border-left: 3.5px solid var(--accent-gold); }
.border-red { border-left: 3.5px solid var(--accent-red); }

/* Detail analysis cards grid */
.report-details-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-card {
  padding: 25px;
}

.chart-header {
  margin-bottom: 20px;
}

.chart-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-header span {
  font-size: 0.75rem;
  color: var(--wais-text-secondary);
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
}

/* Detailed table styling */
.table-scroll-container {
  overflow-x: auto;
  border-radius: 12px;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.report-table th {
  background: var(--wais-table-header-bg);
  color: var(--wais-text-secondary);
  font-weight: 600;
  padding: 12px 15px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.report-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--wais-panel-border);
  color: var(--wais-text-main);
}

.report-table tr:last-child td {
  border-bottom: none;
}

.report-table tr:hover td {
  background: var(--wais-table-row-hover);
}

/* Strengths & Weaknesses container */
.strengths-weaknesses-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.cognitive-block {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
}

.cognitive-block h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.border-green { border: 1px dashed rgba(16, 185, 129, 0.25); }
.border-red { border: 1px dashed rgba(239, 68, 68, 0.25); }

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-list li {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--wais-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.solution-list li::before {
  content: "•";
  font-weight: bold;
  margin-right: 4px;
}

.solution-list.solution-list li::before {
  color: var(--accent-purple);
}

.cognitive-block.border-green li::before {
  color: var(--accent-green);
}

.cognitive-block.border-red li::before {
  color: var(--accent-red);
}

/* Action plan roadmap steps */
.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card {
  background: var(--wais-input-bg);
  border: 1px solid var(--wais-panel-border);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.2s;
}

.step-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.05);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: white;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info {
  flex: 1;
}

.step-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--wais-text-main);
}

.step-info p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--wais-text-secondary);
  margin: 0;
}

/* Action buttons footer */
.report-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.btn-restart, .btn-home {
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-restart {
  background: var(--wais-btn-secondary);
  border: 1px solid var(--wais-panel-border);
  color: var(--wais-text-secondary);
}

.btn-restart:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wais-text-main);
}

.btn-home {
  background: var(--grad-purple);
  color: white !important;
}

.btn-home:hover {
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
  transform: translateY(-1px);
}

/* 7. Responsive Styles */
@media (max-width: 992px) {
  .intro-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .report-hero-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .report-hero-left {
    border-right: none;
    border-bottom: 1px solid var(--wais-panel-border);
    padding-right: 0;
    padding-bottom: 25px;
  }
  .indices-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .report-details-layout {
    grid-template-columns: 1fr;
  }
  .detail-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
  .choices-grid-pri {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wais-panel {
    padding: 20px;
  }
  .indices-kpi-grid {
    grid-template-columns: 1fr;
  }
  .strengths-weaknesses-container {
    grid-template-columns: 1fr;
  }
  .report-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Utility Hidden */
.hidden {
  display: none !important;
}
