/* Pricing Page Styles for Veritas AI */

/* Header */
.pricing-header {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    color: white;
    padding: 100px 0 40px;
    margin-bottom: 0;
}

.pricing-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.header-description {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    max-width: 300px;
    margin: 0 auto;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.save-badge {
    background-color: #0d6efd;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 5px;
    padding: 3px 6px;
}

.form-check-input {
    width: 48px;
    height: 24px;
    margin: 0 15px;
    cursor: pointer;
}

/* Pricing Section */
.pricing-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* Pricing Cards */
.pricing-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
    border: 2px solid #0d6efd;
    transform: scale(1.03);
}

.pricing-card.highlighted:hover {
    transform: scale(1.03) translateY(-5px);
}

.pricing-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #0d6efd;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card-header {
    background-color: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a192f;
}

.pricing-price {
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.pricing-description {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0;
}

.pricing-card-body {
    padding: 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.pricing-features li i {
    color: #0d6efd;
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: #adb5bd;
}

.pricing-features li.disabled i {
    color: #dc3545;
}

/* Feature Comparison Table */
.feature-comparison {
    margin-top: 60px;
}

.feature-comparison h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 30px;
}

.feature-comparison table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.feature-comparison th {
    background-color: #0a192f;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px;
}

.feature-comparison th:first-child {
    width: 30%;
    text-align: left;
}

.feature-category {
    background-color: #e9ecef;
    font-weight: 700;
    color: #0a192f;
    font-size: 1.1rem;
}

.feature-comparison i.fa-check {
    color: #198754;
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 60px 0;
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a192f;
}

.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 15px 20px;
    font-weight: 600;
    color: #0a192f;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

.accordion-body {
    padding: 15px 20px;
    font-size: 0.95rem;
    color: #495057;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0d47a1 0%, #0a192f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .pricing-header {
        padding: 80px 0 40px;
    }
    
    .pricing-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .pricing-header {
        padding: 70px 0 30px;
    }
    
    .pricing-header h1 {
        font-size: 1.6rem;
    }
    
    .pricing-toggle {
        flex-direction: row;
        padding: 8px 15px;
    }
    
    .toggle-label {
        font-size: 0.8rem;
    }
    
    .feature-comparison th:first-child {
        width: 40%;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-buttons .btn.ms-3 {
        margin-left: 0 !important;
    }
}
