/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: visible;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text {
    max-width: 600px;
}

.download-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
}

.download .section-header {
    text-align: center;
    margin-bottom: 0;
}

.download-btn {
    background: var(--bg-gradient);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-card {
    background: var(--bg-gradient);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    max-width: 400px;
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.download-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--bg-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards (used on download page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    overflow: visible;
    max-width: 100%;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .download {
        padding: 60px 0;
    }

    .download .section-header {
        margin-bottom: 2rem;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .download .section-description {
        padding: 0 1rem;
    }

    .download-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .download-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .download {
        padding: 50px 0;
    }

    .download .section-header {
        margin-bottom: 1.5rem;
    }

    .download-card {
        padding: 2rem 1rem;
    }

    .download-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .download-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .download {
        padding: 40px 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }
}

