/* Estilos aprimorados para o ApresentAI */

/* Seção de recursos avançados */
.advanced-features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advanced-feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advanced-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advanced-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Seção de planos de assinatura aprimorada */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    margin: 0 1rem;
}

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

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

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

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

input:checked + .toggle-slider {
    background: var(--gradient);
}

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

.price-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.price-card-enhanced {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.price-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card-enhanced.featured {
    border: 2px solid var(--highlight);
    transform: scale(1.05);
}

.price-card-enhanced.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-card-enhanced.featured::before {
    content: "Mais Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-card-enhanced .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.price-card-enhanced .price-period {
    color: var(--gray);
    margin-bottom: 2rem;
}

.price-card-enhanced .features-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}

.price-card-enhanced .features-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.price-card-enhanced .features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.price-card-enhanced .btn {
    width: 100%;
    padding: 1rem;
}

/* Seção de depoimentos aprimorada */
.testimonials-enhanced {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 2rem;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
}

.testimonial-quote::before {
    top: -20px;
    left: -10px;
}

.testimonial-quote::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-avatar-enhanced {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary);
}

.testimonial-info {
    text-align: left;
}

.testimonial-name-enhanced {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.testimonial-position-enhanced {
    color: var(--gray);
}

.testimonial-rating {
    color: #ffbe0b;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Seção de integração com IA */
.ai-integration {
    padding: 5rem 0;
    background-color: white;
}

.ai-process {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.ai-step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.ai-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.ai-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.ai-step h3 {
    margin-bottom: 1rem;
}

/* Formulário aprimorado */
.enhanced-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.form-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-step.active .step-number {
    background: var(--gradient);
    color: white;
}

.form-step.completed .step-number {
    background-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
}

.form-step.active .step-label {
    color: var(--primary);
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev {
    background-color: #e9ecef;
    color: var(--dark);
}

.btn-prev:hover {
    background-color: #dee2e6;
}

/* Seção de perguntas personalizadas */
.custom-questions {
    margin-top: 2rem;
}

.question-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.question-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.question-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
}

.question-title {
    font-weight: 600;
    margin: 0;
}

/* Animações adicionais */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsividade para os novos elementos */
@media (max-width: 992px) {
    .ai-step:not(:last-child)::after {
        display: none;
    }
    
    .price-card-enhanced.featured {
        transform: scale(1);
    }
    
    .price-card-enhanced.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .form-steps::before {
        left: 0;
        right: 0;
    }
    
    .enhanced-form {
        padding: 2rem;
    }
    
    .testimonial-slide {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .form-step {
        flex: 1;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
}
