
    :root {
      --bg: #ffffff;
      --surface: #f8fafc;
      --card: #ffffff;
      --text: #1e293b;
      --muted: #64748b;
      --border: #e2e8f0;
      --primary: #4f46e5;
      --primary-light: #ee0979;;
      --accent: #0ea5e9;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
      --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
      --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
      --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-sans);
      margin: 0;
      padding: 0;
      transition: background 0.3s, color 0.3s;
    }

    /* Floating accent shapes (subtle) */
    .floating-shapes .shape {
      position: fixed;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.12;
      pointer-events: none;
      z-index: 0;
      animation: floatShape 18s infinite ease-in-out;
    }
    .shape-1 { width: 360px; height: 360px; background: #4f46e5; top: -100px; left: -100px; }
    .shape-2 { width: 280px; height: 280px; background: #0ea5e9; bottom: -80px; right: -80px; animation-delay: -6s; }
    .shape-3 { width: 220px; height: 220px; background: #f59e0b; top: 50%; left: 50%; animation-delay: -12s; }
    @keyframes floatShape {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25% { transform: translate(50px, -40px) scale(1.1); }
      50% { transform: translate(-30px, 30px) scale(0.9); }
      75% { transform: translate(-40px, -20px) scale(1.05); }
    }

    /* Extreme left sidebar (fixed) */
    .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      width: 260px;
      background: var(--surface);
      border-right: 1px solid var(--border);
      z-index: 40;
      padding: 1.5rem 1.2rem;
      padding-top: calc(80px + 1.5rem);
      overflow-y: auto;
      box-shadow: var(--shadow);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: transform 0.3s ease;
    }
    .sidebar::-webkit-scrollbar { width: 6px; }
    .sidebar::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }

    /* Main container adjusts for sidebar */
    .main-container {
      margin-left: 260px;
      width: calc(100% - 260px);
      max-width: none;
      box-sizing: border-box;
      padding: 2rem 2.5rem;
      display: flex;
      gap: 2rem;
      position: relative;
      z-index: 1;
    }
    .content { flex: 1; min-width: 0; }

    /* Page tracker (right side) */
    .page-tracker {
      flex: 0 0 200px;
      position: sticky;
      top: 100px;
      align-self: flex-start;
      z-index: 5;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.2rem;
      height: fit-content;
      box-shadow: var(--shadow-sm);
    }
    .page-tracker h4 {
      margin: 0 0 0.8rem;
      font-weight: 700;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--primary);
    }
    .page-tracker ul { list-style: none; padding: 0; margin: 0; }
    .page-tracker li { margin: 0.4rem 0; }
    .page-tracker a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.82rem;
      transition: color 0.3s;
      font-weight: 500;
    }
    .page-tracker a:hover { color: var(--primary); }

    /* Concept cards */
    .concept-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow);
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    .concept-card::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at center, rgba(79, 70, 229, 0.02) 0%, transparent 70%);
      pointer-events: none;
      transition: opacity 0.4s;
      opacity: 0;
    }
    .concept-card:hover::before { opacity: 1; }
    .concept-card:hover {
      box-shadow: var(--shadow-lg);
      border-color: rgba(79, 70, 229, 0.25);
      transform: translateY(-2px);
    }

    /* Section titles */
    .section-title {
      font-size: 2rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      background: none;
      -webkit-text-fill-color: unset;
      background-clip: unset;
    }
    .section-title i { color: var(--primary); font-size: 1.8rem; }
    .section-intro p {
      font-size: 1.1rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }
    .highlight-box {
      background: rgba(79, 70, 229, 0.04);
      border-left: 4px solid var(--primary);
      padding: 1rem 1.4rem;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin: 1.2rem 0;
      font-weight: 500;
      color: var(--text);
    }

    /* Badges (professional style, still fun) */
    .genz-badge {
      display: inline-block;
      padding: 0.3rem 0.9rem;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      margin: 0.25rem 0.35rem;
      text-transform: uppercase;
    }
    .badge-fire { background: rgba(245, 158, 11, 0.1); color: #b45309; border: 1px solid rgba(245, 158, 11, 0.2); }
    .badge-goat { background: rgba(16, 185, 129, 0.1); color: #047857; border: 1px solid rgba(16, 185, 129, 0.2); }
    .badge-vibe { background: rgba(79, 70, 229, 0.1); color: #4338ca; border: 1px solid rgba(79, 70, 229, 0.2); }
    .badge-bussin { background: rgba(236, 72, 153, 0.08); color: #be185d; border: 1px solid rgba(236, 72, 153, 0.2); }
    .badge-based { background: rgba(14, 165, 233, 0.1); color: #0369a1; border: 1px solid rgba(14, 165, 233, 0.2); }

    /* Tabs */
    .tab-container { margin-top: 1.2rem; }
    .tab-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
    .tab-btn {
      padding: 0.6rem 1.4rem;
      border-radius: 50px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--muted);
      font-weight: 600;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    .tab-btn:hover {
      border-color: var(--primary-light);
      color: var(--text);
      background: var(--bg);
    }
    .tab-btn.active {
      background: var(--gradient-primary);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    }
    .tab-panel { display: none; animation: fadeSlideIn 0.4s ease; }
    .tab-panel.active { display: block; }
    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Infographic grid */
    .infographic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1rem 0; }
    .infographic-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.2rem;
      text-align: center;
      transition: all 0.3s;
    }
    .infographic-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-2px); }
    .infographic-icon { font-size: 2rem; margin-bottom: 0.5rem; color: var(--primary); }
    .infographic-card h4 { margin: 0.3rem 0; font-weight: 700; }
    .infographic-card p { font-size: 0.8rem; color: var(--muted); margin: 0; }

    /* Speed chart */
    .speed-chart { display: flex; align-items: flex-end; gap: 2rem; justify-content: center; margin: 1.5rem 0; }
    .speed-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
    .bar-wrapper { width: 60px; height: 160px; background: var(--surface); border-radius: 12px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--border); }
    .bar { width: 100%; border-radius: 0 0 12px 12px; background: var(--gradient-primary); transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
    .bar-label { font-weight: 700; font-size: 0.9rem; }
    .bar-desc { font-size: 0.75rem; color: var(--muted); }

    /* Comparison table */
    .comparison-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; border-radius: var(--radius-sm); overflow: hidden; }
    .comparison-table th, .comparison-table td { padding: 0.8rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
    .comparison-table th { background: rgba(79, 70, 229, 0.04); font-weight: 700; color: var(--primary); font-size: 0.8rem; text-transform: uppercase; }
    .comparison-table td { color: var(--muted); font-size: 0.9rem; }
    .comparison-table tr:hover td { background: rgba(79, 70, 229, 0.02); }
    .star-rating { color: #f59e0b; letter-spacing: 0.15em; }

    /* Stage carousel */
    .stage-carousel { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0; }
    .stage-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.2rem 0.8rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      flex: 1 1 130px;
      min-width: 120px;
      max-width: 180px;
      position: relative;
    }
    .stage-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-4px); }
    .stage-card.active {
      border-color: var(--primary);
      box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
      background: rgba(79, 70, 229, 0.02);
    }
    .stage-icon { font-size: 2.2rem; margin-bottom: 0.5rem; color: var(--primary); }
    .stage-card h3 { font-size: 0.85rem; font-weight: 700; margin: 0.3rem 0; }
    .stage-slang { font-size: 0.7rem; color: var(--muted); font-style: italic; margin: 0; }
    .stage-detail {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.4rem;
      margin-top: 1rem;
      display: none;
      animation: fadeSlideIn 0.4s ease;
    }
    .stage-detail.open { display: block; }
    .detail-content { color: var(--text); line-height: 1.8; font-size: 0.95rem; }
    .journey-progress { margin: 1rem 0 0.5rem; }
    .progress-track { height: 6px; background: var(--border); border-radius: 10px; overflow: hidden; }
    .progress-fill { height: 100%; background: var(--gradient-primary); border-radius: 10px; transition: width 0.5s; width: 0%; }

    /* Particle emoji burst */
    .particle-emoji {
      position: absolute;
      pointer-events: none;
      z-index: 10;
      font-size: 1.4rem;
      animation: particleBurst 0.7s cubic-bezier(0, 0.9, 0.3, 1) forwards;
    }
    @keyframes particleBurst {
      0% { opacity: 1; transform: translate(0, 0) scale(1); }
      100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.2); }
    }

    /* Python feature grid */
    .python-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.2rem;
      transition: all 0.3s;
    }
    .feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
    .feature-card h4 { margin: 0 0 0.4rem; font-weight: 700; }
    .feature-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }

    /* Language comparison bars */
    .lang-compare-section { margin: 1.5rem 0; }
    .lang-row { display: flex; align-items: center; gap: 1rem; margin: 0.7rem 0; }
    .lang-name { width: 100px; font-weight: 700; font-size: 0.9rem; text-align: right; flex-shrink: 0; }
    .lang-bar-bg { flex: 1; height: 28px; background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
    .lang-bar-fill { height: 100%; border-radius: 20px; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); width: 0%; display: flex; align-items: center; padding-left: 0.8rem; font-size: 0.75rem; font-weight: 700; color: #fff; }
    .fill-purple { background: var(--gradient-primary); }
    .fill-cyan { background: var(--gradient-accent); }
    .fill-orange { background: linear-gradient(135deg, #f97316, #fbbf24); }
    .lang-value { width: 50px; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

    /* Code blocks */
    /* ========== PROFESSIONAL CODE BLOCKS (crisp fonts, smooth rendering) ========== */
.code-block {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #334155;
  background: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.code-block-header {
  background: #1e293b;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
  text-transform: uppercase;
}

/* ========== CRISP CODE BLOCKS (replace existing .code-block pre rules) ========== */
.code-block pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 0;               /* ← no negative spacing */
  font-weight: 400;                /* ← standard weight, not 450 */
  text-rendering: auto;            /* ← let the browser decide */
  -webkit-font-smoothing: subpixel-antialiased;  /* ← sharp on LCD */
  -moz-osx-font-smoothing: auto;
  background: transparent;
  color: #e2e8f0;
  tab-size: 2;
}

.code-block pre code {
  font-family: inherit;
  font-size: inherit;
  background: none;
  color: inherit;
  font-weight: inherit;            /* ← crucial to avoid double‑weight */
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #334155;
  border: none;
  color: #f1f5f9;
  padding: 0.3rem 0.9rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  transition: 0.2s;
}

.copy-btn:hover {
  background: #4f46e5;
  color: white;
}
.copy-btn:active {
  transform: translateY(1px);
}

/* improvement for smaller screens */
@media (max-width: 640px) {
  .code-block pre {
    font-size: 0.8rem;
    padding: 1rem;
  }
  .copy-btn {
    padding: 0.2rem 0.7rem;
    font-size: 0.65rem;
  }
}

/* optional – add a subtle scrollbar for code */
.code-block pre::-webkit-scrollbar {
  height: 6px;
}
.code-block pre::-webkit-scrollbar-track {
  background: #1e293b;
  border-radius: 10px;
}
.code-block pre::-webkit-scrollbar-thumb {
  background: #4f46e5;
  border-radius: 10px;
}

    /* WhatsApp float */
    .whatsapp-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 999;
      background: #25D366;
      color: #fff;
      padding: 0.75rem 1.3rem;
      border-radius: 50px;
      font-weight: 700;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
      transition: all 0.3s;
    }
    .whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5); }

    /* Footer */
    footer {
      margin-left: 260px;
      width: calc(100% - 260px);
      box-sizing: border-box;
      padding: 2rem 1.5rem;
      text-align: center;
      color: var(--muted);
      border-top: 1px solid var(--border);
      margin-top: 2rem;
      position: relative;
      z-index: 1;
    }
    .footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 1rem; }
    .footer-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
    .footer-links a:hover { color: var(--primary); }

    /* Responsive */
    @media (max-width: 768px) {
      .sidebar { transform: translateX(-100%); }
      .main-container { margin-left: 0; width: 100%; padding: 1rem; flex-direction: column; }
      .page-tracker { position: static; width: 100%; margin-top: 1rem; }
      .stage-carousel { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
      .stage-card { flex: 0 0 110px; min-width: 100px; }
      .section-title { font-size: 1.5rem; }
      footer { margin-left: 0; width: 100%; }
    }
/* ========== LANGUAGE COMPARISON (PROFESSIONAL BARS) ========== */
.compare-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.compare-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.metric-header h4 {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.metric-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}
.higher-better {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.compare-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.65rem;
}
.compare-label {
  width: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.lang-icon {
  font-size: 1.1rem;
}

.compare-bar-bg {
  flex: 1;
  height: 24px;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-left: 0.5rem;
}

.compare-bar-fill {
  height: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.fill-primary { background: var(--gradient-primary); }
.fill-accent  { background: var(--gradient-accent); }
.fill-warning { background: linear-gradient(135deg, #f97316, #fbbf24); }

/* Quick reference table wrapper */
.compare-table-wrapper {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}
.compare-table-wrapper .comparison-table {
  margin: 0;
  border-radius: 0;
}
.compare-table-wrapper .comparison-table th,
.compare-table-wrapper .comparison-table td {
  font-size: 0.85rem;
}
.compare-table-wrapper .comparison-table th {
  background: rgba(79, 70, 229, 0.04);
}

/* ========== MEMORY HIERARCHY PYRAMID ========== */
.memory-hierarchy {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.memory-hierarchy h4 {
  margin: 0 0 0.3rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.pyramid-intro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; /* subtle separator */
}

.pyramid-level {
  width: 100%;
  max-width: 600px;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.pyramid-level:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pyramid-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.2rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.pyramid-name {
  flex: 0 0 120px;
}

.pyramid-speed {
  flex: 0 0 130px;
  text-align: center;
}

.pyramid-size {
  flex: 0 0 140px;
  text-align: right;
}

/* Level widths & colors */
.registers {
  width: 30%;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.l1 {
  width: 42%;
  background: linear-gradient(135deg, #6366f1, #818cf8);
}

.l2 {
  width: 56%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.l3 {
  width: 72%;
  background: linear-gradient(135deg, #4338ca, #4f46e5);
}

.ram {
  width: 88%;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.disk {
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.pyramid-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .pyramid-details {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .pyramid-name,
  .pyramid-speed,
  .pyramid-size {
    flex: 0 0 auto;
    text-align: left;
  }
}

/* ========== TIGHTER PAGE TRACKER SPACING ========== */
.main-container {
  gap: 0.7rem;                /* was 2rem – dramatically closer */
  padding: 2rem 1.5rem 2rem 2.5rem;  /* slightly less right padding */
}

.page-tracker {
  flex: 0 0 175px;            /* slightly narrower (was 200px) */
  padding: 1rem;              /* slightly tighter internal padding */
}

/* Make the tracker links themselves more compact */
.tracker-link {
  padding: 0.45rem 0.7rem;    /* less vertical & horizontal padding */
}

/* ========== TOP PROGRAM TABS ========== */
.program-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 260px;          /* same as sidebar width */
  width: calc(100% - 260px);
  padding: 1rem 2rem 0;
  background: transparent;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
}

.prog-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.prog-tab i {
  font-size: 1rem;
}

.prog-tab:hover {
  background: rgba(79, 70, 229, 0.05);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.prog-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* Responsive: hide sidebar on mobile, tabs go full width */
@media (max-width: 768px) {
  .program-tabs {
    margin-left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    gap: 0.4rem;
    justify-content: center;
  }
}