/* ============================================================
   NavDisha — Main Design System
   Premium Career Guidance Platform
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Primary Palette */
  --nd-primary:       #2563EB;
  --nd-primary-dark:  #1D4ED8;
  --nd-primary-light: #EFF6FF;
  --nd-secondary:     #06B6D4;
  --nd-accent:        #F59E0B;
  --nd-purple:        #7C3AED;
  --nd-green:         #10B981;
  --nd-red:           #EF4444;
  --nd-pink:          #EC4899;

  /* Navy Dark (for hero) */
  --nd-navy:          #0A1628;
  --nd-navy-2:        #0F2447;
  --nd-navy-3:        #162B52;

  /* Neutrals */
  --nd-text:          #1E293B;
  --nd-text-muted:    #64748B;
  --nd-text-light:    #94A3B8;
  --nd-border:        #E2E8F0;
  --nd-bg:            #F7F8FA;
  --nd-card-bg:       #FFFFFF;

  /* Flat accent colors (kept as --nd-grad-* for backward compat with
     existing markup; deliberately solid, not gradients — see design
     rationale in main.css header) */
  --nd-grad-hero:   var(--nd-navy);
  --nd-grad-blue:   var(--nd-primary);
  --nd-grad-purple: var(--nd-purple);
  --nd-grad-green:  var(--nd-green);
  --nd-grad-amber:  var(--nd-accent);
  --nd-grad-card:   var(--nd-card-bg);

  /* Typography */
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:   'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-py:     4.5rem;
  --card-radius:    0.75rem;
  --btn-radius:     0.5rem;

  /* Shadows — neutral, not tinted with brand color */
  --shadow-sm:  0 1px 2px rgba(15,23,42,0.06);
  --shadow-md:  0 4px 10px rgba(15,23,42,0.08);
  --shadow-lg:  0 10px 24px rgba(15,23,42,0.10);
  --shadow-xl:  0 16px 36px rgba(15,23,42,0.12);

  /* Transitions */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --trans-sm: 0.15s var(--ease);
  --trans-md: 0.2s var(--ease);
  --trans-lg: 0.3s var(--ease);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--nd-bg);
  color: var(--nd-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nd-text);
}

a { text-decoration: none; color: var(--nd-primary); transition: color var(--trans-sm); }
a:hover { color: var(--nd-primary-dark); }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.nd-navbar {
  padding: 0.875rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all var(--trans-md);
}

.nd-navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nd-navbar.navbar-dark-theme {
  background: rgba(10,22,40,0.95);
  border-color: rgba(255,255,255,0.08);
}

.nd-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--nd-grad-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--nd-primary);
  line-height: 1;
}

.brand-tagline {
  display: block;
  font-size: 0.65rem;
  color: var(--nd-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nd-navbar .nav-link {
  font-weight: 500;
  color: var(--nd-text-muted);
  padding: 0.4rem 0.875rem;
  border-radius: 6px;
  transition: all var(--trans-sm);
  font-size: 0.9rem;
}

.nd-navbar .nav-link:hover,
.nd-navbar .nav-link.active {
  color: var(--nd-primary);
  background: var(--nd-primary-light);
}

.nav-avatar {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--btn-radius);
  transition: all var(--trans-sm);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--nd-grad-blue);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: var(--nd-primary-dark);
}

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

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

.btn-outline-primary:hover {
  background: var(--nd-primary-light);
  border-color: var(--nd-primary);
  color: var(--nd-primary);
  transform: translateY(-1px);
}

.btn-hero {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
}

.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.nd-hero {
  background: var(--nd-grad-hero);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
}

.nd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.5rem;
  padding: 0.375rem 1rem;
  color: #CBD5E1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.9s var(--ease) 0.1s both;
}

.hero-title .highlight {
  color: #60A5FA;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.9s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s var(--ease) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 0.9s var(--ease) 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s var(--ease) 0.3s both;
}

.hero-card-float {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  padding: 1.5rem;
  color: white;
}

.floating-cards {
  position: relative;
  padding: 1rem;
}

.float-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  padding: 1.25rem;
  color: white;
  margin-bottom: 1rem;
}

.float-card:nth-child(2) { margin-left: 1.5rem; }

.float-card .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.float-card .card-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.float-card .card-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.readiness-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 0.5rem;
}

.readiness-ring svg { transform: rotate(-90deg); }
.readiness-ring .ring-bg { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 6; }
.readiness-ring .ring-fill { fill: none; stroke: var(--nd-primary); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 90; }
.readiness-ring .ring-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.nd-section { padding: var(--section-py) 0; }
.nd-section-sm { padding: 3rem 0; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--nd-primary-light);
  color: var(--nd-primary);
  border-radius: 50px;
  padding: 0.3rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.875rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--nd-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.nd-card {
  background: var(--nd-card-bg);
  border: 1px solid var(--nd-border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-md);
  position: relative;
  overflow: hidden;
}

.nd-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nd-grad-blue);
  transform: scaleX(0);
  transition: transform var(--trans-md);
  transform-origin: left;
}

.nd-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nd-card:hover::before { transform: scaleX(1); }

.nd-card-glass {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.9);
}

/* Feature Cards */
.feature-card {
  height: 100%;
  cursor: default;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity var(--trans-sm);
}

.nd-card:hover .feature-icon::after { opacity: 1; }

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { color: var(--nd-text-muted); font-size: 0.9rem; line-height: 1.6; }

/* Career Cards */
.career-card {
  cursor: pointer;
}

.career-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 50px;
  padding: 0.25rem 0.625rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.career-growth { color: #10B981; background: #ECFDF5; }
.career-salary { color: #F59E0B; background: #FFFBEB; }

/* Stat Cards */
.stat-card { text-align: center; }
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: var(--nd-primary);
}
.stat-card .stat-label { color: var(--nd-text-muted); font-size: 0.875rem; font-weight: 500; }

/* ============================================================
   HOW IT WORKS STEPS
   ============================================================ */
.steps-timeline {
  position: relative;
  padding: 0;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--nd-primary), var(--nd-secondary));
  opacity: 0.3;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.step-content { padding-top: 0.5rem; }
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.step-desc { color: var(--nd-text-muted); font-size: 0.9rem; }

/* ============================================================
   ASSESSMENT PROGRESS
   ============================================================ */
.assessment-progress-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.875rem;
  border: 1px solid var(--nd-border);
  background: white;
  margin-bottom: 0.875rem;
  transition: all var(--trans-sm);
}

.assessment-progress-item:hover { box-shadow: var(--shadow-md); border-color: var(--nd-primary); }

.assessment-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.progress-info { flex: 1; }
.progress-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }

.progress { height: 6px; border-radius: 50px; background: var(--nd-border); overflow: visible; }
.progress-bar { border-radius: 50px; }

/* ============================================================
   READINESS SCORE GAUGE
   ============================================================ */
.readiness-gauge-wrap {
  position: relative;
  text-align: center;
}

.readiness-gauge-wrap canvas {
  max-width: 220px;
}

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

.gauge-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--nd-primary);
}

.gauge-label {
  font-size: 0.7rem;
  color: var(--nd-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.form-control, .form-select {
  border: 1.5px solid var(--nd-border);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  color: var(--nd-text);
  background: white;
  transition: all var(--trans-sm);
  font-family: var(--font-body);
}

.form-control:focus, .form-select:focus {
  border-color: var(--nd-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--nd-text);
  margin-bottom: 0.5rem;
}

.form-text { color: var(--nd-text-light); font-size: 0.8rem; }

.input-group-text {
  border: 1.5px solid var(--nd-border);
  background: #F8FAFF;
  color: var(--nd-text-muted);
}

/* Auth Cards */
.auth-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--nd-border);
}

.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.375rem; }
.auth-subtitle { color: var(--nd-text-muted); font-size: 0.925rem; }

.divider-text {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--nd-border);
}

.divider-text span {
  background: white;
  padding: 0 0.875rem;
  color: var(--nd-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--nd-border);
  border-radius: var(--btn-radius);
  background: white;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--nd-text);
  transition: all var(--trans-sm);
  cursor: pointer;
}

.google-btn:hover {
  border-color: var(--nd-primary);
  background: var(--nd-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Password Strength */
.password-strength { margin-top: 0.5rem; }
.strength-bar { height: 4px; border-radius: 50px; transition: all var(--trans-sm); }
.strength-text { font-size: 0.75rem; font-weight: 600; margin-top: 0.3rem; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: white;
  border-right: 1px solid var(--nd-border);
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  transition: transform var(--trans-md);
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  min-height: 100vh;
  background: var(--nd-bg);
}

/* Sidebar Nav */
.sidebar-section { margin-bottom: 0.5rem; }
.sidebar-section-label {
  padding: 0.375rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nd-text-light);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  color: var(--nd-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--trans-sm);
  border-radius: 0;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.sidebar-item i { font-size: 1.1rem; width: 20px; text-align: center; }

.sidebar-item:hover {
  color: var(--nd-primary);
  background: var(--nd-primary-light);
}

.sidebar-item.active {
  color: var(--nd-primary);
  background: var(--nd-primary-light);
  border-left-color: var(--nd-primary);
  font-weight: 600;
}

.sidebar-badge {
  margin-left: auto;
  background: var(--nd-primary);
  color: white;
  border-radius: 50px;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Dashboard Cards */
.dashboard-stat-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 1.5rem;
  border: 1px solid var(--nd-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-sm);
  position: relative;
  overflow: hidden;
}

.dashboard-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dashboard-stat-card .stat-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
}

.dashboard-stat-card .stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.dashboard-stat-card .stat-lbl { color: var(--nd-text-muted); font-size: 0.85rem; font-weight: 500; }
.dashboard-stat-card .stat-trend {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.trend-up { color: #10B981; }
.trend-neutral { color: var(--nd-text-muted); }

/* Welcome Banner */
.welcome-banner {
  background: var(--nd-grad-hero);
  border-radius: 1.25rem;
  padding: 2rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(37,99,235,0.3);
}

.welcome-banner::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(6,182,212,0.2);
}

.welcome-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.375rem; color: white; }
.welcome-subtitle { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ============================================================
   ASSESSMENT UI
   ============================================================ */
.assessment-container {
  max-width: 780px;
  margin: 0 auto;
}

.assessment-progress-bar-wrap {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--nd-border);
  box-shadow: var(--shadow-sm);
}

.assessment-step-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nd-border);
  flex-shrink: 0;
  transition: all var(--trans-sm);
}

.step-dot.done { background: var(--nd-green); }
.step-dot.current { background: var(--nd-primary); transform: scale(1.4); box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }

.question-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--nd-border);
  animation: fadeInUp 0.4s var(--ease) both;
}

.question-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--nd-primary-light);
  color: var(--nd-primary);
  border-radius: 50px;
  padding: 0.3rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.question-num { color: var(--nd-text-muted); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.question-text { font-size: 1.2rem; font-weight: 700; color: var(--nd-text); margin-bottom: 1.75rem; line-height: 1.4; }

/* Options */
.option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--nd-border);
  border-radius: 0.875rem;
  background: white;
  color: var(--nd-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--trans-sm);
  margin-bottom: 0.75rem;
}

.option-btn:hover {
  border-color: var(--nd-primary);
  background: var(--nd-primary-light);
  color: var(--nd-primary);
}

.option-btn.selected {
  border-color: var(--nd-primary);
  background: var(--nd-primary);
  color: white;
}

.option-btn.correct {
  border-color: #10B981;
  background: #ECFDF5;
  color: #065F46;
}

.option-btn.incorrect {
  border-color: #EF4444;
  background: #FEF2F2;
  color: #991B1B;
}

.option-letter {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all var(--trans-sm);
}

.option-btn.selected .option-letter { background: rgba(255,255,255,0.3); border-color: transparent; opacity: 1; }

/* Rating Scale (Skill Assessment) */
.rating-scale {
  display: flex;
  gap: 0.5rem;
}

.rating-dot {
  flex: 1;
  height: 8px;
  border-radius: 50px;
  background: var(--nd-border);
  cursor: pointer;
  transition: all var(--trans-sm);
}

.rating-dot.active { background: var(--nd-primary); }
.rating-dot:hover { background: var(--nd-primary); opacity: 0.7; }

/* Assessment nav buttons */
.assessment-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nd-border);
}

/* ============================================================
   RESULTS PAGES
   ============================================================ */
.result-header {
  background: var(--nd-grad-hero);
  padding: 3rem 0;
  color: white;
  margin-bottom: 2rem;
}

.career-result-card {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid var(--nd-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  transition: all var(--trans-md);
}

.career-result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.career-result-card.rank-1 { border: 2px solid var(--nd-accent); }
.career-result-card.rank-1::before {
  content: 'Best Match';
  display: block;
  background: var(--nd-accent);
  color: white;
  text-align: center;
  padding: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.career-header-strip {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.career-result-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.career-result-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.125rem; }
.career-result-desc { color: var(--nd-text-muted); font-size: 0.875rem; }

.compatibility-bar-wrap { margin-bottom: 0.5rem; }
.compat-label { font-size: 0.8rem; font-weight: 600; color: var(--nd-text-muted); margin-bottom: 0.25rem; display: flex; justify-content: space-between; }

/* Skill Gap */
.skill-gap-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-gap-name { width: 160px; font-size: 0.875rem; font-weight: 600; flex-shrink: 0; }
.skill-gap-bars { flex: 1; }
.skill-gap-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 4px; }
.skill-gap-track { flex: 1; height: 10px; background: var(--nd-border); border-radius: 50px; overflow: hidden; }
.skill-gap-fill { height: 100%; border-radius: 50px; transition: width 1s var(--ease); }
.skill-gap-score { font-size: 0.75rem; font-weight: 700; width: 28px; text-align: right; }

/* Roadmap Timeline */
.roadmap-timeline { position: relative; padding-left: 2.5rem; }
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--nd-primary), var(--nd-secondary), var(--nd-purple));
}

.roadmap-item {
  position: relative;
  margin-bottom: 2rem;
  animation: fadeInLeft 0.5s var(--ease) both;
}

.roadmap-dot {
  position: absolute;
  left: -2.25rem;
  top: 0.375rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--nd-primary);
  background: var(--nd-primary);
  z-index: 1;
}

.roadmap-dot.completed { background: var(--nd-green); box-shadow: 0 0 0 2px var(--nd-green); }

.roadmap-card {
  background: white;
  border: 1px solid var(--nd-border);
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-sm);
}

.roadmap-card:hover { box-shadow: var(--shadow-md); }
.roadmap-type-badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.roadmap-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; margin-top: 0.375rem; }
.roadmap-desc { font-size: 0.875rem; color: var(--nd-text-muted); }
.roadmap-duration { font-size: 0.78rem; color: var(--nd-text-light); margin-top: 0.375rem; }
.roadmap-phase-header { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--nd-border); }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-sidebar {
  background: var(--nd-navy);
  color: rgba(255,255,255,0.85);
}

.admin-sidebar .sidebar-section-label { color: rgba(255,255,255,0.4); }
.admin-sidebar .sidebar-item { color: rgba(255,255,255,0.65); border-left-color: transparent; }
.admin-sidebar .sidebar-item:hover,
.admin-sidebar .sidebar-item.active {
  color: white;
  background: rgba(37,99,235,0.2);
  border-left-color: var(--nd-primary);
}

.admin-sidebar .nd-brand .brand-name { color: white; }
.admin-sidebar .nd-brand .brand-tagline { color: rgba(255,255,255,0.4); }

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.nd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.nd-badge-blue { background: var(--nd-primary-light); color: var(--nd-primary); }
.nd-badge-green { background: #ECFDF5; color: #059669; }
.nd-badge-amber { background: #FFFBEB; color: #D97706; }
.nd-badge-red { background: #FEF2F2; color: #DC2626; }
.nd-badge-purple { background: #F5F3FF; color: #7C3AED; }

.badge-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   TABLES
   ============================================================ */
.nd-table {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--nd-border);
}

.nd-table table { margin-bottom: 0; }
.nd-table thead th {
  background: var(--nd-bg);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nd-text-muted);
  padding: 0.875rem 1.25rem;
  border: none;
}

.nd-table tbody td {
  padding: 1rem 1.25rem;
  border-color: var(--nd-border);
  vertical-align: middle;
  font-size: 0.9rem;
}

.nd-table tbody tr:hover { background: var(--nd-bg); }

/* ============================================================
   FOOTER
   ============================================================ */
.nd-footer {
  background: var(--nd-navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.nd-footer .nd-brand .brand-name { color: white; }
.nd-footer .nd-brand .brand-tagline { color: rgba(255,255,255,0.4); }

.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-heading { font-family: var(--font-display); font-weight: 700; color: white; font-size: 0.875rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color var(--trans-sm); }
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
}

.footer-bottom a { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.footer-bottom a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

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

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

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

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

.animate-fade-up { animation: fadeInUp 0.6s var(--ease) both; }
.animate-fade-up-d1 { animation: fadeInUp 0.6s var(--ease) 0.1s both; }
.animate-fade-up-d2 { animation: fadeInUp 0.6s var(--ease) 0.2s both; }
.animate-fade-up-d3 { animation: fadeInUp 0.6s var(--ease) 0.3s both; }
.animate-fade-up-d4 { animation: fadeInUp 0.6s var(--ease) 0.4s both; }

/* ============================================================
   SCROLL ANIMATIONS (intersection observer)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gradient { color: var(--nd-primary); }
.text-gradient-purple { color: var(--nd-purple); }

.bg-gradient-blue { background: var(--nd-grad-blue); }
.bg-gradient-purple { background: var(--nd-grad-purple); }
.bg-gradient-green { background: var(--nd-grad-green); }
.bg-gradient-amber { background: var(--nd-grad-amber); }
.bg-navy { background: var(--nd-navy); }
.bg-nd { background: var(--nd-bg); }

.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.25rem; }

/* Alert Styles */
.alert {
  border: none;
  border-radius: 0.875rem;
  font-size: 0.9rem;
  padding: 0.875rem 1.25rem;
}

.alert-success { background: #ECFDF5; color: #065F46; border-left: 4px solid #10B981; }
.alert-danger { background: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
.alert-info { background: var(--nd-primary-light); color: var(--nd-primary-dark); border-left: 4px solid var(--nd-primary); }
.alert-warning { background: #FFFBEB; color: #92400E; border-left: 4px solid #F59E0B; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    width: 260px;
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .dashboard-main { margin-left: 0; padding: 1.5rem 1rem; }

  .nd-hero { padding: 2.5rem 0; min-height: auto; }
  :root { --section-py: 3.5rem; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2.25rem; }
  .hero-stats { gap: 1.25rem; }
  .question-card { padding: 1.5rem; }
  .auth-card { padding: 1.75rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .assessment-progress-bar-wrap { padding: 1rem; }
}

@media (max-width: 480px) {
  .nd-navbar { padding: 0.75rem 0; }
  .steps-timeline::before { display: none; }
  .roadmap-timeline { padding-left: 1.5rem; }
  .skill-gap-name { width: 100px; font-size: 0.8rem; }
}
