/* Shared layout + lesson chrome for education modules (extracted from canonical module shell) */
:root {
            /* Site ile uyumlu Navy + Gold paleti */
            --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            --primary-gradient-hover: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
            --secondary-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            --accent-gradient: linear-gradient(135deg, #d4a853 0%, #b8860b 100%);
            --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            --warning-gradient: linear-gradient(135deg, #facc15 0%, #eab308 100%);
            --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            --dark-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);

            /* Glassmorphism - koyu tema için */
            --glass-bg: rgba(255, 255, 255, 0.08);
            --glass-bg-strong: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.18);
            --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

            /* Metin renkleri - koyu tema */
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e0;
            --text-light: #94a3b8;
            --text-muted: rgba(255, 255, 255, 0.7);

            /* Arka plan renkleri - koyu tema */
            --bg-primary: #0a0a0f;
            --bg-secondary: #1a1a2e;
            --bg-card: rgba(255, 255, 255, 0.05);
            --bg-card-hover: rgba(255, 255, 255, 0.1);
            --border-color: rgba(255, 255, 255, 0.1);

            /* Gölgeler - koyu tema için */
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
            --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
            --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);

            /* Renkler - Navy + Gold */
            --primary: #1e40af;
            --primary-dark: #1e3a8a;
            --primary-light: #3b82f6;
            --secondary: #2563eb;
            --accent: #d4a853;
            --accent-2: #60a5fa;
            --accent-3: #b8860b;
            --success-color: #22c55e;
            --warning-color: #facc15;
            --danger-color: #ef4444;
            --info-color: #3b82f6;

            /* Glow efektleri */
            --glow-primary: 0 0 20px rgba(30, 64, 175, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
            --glow-success: 0 0 20px rgba(34, 197, 94, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
            width: 100%;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            background-attachment: fixed;
            color: var(--text-primary);
            line-height: 1.7;
            margin: 0;
            padding: 0;
            position: relative;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #050508 0%, #0f172a 25%, #1e293b 50%, #1e40af 75%, #0f172a 100%);
            background-size: 400% 400%;
            animation: gradientShift 20s ease infinite;
            z-index: -3;
            pointer-events: none;
        }

        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.25) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(212, 168, 83, 0.12) 0%, transparent 50%);
            animation: backgroundPulse 12s ease-in-out infinite;
            z-index: -2;
            pointer-events: none;
        }

        @keyframes gradientShift {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        @keyframes backgroundPulse {

            0%,
            100% {
                opacity: 0.6;
                transform: scale(1) rotate(0deg);
            }

            50% {
                opacity: 0.8;
                transform: scale(1.05) rotate(2deg);
            }
        }

        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: var(--shadow-md);
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            text-decoration: none;
            color: var(--text-light);
        }

        .module-layout {
            display: flex;
            min-height: 100vh;
            margin-top: 70px;
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
            position: relative;
        }

        .module-sidebar {
            width: 320px;
            background: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--shadow-lg);
            position: fixed;
            height: calc(100vh - 70px);
            overflow-y: auto;
            z-index: 100;
            top: 70px;
            scrollbar-width: thin;
            scrollbar-color: rgba(30, 64, 175, 0.5) transparent;
        }

        .module-sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .module-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .module-sidebar::-webkit-scrollbar-thumb {
            background: rgba(30, 64, 175, 0.4);
            border-radius: 10px;
        }

        .module-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(30, 64, 175, 0.5);
        }

        .sidebar-header {
            padding: 2rem;
            background: var(--primary-gradient);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .sidebar-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.5;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }
        }

        .sidebar-header h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .sidebar-header p {
            opacity: 0.95;
            font-size: 0.9rem;
        }

        .progress-container {
            margin-top: 1.5rem;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #22c55e, #16a34a, #22c55e);
            background-size: 200% 100%;
            border-radius: 10px;
            width: 0%;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: shimmer 2s infinite;
            box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
        }

        @keyframes shimmer {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .progress-text {
            color: white;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .sidebar-nav {
            padding: 1rem;
        }

        .nav-section {
            margin-bottom: 2rem;
        }

        .nav-section h4 {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
            padding-left: 1rem;
        }

        .nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .nav-item {
            display: flex;
            align-items: center;
            padding: 0.9rem 1rem;
            margin-bottom: 0.4rem;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }

        .nav-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--primary-gradient);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .nav-item:hover {
            background: rgba(30, 64, 175, 0.25);
            transform: translateX(5px);
            box-shadow: var(--shadow-sm);
            color: var(--text-primary);
        }

        .nav-item:hover::before {
            transform: scaleY(1);
        }

        .nav-item.active {
            background: var(--primary-gradient);
            color: white;
            box-shadow: var(--shadow-md), var(--glow-primary);
            transform: translateX(5px);
        }

        .nav-item.active::before {
            display: none;
        }

        .nav-item.active i {
            animation: iconPulse 2s ease-in-out infinite;
        }

        @keyframes iconPulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }
        }

        .nav-item i {
            margin-right: 0.8rem;
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
        }

        .nav-item.completed {
            color: var(--success-color);
        }

        .nav-item.completed i::before {
            content: "\f00c";
        }

        .nav-link-anchor {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1rem;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .nav-link-anchor:hover {
            color: var(--primary-light);
            background: rgba(30, 64, 175, 0.15);
        }

        .nav-anchor-list li {
            list-style: none;
            margin: 0;
        }

        /* Sol menü - section navigation (nav-link-section) */
        .nav-section-list li {
            list-style: none;
            margin: 0 0 2px 0;
        }

        .nav-link-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding: 0.6rem 1rem;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
            cursor: pointer;
            word-break: break-word;
            line-height: 1.4;
        }

        .nav-link-section:hover {
            color: var(--primary-light);
            background: rgba(30, 64, 175, 0.15);
        }

        .nav-link-section.active {
            color: var(--accent);
            background: rgba(212, 168, 83, 0.15);
        }

        .nav-link-section.completed {
            border-left: 3px solid var(--success-color);
            font-weight: 500;
        }

        .nav-link-section i {
            flex-shrink: 0;
            width: 1.25em;
            text-align: center;
        }

        .nav-link-section .nav-label i {
            color: rgba(255, 255, 255, 0.92);
        }

        .nav-link-section.active .nav-label i {
            color: var(--accent);
        }

        .nav-link-section:hover .nav-label i {
            color: #ffffff;
        }

        .nav-link-section .nav-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-width: 0;
            flex: 1;
        }

        .nav-expand-indicator {
            width: 1rem;
            text-align: center;
            opacity: 0.8;
            color: rgba(255, 255, 255, 0.7);
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .nav-section-item.is-open>.nav-link-section .nav-expand-indicator {
            transform: rotate(90deg);
            opacity: 1;
        }

        .nav-sublist {
            list-style: none;
            margin: 0;
            padding: 0;
            display: none;
        }

        .nav-section-item.is-open>.nav-sublist {
            display: block;
        }

        .nav-subitem {
            list-style: none;
            margin: 0 0 2px 0;
        }

        .nav-link-sub {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0.85rem 0.4rem 2rem;
            color: #b6c2d9;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.82rem;
            line-height: 1.35;
            cursor: pointer;
            word-break: break-word;
        }

        .nav-link-sub i {
            flex-shrink: 0;
            width: 1.05em;
            text-align: center;
            opacity: 0.9;
        }

        .nav-link-sub .subtopic-icon {
            color: rgba(255, 255, 255, 0.94);
            opacity: 1;
        }

        .nav-link-sub:hover .subtopic-icon {
            color: #ffffff;
        }

        .nav-link-sub.active .subtopic-icon {
            color: #fde68a;
        }

        .nav-link-sub:hover {
            color: #dbeafe;
            background: rgba(59, 130, 246, 0.14);
        }

        .nav-link-sub.active {
            color: #fde68a;
            background: rgba(212, 168, 83, 0.16);
        }

        .nav-module-header {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--accent);
            padding: 0.9rem 1rem 0.35rem;
            margin-top: 0.5rem;
            border-top: 1px solid var(--border-color);
        }

        .nav-module-header:first-child {
            margin-top: 0;
            padding-top: 0.35rem;
            border-top: none;
        }

        .nav-section-list {
            padding: 0;
        }

        .docx-content {
            padding: 2rem;
            max-width: 900px;
        }

        .docx-content h1 {
            font-size: 2rem;
            margin: 3rem 0 1.5rem;
            color: var(--primary-light);
        }

        .docx-content h2 {
            font-size: 1.5rem;
            margin: 2.5rem 0 1rem;
            color: var(--primary-light);
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .docx-content h3 {
            font-size: 1.25rem;
            margin: 2rem 0 0.75rem;
            color: var(--text-primary);
        }

        .docx-content h4 {
            font-size: 1.1rem;
            margin: 1.5rem 0 0.5rem;
            color: var(--text-primary);
        }

        .docx-content p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .docx-content ul,
        .docx-content ol {
            margin: 1rem 0 1.5rem 1.5rem;
            color: var(--text-secondary);
        }

        .docx-content li {
            margin-bottom: 0.5rem;
        }

        .docx-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: var(--bg-card);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .docx-content th,
        .docx-content td {
            padding: 0.75rem 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-secondary);
        }

        .docx-content thead th {
            background: var(--primary-gradient);
            color: white;
            font-weight: 600;
        }

        .docx-content tr:last-child td {
            border-bottom: none;
        }

        .docx-content strong {
            color: var(--text-primary);
        }

        /* Readability upgrades for module content */
        .docx-content .section-inner>h2 {
            font-weight: 800;
            font-size: 1.5rem;
            line-height: 1.35;
            color: #0b0b0b;
            border-left: 4px solid rgba(92, 16, 16, 0.75);
            padding-left: 0.7rem;
            margin-top: 1.9rem;
            margin-bottom: 0.9rem;
        }

        .docx-content .section-inner>h3 {
            font-weight: 750;
            font-size: 1.18rem;
            line-height: 1.4;
            color: #3f3f40;
            margin-top: 1.2rem;
            margin-bottom: 0.65rem;
        }

        /* Ensure anchor jumps start from the heading itself */
        .section-inner h2[id],
        .section-inner h3[id] {
            scroll-margin-top: 110px;
        }

        .docx-content .section-inner p {
            line-height: 1.82;
            color: #4f5050;
        }

        .docx-content .section-inner ul {
            list-style: none;
            padding-left: 0;
            margin: 0.8rem 0 1rem;
        }

        .docx-content .section-inner ul li {
            position: relative;
            padding-left: 1.65rem;
            margin-bottom: 0.55rem;
        }

        .docx-content .section-inner ul li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0.1rem;
            color: #460606;
            font-size: 0.9rem;
        }

        .docx-content .section-inner .learning-objectives ul,
        .docx-content .section-inner .learning-objectives ul li {
            list-style: none;
        }

        .docx-content .section-inner .learning-objectives ul li::before {
            color: var(--success-color);
        }

        .docx-content .section-inner .learning-objectives ul ul {
            margin: 0.5rem 0 0.35rem;
            padding-left: 0.6rem;
        }

        .docx-content .section-inner .learning-objectives ul ul li {
            padding-top: 0.35rem;
            padding-bottom: 0.35rem;
        }

        .docx-content .section-inner .learning-objectives ul ul li::before {
            content: '\2022';
            font-family: inherit;
            font-weight: 800;
            color: #93c5fd;
        }

        /* Dikkat / Ipuclari callout styles */
        .module-note {
            position: relative;
            margin: 1.1rem 0;
            padding: 0.95rem 1rem 0.95rem 2.6rem;
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: rgba(30, 41, 59, 0.45);
            line-height: 1.7;
        }

        .module-note::before {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0.95rem;
            top: 0.95rem;
            font-size: 1rem;
        }

        .module-note strong {
            font-weight: 800;
        }

        .module-note-warning {
            border-left: 4px solid #f59e0b;
            background: rgba(245, 158, 11, 0.12);
            color: #fef3c7;
        }

        .module-note-warning::before {
            content: '\f071';
            color: #fbbf24;
        }

        .module-note-tip {
            border-left: 4px solid #38bdf8;
            background: rgba(56, 189, 248, 0.12);
            color: #e0f2fe;
        }

        .module-note-tip::before {
            content: '\f0eb';
            color: #38bdf8;
        }

        .module-note-reminder {
            border-left: 4px solid #f97316;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(124, 45, 18, 0.16));
            color: #ffedd5;
        }

        .module-note-reminder::before {
            content: '\f06d';
            color: #fb923c;
        }

        .module-note-example {
            border-left: 4px solid #4f1086;
            background: linear-gradient(135deg, rgba(143, 22, 249, 0.18), rgba(124, 45, 18, 0.16));
            color: #ffedd5;
        }

        .module-note-example::before {
            content: '\f06d';
            color: #8724ae;
        }

        .section-mini-heading {
            font-weight: 800;
            color: #e2e8f0;
            margin-top: 1rem;
            margin-bottom: 0.45rem;
            letter-spacing: 0.01em;
        }



        /* 0.5 Runbook typography hierarchy */
        .runbook-phase-heading {
            font-weight: 800;
            font-size: 1.03rem;
            color: #f8fafc;
            margin-top: 1rem;
            margin-bottom: 0.35rem;
            letter-spacing: 0.01em;
            border-left: 4px solid #ef4444;
            padding-left: 0.6rem;
        }

        .runbook-phase-heading.no-left-line {
            border-left: none;
            padding-left: 0;
        }

        .runbook-step-line {
            font-weight: 680;
            font-size: 0.98rem;
            color: #e2e8f0;
            margin-top: 0.4rem;
            margin-bottom: 0.25rem;
        }

        .runbook-step-line.no-step-bold {
            font-weight: 500 !important;
        }

        /* 0.5 runbook lists use dot bullets instead of checks */
        .runbook-dot-list li::before {
            content: '•' !important;
            font-family: inherit !important;
            font-weight: 700 !important;
            color: #cbd5e1 !important;
            top: 0 !important;
            font-size: 1rem !important;
        }

        /* Carded reading blocks */
        .topic-card {
            margin: 0.95rem 0 1.1rem;
            border-radius: 14px;
            border: 1px solid rgba(148, 163, 184, 0.25);
            background: rgba(15, 23, 42, 0.45);
            box-shadow: 0 10px 24px rgba(2, 6, 23, 0.15);
            overflow: hidden;
        }

        .topic-card .topic-card-title {
            margin: 0;
            padding: 0.78rem 1rem;
            font-weight: 800;
            font-size: 0.98rem;
            letter-spacing: 0.01em;
            border-bottom: 1px solid rgba(255, 255, 255, 0.16);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #ffffff;
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        }

        .topic-card .topic-card-title::before {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
        }

        .topic-card .topic-card-body {
            padding: 0.9rem 1rem 0.95rem;
        }

        .topic-card .topic-card-body>*:first-child {
            margin-top: 0;
        }

        .topic-card .topic-card-body>*:last-child {
            margin-bottom: 0;
        }

        .topic-card.topic-card-meaning {
            border-left: 4px solid #3b82f6;
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.11) 0%, rgba(15, 23, 42, 0.38) 100%);
        }

        .topic-card.topic-card-meaning .topic-card-title {
            background: rgba(30, 64, 175, 0.55);
        }

        .topic-card.topic-card-meaning .topic-card-title::before {
            content: '\f05a';
            color: #60a5fa;
        }

        .topic-card.topic-card-impact {
            border-left: 4px solid #f59e0b;
            background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.38) 100%);
        }

        .topic-card.topic-card-impact .topic-card-title {
            background: rgba(146, 64, 14, 0.55);
        }

        .topic-card.topic-card-impact .topic-card-title::before {
            content: '\f06a';
            color: #fbbf24;
        }

        .topic-card.topic-card-evidence {
            border-left: 4px solid #a78bfa;
            background: linear-gradient(180deg, rgba(167, 139, 250, 0.11) 0%, rgba(15, 23, 42, 0.38) 100%);
        }

        .topic-card.topic-card-evidence .topic-card-title {
            background: rgba(91, 33, 182, 0.55);
        }

        .topic-card.topic-card-evidence .topic-card-title::before {
            content: '\f0f6';
            color: #c4b5fd;
        }

        .topic-card.topic-card-defense {
            border-left: 4px solid #22c55e;
            background: linear-gradient(180deg, rgba(34, 197, 94, 0.1) 0%, rgba(15, 23, 42, 0.38) 100%);
        }

        .topic-card.topic-card-defense .topic-card-title {
            background: rgba(20, 83, 45, 0.55);
        }

        .topic-card.topic-card-defense .topic-card-title::before {
            content: '\f132';
            color: #4ade80;
        }

        .content-section {
            display: none;
            padding: 2rem;
            width: 100%;
            max-width: 100%;
            background: transparent;
            min-height: calc(100vh - 70px);
            position: relative;
            z-index: 1;
            overflow-x: hidden;
            overflow-y: visible;
            box-sizing: border-box;
        }

        .content-section>* {
            max-width: 100%;
            box-sizing: border-box;
        }

        .content-section img,
        .content-section video,
        .content-section iframe {
            max-width: 100%;
            height: auto;
        }

        .lesson-image {
            width: 100%;
            max-width: 160px;
            height: auto;
            border-radius: 12px;
            margin: 0.5rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.12);
            display: block;
            image-rendering: auto;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            object-fit: cover;
        }

        .lesson-image:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 168, 83, 0.2);
        }

        .lesson-image-caption {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 0.4rem;
            margin-bottom: 0.75rem;
            font-style: italic;
            max-width: 200px;
            line-height: 1.4;
        }

        .content-section table {
            max-width: 100%;
            table-layout: fixed;
        }

        .content-section pre,
        .content-section code {
            max-width: 100%;
            overflow-x: auto;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Linux Terminal Görselleştirmesi */
        .linux-terminal {
            background: linear-gradient(180deg, #1e1e2e 0%, #181825 100%);
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            overflow: hidden;
            margin: 1.5rem 0;
            border: 1px solid rgba(255, 255, 255, 0.08);
            font-family: 'Consolas', 'Monaco', 'Ubuntu Mono', monospace;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .linux-terminal .term-header {
            background: #313244;
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .linux-terminal .term-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .linux-terminal .term-dot.red {
            background: #f38ba8;
        }

        .linux-terminal .term-dot.yellow {
            background: #f9e2af;
        }

        .linux-terminal .term-dot.green {
            background: #a6e3a1;
        }

        .linux-terminal .term-title {
            color: #a6adc8;
            font-size: 0.8rem;
            margin-left: 12px;
        }

        .linux-terminal .term-body {
            padding: 1rem 1.25rem;
            color: #cdd6f4;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .linux-terminal .term-prompt {
            color: #a6e3a1;
        }

        .linux-terminal .term-cmd {
            color: #89b4fa;
        }

        .linux-terminal .term-output {
            color: #a6adc8;
        }

        .linux-terminal .term-comment {
            color: #6c7086;
        }

        .linux-terminal .term-highlight {
            color: #f9e2af;
        }

        /* Windows PowerShell terminal görünümü */
        .windows-terminal {
            background: linear-gradient(180deg, #0d1117 0%, #010409 100%);
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
            overflow: hidden;
            margin: 1.25rem 0;
            border: 1px solid rgba(88, 166, 255, 0.18);
            font-family: 'Cascadia Code', 'Consolas', 'Monaco', monospace;
            font-size: 0.86rem;
            line-height: 1.55;
        }

        .windows-terminal .term-header {
            background: #161b22;
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .windows-terminal .term-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .windows-terminal .term-dot.red {
            background: #f85149;
        }

        .windows-terminal .term-dot.yellow {
            background: #d29922;
        }

        .windows-terminal .term-dot.green {
            background: #3fb950;
        }

        .windows-terminal .term-title {
            color: #8b949e;
            font-size: 0.8rem;
            margin-left: 12px;
        }

        .windows-terminal .term-body {
            padding: 1rem 1.25rem;
            color: #c9d1d9;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .windows-terminal .term-prompt {
            color: #58a6ff;
        }

        .windows-terminal .term-cmd {
            color: #79c0ff;
        }

        .windows-terminal .term-output {
            color: #8b949e;
        }

        .windows-terminal .term-comment {
            color: #6e7681;
        }

        .windows-terminal .term-highlight {
            color: #ffa657;
        }

        /* macOS Terminal (zsh) görünümü */
        .macos-terminal {
            background: linear-gradient(180deg, #2b1f3d 0%, #15101f 100%);
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            overflow: hidden;
            margin: 1.25rem 0;
            border: 1px solid rgba(167, 139, 250, 0.22);
            font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
            font-size: 0.86rem;
            line-height: 1.55;
        }

        .macos-terminal .term-header {
            background: rgba(0, 0, 0, 0.28);
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .macos-terminal .term-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .macos-terminal .term-dot.red {
            background: #ff5f56;
        }

        .macos-terminal .term-dot.yellow {
            background: #ffbd2e;
        }

        .macos-terminal .term-dot.green {
            background: #27c93f;
        }

        .macos-terminal .term-title {
            color: #c4b5fd;
            font-size: 0.8rem;
            margin-left: 12px;
        }

        .macos-terminal .term-body {
            padding: 1rem 1.25rem;
            color: #ede9fe;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .macos-terminal .term-prompt {
            color: #c4b5fd;
        }

        .macos-terminal .term-cmd {
            color: #67e8f9;
        }

        .macos-terminal .term-output {
            color: #ddd6fe;
            opacity: 0.95;
        }

        .macos-terminal .term-comment {
            color: #a78bfa;
            opacity: 0.85;
        }

        .macos-terminal .term-highlight {
            color: #fde047;
        }

        .module-2-enhanced .mod2-os-section .linux-terminal,
        .module-2-enhanced .mod2-os-section .windows-terminal,
        .module-2-enhanced .mod2-os-section .macos-terminal {
            margin: 1rem 0 0;
        }

        .module-2-enhanced .mod2-wireshark-terminal {
            margin: 1rem 0 0;
            border-color: rgba(52, 211, 153, 0.28);
            box-shadow: 0 8px 28px rgba(16, 185, 129, 0.12);
        }


        .example-box {
            background: rgba(163, 35, 226, 0.12);
            border-left: 4px solid var(--success-color);
            padding: 1rem 1.25rem;
            margin: 1.5rem 0;
            border-radius: 0 12px 12px 0;
        }

        .lesson-image-wrap {
            margin: 0.75rem 0;
            padding: 0.6rem;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: inline-flex;
            flex-direction: column;
            align-items: flex-start;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .lesson-image-wrap:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(212, 168, 83, 0.2);
        }

        /* Modül 2: kart / tablo / düz metin çeşitliliği */
        .module-2-enhanced .mod2-card {
            background: rgba(30, 41, 59, 0.48);
            border: 1px solid rgba(148, 163, 184, 0.22);
            border-radius: 12px;
            padding: 1rem 1.15rem;
            margin: 0.85rem 0;
        }

        .module-2-enhanced .mod2-card-grid {
            display: grid;
            gap: 1rem;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            margin: 1rem 0;
        }

        .module-2-enhanced .mod2-card h4 {
            font-size: 1.02rem;
            margin: 0 0 0.5rem;
            color: #e2e8f0;
            font-weight: 750;
        }

        /* Modül 6: Adım + Eylem — ilk sütun rakam (global %25 ilk sütun burada gereksiz geniş) */
        .module-2-enhanced .comparison-table.mod6-step-table th:first-child,
        .module-2-enhanced .comparison-table.mod6-step-table td:first-child {
            width: 2.85rem;
            min-width: 2.5rem;
            max-width: 4.25rem;
            text-align: center;
            padding-left: 0.65rem;
            padding-right: 0.65rem;
        }

        .module-2-enhanced .comparison-table.mod6-step-table th:nth-child(2),
        .module-2-enhanced .comparison-table.mod6-step-table td:nth-child(2) {
            width: auto;
            max-width: none;
        }

        .module-2-enhanced .mod2-bypass-strip {
            border-left: 4px solid rgba(245, 158, 11, 0.85);
            background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(30, 41, 59, 0.35));
            padding: 1rem 1.15rem;
            border-radius: 0 12px 12px 0;
            margin: 1.1rem 0;
        }

        .module-2-enhanced .mod2-os-section {
            margin: 1.35rem 0;
            padding: 1rem 1.1rem 1.15rem;
            border-radius: 12px;
            border-left: 4px solid #3b82f6;
            background: rgba(15, 23, 42, 0.4);
        }

        .module-2-enhanced .mod2-os-section h4 {
            margin: 0 0 0.75rem;
            font-size: 1.08rem;
            color: #dbeafe;
            font-weight: 800;
        }

        .module-2-enhanced .mod2-cmd-title {
            font-weight: 750;
            color: #bfdbfe;
            margin: 0 0 0.35rem;
            font-size: 0.98rem;
        }

        .module-2-enhanced .mod2-cmd-code {
            font-family: ui-monospace, Consolas, Monaco, monospace;
            font-size: 0.8rem;
            background: rgba(0, 0, 0, 0.38);
            padding: 0.5rem 0.65rem;
            border-radius: 8px;
            margin: 0.35rem 0 0.55rem;
            word-break: break-word;
            color: #cbd5e1;
            line-height: 1.45;
        }

        .module-2-enhanced .mod2-cmd-snippet {
            margin: 0.75rem 0 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        }

        .module-2-enhanced .mod2-cmd-snippet:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .module-2-enhanced .mod2-lede {
            line-height: 1.78;
            color: var(--text-secondary);
            margin: 0.85rem 0 1rem;
        }

        .module-2-enhanced .mod2-two-col-note {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }

        @media (max-width: 720px) {
            .module-2-enhanced .mod2-two-col-note {
                grid-template-columns: 1fr;
            }
        }

        .risk-visual-card {
            margin: 0.9rem 0 1.2rem;
            padding: 0.85rem;
            border-radius: 14px;
            border: 1px solid rgba(245, 158, 11, 0.35);
            background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(30, 41, 59, 0.3));
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
        }

        .risk-visual-card .lesson-image-wrap {
            margin: 0 0 0.7rem;
        }

        .risk-meter {
            display: grid;
            gap: 0.45rem;
        }

        .risk-meter-label {
            font-size: 0.84rem;
            color: #f8fafc;
            font-weight: 700;
            letter-spacing: 0.01em;
        }

        .risk-meter-track {
            position: relative;
            height: 8px;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.26);
            overflow: hidden;
        }

        .risk-meter-fill {
            position: absolute;
            inset: 0 auto 0 0;
            width: 64%;
            border-radius: 999px;
            background: linear-gradient(90deg, #22c55e 0%, #f59e0b 62%, #ef4444 100%);
            animation: riskPulse 2.2s ease-in-out infinite;
            box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
        }

        @keyframes riskPulse {

            0%,
            100% {
                transform: scaleX(1);
                opacity: 0.9;
            }

            50% {
                transform: scaleX(0.93);
                opacity: 1;
            }
        }

        .data-protect-visual {
            margin: 0.9rem 0 1.2rem;
            padding: 0.95rem;
            border-radius: 14px;
            border: 1px solid rgba(129, 140, 248, 0.45);
            background: linear-gradient(135deg, rgba(76, 29, 149, 0.42) 0%, rgba(59, 130, 246, 0.26) 55%, rgba(15, 23, 42, 0.4) 100%);
            box-shadow: 0 12px 26px rgba(30, 27, 75, 0.34);
        }

        .data-protect-visual .lesson-image-wrap {
            margin: 0 0 0.65rem;
        }

        .integrity-pulse {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.6rem 0.7rem;
            border-radius: 10px;
            background: rgba(15, 23, 42, 0.38);
            border: 1px solid rgba(165, 180, 252, 0.32);
        }

        .integrity-pulse-icon {
            position: relative;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: #eef2ff;
            background: rgba(99, 102, 241, 0.45);
            border: 1px solid rgba(196, 181, 253, 0.62);
            box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.2);
        }

        .integrity-pulse-icon::after {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            border: 2px solid rgba(165, 180, 252, 0.58);
            animation: integrityWave 2.2s ease-out infinite;
        }

        .integrity-pulse-text {
            font-size: 0.92rem;
            color: #ffffff;
            font-weight: 800;
            letter-spacing: 0.01em;
            text-shadow: 0 1px 2px rgba(15, 23, 42, 0.65);
        }

        @keyframes integrityWave {
            0% {
                transform: scale(0.86);
                opacity: 0.85;
            }

            100% {
                transform: scale(1.22);
                opacity: 0;
            }
        }

        /* Figure / Şekil - Görsel + başlık grubu */
        .figure-block {
            margin: 1.25rem 0;
            text-align: center;
        }

        .figure-block .lesson-image-wrap {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .figure-block .lesson-image {
            max-width: 180px;
            margin-left: auto;
            margin-right: auto;
        }

        .figure-caption {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.6rem;
            font-style: italic;
            max-width: 360px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.45;
        }

        .figure-number {
            font-weight: 700;
            color: var(--accent);
        }

        /* Process / Akış diyagramı */
        .process-flow {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin: 2rem 0;
            padding: 1.5rem;
        }

        .process-step {
            background: var(--bg-card);
            border: 2px solid var(--primary);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            min-width: 120px;
            text-align: center;
            font-weight: 600;
            color: var(--text-primary);
            position: relative;
            transition: all 0.3s ease;
        }

        .process-step:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }

        .process-step::after {
            content: '→';
            position: absolute;
            right: -1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent);
            font-size: 1.2rem;
        }

        .process-step:last-child::after {
            display: none;
        }

        @media (max-width: 640px) {
            .process-step::after {
                display: none;
            }
        }

        /* 1.5 MITRE ATT&CK — özet */
        .mitre-attack-block {
            margin: 1rem 0 1.25rem;
            padding: 1rem 1.1rem 1.15rem;
            border-radius: 14px;
            border: 1px solid rgba(167, 139, 250, 0.35);
            background: linear-gradient(165deg, rgba(76, 29, 149, 0.16), rgba(15, 23, 42, 0.5));
            box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
        }

        .mitre-attack-block .process-flow {
            margin: 0.65rem 0 1rem;
            padding: 1rem 0.75rem;
        }

        .mitre-attack-block .comparison-table {
            margin: 0;
        }

        .mitre-attack-block .comparison-table td:first-child {
            font-weight: 700;
            color: #e2e8f0;
            vertical-align: top;
            width: 28%;
        }

        /* 1.6 HOW-TO — iki ana çıktı */
        .howto-deliverables-block {
            margin: 1rem 0 1.25rem;
            padding: 1rem 1.1rem 1.15rem;
            border-radius: 14px;
            border: 1px solid rgba(59, 130, 246, 0.35);
            background: linear-gradient(145deg, rgba(30, 58, 138, 0.22), rgba(15, 23, 42, 0.48));
            box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
        }

        .howto-deliverables-block .process-flow {
            margin: 0.65rem 0 1rem;
            padding: 1rem 0.75rem;
        }

        .howto-deliverables-block .comparison-table {
            margin: 0;
        }

        .howto-deliverables-block .comparison-table td:first-child {
            font-weight: 700;
            color: #e2e8f0;
            vertical-align: top;
            width: 30%;
        }

        /* BYPASS / erişim farkındalığı blokları (1.2 vb.) */
        .bypass-awareness-block {
            margin: 1rem 0 1.5rem;
            padding: 1rem 1.1rem 1.15rem;
            border-radius: 14px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: rgba(15, 23, 42, 0.42);
            box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
        }

        .bypass-awareness-block .process-flow {
            margin: 0.6rem 0 0.95rem;
            padding: 1rem 0.75rem;
        }

        .bypass-awareness-block .comparison-table {
            margin: 0 0 0.25rem;
        }

        .bypass-awareness-block .comparison-table td:first-child {
            font-weight: 700;
            color: #e2e8f0;
            vertical-align: top;
        }

        /* 1.2 Risk formülü: Olasılık × Etki */
        .risk-formula-block {
            margin: 1rem 0 1.35rem;
            padding: 1.1rem 1.15rem 1.2rem;
            border-radius: 14px;
            border: 1px solid rgba(59, 130, 246, 0.35);
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.5));
            box-shadow: 0 10px 28px rgba(2, 6, 23, 0.25);
        }

        .risk-formula-parts {
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            justify-content: center;
            gap: 0.75rem 1rem;
        }

        .risk-formula-card {
            flex: 1 1 220px;
            max-width: 420px;
            padding: 0.85rem 1rem;
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(15, 23, 42, 0.55);
        }

        .risk-formula-label {
            display: block;
            font-weight: 800;
            font-size: 1.02rem;
            color: #f8fafc;
            letter-spacing: 0.02em;
            margin-bottom: 0.45rem;
        }

        .risk-formula-desc {
            display: block;
            font-size: 0.92rem;
            line-height: 1.65;
            color: #cbd5e1;
        }

        .risk-formula-op {
            display: flex;
            align-items: center;
            justify-content: center;
            align-self: center;
            min-width: 2.5rem;
            font-size: 2rem;
            font-weight: 800;
            color: #fbbf24;
            text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
        }

        @media (max-width: 640px) {
            .risk-formula-op {
                min-width: auto;
                width: 100%;
                padding: 0.25rem 0;
            }
        }

        /* 1.3 Tehdit aktörleri — özet blok */
        .threat-actor-block,
        .defense-mimari-block {
            margin: 1rem 0 1.25rem;
            padding: 1rem 1.1rem 1.15rem;
            border-radius: 14px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: rgba(15, 23, 42, 0.45);
            box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
        }

        .defense-mimari-block {
            border-color: rgba(34, 197, 94, 0.28);
            background: linear-gradient(165deg, rgba(20, 83, 45, 0.12), rgba(15, 23, 42, 0.48));
        }

        .threat-actor-block .process-flow,
        .defense-mimari-block .process-flow {
            margin: 0.65rem 0 1rem;
            padding: 1rem 0.75rem;
        }

        .threat-actor-block .comparison-table,
        .defense-mimari-block .comparison-table {
            margin: 0;
        }

        .threat-actor-block .comparison-table td:first-child,
        .defense-mimari-block .comparison-table td:first-child {
            font-weight: 700;
            color: #e2e8f0;
            vertical-align: top;
            width: 32%;
        }

        .threat-actor-detail-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.85rem;
            margin: 1.15rem 0 1rem;
        }

        @media (max-width: 900px) {
            .threat-actor-detail-grid {
                grid-template-columns: 1fr;
            }
        }

        .threat-actor-detail-card {
            border-radius: 12px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(30, 41, 59, 0.4);
            padding: 0.85rem 0.95rem 0.95rem;
        }

        .threat-actor-card-title {
            margin: 0 0 0.55rem;
            font-weight: 800;
            font-size: 0.95rem;
            color: #f8fafc;
            letter-spacing: 0.02em;
            border-left: 4px solid #38bdf8;
            padding-left: 0.55rem;
        }

        .threat-actor-detail-card ul {
            margin: 0.4rem 0 0 !important;
            padding-left: 0 !important;
        }

        .threat-actor-detail-card li {
            margin-bottom: 0.45rem;
            font-size: 0.9rem;
            line-height: 1.58;
        }

        /* Tip / İpucu kutusu */
        .tip-box {
            background: rgba(212, 168, 83, 0.12);
            border-left: 4px solid var(--accent);
            border-radius: 0 12px 12px 0;
            padding: 1.25rem 1.5rem;
            margin: 1.5rem 0;
            box-shadow: var(--shadow-sm);
        }

        .tip-box strong {
            color: var(--accent);
        }

        .content-section.active {
            display: block;
            animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .lesson-header {
            margin-bottom: 3rem;
        }

        .lesson-header h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-light);
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.2;
        }

        .lesson-header p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .content-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary-gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .content-card:hover {
            box-shadow: var(--shadow-xl), var(--glow-primary);
            transform: translateY(-4px);
            border-color: rgba(30, 64, 175, 0.35);
        }

        .content-card:hover::before {
            transform: scaleX(1);
        }

        .content-card h2 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-light);
            margin-bottom: 0;
            margin-top: 0;
            display: block;
            position: relative;
        }

        .content-card h2 i {
            color: var(--info-color);
            font-size: 1.5rem;
            padding: 0.5rem;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .content-card:hover h2 i {
            transform: rotate(5deg) scale(1.1);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .content-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-top: 2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-color);
        }

        .content-card h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }

        .content-card p {
            color: var(--text-secondary);
            margin-bottom: 1.2rem;
            line-height: 1.8;
            text-align: left;
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
            max-width: 100%;
        }

        .content-card * {
            max-width: 100%;
            box-sizing: border-box;
        }

        .content-card ul,
        .content-card ol {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            padding-left: 1rem;
        }

        .content-card li {
            margin-bottom: 0.8rem;
            line-height: 1.8;
            text-align: left;
        }

        .content-card strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Comparison Tables */
        .comparison-table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: var(--bg-card);
            border-radius: 16px;
            overflow-x: auto;
            overflow-y: visible;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-color);
            box-sizing: border-box;
            display: table;
            table-layout: fixed;
            word-wrap: break-word;
        }

        .comparison-table th,
        .comparison-table td {
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
            max-width: 0;
        }

        .comparison-table th:first-child,
        .comparison-table td:first-child {
            width: 25%;
        }

        .comparison-table th:not(:first-child),
        .comparison-table td:not(:first-child) {
            width: auto;
        }

        @media (max-width: 768px) {
            .comparison-table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .comparison-table thead,
            .comparison-table tbody,
            .comparison-table tr {
                display: table;
                width: 100%;
                table-layout: fixed;
            }
        }

        .comparison-table thead {
            background: var(--primary-gradient);
            color: white;
        }

        .comparison-table th {
            padding: 1.5rem;
            text-align: left;
            font-weight: 700;
            font-size: 1rem;
            font-family: 'Space Grotesk', sans-serif;
        }


        .comparison-table td {
            padding: 1.2rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-secondary);
            vertical-align: top;
            line-height: 1.7;
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        .comparison-table tr:last-child td {
            border-bottom: none;
        }

        .comparison-table tbody tr {
            transition: all 0.3s ease;
        }

        .comparison-table tbody tr:hover {
            background: rgba(30, 64, 175, 0.25);
            transform: scale(1.01);
        }

        .comparison-table tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.03);
        }

        .comparison-table tbody tr:nth-child(even):hover {
            background: rgba(30, 64, 175, 0.3);
        }

        /* Feature Table */
        .feature-table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: var(--bg-card);
            border-radius: 16px;
            overflow-x: auto;
            overflow-y: visible;
            box-shadow: var(--shadow-lg);
            box-sizing: border-box;
            display: table;
            table-layout: auto;
        }

        @media (max-width: 768px) {
            .feature-table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .feature-table thead,
            .feature-table tbody,
            .feature-table tr {
                display: table;
                width: 100%;
                table-layout: fixed;
            }
        }

        .feature-table thead {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            color: white;
        }

        .feature-table th {
            padding: 1.2rem;
            text-align: center;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .feature-table td {
            padding: 1rem;
            text-align: center;
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
        }

        .comparison-table .check,
        .feature-table .check {
            color: var(--success-color);
            font-size: 1.2rem;
            font-weight: bold;
        }

        .comparison-table .cross,
        .feature-table .cross {
            color: var(--danger-color);
            font-size: 1.2rem;
            font-weight: bold;
        }

        /* Learning Objectives Box */
        .learning-objectives {
            background: rgba(30, 64, 175, 0.2);
            border-left: 5px solid #1e40af;
            border-radius: 12px;
            padding: 2rem;
            margin: 2rem 0;
            box-shadow: var(--shadow-md);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .learning-objectives h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .learning-objectives h3 i {
            color: #3b82f6;
        }

        .learning-objectives ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .learning-objectives li {
            padding: 0.75rem 0;
            padding-left: 2rem;
            position: relative;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .learning-objectives li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--success-color);
        }


        /* Key Concepts Box */
        .key-concepts {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .key-concept-card {
            background: var(--bg-card);
            border-radius: 12px;
            padding: 1.5rem;
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .key-concept-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--primary-gradient);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .key-concept-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(30, 64, 175, 0.35);
        }

        .key-concept-card:hover::before {
            transform: scaleY(1);
        }

        .key-concept-card h4 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.2rem;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .key-concept-card h4 i {
            color: var(--info-color);
        }

        .key-concept-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin: 0;
        }

        .info-box {
            background: rgba(59, 130, 246, 0.15);
            border-left: 4px solid var(--info-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .info-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--info-gradient);
            animation: slideDown 0.5s ease;
        }

        @keyframes slideDown {
            from {
                height: 0;
            }

            to {
                height: 100%;
            }
        }

        .info-box:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-md);
        }

        .info-box i {
            color: var(--info-color);
            margin-right: 0.5rem;
        }

        .lesson-complete-footer {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 1rem;
        }

        .lesson-complete-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: var(--accent-gradient);
            color: #1a1a2e;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: var(--shadow-sm);
        }

        .lesson-complete-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .lesson-complete-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .lesson-complete-btn .fa-check {
            font-size: 1rem;
        }

        .success-box {
            background: rgba(34, 197, 94, 0.15);
            border-left: 4px solid var(--success-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .success-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--success-gradient);
            animation: slideDown 0.5s ease;
        }

        .success-box:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-md), var(--glow-success);
        }

        .warning-box {
            background: rgba(250, 204, 21, 0.15);
            border-left: 4px solid var(--warning-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .warning-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--warning-gradient);
            animation: slideDown 0.5s ease;
        }

        .warning-box:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-md);
        }

        .danger-box {
            background: rgba(239, 68, 68, 0.15);
            border-left: 4px solid var(--danger-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            position: relative;
            overflow-x: hidden;
            overflow-y: visible;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .danger-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--danger-gradient);
            animation: slideDown 0.5s ease;
        }

        .danger-box:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-md);
        }

        .glossary-table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            overflow-x: auto;
            overflow-y: visible;
            box-shadow: var(--shadow-md);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-sizing: border-box;
            display: table;
            table-layout: auto;
        }

        @media (max-width: 768px) {
            .glossary-table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .glossary-table thead,
            .glossary-table tbody,
            .glossary-table tr {
                display: table;
                width: 100%;
                table-layout: fixed;
            }
        }

        .glossary-table thead {
            background: var(--primary-gradient);
            color: white;
        }

        .glossary-table th {
            padding: 1.2rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .glossary-table td {
            padding: 1.2rem;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-secondary);
        }

        .glossary-table tr:hover {
            background: rgba(30, 64, 175, 0.25);
        }

        .glossary-table tr:last-child td {
            border-bottom: none;
        }

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

        .cia-item {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 1.5rem;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
            border: 2px solid var(--border-color);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .cia-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .cia-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-xl);
        }

        .cia-item:hover::after {
            opacity: 1;
        }

        .cia-item.confidentiality {
            border-color: var(--info-color);
        }

        .cia-item.integrity {
            border-color: var(--success-color);
        }

        .cia-item.availability {
            border-color: var(--warning-color);
        }

        .cia-item h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cia-item.confidentiality h4 {
            color: var(--info-color);
        }

        .cia-item.integrity h4 {
            color: var(--success-color);
        }

        .cia-item.availability h4 {
            color: var(--warning-color);
        }

        .quiz-container {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 1.5rem;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
            margin: 2rem 0;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.8);
            position: relative;
        }

        .quiz-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-gradient);
            border-radius: 20px 20px 0 0;
        }

        .quiz-question {
            margin-bottom: 2rem;
        }

        .quiz-question h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .quiz-options {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .quiz-option {
            padding: 1.2rem 1.5rem;
            margin-bottom: 0.8rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.1);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .quiz-option::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: var(--info-gradient);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .quiz-option:hover {
            border-color: var(--info-color);
            background: rgba(59, 130, 246, 0.2);
            transform: translateX(8px);
            box-shadow: var(--shadow-md);
        }

        .quiz-option:hover::before {
            transform: scaleY(1);
        }

        .quiz-option.selected {
            border-color: var(--info-color);
            background: rgba(59, 130, 246, 0.25);
            box-shadow: var(--shadow-md), 0 0 0 3px rgba(59, 130, 246, 0.2);
        }

        .quiz-option.selected::before {
            transform: scaleY(1);
        }

        .quiz-option.correct {
            border-color: var(--success-color);
            background: rgba(34, 197, 94, 0.2);
        }

        .quiz-option.incorrect {
            border-color: var(--danger-color);
            background: rgba(239, 68, 68, 0.2);
        }

        .quiz-explanation {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(59, 130, 246, 0.15);
            border-left: 4px solid var(--info-color);
            border-radius: 8px;
            display: none;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .quiz-explanation.show {
            display: block;
        }

        .quiz-submit-btn {
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 1rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .quiz-submit-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .quiz-submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-xl), var(--glow-primary);
        }

        .quiz-submit-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .quiz-submit-btn:active {
            transform: translateY(-1px);
        }

        .quiz-result {
            margin-top: 2rem;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            display: none;
        }

        .quiz-result.show {
            display: block;
        }

        .quiz-result.success {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
            border: 2px solid var(--success-color);
        }

        .next-lesson-btn {
            background: var(--success-gradient);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
            display: none;
        }

        .next-lesson-btn.show {
            display: inline-block;
        }

        .next-lesson-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .highlight-box {
            background: rgba(30, 64, 175, 0.2);
            border-left: 4px solid #1e40af;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Mobile Menu Toggle Button */
        .mobile-menu-toggle {
            display: none;
            position: fixed;
            top: 1rem;
            left: 1rem;
            z-index: 1001;
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-xl);
        }

        .mobile-menu-toggle i {
            font-size: 1.2rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .mobile-menu-toggle {
                display: block;
            }

            .module-sidebar {
                transform: translateX(-100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: var(--shadow-2xl);
            }

            .module-sidebar.open {
                transform: translateX(0);
            }

            main {
                margin-left: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
            }

            .content-section {
                margin-left: 0;
                width: 100%;
                max-width: 100vw;
                padding: 2rem 1rem;
                box-sizing: border-box;
            }

            .lesson-header h1 {
                font-size: 2rem;
            }

            .content-card {
                padding: 1.5rem;
                border-radius: 16px;
            }

            .content-card h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 0.75rem 0;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .module-sidebar {
                width: 280px;
            }

            .sidebar-header {
                padding: 1.5rem;
            }

            main {
                margin-left: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
            }

            .content-section {
                padding: 1.5rem 1rem;
                width: 100%;
                max-width: 100vw;
                margin-left: 0;
                box-sizing: border-box;
            }

            .lesson-header h1 {
                font-size: 1.75rem;
            }

            .content-card {
                padding: 1.25rem;
            }

            .content-card h2 {
                font-size: 1.3rem;
            }

            .content-card h3 {
                font-size: 1.2rem;
            }

            .quiz-container {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .lesson-header h1 {
                font-size: 1.5rem;
            }

            .content-card {
                padding: 1rem;
                overflow-x: hidden;
            }

            .content-card h2 {
                font-size: 1.2rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .cia-card {
                grid-template-columns: 1fr;
            }

            main {
                margin-left: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
            }

            .content-section,
            .docx-content {
                padding: 1rem;
                width: 100%;
                max-width: 100vw;
                margin-left: 0;
                box-sizing: border-box;
            }

            .comparison-table,
            .feature-table,
            .glossary-table {
                font-size: 0.85rem;
            }

            .comparison-table th,
            .comparison-table td,
            .feature-table th,
            .feature-table td,
            .glossary-table th,
            .glossary-table td {
                padding: 0.75rem;
            }
        }
