/* ========================================
   ZONA DE DESCARGAS - ESTILOS
======================================== */

.downloads-zone {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.main-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    animation: fadeInDown 0.8s ease;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 3px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECCIONES DE DESCARGA
======================================== */
.download-section {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease;
}

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

.section-subtitle {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle i {
    font-size: 2.5rem;
    color: #8b5cf6;
}

/* ========================================
   WINDOWS GRID (6 ITEMS)
======================================== */
.downloads-windows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   MACOS GRID (2 ITEMS)
======================================== */
.downloads-macos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   DOWNLOAD ITEM
======================================== */
.download-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.download-item:hover::before {
    transform: scaleX(1);
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.download-item-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.download-item:hover .download-item-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}

.download-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-item p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-download-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-download-item:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.btn-download-item i {
    font-size: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .downloads-windows-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

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

    .downloads-windows-grid {
        grid-template-columns: 1fr;
    }

    .downloads-macos-grid {
        grid-template-columns: 1fr;
    }

    .download-item {
        padding: 1.5rem;
    }

    .download-item-image {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .download-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-subtitle i {
        font-size: 2rem;
    }

    .download-item {
        padding: 1rem;
    }

    .download-item-image {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .download-item h3 {
        font-size: 1rem;
    }

    .btn-download-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========================================
   MOBILE MENU
======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        max-width: 300px;
    }

    .nav-menu li:hover {
        width: 100%;
        max-width: 300px;
    }
}
