
/* =====================================
   DOWNLOAD APPLICATION SECTION
===================================== */

.download-section {
    padding: 100px 20px;
    background: #f7faff;
    position: relative;
    overflow: hidden;
}

.download-container {
    max-width: 1200px;
    margin: auto;
}

/* Heading */

.download-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.download-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 50px;
    background: #e8f1ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.download-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #172554;
    margin-bottom: 16px;
}

.download-heading h2 span {
    color: #2563eb;
}

.download-heading p {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

/* Grid */

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* Card */

.download-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--app-color);
}

.download-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
    border-color: transparent;
}

.download-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.download-icon {
    width: 65px;
    height: 65px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: var(--app-color);
    background: var(--app-bg);
}

.download-platform {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 30px;
}

.download-platform i {
    color: #16a34a;
    margin-right: 4px;
}

.download-category {
    font-size: 10px;
    font-weight: 800;
    color: var(--app-color);
    letter-spacing: 1.2px;
}

.download-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #172554;
    margin: 10px 0;
}

.download-content p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding: 15px 0;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 11px;
}

.download-meta i {
    margin-right: 4px;
    color: var(--app-color);
}

/* Download Button */

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 18px;
    background: var(--app-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.download-button:hover {
    color: #ffffff;
    filter: brightness(0.92);
    transform: translateY(-2px);
}

.download-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.download-button:hover .download-arrow {
    transform: translateX(4px);
}

/* Application Colors */

.download-blue {
    --app-color: #2563eb;
    --app-bg: #eff6ff;
}

.download-green {
    --app-color: #16a34a;
    --app-bg: #f0fdf4;
}

.download-orange {
    --app-color: #ea580c;
    --app-bg: #fff7ed;
}

/* Note */

.download-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.download-note i {
    color: #2563eb;
    font-size: 17px;
}

/* Reveal Animation */

[data-download-reveal] {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    transition-delay: var(--download-delay, 0ms);
}

[data-download-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 991px) {
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .download-section {
        padding: 70px 18px;
    }

    .download-heading {
        margin-bottom: 35px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .download-card {
        min-height: 340px;
        padding: 25px;
    }

    .download-content h3 {
        font-size: 19px;
    }

    .download-note {
        align-items: flex-start;
        text-align: left;
        line-height: 1.7;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    [data-download-reveal],
    .download-card,
    .download-button {
        transition: none;
    }
}
