:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent2: #8b5cf6;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --cyan: #06b6d4;
  --sidebar-w: 260px;
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --glow: 0 0 20px rgba(99,102,241,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
.bg-particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.gradient-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.12); top: -200px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.1); bottom: 10%; left: -100px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(16,185,129,0.08); top: 40%; right: 20%; animation-delay: 5s; }
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.app-layout {
  display: flex; min-height: 100vh; position: relative; z-index: 1;
}

.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, rgba(15,15,42,0.98) 0%, rgba(10,10,26,0.98) 100%);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 100;
  transition: transform var(--transition), width var(--transition);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(99,102,241,0.5)); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; color: var(--text-primary); letter-spacing: -0.3px; }
.logo-tag { font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-toggle {
  width: 32px; height: 32px; border: none; background: var(--bg-card); border-radius: 8px;
  color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.sidebar-toggle:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.sidebar-toggle svg { width: 16px; height: 16px; }

.sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; overflow-x: hidden; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.nav-section-label {
  font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 8px 6px; margin-bottom: 4px;
}
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text-secondary); font-weight: 500; font-size: 14px;
  text-decoration: none; transition: all var(--transition); position: relative; cursor: pointer;
}
.nav-item:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.nav-item.active {
  color: var(--text-primary); background: rgba(99,102,241,0.15);
  box-shadow: inset 0 0 0 1px rgba(99,102,241,0.2);
}
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%; background: var(--accent); border-radius: 0 3px 3px 0;
}
.nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 10px; padding: 1px 7px; display: none;
}
.nav-badge.show { display: block; }
.nav-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-left: auto;
}
.nav-dot.pulse { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.xp-section {
  padding: 12px 16px; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.xp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.xp-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.xp-level { font-size: 11px; font-weight: 700; color: var(--accent); }
.xp-bar-wrap {
  height: 6px; background: rgba(99,102,241,0.12); border-radius: 3px; overflow: hidden; margin-bottom: 4px;
}
.xp-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px; width: 0%; transition: width 1s var(--transition);
  box-shadow: 0 0 8px rgba(99,102,241,0.5);
}
.xp-numbers { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); }

.sidebar-profile {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; flex-shrink: 0;
}
.profile-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0;
}
.profile-avatar span { font-size: 16px; font-weight: 700; color: #fff; }
.avatar-ring {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-role { font-size: 11px; color: var(--text-muted); }
.profile-edit {
  width: 28px; height: 28px; border: none; background: var(--bg-card); border-radius: 7px;
  color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.profile-edit:hover { background: var(--bg-card-hover); color: var(--accent); }
.profile-edit svg { width: 13px; height: 13px; }

.main-content {
  flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column;
  min-height: 100vh; transition: margin-left var(--transition);
}

.top-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: var(--header-h);
  background: rgba(10,10,26,0.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50;
  flex-shrink: 0;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.mobile-menu-btn {
  display: none; width: 36px; height: 36px; border: 1px solid var(--border);
  background: var(--bg-card); border-radius: 8px; color: var(--text-primary);
  cursor: pointer; align-items: center; justify-content: center;
}
.mobile-menu-btn svg { width: 18px; height: 18px; }
.header-greeting h1 {
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary);
}
.header-greeting p { font-size: 13px; color: var(--text-secondary); }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-stats { display: flex; align-items: center; gap: 0; }
.hstat-item { display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.hstat-val { font-size: 18px; font-weight: 800; font-family: 'Outfit', sans-serif; color: var(--text-primary); }
.hstat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.hstat-divider { width: 1px; height: 32px; background: var(--border); }
.btn-chat-toggle {
  width: 42px; height: 42px; border: 1px solid var(--border); background: var(--bg-card);
  border-radius: 12px; color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: all var(--transition);
}
.btn-chat-toggle:hover { background: rgba(99,102,241,0.15); border-color: var(--accent); box-shadow: var(--glow); }
.btn-chat-toggle svg { width: 18px; height: 18px; }
.chat-online-dot {
  position: absolute; top: 8px; right: 8px; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%; border: 2px solid var(--bg-primary);
  animation: pulseDot 2s ease-in-out infinite;
}

.sections-wrapper { flex: 1; padding: 28px; overflow-y: auto; }
.page-section { display: none; animation: fadeInUp 0.4s ease; }
.page-section.active { display: block; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-hero { margin-bottom: 28px; }
.section-hero-title {
  font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--text-primary); line-height: 1.2; margin-bottom: 8px;
}
.section-hero-sub { font-size: 15px; color: var(--text-secondary); max-width: 600px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.section-count { font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(99,102,241,0.1); padding: 4px 10px; border-radius: 20px; }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 20px;
}
.stat-card { padding: 20px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.stat-card-bg {
  position: absolute; top: -20px; right: -20px; width: 100px; height: 100px;
  border-radius: 50%; background: var(--bg-color, rgba(99,102,241,0.08));
  pointer-events: none;
}
.stat-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(var(--icon-color, #6366f1), 0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(99,102,241,0.2);
}
.stat-card-icon { background: color-mix(in srgb, var(--icon-color, #6366f1) 12%, transparent); }
.stat-card-icon svg { width: 20px; height: 20px; color: var(--icon-color, #6366f1); stroke: var(--icon-color, #6366f1); }
.stat-card-content { flex: 1; }
.stat-label { font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value {
  font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--text-primary);
  line-height: 1.1; margin: 4px 0;
}
.career-val { font-size: 18px; }
.stat-trend { font-size: 12px; color: var(--text-secondary); }
.circular-ring-mini { position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; }
.circular-ring-mini svg { width: 100%; height: 100%; }
.stat-mini-bar-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: rgba(16,185,129,0.1); border-radius: 0 0 var(--radius) var(--radius);
}
.stat-mini-bar { height: 100%; background: linear-gradient(90deg, var(--green), #34d399); width: 0%; transition: width 1.5s ease; border-radius: inherit; }

.insight-banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(99,102,241,0.2); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 28px;
  animation: borderGlow 3s ease-in-out infinite;
}
@keyframes borderGlow {
  0%,100% { box-shadow: 0 0 10px rgba(99,102,241,0.1); }
  50% { box-shadow: 0 0 20px rgba(99,102,241,0.25); }
}
.insight-icon { font-size: 24px; flex-shrink: 0; }
.insight-text { flex: 1; font-size: 14px; color: var(--text-secondary); }
.insight-text strong { color: var(--text-primary); }
.insight-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none; border-radius: var(--radius-sm); padding: 8px 16px;
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--transition); white-space: nowrap; flex-shrink: 0;
}
.insight-cta:hover { transform: scale(1.05); box-shadow: var(--glow); }

.badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; transition: all var(--transition); position: relative; overflow: hidden;
}
.badge-item.earned {
  border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.05);
  box-shadow: 0 0 12px rgba(99,102,241,0.1);
}
.badge-item.earned:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 20px rgba(99,102,241,0.2); }
.badge-item.locked { opacity: 0.4; filter: grayscale(1); }
.badge-icon { font-size: 28px; line-height: 1; }
.badge-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.badge-desc { font-size: 10px; color: var(--text-muted); }
.badge-check {
  position: absolute; top: 8px; right: 8px; width: 16px; height: 16px;
  background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff;
}

.activity-list { display: flex; flex-direction: column; gap: 10px; }
.activity-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; animation: slideInLeft 0.3s ease;
}
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.activity-text { flex: 1; font-size: 13px; color: var(--text-secondary); }
.activity-text strong { color: var(--text-primary); }
.activity-time { font-size: 11px; color: var(--text-muted); }
.activity-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px; color: var(--text-muted); }
.empty-icon { font-size: 40px; opacity: 0.5; }

.generator-form { margin-bottom: 28px; }
.section-hero { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-label svg { width: 15px; height: 15px; }
.select-wrap { position: relative; }
.custom-select {
  width: 100%; padding: 12px 16px; padding-right: 40px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-family: 'Inter', sans-serif;
  font-size: 14px; appearance: none; cursor: pointer; transition: all var(--transition);
}
.custom-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.custom-select option { background: #1a1a3a; }
.select-arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-muted); pointer-events: none;
}
.form-actions { display: flex; justify-content: center; }
.btn-generate {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border: none; border-radius: 14px; padding: 14px 36px;
  color: #fff; font-size: 15px; font-weight: 700; font-family: 'Outfit', sans-serif;
  cursor: pointer; transition: all var(--transition); position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-generate::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-generate:hover::before { left: 100%; }
.btn-generate:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.5); }
.btn-generate:active { transform: translateY(0); }
.btn-generate-text { display: flex; align-items: center; gap: 10px; }
.btn-generate-text svg { width: 18px; height: 18px; }
.btn-loader { display: flex; align-items: center; gap: 8px; }
.btn-loader.hidden { display: none; }
.btn-generate-text.hidden { display: none; }
.spin-icon { width: 20px; height: 20px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.careers-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.career-preview-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; cursor: pointer; transition: all var(--transition); text-align: center;
}
.career-preview-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.cpcard-icon { font-size: 32px; margin-bottom: 8px; }
.cpcard-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.cpcard-salary { font-size: 12px; color: var(--green); font-weight: 600; }
.cpcard-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.roadmap-container { margin-top: 24px; }
.roadmap-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.roadmap-title-group { display: flex; align-items: center; gap: 12px; }
.roadmap-main-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--text-primary); }
.roadmap-badge { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(99,102,241,0.15); color: var(--accent); }
.roadmap-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.roadmap-timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2), transparent);
}

.timeline-step {
  display: flex; gap: 20px; position: relative; padding-bottom: 28px;
  animation: stepAppear 0.5s ease both;
}
@keyframes stepAppear {
  from { opacity: 0; transform: translateX(-20px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
.step-indicator {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0; position: relative; z-index: 2;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 3px solid var(--bg-primary); display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,0.4); flex-shrink: 0; transition: all var(--transition);
}
.timeline-step.completed .step-num { background: linear-gradient(135deg, var(--green), #34d399); box-shadow: 0 0 20px rgba(16,185,129,0.4); }
.step-content {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: all var(--transition);
}
.step-content:hover { border-color: var(--border-hover); transform: translateX(4px); }
.timeline-step.completed .step-content { border-color: rgba(16,185,129,0.2); background: rgba(16,185,129,0.03); }
.step-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.step-title-group { flex: 1; }
.step-category { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 4px; }
.step-title { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; color: var(--text-primary); }
.step-toggle {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition); flex-shrink: 0;
}
.step-toggle:hover { border-color: var(--green); color: var(--green); }
.timeline-step.completed .step-toggle { background: var(--green); border-color: var(--green); color: #fff; }
.step-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.step-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.step-duration { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.step-duration svg { width: 13px; height: 13px; }
.step-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 600;
  background: rgba(99,102,241,0.1); color: var(--accent); border: 1px solid rgba(99,102,241,0.2);
  transition: all 0.2s ease;
}
.skill-tag.missing { background: rgba(239,68,68,0.1); color: var(--red); border-color: rgba(239,68,68,0.2); }
.skill-tag.earned { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.2); }
.step-resources { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.resource-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border);
  transition: all 0.2s ease; cursor: default;
}
.resource-tag:hover { color: var(--text-primary); border-color: var(--border-hover); }

.skeleton { animation: shimmer 1.5s infinite; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-step {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%; border-radius: var(--radius); height: 120px; margin-bottom: 16px;
  animation: shimmer 1.5s infinite;
}

.btn-sm {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none; border-radius: var(--radius-sm); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.btn-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,0.3); }
.btn-ghost { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-hover); box-shadow: none; }
.hidden { display: none !important; }

.form-input {
  width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 14px;
  transition: all var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }

.progress-layout { display: grid; grid-template-columns: 340px 1fr; gap: 20px; }
.progress-left { display: flex; flex-direction: column; gap: 16px; }
.progress-right { display: flex; flex-direction: column; gap: 16px; }
.score-card { text-align: center; }
.card-title { font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.card-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.card-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.gap-badge { font-size: 12px; font-weight: 700; color: var(--red); background: rgba(239,68,68,0.1); padding: 3px 10px; border-radius: 20px; }
.circular-score-wrap { display: flex; justify-content: center; margin: 8px 0 16px; }
.circular-score { position: relative; width: 180px; height: 180px; }
.score-svg { width: 100%; height: 100%; }
#scoreCircle { transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1); }
.score-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-number { font-family: "Outfit", sans-serif; font-size: 48px; font-weight: 900; color: var(--text-primary); line-height: 1; }
.score-pct { font-size: 20px; font-weight: 700; color: var(--accent); }
.score-label-text { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.score-insight { background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.12); border-radius: var(--radius-sm); padding: 14px; display: flex; align-items: flex-start; gap: 10px; }
.insight-emoji { font-size: 20px; line-height: 1; flex-shrink: 0; }
.score-insight p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.skills-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.skills-stat-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.skills-stat-num { font-family: "Outfit", sans-serif; font-size: 28px; font-weight: 800; color: var(--text-primary); display: block; }
.skills-stat-label { font-size: 11px; color: var(--text-muted); }
.chart-card { flex: 1; }
.chart-wrap { position: relative; height: 220px; }
.progress-bars-card { flex: 1; }
.progress-bars-list { display: flex; flex-direction: column; gap: 14px; }
.prog-bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.prog-bar-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.prog-bar-pct { font-size: 12px; font-weight: 700; color: var(--accent); }
.prog-bar-track { height: 8px; background: rgba(99,102,241,0.1); border-radius: 4px; overflow: hidden; }
.prog-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 4px; width: 0%; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 0 6px rgba(99,102,241,0.4); }
.prog-bar-fill.green { background: linear-gradient(90deg, var(--green), #34d399); box-shadow: 0 0 6px rgba(16,185,129,0.4); }
.empty-state-sm { font-size: 13px; color: var(--text-muted); text-align: center; padding: 20px; }

.skill-gap-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gap-skill-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: default; }
.gap-skill-tag.have { background: rgba(16,185,129,0.1); color: var(--green); border: 1px solid rgba(16,185,129,0.25); }
.gap-skill-tag.missing { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.25); }
.gap-suggestion-item { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; font-size: 13px; color: var(--text-secondary); }
.gap-suggestion-item strong { color: var(--amber); }

.insights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 32px; }
.insight-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all var(--transition); }
.insight-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.insight-card-icon { font-size: 28px; margin-bottom: 12px; }
.insight-card-title { font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.insight-card-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.insight-card-tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

.gamification-section { margin-top: 12px; }
.gamification-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.gmc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all var(--transition); }
.gmc-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.gmc-icon { font-size: 36px; margin-bottom: 10px; }
.gmc-val { font-family: "Outfit", sans-serif; font-size: 32px; font-weight: 900; color: var(--text-primary); }
.gmc-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.level-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-top: 8px; }

.compare-selectors { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.compare-select-group { flex: 1; min-width: 180px; }
.compare-vs { font-family: "Outfit", sans-serif; font-size: 20px; font-weight: 900; color: var(--accent); padding-bottom: 8px; flex-shrink: 0; }
.btn-compare { background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; border-radius: var(--radius-sm); padding: 12px 24px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn-compare:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.compare-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all var(--transition); }
.compare-card:hover { border-color: var(--border-hover); }
.cc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cc-icon { font-size: 32px; }
.cc-title { font-family: "Outfit", sans-serif; font-size: 20px; font-weight: 800; color: var(--text-primary); }
.cc-meta { font-size: 12px; color: var(--text-secondary); }
.cc-stats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cc-stat { display: flex; justify-content: space-between; align-items: center; }
.cc-stat-label { font-size: 13px; color: var(--text-secondary); }
.cc-stat-val { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.cc-skills-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.cc-skills { display: flex; flex-wrap: wrap; gap: 6px; }

.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-btn { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--transition); }
.filter-btn:hover { color: var(--text-primary); border-color: var(--accent); }
.filter-btn.active { background: rgba(99,102,241,0.15); color: var(--accent); border-color: rgba(99,102,241,0.3); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all var(--transition); }
.project-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.proj-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.proj-title { font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 700; color: var(--text-primary); }
.proj-difficulty { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.proj-difficulty.easy { background: rgba(16,185,129,0.1); color: var(--green); }
.proj-difficulty.medium { background: rgba(245,158,11,0.1); color: var(--amber); }
.proj-difficulty.hard { background: rgba(239,68,68,0.1); color: var(--red); }
.proj-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.proj-meta { display: flex; align-items: center; justify-content: space-between; }
.proj-duration { font-size: 12px; color: var(--text-muted); }
.proj-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.proj-skill { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: rgba(99,102,241,0.08); color: var(--accent); }

.skill-graph-controls { display: flex; gap: 10px; margin-bottom: 20px; }
.sg-btn { padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.sg-btn:hover { color: var(--text-primary); border-color: var(--accent); }
.sg-btn.active { background: rgba(99,102,241,0.15); color: var(--accent); border-color: rgba(99,102,241,0.3); }
.skill-graph-canvas-wrap { background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; margin-bottom: 16px; }
.skill-graph-svg { width: 100%; display: block; }
.skill-graph-legend { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.completed-check { background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 7px; color: #fff; }

.chat-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
.chat-card { display: flex; flex-direction: column; height: 600px; padding: 0; overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.chat-ai-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 20px; position: relative; }
.ai-online-ring { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: var(--green); border: 2px solid var(--bg-primary); border-radius: 50%; }
.chat-ai-info { flex: 1; }
.chat-ai-name { font-size: 15px; font-weight: 700; color: var(--text-primary); display: block; }
.chat-ai-status { font-size: 11px; color: var(--green); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-end; }
.chat-msg.user-msg { flex-direction: row-reverse; }
.msg-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.msg-bubble { max-width: 75%; }
.msg-bubble p { background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 13px; color: var(--text-primary); line-height: 1.6; }
.user-msg .msg-bubble p { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.2); border-radius: 14px 14px 4px 14px; }
.msg-time { font-size: 10px; color: var(--text-muted); margin-top: 4px; display: block; padding: 0 4px; }
.user-msg .msg-time { text-align: right; }
.chat-typing { display: flex; align-items: center; gap: 6px; padding: 12px 14px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: typingBounce 1.2s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
.chat-quick-btns { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px; border-top: 1px solid var(--border); flex-shrink: 0; }
.quick-btn { font-size: 11px; font-weight: 500; padding: 5px 11px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; }
.quick-btn:hover { color: var(--accent); border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); }
.chat-input-row { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); flex-shrink: 0; }
.chat-input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary); font-family: "Inter", sans-serif; font-size: 13px; transition: all var(--transition); }
.chat-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(99,102,241,0.12); }
.chat-send-btn { width: 40px; height: 40px; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.chat-send-btn:hover { transform: scale(1.08); box-shadow: var(--glow); }
.chat-send-btn svg { width: 16px; height: 16px; stroke: #fff; }
.chat-sidebar-info { display: flex; flex-direction: column; gap: 14px; }
.chat-info-card .chat-topics { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.chat-topics li { font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.context-items { display: flex; flex-direction: column; gap: 10px; }
.context-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.context-item:last-child { border-bottom: none; }
.ctx-label { font-size: 12px; color: var(--text-muted); }
.ctx-val { font-size: 13px; font-weight: 600; color: var(--text-primary); }

.chat-float-panel {
  position: fixed; bottom: 24px; right: 24px; width: 340px;
  background: rgba(15,15,42,0.96); backdrop-filter: blur(24px);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 200;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(0.95); opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.chat-float-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.cfp-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cfp-ai-info { display: flex; align-items: center; gap: 10px; }
.cfp-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.cfp-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.cfp-status { font-size: 11px; color: var(--green); }
.cfp-close { width: 28px; height: 28px; border: none; background: var(--bg-card); border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cfp-close:hover { color: var(--red); background: rgba(239,68,68,0.1); }
.cfp-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; max-height: 280px; min-height: 160px; }
.cfp-msg { display: flex; gap: 8px; }
.cfp-msg.user { flex-direction: row-reverse; }
.cfp-bubble { max-width: 85%; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 12px 12px 12px 3px; padding: 10px 12px; font-size: 12px; color: var(--text-primary); line-height: 1.5; }
.cfp-msg.user .cfp-bubble { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.2); border-radius: 12px 12px 3px 12px; }
.cfp-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.cfp-input { flex: 1; padding: 8px 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 12px; font-family: "Inter", sans-serif; }
.cfp-input:focus { outline: none; border-color: var(--accent); }
.cfp-send { width: 34px; height: 34px; border: none; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfp-send svg { width: 14px; height: 14px; stroke: #fff; }

.badge-popup {
  position: fixed; top: 24px; right: 24px; z-index: 300;
  transform: translateX(calc(100% + 40px));
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.badge-popup.show { transform: translateX(0); }
.badge-popup-inner { background: rgba(15,15,42,0.97); backdrop-filter: blur(20px); border: 1px solid rgba(99,102,241,0.3); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(99,102,241,0.15); min-width: 280px; }
.badge-popup-icon { font-size: 36px; animation: badgeBounce 0.6s ease; }
@keyframes badgeBounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3) rotate(10deg); } }
.badge-popup-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.badge-popup-name { font-family: "Outfit", sans-serif; font-size: 17px; font-weight: 800; color: var(--text-primary); }
.badge-popup-desc { font-size: 12px; color: var(--text-secondary); }

.xp-popup {
  position: fixed; bottom: 80px; right: 24px; z-index: 300;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-family: "Outfit", sans-serif; font-size: 18px; font-weight: 800;
  padding: 10px 20px; border-radius: 12px; box-shadow: var(--glow);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.xp-popup.show { opacity: 1; transform: translateY(0); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 400; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-panel { max-width: 400px; width: 90%; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { font-family: "Outfit", sans-serif; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.modal-close { width: 30px; height: 30px; border: none; background: var(--bg-card); border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--red); }
.modal-body { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; }

.color-picker-row { display: flex; gap: 10px; flex-wrap: wrap; }
.color-btn { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: all 0.2s ease; }
.color-btn:hover, .color-btn.active { border-color: #fff; transform: scale(1.15); }

.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 90; }
.mobile-overlay.active { display: block; }

@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .progress-layout { grid-template-columns: 1fr; }
  .progress-left { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-260px); width: 260px; }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .mobile-menu-btn { display: flex; }
  .chat-layout { grid-template-columns: 1fr; }
  .compare-cards-grid { grid-template-columns: 1fr; }
  .header-stats { display: none; }
  .section-hero-title { font-size: 24px; }
}
@media (max-width: 640px) {
  .sections-wrapper { padding: 16px; }
  .top-header { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .progress-left { grid-template-columns: 1fr; }
  .careers-preview { grid-template-columns: repeat(2, 1fr); }
  .compare-selectors { flex-direction: column; }
  .compare-vs { text-align: center; }
  .chat-float-panel { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .badge-popup { right: 12px; top: 12px; }
}
@media (max-width: 400px) {
  .careers-preview { grid-template-columns: 1fr; }
}
