/* ============================================================
   OPC 适合性测评系统 - Premium Stylesheet
   设计语言：Navy & Gold · Glass Morphism · Fluid Motion
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  /* Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --border: #e2e8f0;
  --border-light: #e8edf4;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --accent: #1e3a8a;
  --accent-light: #3b82f6;
  --gold: #d4af37;
  --gold-light: #f0d77b;
  --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, #d4af37 0%, #f0d77b 100%);
  --gradient-bg: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(59,130,246,0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at bottom right, rgba(212,175,55,0.06) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
}

[data-theme="dark"] {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1525;
  --bg-tertiary: #151c30;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --border: #1e293b;
  --border-light: #1a2538;
  --glass-bg: rgba(21, 28, 48, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --accent: #60a5fa;
  --accent-light: #93c5fd;
  --gold: #f0d77b;
  --gold-light: #fde68a;
  --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, #d4af37 0%, #f0d77b 100%);
  --gradient-bg: linear-gradient(180deg, #0a0e1a 0%, #0d1424 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(59,130,246,0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at bottom right, rgba(212,175,55,0.08) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(96, 165, 250, 0.2);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--gradient-bg);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-light);
  color: white;
}

/* ===== Top Bar ===== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: white;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.brand-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* ===== Glass Utility ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Welcome Screen ===== */
.welcome-screen {
  min-height: 100vh;
}

.hero {
  text-align: center;
  padding: 80px 32px 60px;
  background: var(--gradient-hero);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-sub {
  color: var(--text-primary);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeInUp 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meta-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.meta-unit {
  font-size: 16px;
  font-weight: 600;
}

.meta-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 6px;
  font-weight: 500;
}

.meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-1);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  animation: fadeInUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

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

.btn-small {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-tertiary);
}

.btn-ghost.invisible {
  opacity: 0;
  pointer-events: none;
}

.btn-primary.invisible {
  opacity: 0;
  pointer-events: none;
}

/* ===== Magnetic Effect ===== */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== OPC Info Section ===== */
.opc-info,
.methodology {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

/* ===== Advantages Grid ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.advantage-card {
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: white;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Method Cards ===== */
.method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.method-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-card:hover {
  transform: translateY(-2px);
}

.method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.method-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.method-weight {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ===== Welcome Footer ===== */
.welcome-footer {
  text-align: center;
  padding: 40px 32px 60px;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ============================================================
   Assessment Screen
   ============================================================ */
.assessment-screen {
  min-height: 100vh;
}

.assessment-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Progress Section */
.progress-section {
  margin-bottom: 48px;
}

.progress-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.cat-pill.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.cat-pill.done {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border-color: rgba(34, 197, 94, 0.2);
}

.progress-bar-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.progress-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* Question Section */
.question-section {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-category {
  margin-bottom: 20px;
}

.cat-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid;
  letter-spacing: 0.5px;
}

.question-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.question-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Options */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-1);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom;
}

.option-card:hover {
  border-color: var(--accent-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.option-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.option-card.selected {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.option-card.selected::before {
  transform: scaleY(1);
}

[data-theme="dark"] .option-card.selected {
  background: rgba(96, 165, 250, 0.1);
}

.option-radio {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}

.option-card.selected .option-radio {
  border-color: var(--accent);
}

.option-card.selected .option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--gradient-1);
  border-radius: 50%;
}

.option-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}

.option-checkbox.checked {
  border-color: var(--accent);
  background: var(--gradient-1);
}

.option-checkbox.checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.option-content {
  flex: 1;
}

.option-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.option-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 3px;
}

.option-check {
  width: 24px;
  height: 24px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.option-check::after {
  content: '';
  width: 8px;
  height: 5px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px);
}

.btn-confirm-multi {
  margin-top: 8px;
  padding: 14px;
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.btn-confirm-multi.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-confirm-multi.active:hover {
  transform: translateY(-2px);
}

/* Navigation Bar */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.nav-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s ease;
}

.nav-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient-1);
}

.nav-dot.done {
  background: var(--text-tertiary);
}

/* ============================================================
   Results Screen
   ============================================================ */
.results-screen {
  min-height: 100vh;
}

.results-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Score Hero */
.score-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-circle-wrap {
  position: relative;
  flex-shrink: 0;
}

.score-ring {
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.score-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.score-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 1px;
}

.score-info {
  flex: 1;
}

.score-verdict {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.score-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Radar Section */
.radar-section {
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
  animation: fadeInUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.radar-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.radar-wrap {
  display: flex;
  justify-content: center;
}

#radarChart {
  max-width: 100%;
  height: auto;
}

/* Result Sections */
.result-section {
  margin-bottom: 40px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.result-section-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.result-icon {
  font-size: 24px;
}

/* Dimension Cards */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.dim-card {
  padding: 22px;
}

.dim-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dim-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.dim-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  flex: 1;
}

.dim-weight {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.dim-score-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.dim-score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dim-score-num {
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dim-score-num span {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Blockers */
.blockers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blocker-card {
  padding: 24px;
  border-left: 4px solid var(--color-danger);
}

.blocker-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blocker-tag {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border-radius: 6px;
}

.blocker-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.blocker-detail {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.blocker-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 10px;
  font-size: 13px;
  color: var(--accent);
  line-height: 1.6;
}

[data-theme="dark"] .blocker-suggestion {
  background: rgba(96, 165, 250, 0.08);
}

.blocker-suggestion svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* Strengths */
.strengths-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.strength-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.strength-score {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.strength-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.strength-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Recommendations */
.recommendations {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.recommendation-card {
  padding: 28px;
  position: relative;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.recommendation-card.top-pick {
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1), var(--glass-shadow);
}

.rec-rank {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
}

.rec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.rec-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}

.rec-title-wrap {
  flex: 1;
}

.rec-title-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rec-match {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rec-match-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  max-width: 200px;
}

.rec-match-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rec-match-num {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rec-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rec-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.rec-factor-tag {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border-radius: 6px;
}

.rec-meta {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 20px;
}

.rec-meta-item {
  display: flex;
  flex-direction: column;
}

.rec-meta-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rec-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.rec-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.rec-pros h4,
.rec-cons h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rec-pros h4 {
  color: var(--color-success);
}

.rec-cons h4 {
  color: var(--color-warning);
}

.rec-pros ul,
.rec-cons ul {
  list-style: none;
  padding: 0;
}

.rec-pros li,
.rec-cons li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.rec-pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.rec-cons li::before {
  content: '!';
  position: absolute;
  left: 0;
  color: var(--color-warning);
  font-weight: 700;
}

.rec-best-for {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

[data-theme="dark"] .rec-best-for {
  background: rgba(96, 165, 250, 0.08);
}

/* Subdivision Chart */
.subdivision-chart-wrap {
  padding: 28px;
}

.subdivision-chart-wrap h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

#subdivisionChart {
  width: 100%;
}

/* Suggestions */
.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.suggestion-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.3s ease;
}

.suggestion-card.priority-high {
  border-left: 4px solid var(--color-warning);
}

.suggestion-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: white;
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  flex-shrink: 0;
}

.suggestion-info {
  flex: 1;
}

.suggestion-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.priority-badge {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
  border-radius: 4px;
}

.suggestion-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Results Actions */
.results-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 48px 0 32px;
}

.results-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.7;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 768px) {
  .top-bar {
    padding: 16px 20px;
  }

  .hero {
    padding: 48px 20px 40px;
  }

  .hero-meta {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .meta-divider {
    display: none;
  }

  .meta-num {
    font-size: 26px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .assessment-container {
    padding: 24px 16px 40px;
  }

  .progress-categories {
    gap: 6px;
  }

  .cat-pill {
    font-size: 11px;
    padding: 5px 10px;
  }

  .question-title {
    font-size: 22px;
  }

  .nav-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-dots {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .score-hero {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .score-number {
    font-size: 42px;
  }

  .score-verdict {
    font-size: 22px;
  }

  .rec-pros-cons {
    grid-template-columns: 1fr;
  }

  .rec-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .dim-grid {
    grid-template-columns: 1fr;
  }

  .results-actions {
    flex-direction: column;
  }

  .results-actions button {
    width: 100%;
    justify-content: center;
  }

  #radarChart {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .question-title {
    font-size: 20px;
  }

  .option-card {
    padding: 14px 16px;
  }

  .option-label {
    font-size: 14px;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ============================================================
   Level Suggestions
   ============================================================ */
.level-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.level-suggestion-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.3s ease;
}

.level-suggestion-card.priority-high {
  border-left: 4px solid var(--color-warning);
}

.level-suggestion-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-2);
  color: white;
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  flex-shrink: 0;
}

.level-suggestion-info {
  flex: 1;
}

.level-suggestion-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.level-suggestion-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Incubation Section
   ============================================================ */
.incubation-section {
  margin-bottom: 40px;
}

.incubation-card {
  padding: 32px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.incubation-intro {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.incubation-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.incubation-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 16px;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.incubation-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.incubation-brand p {
  font-size: 14px;
  color: var(--text-secondary);
}

.incubation-why {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.incubation-match {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 14px;
  margin-bottom: 28px;
}

.incubation-match h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.incubation-match p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.incubation-highlights {
  margin-bottom: 28px;
}

.incubation-highlights h4,
.incubation-process h4,
.incubation-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.incubation-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.incubation-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.incubation-highlight-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.incubation-highlight-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.incubation-highlight-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.process-step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  color: white;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
}

.process-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.incubation-contact {
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
}

.contact-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.incubation-cta {
  text-align: center;
  padding-top: 8px;
}

.incubation-cta a {
  text-decoration: none;
  display: inline-flex;
}

/* ============================================================
   Poster Modal
   ============================================================ */
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.poster-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.poster-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: var(--bg-tertiary);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.poster-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.poster-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: none;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.poster-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.poster-modal-body {
  flex: 1;
  overflow: auto;
  padding: 24px;
  display: flex;
  justify-content: center;
  background: var(--bg-secondary);
}

.poster-canvas-wrap {
  width: 360px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  line-height: 0;
}

.poster-canvas-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

.poster-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   Additional Responsive
   ============================================================ */
@media (max-width: 768px) {
  .incubation-highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .incubation-card {
    padding: 22px;
  }
  
  .poster-modal-content {
    max-width: 100%;
  }
  
  .poster-modal-body {
    padding: 16px;
  }
}

