/**
 * Landing Page CSS
 * Estilos específicos para a página inicial
 */

/* Estilos do Swiper */
.swiper {
    width: 100%;
    padding: 10px 0;
}

.swiper-slide {
    width: 280px;
    height: auto;
    background: transparent;
}

/* Card styles */
.file-card {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: rgba(17, 24, 39, 0.5);
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-content {
    padding: 1rem;
    background: rgba(31, 41, 55, 0.5);
}

.card-footer {
    padding: 0.75rem 1rem;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(75, 85, 99, 0.2);
}

/* Novo estilo para os cards */
.download-card {
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.1);
}

.download-card .image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: rgba(17, 24, 39, 0.5);
    overflow: hidden;
}

.download-card .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: transparent;
}

.download-card:hover .image-container img {
    transform: scale(1.05);
}

.download-card .content {
    padding: 0.5rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(17, 24, 39, 0.5);
    flex: 1;
}

.download-card .title {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.download-card .info {
    color: #a1a1aa;
    font-size: 0.95em;
    margin-bottom: 0.25rem;
    text-align: center;
}

.download-card .cotacoes {
    color: #a3e635;
    font-size: 0.95em;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.download-card .btn-request {
    background: linear-gradient(135deg, #9333EA, #7C3AED);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.download-card .btn-request:hover {
    background: linear-gradient(135deg, #A855F7, #8B5CF6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

.ad-row {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0 1.5rem 0;
    box-shadow: 0 2px 12px rgba(124,58,237,0.08);
}

/* Personalização dos controles do Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #A855F7;
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(4px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: #A855F7;
}

.min-h-screen {
    background: linear-gradient(to bottom, #111827, #1F2937);
}

/* Responsividade */
@media (max-width: 768px) {
    .download-card .title {
        font-size: 1rem;
    }
    
    .download-card .info {
        font-size: 0.9em;
    }
    
    .download-card .btn-request {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .ad-row {
        font-size: 1.1rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .download-card .title {
        font-size: 0.95rem;
    }
    
    .download-card .info {
        font-size: 0.85em;
    }
    
    .download-card .btn-request {
        padding: 0.35rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .ad-row {
        font-size: 1rem;
        padding: 1.25rem 0.875rem;
    }
} 