/* ═══════════════════════════════════════════════════════════════
       CSS CUSTOM PROPERTIES - THEMING SYSTEM
    ═══════════════════════════════════════════════════════════════ */
    :root {
      --font-primary: 'Space Grotesk', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      
      /* Timing */
      --transition-fast: 0.15s ease;
      --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      
      /* Spacing */
      --space-xs: 0.25rem;
      --space-sm: 0.5rem;
      --space-md: 1rem;
      --space-lg: 1.5rem;
      --space-xl: 2rem;
      --space-2xl: 3rem;
      --space-3xl: 4rem;
      
      /* Border radius */
      --radius-sm: 0.5rem;
      --radius-md: 1rem;
      --radius-lg: 1.5rem;
      --radius-xl: 2rem;
      --radius-full: 9999px;

      --header-offset: 88px;
    }

    @media (max-width: 768px) {
      :root {
        --header-offset: 76px;
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       DARK THEME (Default)
    ═══════════════════════════════════════════════════════════════ */
    [data-theme="dark"] {
      --bg-primary: #0a0a0b;
      --bg-secondary: #111113;
      --bg-tertiary: #1a1a1e;
      --bg-card: rgba(20, 20, 24, 0.8);
      --bg-glass: rgba(30, 30, 35, 0.6);
      
      --text-primary: #f5f5f7;
      --text-secondary: #a1a1a6;
      --text-muted: #6e6e73;
      
      --accent-primary: linear-gradient(135deg, #ff2d55, #ff6b9d);
      --accent-secondary: linear-gradient(135deg, #bf5af2, #ff2d55);
      --accent-tertiary: linear-gradient(135deg, #5e5ce6, #bf5af2);
      
      --glow-primary: 0 0 40px rgba(255, 45, 85, 0.3);
      --glow-secondary: 0 0 60px rgba(191, 90, 242, 0.2);
      --glow-card: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-accent: rgba(255, 45, 85, 0.3);
      
      --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(255, 45, 85, 0.15) 0%, transparent 50%),
                       radial-gradient(ellipse at 80% 80%, rgba(191, 90, 242, 0.1) 0%, transparent 40%),
                       linear-gradient(180deg, #0a0a0b 0%, #111113 100%);
      
      --gradient-panel-1: linear-gradient(180deg, rgba(255, 45, 85, 0.05) 0%, transparent 100%);
      --gradient-panel-2: linear-gradient(180deg, rgba(94, 92, 230, 0.05) 0%, transparent 100%);
      --gradient-panel-3: linear-gradient(180deg, rgba(191, 90, 242, 0.05) 0%, transparent 100%);
      
      --scrollbar-track: #1a1a1e;
      --scrollbar-thumb: linear-gradient(180deg, #ff2d55, #bf5af2);
    }

    /* ═══════════════════════════════════════════════════════════════
       LIGHT THEME
    ═══════════════════════════════════════════════════════════════ */
    [data-theme="light"] {
      --bg-primary: #fafafa;
      --bg-secondary: #ffffff;
      --bg-tertiary: #f5f5f7;
      --bg-card: rgba(255, 255, 255, 0.9);
      --bg-glass: rgba(255, 255, 255, 0.7);
      
      --text-primary: #1d1d1f;
      --text-secondary: #515154;
      --text-muted: #86868b;
      
      --accent-primary: linear-gradient(135deg, #ff3b5c, #ff7eb3);
      --accent-secondary: linear-gradient(135deg, #a855f7, #ec4899);
      --accent-tertiary: linear-gradient(135deg, #6366f1, #a855f7);
      
      --glow-primary: 0 0 40px rgba(255, 59, 92, 0.2);
      --glow-secondary: 0 0 60px rgba(168, 85, 247, 0.15);
      --glow-card: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
      
      --border-subtle: rgba(0, 0, 0, 0.06);
      --border-accent: rgba(255, 59, 92, 0.2);
      
      --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(255, 126, 179, 0.2) 0%, transparent 40%),
                       radial-gradient(ellipse at 70% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
                       radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                       linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
      
      --gradient-panel-1: linear-gradient(180deg, rgba(255, 126, 179, 0.08) 0%, transparent 100%);
      --gradient-panel-2: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
      --gradient-panel-3: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, transparent 100%);
      
      --scrollbar-track: #f5f5f7;
      --scrollbar-thumb: linear-gradient(180deg, #ff3b5c, #a855f7);
    }

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

    html {
      scroll-behavior: smooth;
      scroll-snap-type: y mandatory;
      scroll-padding-top: 0 !important;
      font-size: 16px;
    }

    body {
      font-family: var(--font-primary);
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background var(--transition-slow), color var(--transition-medium);
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 6px;
    }
    ::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
    }
    ::-webkit-scrollbar-thumb {
      background: var(--scrollbar-thumb);
      border-radius: var(--radius-full);
    }

    /* ═══════════════════════════════════════════════════════════════
       SIDEBAR NAVIGATION
    ═══════════════════════════════════════════════════════════════ */
    .sidebar-toggle {
      position: fixed;
      left: var(--space-md);
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 900;
      transition: all var(--transition-medium);
      box-shadow: var(--glow-card);
    }

    .sidebar-toggle:hover {
      background: var(--bg-card);
      box-shadow: var(--glow-primary);
    }

    .sidebar-toggle svg {
      width: 20px;
      height: 20px;
      fill: var(--text-primary);
      transition: transform var(--transition-medium);
    }

    .sidebar-toggle.active svg {
      transform: rotate(180deg);
    }

    .sidebar {
      position: fixed;
      left: 0;
      top: var(--header-offset);
      bottom: var(--mobile-bottom-bar-height);
      width: 280px;
      background: var(--bg-glass);
      backdrop-filter: blur(30px);
      border-right: 1px solid var(--border-subtle);
      transform: translateX(-100%);
      transition: transform var(--transition-medium);
      z-index: 899;
      overflow-y: auto;
      padding: var(--space-lg);
    }

    .sidebar.active {
      transform: translateX(0);
    }

    .sidebar__title {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--text-muted);
      margin-bottom: var(--space-md);
      padding-bottom: var(--space-sm);
      border-bottom: 1px solid var(--border-subtle);
    }

    .sidebar__nav {
      display: flex;
      flex-direction: column;
      gap: var(--space-xs);
    }

    .sidebar__link {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: transparent;
      border: none;
      border-radius: var(--radius-sm);
      color: var(--text-secondary);
      font-size: 0.85rem;
      cursor: pointer;
      transition: all var(--transition-fast);
      text-align: left;
      font-family: inherit;
    }

    .sidebar__link:hover {
      background: var(--bg-card);
      color: var(--text-primary);
    }

    .sidebar__link.active {
      background: var(--accent-primary);
      color: #fff;
    }

    .sidebar__link-num {
      width: 24px;
      height: 24px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 600;
      font-family: var(--font-mono);
    }

    .sidebar__link.active .sidebar__link-num {
      background: rgba(255, 255, 255, 0.2);
    }

    .sidebar__divider {
      height: 1px;
      background: var(--border-subtle);
      margin: var(--space-md) 0;
    }

    /* ═══════════════════════════════════════════════════════════════
       MAIN CONTENT AREA
    ═══════════════════════════════════════════════════════════════ */
    .main {
      padding-top: 0;
      padding-bottom: 0;
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL BASE STYLES
    ═══════════════════════════════════════════════════════════════ */
    .panel {
      min-height: 100dvh;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      padding: var(--space-2xl) var(--space-lg);
      padding-top: calc(var(--header-offset) + 40px);
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    .panel:last-of-type {
      padding-bottom: calc(var(--mobile-bottom-bar-height) + 40px);
    }

    .panel__container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .panel__header {
      margin-bottom: var(--space-xl);
    }

    .panel__badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-xs);
      padding: var(--space-xs) var(--space-md);
      background: var(--bg-glass);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: var(--space-md);
    }

    .panel__title {
      font-size: clamp(1.75rem, 5vw, 3rem);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: var(--space-md);
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .panel__subtitle {
      font-size: 1rem;
      color: var(--text-secondary);
      max-width: 600px;
    }

    .panel__content {
      flex: 1;
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 1: HERO - EXECUTIVE SUMMARY
    ═══════════════════════════════════════════════════════════════ */
    .panel--hero {
      background: var(--gradient-hero);
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .panel--hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
      opacity: 0.03;
      pointer-events: none;
    }

    .hero__orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.5;
      animation: orbFloat 20s ease-in-out infinite;
    }

    .hero__orb--1 {
      width: 400px;
      height: 400px;
      background: var(--accent-primary);
      top: -100px;
      right: -100px;
    }

    .hero__orb--2 {
      width: 300px;
      height: 300px;
      background: var(--accent-tertiary);
      bottom: -50px;
      left: -50px;
      animation-delay: -7s;
    }

    @keyframes orbFloat {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(30px, -30px) scale(1.05); }
      66% { transform: translate(-20px, 20px) scale(0.95); }
    }

    .hero__content {
      position: relative;
      z-index: 1;
    }

    .hero__eyebrow {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: var(--text-muted);
      margin-bottom: var(--space-lg);
    }

    .hero__title {
      font-size: clamp(2.5rem, 8vw, 5rem);
      font-weight: 700;
      line-height: 1;
      margin-bottom: var(--space-lg);
    }

    .hero__title-line {
      display: block;
    }

    .hero__title-line--accent {
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero__typewriter {
      font-family: var(--font-mono);
      font-size: 1rem;
      color: var(--text-secondary);
      height: 1.5em;
      margin-bottom: var(--space-xl);
    }

    .hero__typewriter-text {
      border-right: 2px solid var(--text-primary);
      animation: blink 1s step-end infinite;
    }

    @keyframes blink {
      50% { border-color: transparent; }
    }

    .hero__glass-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: var(--space-lg);
      max-width: 500px;
      margin: 0 auto var(--space-xl);
      box-shadow: var(--glow-card), var(--glow-secondary);
    }

    .hero__stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-md);
    }

    .hero__stat {
      text-align: center;
    }

    .hero__stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero__stat-label {
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .hero__cta {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-xl);
      background: var(--accent-primary);
      border: none;
      border-radius: var(--radius-full);
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-medium);
      box-shadow: var(--glow-primary);
      font-family: inherit;
    }

    .hero__cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 40px rgba(255, 45, 85, 0.4);
    }

    .hero__scroll-indicator {
      position: absolute;
      bottom: var(--space-xl);
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
      color: var(--text-muted);
      font-size: 0.75rem;
      animation: bounce 2s ease-in-out infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(10px); }
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 2: LEARNING ROADMAP
    ═══════════════════════════════════════════════════════════════ */
    .panel--roadmap {
      background: var(--gradient-panel-1);
    }

    .roadmap {
      position: relative;
      padding: var(--space-xl) 0;
    }

    .roadmap__line {
      position: absolute;
      left: 20px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, var(--border-accent), var(--border-subtle));
    }

    .roadmap__step {
      position: relative;
      padding-left: 60px;
      margin-bottom: var(--space-xl);
      opacity: 0.5;
      transform: translateX(-20px);
      transition: all var(--transition-medium);
    }

    .roadmap__step.active {
      opacity: 1;
      transform: translateX(0);
    }

    .roadmap__step-marker {
      position: absolute;
      left: 8px;
      top: 0;
      width: 26px;
      height: 26px;
      background: var(--bg-tertiary);
      border: 2px solid var(--border-subtle);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 600;
      transition: all var(--transition-medium);
    }

    .roadmap__step.active .roadmap__step-marker {
      background: var(--accent-primary);
      border-color: transparent;
      color: #fff;
      box-shadow: var(--glow-primary);
    }

    .roadmap__step-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      transition: all var(--transition-medium);
    }

    .roadmap__step.active .roadmap__step-card {
      border-color: var(--border-accent);
      box-shadow: var(--glow-card);
    }

    .roadmap__step-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

    .roadmap__step-desc {
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    .roadmap__step-tags {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-xs);
      margin-top: var(--space-md);
    }

    .roadmap__tag {
      padding: var(--space-xs) var(--space-sm);
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      font-size: 0.7rem;
      color: var(--text-muted);
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 3: ETHICAL PRINCIPLES MATRIX
    ═══════════════════════════════════════════════════════════════ */
    .panel--matrix {
      background: var(--gradient-panel-2);
    }

    .matrix {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: var(--space-md);
    }

    .matrix__cell {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      cursor: pointer;
      transition: all var(--transition-medium);
      position: relative;
      overflow: hidden;
    }

    .matrix__cell::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--accent-primary);
      opacity: 0;
      transition: opacity var(--transition-medium);
    }

    .matrix__cell:hover {
      transform: translateY(-4px);
      border-color: var(--border-accent);
      box-shadow: var(--glow-primary);
    }

    .matrix__cell:hover::before {
      opacity: 0.05;
    }

    .matrix__cell-icon {
      width: 48px;
      height: 48px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: var(--space-md);
      position: relative;
    }

    .matrix__cell-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: var(--space-sm);
      position: relative;
    }

    .matrix__cell-desc {
      font-size: 0.85rem;
      color: var(--text-secondary);
      position: relative;
    }

    .matrix__cell-indicator {
      position: absolute;
      top: var(--space-md);
      right: var(--space-md);
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-primary);
    }

    /* Matrix Modal */
    .modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-medium);
      padding: var(--space-lg);
    }

    .modal.active {
      opacity: 1;
      visibility: visible;
    }

    .modal__content {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      max-width: 500px;
      width: 100%;
      max-height: 80vh;
      overflow-y: auto;
      transform: scale(0.9);
      transition: transform var(--transition-medium);
    }

    .modal.active .modal__content {
      transform: scale(1);
    }

    .modal__close {
      position: absolute;
      top: var(--space-md);
      right: var(--space-md);
      width: 36px;
      height: 36px;
      background: var(--bg-tertiary);
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-primary);
      font-size: 1.2rem;
    }

    .modal__title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: var(--space-md);
    }

    .modal__text {
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 4: PREREQUISITES & ASSESSMENT
    ═══════════════════════════════════════════════════════════════ */
    .panel--prerequisites {
      background: var(--gradient-panel-3);
    }

    .checklist {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .checklist__group {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .checklist__summary {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-lg);
      cursor: pointer;
      list-style: none;
      transition: background var(--transition-fast);
    }

    .checklist__summary::-webkit-details-marker {
      display: none;
    }

    .checklist__summary:hover {
      background: var(--bg-tertiary);
    }

    .checklist__icon {
      width: 40px;
      height: 40px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .checklist__title {
      flex: 1;
      font-weight: 600;
    }

    .checklist__arrow {
      width: 24px;
      height: 24px;
      transition: transform var(--transition-medium);
    }

    details[open] .checklist__arrow {
      transform: rotate(180deg);
    }

    .checklist__content {
      padding: 0 var(--space-lg) var(--space-lg);
      border-top: 1px solid var(--border-subtle);
    }

    .checklist__items {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
      padding-top: var(--space-md);
    }

    .checklist__item {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-sm);
      border-radius: var(--radius-sm);
      transition: background var(--transition-fast);
    }

    .checklist__item:hover {
      background: var(--bg-tertiary);
    }

    .checklist__checkbox {
      width: 22px;
      height: 22px;
      appearance: none;
      background: var(--bg-tertiary);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      cursor: pointer;
      position: relative;
      flex-shrink: 0;
      transition: all var(--transition-fast);
    }

    .checklist__checkbox:checked {
      background: var(--accent-primary);
      border-color: transparent;
    }

    .checklist__checkbox:checked::after {
      content: '✓';
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 0.8rem;
      font-weight: bold;
    }

    .checklist__label {
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    .checklist__checkbox:checked + .checklist__label {
      color: var(--text-primary);
      text-decoration: line-through;
      opacity: 0.7;
    }

    .checklist__progress {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-lg);
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
      margin-top: var(--space-lg);
    }

    .checklist__progress-bar {
      flex: 1;
      height: 8px;
      background: var(--bg-secondary);
      border-radius: var(--radius-full);
      overflow: hidden;
    }

    .checklist__progress-fill {
      height: 100%;
      background: var(--accent-primary);
      border-radius: var(--radius-full);
      transition: width var(--transition-medium);
    }

    .checklist__progress-text {
      font-size: 0.85rem;
      font-weight: 600;
      min-width: 50px;
      text-align: right;
    }

    /* ═══════════════════════════════════════════════════════════════
       PANELS 5-10: MODULES (Accordion Style)
    ═══════════════════════════════════════════════════════════════ */
    .panel--module {
      background: var(--bg-secondary);
    }

    .panel--module:nth-child(odd) {
      background: var(--gradient-panel-1);
    }

    .panel--module:nth-child(even) {
      background: var(--gradient-panel-2);
    }

    .module__accordion {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .module__section {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .module__section-header {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-lg);
      cursor: pointer;
      transition: background var(--transition-fast);
    }

    .module__section-header:hover {
      background: var(--bg-tertiary);
    }

    .module__section-num {
      width: 32px;
      height: 32px;
      background: var(--accent-primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 600;
      color: #fff;
      flex-shrink: 0;
    }

    .module__section-title {
      flex: 1;
      font-weight: 600;
    }

    .module__section-duration {
      font-size: 0.75rem;
      color: var(--text-muted);
      padding: var(--space-xs) var(--space-sm);
      background: var(--bg-tertiary);
      border-radius: var(--radius-full);
    }

    .module__section-content {
      display: none;
      padding: 0 var(--space-lg) var(--space-lg);
      border-top: 1px solid var(--border-subtle);
    }

    .module__section.active .module__section-content {
      display: block;
    }

    .module__text {
      color: var(--text-secondary);
      margin-bottom: var(--space-md);
      line-height: 1.7;
    }

    .module__code {
      background: var(--bg-primary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: var(--space-md);
      font-family: var(--font-mono);
      font-size: 0.85rem;
      overflow-x: auto;
      margin-bottom: var(--space-md);
    }

    .module__dilemma {
      background: var(--bg-tertiary);
      border-left: 3px solid;
      border-image: var(--accent-primary) 1;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      padding: var(--space-md);
    }

    .module__dilemma-title {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: var(--space-sm);
    }

    .module__dilemma-text {
      font-size: 0.95rem;
      font-style: italic;
    }

    /* Impact Slider */
    .impact-slider {
      margin-top: var(--space-lg);
      padding: var(--space-lg);
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
    }

    .impact-slider__label {
      display: flex;
      justify-content: space-between;
      margin-bottom: var(--space-sm);
      font-size: 0.85rem;
    }

    .impact-slider__input {
      width: 100%;
      height: 8px;
      appearance: none;
      background: var(--bg-primary);
      border-radius: var(--radius-full);
      outline: none;
    }

    .impact-slider__input::-webkit-slider-thumb {
      appearance: none;
      width: 24px;
      height: 24px;
      background: var(--accent-primary);
      border-radius: 50%;
      cursor: pointer;
      box-shadow: var(--glow-primary);
    }

    .impact-slider__output {
      margin-top: var(--space-md);
      padding: var(--space-md);
      background: var(--bg-card);
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      text-align: center;
      transition: background var(--transition-medium);
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 11: ETHICAL DECISION SIMULATOR
    ═══════════════════════════════════════════════════════════════ */
    .panel--simulator {
      background: var(--gradient-panel-3);
    }

    .simulator {
      display: flex;
      flex-direction: column;
      gap: var(--space-xl);
    }

    .simulator__scenario {
      background: var(--bg-card);
      border: 1px solid var(--border-accent);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      box-shadow: var(--glow-primary);
    }

    .simulator__scenario-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: var(--space-md);
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .simulator__scenario-text {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: var(--space-lg);
    }

    .simulator__choices {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .simulator__choice {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-lg);
      background: var(--bg-tertiary);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-medium);
      font-family: inherit;
      font-size: 0.95rem;
      text-align: left;
      color: var(--text-primary);
    }

    .simulator__choice:hover {
      border-color: var(--border-accent);
      transform: translateX(8px);
    }

    .simulator__choice.selected {
      background: var(--accent-primary);
      border-color: transparent;
      color: #fff;
    }

    .simulator__choice-letter {
      width: 32px;
      height: 32px;
      background: var(--bg-card);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      flex-shrink: 0;
    }

    .simulator__choice.selected .simulator__choice-letter {
      background: rgba(255, 255, 255, 0.2);
    }

    .simulator__result {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      display: none;
    }

    .simulator__result.active {
      display: block;
      animation: fadeIn 0.5s ease-out;
    }

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

    .simulator__result-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: var(--space-md);
    }

    .simulator__result-text {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: var(--space-md);
    }

    .simulator__score {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md);
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
    }

    .simulator__score-label {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .simulator__score-value {
      font-size: 1.5rem;
      font-weight: 700;
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .simulator__next {
      padding: var(--space-md) var(--space-xl);
      background: var(--accent-secondary);
      border: none;
      border-radius: var(--radius-full);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-medium);
      font-family: inherit;
    }

    .simulator__next:hover {
      transform: translateY(-2px);
      box-shadow: var(--glow-secondary);
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 12: REAL-WORLD ETHICAL DILEMMAS
    ═══════════════════════════════════════════════════════════════ */
    .panel--dilemmas {
      background: var(--gradient-panel-1);
    }

    .dilemmas__filters {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
      margin-bottom: var(--space-xl);
    }

    .dilemmas__filter {
      padding: var(--space-sm) var(--space-md);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
      color: var(--text-secondary);
    }

    .dilemmas__filter:hover,
    .dilemmas__filter.active {
      background: var(--accent-primary);
      border-color: transparent;
      color: #fff;
    }

    .dilemmas__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: var(--space-md);
    }

    .dilemma-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      cursor: pointer;
      transition: all var(--transition-medium);
    }

    .dilemma-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--glow-card);
      border-color: var(--border-accent);
    }

    .dilemma-card__header {
      padding: var(--space-lg);
      background: var(--bg-tertiary);
    }

    .dilemma-card__sector {
      display: inline-block;
      padding: var(--space-xs) var(--space-sm);
      background: var(--accent-primary);
      border-radius: var(--radius-sm);
      font-size: 0.7rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: var(--space-sm);
    }

    .dilemma-card__title {
      font-size: 1rem;
      font-weight: 600;
    }

    .dilemma-card__body {
      padding: var(--space-lg);
    }

    .dilemma-card__excerpt {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: var(--space-md);
    }

    .dilemma-card__meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 13: ETHICS COMPLIANCE CHEAT SHEET
    ═══════════════════════════════════════════════════════════════ */
    .panel--cheatsheet {
      background: var(--gradient-panel-2);
    }

    .cheatsheet__search {
      position: relative;
      margin-bottom: var(--space-xl);
    }

    .cheatsheet__search-input {
      width: 100%;
      padding: var(--space-md) var(--space-lg);
      padding-left: 48px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      font-size: 1rem;
      color: var(--text-primary);
      font-family: inherit;
      transition: all var(--transition-fast);
    }

    .cheatsheet__search-input:focus {
      outline: none;
      border-color: var(--border-accent);
      box-shadow: var(--glow-primary);
    }

    .cheatsheet__search-icon {
      position: absolute;
      left: var(--space-lg);
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
    }

    .cheatsheet__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: var(--space-md);
    }

    .cheatsheet__tile {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      transition: all var(--transition-medium);
      cursor: pointer;
    }

    .cheatsheet__tile:hover {
      transform: translateY(-2px);
      border-color: var(--border-accent);
      box-shadow: var(--glow-card);
    }

    .cheatsheet__tile-hotkey {
      display: inline-block;
      padding: var(--space-xs) var(--space-sm);
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: var(--space-sm);
    }

    .cheatsheet__tile-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: var(--space-xs);
    }

    .cheatsheet__tile-desc {
      font-size: 0.8rem;
      color: var(--text-secondary);
    }

    /* ═══════════════════════════════════════════════════════════════
       PANEL 14: WHAT'S NEXT & RESOURCES
    ═══════════════════════════════════════════════════════════════ */
    .panel--resources {
      background: var(--gradient-panel-3);
      position: relative;
      overflow: hidden;
    }

    .resources__bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }

    .resources__star {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--text-muted);
      border-radius: 50%;
      opacity: 0.3;
      animation: twinkle 3s ease-in-out infinite;
    }

    @keyframes twinkle {
      0%, 100% { opacity: 0.3; transform: scale(1); }
      50% { opacity: 0.8; transform: scale(1.2); }
    }

    .resources__content {
      position: relative;
      z-index: 1;
    }

    .resources__cta-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-accent);
      border-radius: var(--radius-lg);
      padding: var(--space-2xl);
      text-align: center;
      margin-bottom: var(--space-2xl);
      box-shadow: var(--glow-primary);
    }

    .resources__cta-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: var(--space-md);
      background: var(--accent-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .resources__cta-text {
      color: var(--text-secondary);
      margin-bottom: var(--space-lg);
    }

    .resources__cta-btn {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-2xl);
      background: var(--accent-primary);
      border: none;
      border-radius: var(--radius-full);
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-medium);
      font-family: inherit;
    }

    .resources__cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--glow-primary);
    }

    .resources__weeks {
      margin-bottom: var(--space-2xl);
    }

    .resources__weeks-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: var(--space-lg);
    }

    .resources__week-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: var(--space-md);
    }

    .resources__week-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      transition: all var(--transition-medium);
    }

    .resources__week-card:hover {
      border-color: var(--border-accent);
      transform: translateY(-2px);
    }

    .resources__week-num {
      display: inline-block;
      padding: var(--space-xs) var(--space-sm);
      background: var(--accent-primary);
      border-radius: var(--radius-sm);
      font-size: 0.7rem;
      color: #fff;
      margin-bottom: var(--space-sm);
    }

    .resources__week-title {
      font-weight: 600;
      margin-bottom: var(--space-xs);
    }

    .resources__week-desc {
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .resources__downloads {
      margin-bottom: var(--space-2xl);
    }

    .resources__downloads-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: var(--space-lg);
    }

    .resources__download-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .resources__download-item {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);
      text-decoration: none;
      color: inherit;
    }

    .resources__download-item:hover {
      background: var(--bg-tertiary);
      border-color: var(--border-accent);
    }

    .resources__download-icon {
      width: 40px;
      height: 40px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }

    .resources__download-name {
      flex: 1;
      font-weight: 500;
    }

    .resources__download-size {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .resources__email {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
    }

    .resources__email-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: var(--space-md);
    }

    .resources__email-form {
      display: flex;
      gap: var(--space-sm);
    }

    .resources__email-input {
      flex: 1;
      padding: var(--space-md);
      background: var(--bg-tertiary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      font-size: 0.95rem;
      color: var(--text-primary);
      font-family: inherit;
    }

    .resources__email-input:focus {
      outline: none;
      border-color: var(--border-accent);
    }

    .resources__email-btn {
      padding: var(--space-md) var(--space-lg);
      background: var(--accent-primary);
      border: none;
      border-radius: var(--radius-md);
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-medium);
      font-family: inherit;
    }

    .resources__email-btn:hover {
      opacity: 0.9;
    }

    /* ═══════════════════════════════════════════════════════════════
       RESPONSIVE DESIGN
    ═══════════════════════════════════════════════════════════════ */
    @media (min-width: 768px) {
      .panel {
        padding: var(--space-3xl) var(--space-2xl);
        padding-top: calc(var(--header-offset) + 56px);
      }

      .hero__stats {
        gap: var(--space-xl);
      }

      .sidebar {
        width: 320px;
      }

      .simulator {
        flex-direction: row;
      }

      .simulator__scenario,
      .simulator__result {
        flex: 1;
      }
    }

    @media (min-width: 1024px) {
      .sidebar-toggle {
        left: var(--space-lg);
      }

      .panel__container {
        padding: 0 var(--space-xl);
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       UTILITIES & ANIMATIONS
    ═══════════════════════════════════════════════════════════════ */
    .fade-in {
      animation: fadeIn 0.6s ease-out forwards;
    }

    .slide-up {
      animation: slideUp 0.6s ease-out forwards;
    }

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

    .hidden {
      display: none !important;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }
