/* Downloads Section */
.downloads-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInFromBottom 1s ease-out 3.4s forwards;
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.downloads-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.125rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Download Cards Container */
.downloads-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin: 0 auto;
    justify-content: center;
}

/* Download Card Link Wrapper */
.download-card-link {
    text-decoration: none !important;
    color: inherit;
}

.download-card-link:hover,
.download-card-link:active,
.download-card-link:visited,
.download-card-link:focus {
    text-decoration: none !important;
    color: inherit;
    outline: none;
}

/* Download Card - Exact match from reference design */
.download-card {
    position: relative;
    background-color: #07080B;
    border: 2px solid rgba(118, 173, 240, 0.4);
    border-radius: 20px;
    padding: 16px 18px 18px 18px;
    transition: all var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
    width: 340px;
    max-width: 340px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 15px rgba(118, 173, 240, 0.08);
    /* Remove tap highlight and selection */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.download-card:hover {
    transform: translateY(-2px);
    border-color: #76adf0;
    box-shadow: inset 0 0 20px rgba(118, 173, 240, 0.12);
}

/* Card Icon Badge */
.card-icon-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: all var(--transition-fast);
}

.download-card:hover .card-icon-badge {
    transform: scale(1.05);
}

.card-icon-badge img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* Card Content */
.card-content {
    padding-right: 70px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
    line-height: 1.1;
}

.card-title-line {
    display: block;
    margin-bottom: 2px;
}

.card-title-line:last-child {
    margin-bottom: 0;
}

.card-description {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-top: auto;
    padding-top: 10px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .downloads-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .downloads-header {
        margin-bottom: var(--spacing-xl);
    }

    .downloads-cards {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .download-card-link {
        width: 100%;
        max-width: 85%;
    }

    .download-card-link .download-card {
        max-width: 100%;
    }

    .download-card {
        width: 100%;
        max-width: 85%;
        padding: 14px 16px;
        min-height: 110px;
    }

    .card-icon-badge {
        width: 44px;
        height: 44px;
        top: 12px;
        right: 12px;
    }

    .card-icon-badge img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .card-content {
        padding-right: 56px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-title-line {
        margin-bottom: 1px;
    }

    .card-description {
        font-size: 12px;
        padding-top: 6px;
    }
}

@media (max-width: 480px) {
    .downloads-section {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .downloads-cards {
        gap: var(--spacing-sm);
    }
}
