/* Pricing Page Specific Styles */

.pricing-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 24px 24px;
}

/* Mobile responsive current plan status */
@media (max-width: 767px) {
    .current-plan-status .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .current-plan-status .d-inline-flex {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Pricing Page Specific Card Adjustments */
.card-body {
    display: flex;
    flex-direction: column;
    padding: 0 2rem 2rem;
}

.card-img-top {
    height: 160px;
    width: auto;
    margin: 1rem auto 0.5rem;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.transactions {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.transactions-selector {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-container {
    margin: 1rem 0 1.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.price-option {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    transition: all 0.3s ease;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 4px;
    font-weight: 600;
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-left: 0.25rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.feature-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.feature-list li:hover {
    color: var(--primary-color);
}

.feature-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tier-selector {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px 12px;
    text-align: center;
    min-width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 32px;
}

.tier-selector option {
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    padding: 8px 12px;
}

/* Expert Plan Specific Styles */
.card.border-primary {
    border-color: var(--primary-color) !important;
}

/* Button Specific Overrides for Pricing Page */
.btn-dark {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-dark:hover {
    background-color: #23272b;
    border-color: #1d2124;
}

.btn-success {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Pricing Page Layout Improvements */
.pricing-container {
    padding: 2rem 0 4rem;
}

.pricing-cards-section {
    margin: 3rem 0;
}

/* Let Bootstrap handle the gap with g-4 class */

/* Let Bootstrap handle the responsive layout with g-4 gutters */

/* Standardized Section Styling */

/* Feature Comparison Section */
.comparison-table-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comparison-table-container table {
    table-layout: fixed;
    width: 100%;
}

.comparison-table-container th:first-child {
    width: 35%;
}

.comparison-table-container th:not(:first-child) {
    width: 13%;
}

/* Testimonials Section */
.testimonials-section {
    background: transparent;
}

.testimonial-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-stars {
    font-size: 1.2rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-medium);
    margin-top: auto;
}

/* FAQ Section */
.faq-section {
    background: transparent;
}

.faq-section .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-section .accordion-button {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    /* !important needed to override Bootstrap's :first-of-type and :last-of-type accordion styles */
    border-radius: 12px !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
    /* !important needed to override Bootstrap's :first-of-type and :last-of-type accordion styles */
    border-radius: 12px 12px 0 0 !important;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    background: white;
    margin: 0 1px;
    border-radius: 0 0 11px 11px;
}

/* Pricing Page Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Adjustments for Pricing Page */
@media (max-width: 768px) {
    .pricing-header {
        padding: 2rem 0 1rem;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    .price-container {
        font-size: 1.5rem;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    .billing-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .billing-tab-label {
        margin: 1px 0;
        min-width: auto;
    }

    .pricing-cards-row {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 0 1rem 1rem;
    }
    
    .feature-list li {
        font-size: 0.8rem;
    }
    
    .feature-list svg {
        width: 16px;
        height: 16px;
    }
}
