/* =============================================
   CareerLens — Glass Dashboard Design
   Palette: Deep space navy + electric violet accent
   Signature: Animated glassmorphism cards with
   real-time particle background
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Space palette */
  --bg-deep:    #05070f;
  --bg-mid:     #090d1a;
  --bg-surface: #0e1225;

  /* Glass layers */
  --glass-1: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.06);
  --glass-3: rgba(255,255,255,0.09);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-bright: rgba(255,255,255,0.16);

  /* Accent — electric violet */
  --accent:       #7c3aed;
  --accent-bright:#a855f7;
  --accent-glow:  rgba(124,58,237,0.35);
  --accent-bg:    rgba(124,58,237,0.08);
  --accent-border:rgba(124,58,237,0.3);

  /* Secondary accent — cyan */
  --cyan:        #06b6d4;
  --cyan-glow:   rgba(6,182,212,0.25);
  --cyan-bg:     rgba(6,182,212,0.07);

  /* Status */
  --green:  #10b981;
  --amber:  #f59e0b;
  --coral:  #f43f5e;

  /* Text */
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Geometry */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-w: 1140px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === CANVAS BACKGROUND === */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* === CONTAINER === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* === GLASS MIXIN === */
.glass {
  background: var(--glass-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
}

.nav-inner-wrap {
  margin: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  background: rgba(9,13,26,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius-xl);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--text-2);
}

.nav-links a {
  transition: color var(--transition);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-1); }

.btn-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-nav:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--accent-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
}

/* === LANG SWITCHER === */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.lang-btn:hover { color: var(--text-1); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

/* Gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--accent-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.2s;
  box-shadow: 0 0 32px var(--accent-glow);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid var(--glass-border-bright);
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--accent-border);
  background: var(--accent-bg);
}

.hero-note { font-size: 12px; color: var(--text-3); }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: var(--glass-1);
}

.stat {
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid var(--glass-border);
}
.stat:last-child { border-right: none; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}
.stat span { font-size: 11px; color: var(--text-3); font-weight: 500; }

/* Hero dashboard mockup */
.hero-visual {
  position: relative;
}

.hero-dashboard {
  background: rgba(14,18,37,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 80px rgba(124,58,237,0.1);
  position: relative;
  overflow: hidden;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dashboard-dots span:nth-child(1) { background: #f43f5e; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.score-display {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.score-big {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.score-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.score-sub { font-size: 13px; color: var(--text-2); }

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.skill-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
}

.pill-missing {
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.25);
  color: #f43f5e;
}
.pill-match {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
}

.mini-bars { display: flex; flex-direction: column; gap: 8px; }

.mini-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.mini-bar-label { color: var(--text-3); width: 80px; flex-shrink: 0; }
.mini-bar-track {
  flex: 1;
  height: 4px;
  background: var(--glass-2);
  border-radius: 2px;
  overflow: hidden;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: bar-grow 1.5s ease forwards;
}
@keyframes bar-grow { from { width: 0 !important; } }

.mini-bar-val { color: var(--text-2); font-family: var(--font-mono); font-size: 11px; width: 28px; text-align: right; }

/* Floating badge */
.floating-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(16,185,129,0.4);
  animation: badge-bounce 3s ease-in-out infinite;
}
@keyframes badge-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === SECTION SHARED === */
section { padding: 100px 0; position: relative; z-index: 1; }

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--accent-bright);
  opacity: 0.4;
}

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 56px;
}

/* === PROBLEM / SOLUTION === */
.problem-solution {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.03), transparent);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ps-card {
  background: var(--glass-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.ps-card:hover { transform: translateY(-4px); }

.ps-problem { border-color: rgba(244,63,94,0.15); }
.ps-solution { border-color: rgba(124,58,237,0.2); background: rgba(124,58,237,0.03); }

.ps-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
}
.ps-problem .ps-icon { background: rgba(244,63,94,0.1); color: var(--coral); border: 1px solid rgba(244,63,94,0.2); }
.ps-solution .ps-icon { background: rgba(124,58,237,0.1); color: var(--accent-bright); border: 1px solid rgba(124,58,237,0.2); }

.ps-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }

.ps-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-2);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ps-card li:last-child { border-bottom: none; }
.ps-problem li::before { content: '×'; color: var(--coral); flex-shrink: 0; font-weight: 700; }
.ps-solution li::before { content: '→'; color: var(--accent-bright); flex-shrink: 0; }

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  background: var(--glass-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-2); }

.step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; padding-top: 40px;
  color: var(--accent-bright); font-size: 20px; flex-shrink: 0;
  opacity: 0.5;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--glass-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  background: var(--glass-2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  color: var(--accent-bright);
}

.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* === ANALYZER === */
.analyzer-section { padding: 100px 0 120px; }

.analyzer-intro {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 48px;
}

.analyzer-box {
  background: var(--glass-1);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.analyzer-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--cyan), transparent);
}

.analyzer-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.input-group { display: flex; flex-direction: column; gap: 10px; }

.input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.input-hint { font-size: 11px; font-weight: 400; color: var(--text-3); }

.analyzer-textarea {
  background: rgba(5,7,15,0.6);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  padding: 16px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 220px;
}
.analyzer-textarea:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-bg), inset 0 0 20px rgba(124,58,237,0.03);
}
.analyzer-textarea::placeholder { color: var(--text-3); }

.char-count { font-size: 11px; color: var(--text-3); text-align: right; font-family: var(--font-mono); }

.analyzer-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.btn-analyze {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 32px var(--accent-glow);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-analyze:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 48px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.3);
}
.btn-analyze:disabled { opacity: 0.5; cursor: not-allowed; }

.free-note { font-size: 12px; color: var(--text-3); }

/* === SPINNER === */
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === RESULTS === */
.results-section { margin-top: 40px; border-top: 1px solid var(--glass-border); padding-top: 40px; }

.result-score-card {
  display: flex; align-items: center; gap: 32px;
  background: rgba(124,58,237,0.05);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.score-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.score-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg-circle { fill: none; stroke: var(--glass-2); stroke-width: 8; }
.score-fill-circle {
  fill: none;
  stroke: url(#scoreGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1s ease;
}
.score-number {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: 8px;
}
.score-explanation { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Result tabs */
.result-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 28px;
  overflow-x: auto;
}

.result-tab {
  background: none; border: none;
  color: var(--text-3);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.result-tab:hover { color: var(--text-2); }
.result-tab.active { color: var(--accent-bright); border-bottom-color: var(--accent-bright); }

.result-panel { min-height: 160px; }
.panel-loading { color: var(--text-3); font-size: 14px; padding: 20px 0; }

/* Skills */
.skill-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--glass-border);
}
.skill-item:last-child { border-bottom: none; }

.skill-badge {
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; flex-shrink: 0;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-family: var(--font-mono);
}
.badge-high   { background: rgba(244,63,94,0.12); color: var(--coral); border: 1px solid rgba(244,63,94,0.25); }
.badge-medium { background: rgba(245,158,11,0.12); color: var(--amber); border: 1px solid rgba(245,158,11,0.25); }
.badge-low    { background: rgba(71,85,105,0.2); color: var(--text-3); border: 1px solid var(--glass-border); }

.skill-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.skill-info p  { font-size: 13px; color: var(--text-2); }

/* Improvements */
.improvement-item {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 16px;
}
.improvement-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px;
}
.improvement-before, .improvement-after {
  padding: 12px; border-radius: var(--radius-sm);
  font-size: 13px; line-height: 1.6; margin-bottom: 8px;
}
.improvement-before { background: rgba(244,63,94,0.05); border-left: 2px solid var(--coral); color: var(--text-2); }
.improvement-after  { background: rgba(124,58,237,0.05); border-left: 2px solid var(--accent-bright); color: var(--text-1); }
.improvement-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.before-label { color: var(--coral); }
.after-label  { color: var(--accent-bright); }
.improvement-reason { font-size: 12px; color: var(--text-3); margin-top: 8px; font-style: italic; }

/* Questions */
.question-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--glass-border); align-items: flex-start;
}
.question-item:last-child { border-bottom: none; }
.question-num {
  width: 28px; height: 28px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--accent-bright);
  flex-shrink: 0; font-family: var(--font-mono);
}
.question-item p { font-size: 14px; color: var(--text-1); line-height: 1.55; }

/* Roadmap */
.roadmap-item {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 16px;
}
.roadmap-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.roadmap-skill { font-size: 16px; font-weight: 600; }
.roadmap-weeks {
  font-size: 11px; font-weight: 700; color: var(--cyan);
  background: var(--cyan-bg); padding: 3px 12px;
  border-radius: 100px; border: 1px solid rgba(6,182,212,0.2);
  font-family: var(--font-mono);
}
.roadmap-resources { list-style: none; }
.roadmap-resources li {
  font-size: 13px; color: var(--text-2); padding: 4px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.roadmap-resources li::before { content: '→'; color: var(--accent-bright); flex-shrink: 0; }

/* Projects */
.project-item {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 16px;
}
.project-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--accent-bright); }
.project-item p { font-size: 13px; color: var(--text-2); }

/* Result actions */
.result-actions {
  display: flex; gap: 12px; margin-top: 28px;
  padding-top: 28px; border-top: 1px solid var(--glass-border);
}

.btn-secondary {
  background: var(--glass-2);
  border: 1px solid var(--glass-border-bright);
  color: var(--text-2);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: 100px;
  cursor: pointer; transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--accent-border);
  color: var(--accent-bright);
  background: var(--accent-bg);
}

/* Error */
.error-section { padding: 20px 0; }
.error-text { color: var(--coral); font-size: 14px; }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}

.testimonial-card {
  background: var(--glass-1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.testimonial-score {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--accent-bright);
  background: var(--accent-bg);
  display: inline-block; padding: 4px 12px;
  border-radius: 100px; margin-bottom: 16px;
  border: 1px solid var(--accent-border);
}

.testimonial-card p {
  font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span  { font-size: 12px; color: var(--text-3); }

/* === FAQ === */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--text-1); font-family: var(--font-body); font-size: 15px;
  font-weight: 500; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-bright); }
.faq-question::after {
  content: '+'; font-size: 20px; color: var(--text-3);
  flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--accent-bright); }
.faq-answer {
  font-size: 14px; color: var(--text-2); line-height: 1.65;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* === CTA === */
.cta-section {
  text-align: center; padding: 120px 24px;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px;
}
.cta-sub { font-size: 17px; color: var(--text-2); margin-bottom: 40px; }
.btn-large { font-size: 17px !important; padding: 16px 36px !important; }

/* === FOOTER === */
.footer {
  background: rgba(9,13,26,0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.65; }

.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong { font-size: 12px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; letter-spacing: 0.5px; }
.footer-col a { font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-bright); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
}
.footer-bottom p { font-size: 12px; color: var(--text-3); }

/* === PDF UPLOAD === */
.pdf-upload-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none;
  border: 1px dashed var(--glass-border-bright);
  color: var(--accent-bright);
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  cursor: pointer; transition: all 0.2s; margin-top: 6px;
}
.pdf-upload-btn:hover {
  background: var(--accent-bg);
  border-color: var(--accent-border);
}
.pdf-upload-input { display: none; }
.pdf-status { font-size: 12px; margin-top: 4px; min-height: 18px; font-family: var(--font-mono); }
.pdf-status.loading { color: var(--accent-bright); }
.pdf-status.success { color: var(--green); }
.pdf-status.error   { color: var(--coral); }

/* === RTL === */
[dir="rtl"] .hero-headline,
[dir="rtl"] .hero-sub,
[dir="rtl"] .section-headline { text-align: right; }
[dir="rtl"] .hero-cta { flex-direction: row-reverse; }
[dir="rtl"] .nav-inner-wrap { flex-direction: row-reverse; }
[dir="rtl"] .section-label::after { display: none; }
[dir="rtl"] .section-label::before { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--accent-bright); opacity: 0.4; }
[dir="rtl"] .step-arrow { transform: rotate(180deg); }
[dir="rtl"] body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .ps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); align-self: center; padding: 8px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .analyzer-inputs { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 100px 0 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .analyzer-box { padding: 20px; }
  .result-score-card { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
