@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
}

.gradient-text {
    background: linear-gradient(90deg, #25d366, #128c7e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.2));
    border-radius: 12px;
}

.pricing-card {
    transition: all 0.4s ease;
}

/* Efeito hover: movimento lateral suave */
.pricing-card:hover {
    transform: translateX(10px);
    box-shadow: -5px 10px 30px rgba(37, 211, 102, 0.3);
}

/* Desktop: Tamanho fixo dos cards (437px largura) */
.carousel-card {
    width: 437px;
    flex-shrink: 0;
    height: auto; /* Altura automática baseada no conteúdo */
}

/* Cards com altura natural, não esticados */
.carousel-page {
    align-items: flex-start;
}

.popular-plan {
    border: 2px solid #25d366;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #25d366, #128c7e);
}

.discount-badge {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: #1e293b;
    border: none;
    color: #f8fafc;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1e293b;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25d366;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #25d366, #128c7e);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* ========================================
   PÁGINAS DE CONTEÚDO (Termos, Privacidade, LGPD)
   ======================================== */

.content-section {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    color: #25d366;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.right-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

/* ========================================
   PÁGINA DE CONFIRMAÇÃO
   ======================================== */

.success-animation {
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.step-number {
    background: linear-gradient(135deg, #25d366, #128c7e);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* ========================================
   TABLET - Tamanho intermediário
   ======================================== */
@media (max-width: 1279px) and (min-width: 768px) {
    .carousel-card {
        width: 320px;
    }
}

/* ========================================
   MOBILE - Tamanho fixo com scroll horizontal
   ======================================== */
@media (max-width: 767px) {
    /* Esconde botões */
    #prev-btn, #next-btn {
        display: none !important;
    }
    
    /* Container principal */
    #carousel-container {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 1rem 0 !important;
    }
    
    #carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Track vira container simples */
    #carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        transform: none !important;
        transition: none !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove divs de página */
    .carousel-page {
        display: contents !important;
    }
    
    /* Mobile: Tamanho fixo 306px centralizado (340px - 10%) */
    .carousel-card {
        min-width: 306px !important;
        width: 306px !important;
        max-width: 306px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        margin: 0 20px !important;
    }
    
    /* Primeiro e último card com margem extra */
    .carousel-card:first-child {
        margin-left: calc(50vw - 153px) !important;
    }
    
    .carousel-card:last-child {
        margin-right: calc(50vw - 153px) !important;
    }
    
    .pricing-card:hover {
        transform: none !important;
    }
}