    /* =========================================================
       RESET
    ========================================================= */

    * {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        min-height: 100%;
    }


    /* =========================================================
       BODY
    ========================================================= */

    body {
        font-family: Arial, Helvetica, sans-serif;

        color: #292433;

        background: #f7f5fc;

        overflow-x: auto;
    }

    .row {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(4, 1fr);
    }

    /* Laptop nhỏ / tablet ngang */
    @media (max-width: 1200px) {
        .row {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* Tablet */
    @media (max-width: 768px) {
        .row {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Điện thoại */
    @media (max-width: 480px) {
        .row {
            grid-template-columns: 1fr;
        }
    }

    /* =========================================================
       PAGE
    ========================================================= */

    .page {
        width: 100%;
        min-width: 1100px;
        min-height: 100vh;

        padding: 35px 30px 100px;
    }


    /* =========================================================
       ROADMAP
    ========================================================= */

    .roadmap {
        position: relative;

        width: 100%;
        min-width: 1040px;
        max-width: 1400px;

        margin: 0 auto;
    }


    /* =========================================================
       SVG CONNECTIONS
    ========================================================= */

    .connections {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        pointer-events: none;

        overflow: visible;

        z-index: 1;
    }

    .connection {
        fill: none;

        stroke: #7c5cfc;

        stroke-width: 3;

        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .connection-main {
        fill: none;

        stroke: #7c5cfc;

        stroke-width: 3;

        stroke-linecap: round;
    }


    /* =========================================================
       ROADMAP CONTENT
    ========================================================= */

    .roadmap-content {
        position: relative;

        z-index: 2;
    }


    /* =========================================================
       TITLE
    ========================================================= */

    .roadmap-title {
        position: relative;

        width: 300px;

        margin: 0 auto 55px;

        padding: 10px 15px;

        text-align: center;

        font-size: 28px;
        font-weight: 600;

        color: #292433;

        background: #f7f5fc;

        z-index: 5;
    }


    /* =========================================================
       SPINE
    ========================================================= */

    .spine {
        position: absolute;

        top: 55px;
        bottom: -100px;

        left: 50%;

        width: 3px;

        transform: translateX(-50%);

        background: #7c5cfc;

        z-index: 1;
    }


    /* =========================================================
       SECTION
    ========================================================= */

    .section {
        position: relative;

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            280px
            minmax(0, 1fr);

        min-height: 190px;

        align-items: center;
    }

    .section:last-child {
        min-height: 130px;
    }


    /* =========================================================
       MAIN NODE
    ========================================================= */

    .main-node-wrapper {
        grid-column: 2;

        position: relative;

        display: flex;

        justify-content: center;
        align-items: center;

        z-index: 10;
    }

    .main-node {
        position: relative;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        width: 250px;
        height: 55px;

        padding: 10px 18px;

        color: #292433;

        background: #c9b6ff;

        border: 2px solid #3d3450;

        border-radius: 7px;

        font-size: 22px;
        font-weight: 500;

        white-space: nowrap;

        cursor: pointer;

        box-shadow:
            0 2px 0 rgba(61, 52, 80, 0.08);

        transition:
            transform 0.15s ease,
            box-shadow 0.15s ease,
            background 0.15s ease;
    }

    .main-node:hover {
        background: #bda6ff;

        transform: translateY(-2px);

        box-shadow:
            0 5px 12px rgba(61, 52, 80, 0.15);
    }

    .main-node.active {
        background: #bda6ff;
    }


    /* =========================================================
       BRANCHES
    ========================================================= */

    .branches {
        display: flex;

        flex-direction: column;

        gap: 10px;

        padding: 20px 0;
    }

    .branches.left {
        grid-column: 1;

        align-items: flex-end;

        padding-right: 35px;
    }

    .branches.right {
        grid-column: 3;

        align-items: flex-start;

        padding-left: 35px;
    }


    /* =========================================================
       BRANCH NODE
    ========================================================= */

    .branch-node {
        position: relative;

        display: flex;

        align-items: center;
        justify-content: center;

        width: 270px;
        height: 48px;

        padding: 6px 15px;

        color: #292433;

        background: #ede7ff;

        border: 2px solid #3d3450;

        border-radius: 6px;

        font-size: 18px;
        font-weight: 400;

        text-align: center;

        white-space: nowrap;

        cursor: pointer;

        box-shadow:
            0 2px 0 rgba(61, 52, 80, 0.06);

        transition:
            transform 0.15s ease,
            background 0.15s ease,
            box-shadow 0.15s ease;
    }

    .branch-node:hover {
        background: #dccfff;

        transform: translateY(-1px);

        box-shadow:
            0 4px 10px rgba(61, 52, 80, 0.12);
    }


    /* =========================================================
       COMPLETED
    ========================================================= */

    .branch-node.active {
        background: #dccfff;

        text-decoration: line-through;

        text-decoration-thickness: 2px;

        text-decoration-color: #292433;
    }


    /* =========================================================
       START / END
    ========================================================= */

    .start-section {
        min-height: 90px;
    }

    .end-section {
        min-height: 150px;
    }


    /* =========================================================
       PROGRESS
    ========================================================= */

    .progress {
        position: fixed;

        right: 20px;
        bottom: 20px;

        width: 180px;

        padding: 12px;

        background: rgba(255, 255, 255, 0.96);

        border: 1px solid #d8d2e5;

        border-radius: 8px;

        box-shadow:
            0 5px 20px rgba(61, 52, 80, 0.08);

        z-index: 100;
    }

    .progress-title {
        margin-bottom: 7px;

        font-size: 11px;

        color: #777;
    }

    .progress-value {
        margin-bottom: 7px;

        font-size: 13px;

        font-weight: 600;
    }

    .progress-bar {
        width: 100%;

        height: 5px;

        overflow: hidden;

        background: #eee;

        border-radius: 10px;
    }

    .progress-fill {
        width: 0;

        height: 100%;

        background: #7c5cfc;

        transition: width 0.3s ease;
    }


    /* =========================================================
       FULL SCREEN MODAL
    ========================================================= */

    .modal {
        position: fixed;

        inset: 0;

        display: none;

        align-items: stretch;
        justify-content: stretch;

        padding: 0;

        background: #fff;

        z-index: 1000;
    }

    .modal.show {
        display: flex;
    }


    /* =========================================================
       MODAL BOX
    ========================================================= */

    .modal-box {
        position: relative;

        width: 100%;
        height: 100vh;

        max-width: none;
        max-height: none;

        overflow-y: auto;

        background: #fff;

        border-radius: 0;

        padding: 50px 60px 60px;

        box-shadow: none;

        animation: modalIn 0.2s ease;
    }


    /* =========================================================
       MODAL ANIMATION
    ========================================================= */

    @keyframes modalIn {
        from {
            opacity: 0;

            transform:
                translateY(10px);
        }

        to {
            opacity: 1;

            transform:
                translateY(0);
        }
    }


    /* =========================================================
       MODAL CLOSE
    ========================================================= */

    .modal-close {
        position: fixed;

        top: 20px;
        right: 25px;

        width: 42px;
        height: 42px;

        border: 0;

        border-radius: 50%;

        background: #f1f1f1;

        font-size: 24px;

        cursor: pointer;

        z-index: 10;
    }

    .modal-close:hover {
        background: #7c5cfc;

        color: #fff;
    }


    /* =========================================================
       MODAL TITLE
    ========================================================= */

    .modal-title {
        margin: 0 60px 30px 0;

        font-size: 32px;

        font-weight: 600;
    }


    /* =========================================================
       MODAL CONTENT
    ========================================================= */

    .modal-content {
        width: 100%;

        font-size: 18px;

        line-height: 1.7;
    }

    .modal-content p {
        margin: 0 0 15px;
    }

    .modal-content ul {
        padding-left: 25px;
    }


    /* =========================================================
       MODAL IMAGES
    ========================================================= */

    .modal-images {
        display: flex;

        flex-direction: column;

        gap: 25px;

        margin-top: 30px;
    }

    .modal-images img {
        display: block;

        width: 100%;

        max-width: 1200px;

        max-height: none;

        object-fit: contain;

        border-radius: 8px;

        background: #f5f5f5;
    }


    /* =========================================================
       MODAL FOOTER
    ========================================================= */

    .modal-footer {
        display: flex;

        justify-content: flex-start;

        margin-top: 35px;

        padding-top: 25px;

        border-top: 1px solid #eee;
    }


    /* =========================================================
       COMPLETE BUTTON
    ========================================================= */

    .complete-button {
        border: 0;

        padding: 12px 20px;

        border-radius: 6px;

        color: #fff;

        background: #7c5cfc;

        font-size: 16px;

        cursor: pointer;
    }

    .complete-button:hover {
        background: #6846e8;
    }


    /* =========================================================
       MOBILE
       GIỮ NGUYÊN BỐ CỤC DESKTOP
    ========================================================= */

    @media (max-width: 700px) {

        .page {
            width: 1100px;

            min-width: 1100px;

            padding: 35px 20px 100px;
        }

        .roadmap {
            width: 1040px;

            min-width: 1040px;

            max-width: 1040px;
        }


        /* ---------------------------------------------------------
           TITLE
        --------------------------------------------------------- */

        .roadmap-title {
            width: 300px;

            margin-left: auto;
            margin-right: auto;

            text-align: center;

            font-size: 28px;
        }


        /* ---------------------------------------------------------
           SPINE
        --------------------------------------------------------- */

        .spine {
            left: 50%;
        }


        /* ---------------------------------------------------------
           SECTION
        --------------------------------------------------------- */

        .section {
            display: grid;

            grid-template-columns:
                minmax(0, 1fr)
                280px
                minmax(0, 1fr);

            min-height: 190px;

            margin-bottom: 0;

            padding-left: 0;
        }


        /* ---------------------------------------------------------
           MAIN NODE
        --------------------------------------------------------- */

        .main-node-wrapper {
            grid-column: 2;

            justify-content: center;

            margin-bottom: 0;
        }

        .main-node {
            width: 220px;
            height: 55px;

            font-size: 22px;

            white-space: nowrap;
        }


        /* ---------------------------------------------------------
           LEFT BRANCH
        --------------------------------------------------------- */

        .branches.left {
            grid-column: 1;

            align-items: flex-end;

            padding-right: 35px;
        }


        /* ---------------------------------------------------------
           RIGHT BRANCH
        --------------------------------------------------------- */

        .branches.right {
            grid-column: 3;

            align-items: flex-start;

            padding-left: 35px;
        }


        /* ---------------------------------------------------------
           BRANCHES
        --------------------------------------------------------- */

        .branches {
            gap: 10px;

            padding-top: 20px;

            padding-bottom: 20px;
        }


        /* ---------------------------------------------------------
           BRANCH NODE
        --------------------------------------------------------- */

        .branch-node {
            width: 270px;
            height: 48px;

            font-size: 18px;

            white-space: nowrap;
        }


        /* ---------------------------------------------------------
           PROGRESS
        --------------------------------------------------------- */

        .progress {
            right: 10px;

            bottom: 10px;

            width: 180px;
        }


        /* =========================================================
           MODAL MOBILE
        ========================================================= */

        .modal {
            padding: 0;
        }

        .modal-box {
            width: 100%;

            height: 100vh;

            max-width: none;
            max-height: none;

            padding: 55px 18px 30px;
        }


        .modal-title {
            margin-right: 45px;

            margin-bottom: 22px;

            font-size: 25px;
        }


        .modal-content {
            font-size: 16px;

            line-height: 1.6;
        }


        .modal-images {
            gap: 15px;

            margin-top: 20px;
        }


        .modal-images img {
            width: 100%;

            max-width: none;

            border-radius: 5px;
        }


        .modal-close {
            top: 12px;

            right: 12px;

            width: 40px;
            height: 40px;
        }


        .modal-footer {
            margin-top: 25px;

            padding-top: 20px;
        }


        .complete-button {
            width: 100%;
        }
    }

    .lesson-card {
        height: 100%;
        padding: 16px;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
    }

    .lesson-card-title {
        margin: 0 0 14px;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
    }

    .youtube-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 8px;
        background: #000;
    }

    .youtube-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }