/* ==========================================
   PROVIDER PRICING PAGE STYLES
   ========================================== */

/* === PRICING HERO === */
.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
}

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

.pricing-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* === BILLING TOGGLE === */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 500;
}

.save-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

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

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

.billing-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
}

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

.billing-toggle input:checked + .slider {
    background-color: rgba(251, 191, 36, 0.5);
}

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

.billing-toggle .slider.round {
    border-radius: 34px;
}

.billing-toggle .slider.round:before {
    border-radius: 50%;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

/* === PRICING CARDS === */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #2563eb;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.premium {
    border: 2px solid #10b981;
}

.pricing-card.ultimate {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.pricing-card.ultimate h3,
.pricing-card.ultimate h4,
.pricing-card.ultimate .price {
    color: white;
}

.pricing-card.ultimate .plan-description {
    color: rgba(255, 255, 255, 0.8);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* === PLAN HEADER === */
.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card.ultimate .plan-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.plan-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: #64748b;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
}

.pricing-card.ultimate .amount,
.pricing-card.ultimate .currency {
    color: white;
}

.period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 0.5rem;
}

.pricing-card.ultimate .period {
    color: rgba(255, 255, 255, 0.8);
}

.plan-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* === PLAN FEATURES === */
.plan-features {
    flex: 1;
    margin-bottom: 2rem;
}

.plan-features h4 {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pricing-card.ultimate .plan-features h4 {
    color: white;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.pricing-card.ultimate .plan-features li {
    color: rgba(255, 255, 255, 0.9);
}

.plan-features i.fa-check {
    color: #10b981;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.plan-features i.fa-times {
    color: #cbd5e1;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.pricing-card.ultimate .plan-features i.fa-check {
    color: #34d399;
}

.pricing-card.ultimate .plan-features i.fa-times {
    color: rgba(255, 255, 255, 0.3);
}

.plan-features strong {
    font-weight: 600;
    color: #1e293b;
}

.pricing-card.ultimate .plan-features strong {
    color: white;
}

/* === PLAN FOOTER === */
.plan-footer {
    text-align: center;
}

.commission-note {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.savings {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trial-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

/* === COMPARISON TABLE === */
.comparison-section {
    padding: 4rem 0;
    background: white;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background: #f8fafc;
    padding: 1.25rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

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

.comparison-table th.featured-col {
    background: #eff6ff;
    color: #2563eb;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #1e293b;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.text-success {
    color: #10b981;
    font-size: 1.25rem;
}

.text-muted {
    color: #cbd5e1;
    font-size: 1.25rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item h4 i {
    color: #2563eb;
}

.faq-item p {
    color: #64748b;
    line-height: 1.7;
}

/* === FINAL CTA === */
.final-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: scale(1);
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        grid-column: span 1;
        transform: scale(1);
    }
    
    .comparison-section h2,
    .faq-section h2,
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
