/* ==========================================================================
   SkillPath — Unified Master Stylesheet (Multi-Page Architecture)
   Contains core variables, layout, typography, components, sections, and responsive rules.
   ========================================================================== */

/* ==========================================================================
   FILE: css/styles.css
   ========================================================================== */

/* ==========================================================================
   SkillPath - Modern Design System & Global Styles
   Futuristic, Dark Navy/Black Base with Electric Blue & Purple Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Dark Navy/Black Theme */
  --bg-body: #060911;
  --bg-surface: #0c1222;
  --bg-surface-elevated: #111a30;
  --bg-card: rgba(17, 26, 48, 0.65);
  --bg-card-hover: rgba(26, 38, 70, 0.8);
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(12, 18, 34, 0.75);

  /* Primary Brand Gradients & Accents */
  --accent-purple: #9333ea;
  --accent-purple-light: #a855f7;
  --accent-blue: #2563eb;
  --accent-blue-light: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-indigo: #6366f1;

  /* Glowing and Shadow Tints */
  --glow-purple: rgba(168, 85, 247, 0.35);
  --glow-blue: rgba(56, 189, 248, 0.35);
  --glow-cyan: rgba(6, 182, 212, 0.25);
  --glow-emerald: rgba(16, 185, 129, 0.25);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --gradient-hero-title: linear-gradient(135deg, #ffffff 30%, #bfdbfe 70%, #d8b4fe 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(56, 189, 248, 0.2), rgba(255, 255, 255, 0.05));
  --gradient-glow-sphere: radial-gradient(circle, rgba(147, 51, 234, 0.18) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 70%);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(168, 85, 247, 0.35);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --container-width: 1240px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.04) 0px, transparent 60%);
  background-attachment: fixed;
}

/* Background Ambient Glow Orbs */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.5;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, transparent 70%);
}

.glow-top-right {
  top: 100px;
  right: -200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
}

.glow-bottom-center {
  bottom: -200px;
  left: 30%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

/* Grid Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

code, pre {
  font-family: var(--font-mono);
}

/* Layout Container */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue-light);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.text-gradient-hero {
  background: var(--gradient-hero-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hide {
  display: none !important;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.4);
}


/* ==========================================================================
   FILE: css/components.css
   ========================================================================== */

/* ==========================================================================
   SkillPath - Reusable UI Components
   Glassmorphic cards, Glowing Buttons, Progress Meters, Modals, Checklists
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(6, 9, 17, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(168, 85, 247, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 0 20px var(--glow-purple);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: var(--gradient-brand);
  z-index: -1;
  opacity: 0.5;
  filter: blur(6px);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   2. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--glow-purple);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow-purple), 0 0 12px var(--glow-cyan);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue-light);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-blue-light);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   3. GLASSMORPHIC CARDS
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.12);
}

/* --------------------------------------------------------------------------
   4. BADGES & PILLS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-yellow {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-red {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* --------------------------------------------------------------------------
   5. PROGRESS BARS
   -------------------------------------------------------------------------- */
.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   6. CUSTOM CHECKBOXES
   -------------------------------------------------------------------------- */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.custom-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.3);
}

.custom-checkbox-label.checked {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--accent-purple-light);
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-size: 0.75rem;
  color: transparent;
}

.custom-checkbox-label.checked .checkbox-box {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 10px var(--glow-purple);
}

.checkbox-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.custom-checkbox-label.checked .checkbox-text {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. ACCORDION PANELS
   -------------------------------------------------------------------------- */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-item:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.accordion-item.active {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(17, 26, 48, 0.85);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-item.active .accordion-header {
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue-light);
  flex-shrink: 0;
}

.accordion-item.active .accordion-number {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 12px var(--glow-purple);
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.accordion-item.active .accordion-title {
  color: #ffffff;
  font-weight: 700;
}

.accordion-icon {
  color: var(--text-muted);
  transition: transform var(--transition-base);
  font-size: 0.9rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-blue-light);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  background: rgba(6, 9, 17, 0.4);
}

.accordion-item.active .accordion-body {
  max-height: 2500px;
  padding: 1.25rem 1.5rem 1.75rem 1.5rem;
}

/* --------------------------------------------------------------------------
   8. MODAL & DRAWER SYSTEM
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
  position: relative;
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.4);
}

.modal-body {
  padding: 1.75rem 2rem;
}

.modal-footer {
  padding: 1.25rem 2rem 1.75rem 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   9. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(17, 26, 48, 0.95);
  border: 1px solid var(--accent-purple-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-purple);
  backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


/* ==========================================================================
   FILE: css/sections.css
   ========================================================================== */

/* ==========================================================================
   SkillPath - Section-Specific Styling
   Hero, Interactive Roadmap Tree, Skill Gap Analyzer, Resume Compare, Interview
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: #d8b4fe;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subheading {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats,
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4,
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-item p,
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

/* Hero Futuristic Interactive Career Roadmap Visualizer */
.hero-roadmap-card {
  background: rgba(12, 18, 34, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(168, 85, 247, 0.15);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-roadmap-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.roadmap-header-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.roadmap-header-mini .status-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.interactive-node-chain {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.interactive-node-chain::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #38bdf8 0%, #a855f7 50%, #10b981 100%);
  z-index: 1;
}

.roadmap-node-step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all var(--transition-base);
}

.roadmap-node-step:hover,
.roadmap-node-step.active {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateX(6px);
}

.node-icon-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--accent-blue-light);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.roadmap-node-step:hover .node-icon-dot,
.roadmap-node-step.active .node-icon-dot {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 15px var(--glow-purple);
}

.node-text-wrap h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.node-text-wrap p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.node-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   PAGE VIEW SWITCHING
   -------------------------------------------------------------------------- */
.page-view {
  display: none;
  animation: pageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-view.active-page {
  display: block;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   2. CAREER CATEGORIES GRID
   -------------------------------------------------------------------------- */
.careers-grid,
.career-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Unique Career Visuals */
.career-card-image-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.career-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
  display: block;
}

.career-card:hover .career-card-img {
  transform: scale(1.06);
}

.career-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.15) 0%, rgba(6, 9, 17, 0.8) 100%);
  pointer-events: none;
}

.career-img-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.career-icon-box-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(12, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.career-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.career-hero-text {
  flex: 1;
  min-width: 280px;
}

.career-banner-visual {
  width: 260px;
  height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.35);
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-purple);
}

.career-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px var(--glow-purple);
}

.career-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.career-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform var(--transition-base);
}

.career-card:hover .career-icon-box {
  transform: scale(1.1);
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
}

.career-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.career-card-desc {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.career-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.career-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.explore-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-blue-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.career-card:hover .explore-btn {
  color: #ffffff;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   3. CAREER EXPLORE / ROADMAP VIEW (DEEP DIVE)
   -------------------------------------------------------------------------- */
.career-explore-view {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-btn-wrap {
  margin-bottom: 2rem;
}

.career-hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.career-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.career-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.overview-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.overview-box h5 {
  font-size: 0.95rem;
  color: var(--accent-blue-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.overview-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Subtrack Switcher Tabs (For Web Dev) */
.subtrack-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.subtrack-tab {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.subtrack-tab:hover {
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.3);
}

.subtrack-tab.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--glow-purple);
}

/* Visual Roadmap Timeline Tree */
.roadmap-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: linear-gradient(180deg, #06b6d4 0%, #8b5cf6 50%, #10b981 100%);
  border-radius: var(--radius-full);
}

.roadmap-stage-block {
  margin-bottom: 3.5rem;
  position: relative;
}

.roadmap-stage-marker {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 15px var(--glow-blue);
}

.roadmap-stage-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.topic-card.completed {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.topic-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.topic-summary {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.topic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. SKILL GAP CHECKER SECTION
   -------------------------------------------------------------------------- */
.skillgap-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.career-select-wrap {
  margin-bottom: 1.75rem;
}

.career-select-wrap label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.custom-select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.custom-select:focus {
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 15px var(--glow-purple);
}

.skills-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Circular Skill Gap Readiness Meter */
.readiness-meter-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circular-gauge {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 1.75rem;
}

.circular-gauge svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.gauge-progress {
  fill: none;
  stroke: url(#gaugeGradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 471;
  stroke-dashoffset: 471;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.gauge-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.recommendations-box {
  width: 100%;
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.recommendations-box h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue-light);
  margin-bottom: 0.75rem;
}

.next-skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.next-skills-list li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.next-skills-list li i {
  color: var(--accent-purple-light);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.4);
}

.filter-pill.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--glow-purple);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-blue);
}

.project-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-problem {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-features-list li {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.project-features-list li i {
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   6. RESUME PREPARATION SECTION
   -------------------------------------------------------------------------- */
.resume-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.resume-framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.resume-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
}

.step-num-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--glow-purple);
}

.step-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Before vs After Comparison */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.compare-box {
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.compare-box.before {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.compare-box.after {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.compare-bullets li {
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.critique-box {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
}

/* Common Mistakes Grid */
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.mistake-card {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.mistake-card h5 {
  color: var(--accent-rose);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mistake-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. INTERVIEW PREPARATION SECTION
   -------------------------------------------------------------------------- */
.interview-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.interview-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.interview-tab-btn.active {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  color: #ffffff;
}

.qa-breakdown-box {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.breakdown-block {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.breakdown-block h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.block-approach h6 { color: var(--accent-blue-light); }
.block-points h6 { color: var(--accent-emerald); }
.block-mistakes h6 { color: var(--accent-rose); }
.block-sample h6 { color: var(--accent-purple-light); }

.sample-answer-quote {
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.925rem;
  line-height: 1.6;
  border-left: 3px solid var(--accent-purple-light);
  padding-left: 1rem;
}

/* 3-Phase Interview Tips Checklist */
.interview-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.phase-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phase-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phase-checklist li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.phase-checklist li i {
  color: var(--accent-emerald);
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. CAREER GROWTH TIMELINE
   -------------------------------------------------------------------------- */
.growth-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 3rem 0 2rem 0;
  padding: 0 1rem;
}

.growth-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #8b5cf6, #ec4899, #10b981);
  z-index: 1;
}

.growth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 160px;
}

.growth-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px var(--glow-purple);
  transition: transform var(--transition-base);
}

.growth-step:hover .growth-circle {
  transform: scale(1.15);
  border-color: var(--accent-cyan);
}

.growth-step h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.growth-step p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. STUDENT DASHBOARD
   -------------------------------------------------------------------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.dashboard-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.metric-card-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.metric-card-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.webdev-progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.progress-skill-item {
  margin-bottom: 1.25rem;
}

.progress-skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. RESOURCES DIRECTORY
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
}

.resource-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   11. FINAL CTA BANNER & FOOTER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(147, 51, 234, 0.2) 50%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.15);
}

.cta-banner h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.25rem auto;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  background: #04060b;
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  transform: translateY(-2px);
}


/* ==========================================================================
   FILE: css/responsive.css
   Responsive rules are consolidated at the end of this master stylesheet
   to ensure proper cascade precedence over all preceding module styles.
   ========================================================================== */


/* ==========================================================================
   MULTI-PAGE NAVIGATION & BREADCRUMBS ENHANCEMENTS
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumbs .separator {
  color: var(--border-light);
  font-size: 0.75rem;
}

.breadcrumbs .current {
  color: var(--accent-blue);
  font-weight: 500;
}

.career-quick-nav {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem 0;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.career-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.career-quick-link:hover,
.career-quick-link.active {
  border-color: var(--accent-cyan);
  color: #ffffff;
  background: rgba(6, 182, 212, 0.12);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   STUDY PLANNER MODULE STYLES
   ========================================================================== */
.planner-config-card {
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-xl);
}

.planner-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.planner-career-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
  font-family: var(--font-body);
}

.planner-career-btn:hover {
  background: rgba(26, 38, 70, 0.8);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.planner-career-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
  color: #ffffff;
}

.planner-career-btn .career-emoji {
  font-size: 1.25rem;
}

.planner-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.3fr;
  gap: 1.5rem;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.planner-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(12, 18, 34, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.planner-select:hover,
.planner-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
  background: rgba(17, 26, 48, 0.95);
}

.planner-select option {
  background: #0c1222;
  color: #f8fafc;
  padding: 0.5rem;
}

.planner-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.planner-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
  font-family: var(--font-body);
}

.planner-pill-btn:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(26, 38, 70, 0.8);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.planner-pill-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
  color: #ffffff;
}

.planner-pill-btn .pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

.planner-pill-btn .pill-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.planner-pill-btn.active .pill-desc {
  color: #d8b4fe;
}

/* Metrics Dashboard */
.planner-dashboard-overview {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
}

.planner-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.planner-metric-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.planner-metric-item .metric-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.planner-metric-item .metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.planner-metric-item .metric-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Today's Task Spotlight */
.today-task-card {
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(12, 18, 34, 0.9), rgba(17, 26, 48, 0.9)) padding-box,
              linear-gradient(135deg, #06b6d4, #a855f7, #38bdf8) border-box;
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.18), 0 0 20px rgba(168, 85, 247, 0.15);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-base);
}

.today-task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.today-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.today-detail-box {
  background: rgba(12, 18, 34, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.today-detail-box:hover {
  background: rgba(17, 26, 48, 0.8);
  border-color: var(--border-card);
}

.today-detail-box .box-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.today-detail-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Timetable Stack & Day Cards */
.timetable-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timetable-day-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 1.75rem;
  transition: all var(--transition-base);
  position: relative;
}

.timetable-day-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timetable-day-card.completed {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(12, 18, 34, 0.75) 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

.day-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.day-card-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.day-number-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.timetable-day-card.completed .day-number-pill {
  background: linear-gradient(135deg, #059669, #10b981);
}

.day-phase-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  border-radius: var(--radius-full);
}

.day-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-status-pill.pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.day-status-pill.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Custom Checkbox */
.planner-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.planner-checkbox-label:hover {
  color: var(--text-primary);
}

.planner-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-card);
  background: rgba(12, 18, 34, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all var(--transition-fast);
}

.planner-checkbox-label:hover .checkbox-box {
  border-color: var(--accent-cyan);
}

.planner-checkbox-label input[type="checkbox"]:checked + .checkbox-box {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.day-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.day-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.day-detail-block {
  background: rgba(12, 18, 34, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.day-detail-block .detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.day-detail-block .detail-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.timetable-filter-pills {
  display: flex;
  gap: 0.5rem;
  background: rgba(12, 18, 34, 0.7);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* ==========================================================================
   SkillPath - Unified Responsive Layout & Mobile Design System
   Fluid scaling for Desktop, Tablet, and Mobile (< 1024px, < 768px, < 640px, < 480px, < 360px)
   Desktop (> 1024px) remains completely untouched and preserved.
   ========================================================================== */

/* --------------------------------------------------------------------------
   GLOBAL OVERFLOW & VIEWPORT DEFENSE (< 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Main Hero Grid */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats,
  .hero-stats-row {
    justify-content: center;
  }

  /* Skill Gap Analyzer */
  .skillgap-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Student Dashboard */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dashboard-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Interview Prep */
  .interview-phases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Resume Preparation */
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Timeline */
  .growth-timeline {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .growth-timeline::before {
    display: none;
  }

  /* Study Planner Module (< 1024px) */
  .planner-career-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planner-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .planner-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .today-details-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   TABLET NAVBAR COMPACT MODE (769px to 1024px)
   Fits all 9 navigation links and brand logo gracefully on iPad / tablet screens
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-container {
    gap: 0.5rem;
  }

  .brand-logo {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .nav-menu {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 0.35rem 0;
  }

  .nav-actions .btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   MOBILE & SMALL SCREENS (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title,
  .section-header h2 {
    font-size: 1.85rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Brand Logo Mobile */
  .brand-logo {
    font-size: 1.25rem;
    gap: 0.6rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  /* Hamburger Menu & Mobile Drawer */
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .hamburger-btn:hover,
  .hamburger-btn:focus-visible {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #ffffff;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem 2.5rem 1rem;
    gap: 0.4rem;
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 99;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
  }

  .nav-link:hover,
  .nav-link:active,
  .nav-link.active {
    background: rgba(168, 85, 247, 0.12);
    color: #ffffff;
    border-bottom-color: transparent;
    padding-left: 1.25rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none; /* Keep mobile header clean */
  }

  /* Hero Section */
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-stats,
  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding-top: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .stat-item h4,
  .stat-number {
    font-size: 1.5rem;
  }

  .stat-item p,
  .stat-label {
    font-size: 0.8rem;
  }

  /* Pipeline Flowchart on Home */
  .roadmap-flowchart {
    padding: 1.25rem 1rem;
  }

  .flowchart-nodes {
    gap: 0.5rem;
  }

  .flowchart-node {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .flowchart-title {
    font-size: 0.85rem;
  }

  /* Grids - Full Single-Column Flow on Mobile */
  .careers-grid,
  .career-cards-grid,
  .projects-grid,
  .resume-framework-grid,
  .resources-grid,
  .career-overview-grid,
  .modules-grid,
  .mistakes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Career Deep-Dive Banner */
  .career-hero-container {
    padding: 1.5rem !important;
  }

  .career-hero-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .career-hero-text {
    min-width: 0;
    width: 100%;
  }

  .career-hero-text h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }

  .career-banner-visual {
    width: 100%;
    height: 180px;
  }

  .career-card {
    padding: 1.25rem;
  }

  .career-quick-nav,
  .subtrack-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: thin;
    padding-bottom: 0.6rem;
  }

  .career-quick-link,
  .subtrack-tab {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
  }

  /* Roadmap Timeline on Mobile */
  .roadmap-timeline {
    padding-left: 1.75rem;
  }

  .roadmap-timeline::before {
    left: 8px;
  }

  .roadmap-stage-marker {
    left: -1.75rem;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .roadmap-stage-title {
    font-size: 1.2rem;
  }

  .topic-card {
    padding: 1.15rem;
  }

  /* Study Planner Module (< 768px) */
  .planner-config-card {
    padding: 1.5rem 1.25rem !important;
  }

  .planner-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .planner-pills-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .day-card-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .today-task-card {
    padding: 1.5rem 1.25rem !important;
  }

  .today-task-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .timetable-day-card {
    padding: 1.25rem !important;
  }

  .day-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .day-card-badge-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .day-card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .timetable-filter-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    max-width: 100%;
  }

  .filter-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Interview Preparation Suite (< 768px) */
  .accordion-header {
    padding: 1.1rem 1.2rem;
    gap: 0.75rem;
  }

  .accordion-title-wrap {
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
  }

  .accordion-title {
    font-size: 0.98rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .accordion-body {
    padding: 1.1rem 1.2rem;
  }

  .breakdown-block {
    padding: 0.85rem 1rem;
  }

  .sample-answer-quote {
    font-size: 0.88rem;
    padding-left: 0.75rem;
  }

  .interview-tabs-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
  }

  .interview-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .interview-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
  }

  .phase-card {
    padding: 1.35rem;
  }

  /* Resume Preparation (< 768px) */
  .resume-step-card {
    padding: 1.15rem;
    gap: 1rem;
  }

  .compare-box {
    padding: 1.35rem;
  }

  .compare-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .critique-box {
    word-break: break-word;
  }

  .custom-checkbox-label {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .checkbox-box {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }

  .checkbox-text {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  /* Projects & Resources Cards */
  .project-card,
  .resource-card {
    padding: 1.35rem;
  }

  .project-top-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Student Dashboard (< 768px) */
  .dashboard-hero-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  /* Call To Action Banner */
  .cta-banner {
    padding: 2.75rem 1.25rem;
  }

  .cta-banner h2 {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Modals (< 768px) */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-container {
    max-height: 92vh;
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.15rem;
  }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Card padding scaling on mobile */
  .glass-card {
    padding: 1.35rem !important;
  }

  /* Responsive Tables */
  div[style*="overflow-x: auto"] table,
  .table-responsive table {
    min-width: 580px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD PHONES (< 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .planner-career-grid {
    grid-template-columns: 1fr;
  }

  .skills-checkbox-grid {
    grid-template-columns: 1fr;
    max-height: 280px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard-metrics-row {
    grid-template-columns: 1fr;
  }

  .cta-banner div[style*="display: flex"] {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner div[style*="display: flex"] .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   COMPACT & SMALL PHONES (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .section-title,
  .section-header h2 {
    font-size: 1.6rem;
  }

  .filter-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }

  .metric-card-value {
    font-size: 1.5rem;
  }

  .circular-gauge {
    width: 140px;
    height: 140px;
  }

  .step-num-circle {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .toast-container {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .toast {
    width: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   TINY / NARROW PHONES (< 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-stats,
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}
