/* Estilos para Modal de Preços */
.pricing-modal {
    max-width: 800px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-primary);
}

.discount-badge {
    background: var(--accent-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.pricing-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .pricing-slider {
    background-color: var(--accent-primary);
}

input:checked + .pricing-slider:before {
    transform: translateX(30px);
}

.single-plan {
    max-width: 400px;
    margin: 0 auto 30px;
}

.single-plan {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.plan-price {
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-savings {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-features {
    text-align: left;
    margin: 25px 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.feature i {
    color: var(--success-color);
    width: 16px;
}

.feature.premium i {
    color: var(--accent-primary);
}

.feature span {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.plan-button {
    width: 100%;
    padding: 15px;
    background: var(--bg-input);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: var(--accent-primary);
    color: white;
}

.plan-button.premium {
    background: var(--accent-primary);
    color: white;
}

.plan-button.premium:hover {
    background: var(--accent-secondary);
}

.pricing-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-footer p {
    margin: 8px 0;
}

.pricing-footer i {
    color: var(--success-color);
    margin-right: 8px;
}

/* Estilos para barra de upgrade */
.upgrade-bar {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.upgrade-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.upgrade-button {
    background: white;
    color: #ee5a24;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upgrade-button:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

/* Overlay para funcionalidades bloqueadas */
.blocked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 12px;
}

.blocked-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.blocked-content i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.blocked-content h3 {
    margin-bottom: 15px;
    color: white;
}

.blocked-content p {
    margin-bottom: 25px;
    color: #ccc;
}

/* Responsividade */
@media (max-width: 768px) {
    .pricing-modal {
        max-width: 95vw;
    }
    
    .single-plan {
        padding: 30px 20px;
    }
    
    .upgrade-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 10px;
    }
    
    .upgrade-content span {
        font-size: 0.8rem;
    }
    
    .upgrade-button {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .upgrade-bar {
        padding: 6px 0;
    }
}

@media (max-width: 480px) {
    .upgrade-content {
        gap: 6px;
        padding: 0 8px;
    }
    
    .upgrade-content span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .upgrade-button {
        padding: 4px 10px;
        font-size: 0.7rem;
        border-radius: 12px;
        min-width: 80px;
    }
    
    .upgrade-bar {
        padding: 4px 0;
    }
}