/* =========================================================
   BOXZERO TASKS DOWNLOAD PAGE
   ========================================================= */

:root {
    --bz-purple: #b008f3;
    --bz-purple-light: #c43cff;
    --bz-pink: #ec4899;

    --bz-white: #ffffff;
    --bz-text: #f5f5f7;
    --bz-muted: #b5b5c0;

    --bz-glass: rgba(25, 25, 40, 0.55);
    --bz-glass-light: rgba(255, 255, 255, 0.12);

    --bz-border: rgba(255, 255, 255, 0.13);

    --bz-shadow:
        0 20px 70px rgba(0, 0, 0, 0.35);

    --bz-radius: 28px;
}


/* =========================================================
   PAGE
   ========================================================= */

.download-page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;

    position: relative;

    padding:
        150px
        20px
        100px;

    box-sizing: border-box;
}


/* =========================================================
   DOWNLOAD CONTAINER
   ========================================================= */

.downloads-container {

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    display: flex;
    justify-content: center;

    position: relative;

    box-sizing: border-box;
}


/* =========================================================
   CARD
   ========================================================= */

.cart {

    width: 100%;
    max-width: 900px;

    position: relative;

    box-sizing: border-box;

    padding: 55px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.09),
            rgba(255,255,255,0.025)
        );

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    border:
        1px solid
        rgba(255,255,255,0.13);

    border-radius: var(--bz-radius);

    box-shadow:
        0 25px 80px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.08);

    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


.cart::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    right: -150px;

    background:
        radial-gradient(
            circle,
            rgba(176,8,243,.20),
            transparent 70%
        );

    pointer-events: none;
}


.cart::after {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    bottom: -180px;
    left: -140px;

    background:
        radial-gradient(
            circle,
            rgba(236,72,153,.12),
            transparent 70%
        );

    pointer-events: none;
}


.cart:hover {

    transform: translateY(-5px);

    border-color:
        rgba(176,8,243,.35);

    box-shadow:
        0 30px 90px rgba(0,0,0,.4),
        0 0 50px rgba(176,8,243,.08);
}


/* =========================================================
   VERSION
   ========================================================= */

.version-tag {

    position: absolute;

    top: 24px;
    right: 24px;

    padding:
        7px
        16px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--bz-purple),
            var(--bz-pink)
        );

    color: white;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 5px 20px
        rgba(176,8,243,.25);
}


/* =========================================================
   ICON
   ========================================================= */

.product-icon {

    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(176,8,243,.20),
            rgba(236,72,153,.08)
        );

    border:
        1px solid
        rgba(255,255,255,.12);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        0 15px 40px rgba(176,8,243,.12);
}


.product-icon i {

    font-size: 48px;

    color: var(--bz-purple-light);

    filter:
        drop-shadow(
            0 0 18px
            rgba(176,8,243,.35)
        );
}


/* =========================================================
   TITLE
   ========================================================= */

.cart h2 {

    margin: 0;

    font-size: 34px;
    font-weight: 800;

    color: var(--bz-text);

    text-align: center;
}


.product-subtitle {

    margin-top: -12px;

    color: var(--bz-muted);

    font-size: 15px;

    text-align: center;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.product-description {

    width: 100%;
    max-width: 760px;

    text-align: right;

    line-height: 2;

    color: var(--bz-muted);

    font-size: 15px;

    padding:
        20px
        24px;

    box-sizing: border-box;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 20px;
}


.product-description p {

    margin: 0 0 10px;
}


.product-description p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {

    width: 100%;
    max-width: 760px;

    text-align: right;
}


.features h3,
.why-download h3,
.system-requirements h3,
.download-links h3,
.source-links h3 {

    margin: 0 0 15px;

    font-size: 19px;

    color: var(--bz-text);
}


.features ul {

    margin: 0;
    padding: 0;

    list-style: none;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.features li {

    padding: 11px 14px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgba(255,255,255,.06);

    color: var(--bz-muted);

    font-size: 13px;

    transition:
        background .25s ease,
        border-color .25s ease;
}


.features li:hover {

    background:
        rgba(176,8,243,.08);

    border-color:
        rgba(176,8,243,.18);
}


/* =========================================================
   WHY DOWNLOAD
   ========================================================= */

.why-download {

    width: 100%;
    max-width: 760px;

    padding: 22px 24px;

    box-sizing: border-box;

    background:
        linear-gradient(
            135deg,
            rgba(176,8,243,.08),
            rgba(255,255,255,.025)
        );

    border:
        1px solid
        rgba(176,8,243,.12);

    border-radius: 20px;

    text-align: right;
}


.why-download p {

    margin: 8px 0;

    color: var(--bz-muted);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   FILE INFO
   ========================================================= */

.file-info {

    width: 100%;
    max-width: 760px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}


.file-info span {

    padding:
        9px
        15px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid
        rgba(255,255,255,.08);

    color: var(--bz-muted);

    font-size: 12px;
}


.file-info i {

    color: var(--bz-purple-light);

    margin-left: 5px;
}


/* =========================================================
   SYSTEM REQUIREMENTS
   ========================================================= */

.system-requirements {

    width: 100%;
    max-width: 760px;

    padding: 22px 24px;

    box-sizing: border-box;

    background:
        rgba(0,0,0,.18);

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 20px;

    text-align: right;
}


.system-requirements ul {

    list-style: none;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.system-requirements li {

    color: var(--bz-muted);

    font-size: 13px;

    padding: 8px;
}


.system-requirements li i {

    color: #50d890;

    margin-left: 6px;
}


/* =========================================================
   DOWNLOAD / SOURCE
   ========================================================= */

.download-links,
.source-links {

    width: 100%;
    max-width: 760px;

    text-align: right;
}


.btn {

    width: 100%;

    min-height: 54px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        14px
        22px;

    border-radius: 999px;

    text-decoration: none;

    color: white;

    font-size: 15px;
    font-weight: 700;

    border:
        1px solid
        rgba(255,255,255,.14);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.download-btn {

    background:
        linear-gradient(
            135deg,
            #b008f3,
            #8b5cf6
        );

    box-shadow:
        0 10px 35px
        rgba(176,8,243,.22);
}


.source-btn {

    background:
        rgba(255,255,255,.06);
}


.btn:hover {

    transform: translateY(-3px);

    border-color:
        rgba(255,255,255,.35);

    box-shadow:
        0 12px 35px
        rgba(176,8,243,.22);
}


.btn:active {

    transform:
        translateY(0)
        scale(.98);
}


/* =========================================================
   PRODUCT FOOTER
   ========================================================= */

.product-footer {

    width: 100%;

    padding-top: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    color: var(--bz-muted);
}


.product-footer strong {

    color: var(--bz-text);

    font-size: 17px;
}


.product-footer span {

    font-size: 12px;
}


/* =========================================================
   LIGHT MODE
   ========================================================= */

[data-theme="light"] .cart {

    background:
        rgba(255,255,255,.55);

    border-color:
        rgba(255,255,255,.75);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.08),
        inset 0 1px 0
        rgba(255,255,255,.9);
}


[data-theme="light"] .cart h2,
[data-theme="light"] .features h3,
[data-theme="light"] .why-download h3,
[data-theme="light"] .system-requirements h3,
[data-theme="light"] .download-links h3,
[data-theme="light"] .source-links h3 {

    color: #252530;
}


[data-theme="light"] .product-description,
[data-theme="light"] .features li,
[data-theme="light"] .system-requirements {

    background:
        rgba(255,255,255,.55);

    border-color:
        rgba(0,0,0,.07);
}


[data-theme="light"] .product-description,
[data-theme="light"] .product-subtitle,
[data-theme="light"] .features li,
[data-theme="light"] .why-download p,
[data-theme="light"] .system-requirements li,
[data-theme="light"] .file-info span {

    color: #666675;
}


[data-theme="light"] .source-btn {

    color: #33333d;

    background:
        rgba(255,255,255,.75);

    border-color:
        rgba(0,0,0,.08);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .download-page {

        padding:
            130px
            15px
            80px;
    }

    .cart {

        padding: 40px 25px;

        border-radius: 24px;
    }

    .features ul,
    .system-requirements ul {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .download-page {

        padding:
            110px
            10px
            60px;
    }

    .cart {

        padding: 35px 18px;

        gap: 20px;

        border-radius: 22px;
    }

    .version-tag {

        top: 15px;
        right: 15px;
    }

    .product-icon {

        width: 80px;
        height: 80px;

        border-radius: 22px;
    }

    .product-icon i {

        font-size: 38px;
    }

    .cart h2 {

        font-size: 27px;
    }

    .product-subtitle {

        font-size: 13px;
    }

    .product-description {

        font-size: 13px;

        padding: 17px;
    }

    .features li {

        font-size: 12px;
    }

    .system-requirements li {

        font-size: 12px;
    }

    .btn {

        min-height: 50px;

        font-size: 13px;
    }

}


@media (max-width: 380px) {

    .cart {

        padding:
            32px
            14px;
    }

    .cart h2 {

        font-size: 24px;
    }

    .file-info {

        flex-direction: column;
        align-items: stretch;
    }

    .file-info span {

        text-align: center;
    }

}