/* =========================
   Download Banner
========================= */
.download-banner {
    padding: 63px 0 62px;
    text-align: center;
    background: #e7f1ff;
    color: #000;
}

.download-banner h1 {
    font-size: 38px;
    margin-bottom: 13px;
    font-weight: bold;
}

.download-banner h1 span {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    margin: 0 5px;
    color: var(--color-blue5);
}

.download-banner h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background-color: var(--color-blue5);
    opacity: 0.08;
}

.download-banner p {
    font-size: 16px;
    opacity: 0.9;
}


/* =========================
   Download Product
========================= */
.download-product {
    padding: 80px 0;
}

.download-product h2 {
    font-size: 32px;
    color: #2e2e2e;
    margin-bottom: 30px;
    text-align: center;
}


/* =========================
   Product Card
========================= */
.prd-card {
    height: 100%;
    padding: 50px 40px;
    background: linear-gradient(
        to top,
        #ffffff 0%,
        #edf4fe 74%,
        #e7f1ff 100%
    );
    border: 1px solid #d3e0ff;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.download-switch .prd-card {
    padding: 39px 34px;
    min-height: 382px;
}

.prd-card img {
    max-width: 100%;
    align-self: center;
}

.prd-card h2 {
    margin: 32px 0 16px;
    font-size: 24px;
    font-weight: bold;
    color: #2e2e2e;
    text-align: center;
}

.download-switch .prd-card h2 {
    font-size: 20px;
}

.prd-card p {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.75;
    color: #404040;
    text-align: center;
}


/* =========================
   Switch Tabs
========================= */
.download-switch {
    padding: 20px 0 80px;
}

.switch-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #ececff;
}

.switch-btn {
    position: relative;
    padding: 0 20px 20px;
    margin: 0 20px;
    font-size: 24px;
    font-weight: bold;
    color: #2e2e2e;
    cursor: pointer;
    transition: color 0.25s ease;
}

.switch-btn.active {
    color: var(--color-blue5);
}

.switch-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background-color: var(--color-blue5);
}

.switch-block {
    display: none;
}

.switch-block.active {
    display: block;
}


/* =========================
   Bootstrap Gutter Override
========================= */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}
/* =========================
   Download Button (Icon Left)
========================= */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 42px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
	margin-top: 32px;
}

/* icon */
.btn-download .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* text */
.btn-download .btn-text {
    display: flex;
    flex-direction: column;
}

.btn-download span {
    font-size: 18px;
    font-weight: 700;
}

.btn-download small {
    font-size: 14px !important;
    opacity: 0.8;
}

/* hover */
.btn-primary:hover {
    background: var(--color-blue4);
}
.btn-primary:hover .btn-icon {
    transform: translateY(2px);
    transition: transform 0.2s ease;
}

/* mobile */
@media (max-width: 768px) {
    .btn-download {
        padding: 14px 32px !important;
    }

    .btn-download span {
        font-size: 16px;
    }

    .btn-download small {
        font-size: 13px;
    }
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .download-banner h1 {
        font-size: 32px;
    }

    .switch-indicator {
        flex-wrap: wrap;
    }

    .switch-btn {
        margin: 0 10px 20px;
        font-size: 20px;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .download-banner {
        padding: 40px 0;
    }

    .download-banner h1 {
        font-size: 28px;
    }

    .download-product,
    .download-switch {
        padding: 40px 0;
    }

    .download-product h2 {
        font-size: 24px;
    }

    .prd-card,
    .download-switch .prd-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .prd-card h2 {
        font-size: 20px;
    }

    .prd-card p {
        font-size: 14px;
    }

    .switch-btn {
        padding: 0 15px 15px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .switch-indicator {
        flex-direction: column;
        align-items: center;
    }

    .switch-btn {
        width: 100%;
        margin-bottom: 15px;
        padding-bottom: 10px;
        text-align: center;
    }

    .switch-btn.active::after {
        left: 25%;
        width: 50%;
    }

    .btn-group {
        gap: 12px;
    }
}
