/* ========================================
   Pricing Page Styles
   ======================================== */

/* Hero Section */
.pricing-hero {
    padding: 10rem 0 4rem;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.pricing-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.toggle-btn {
    padding: 0.875rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(196, 86, 61, 0.3);
}

.discount-badge {
    padding: 0.25rem 0.75rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Pricing Plans */
.pricing-plans-section {
    padding: 2rem 0 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plan {
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-plan:hover {
    transform: translateY(-8px);
}

.pricing-plan.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

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

.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(196, 86, 61, 0.2);
    border: 1px solid rgba(196, 86, 61, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-badge.popular {
    background: rgba(49, 94, 73, 0.2);
    border-color: rgba(49, 94, 73, 0.3);
    color: var(--secondary-color);
}

.plan-badge.premium {
    background: rgba(212, 164, 62, 0.2);
    border-color: rgba(212, 164, 62, 0.3);
    color: var(--accent-color);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.yearly-save {
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.plan-features li {
    padding: 0.875rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.plan-features .included i {
    color: var(--primary-color);
}

.plan-features .not-included {
    opacity: 0.5;
}

.plan-features .not-included i {
    color: var(--text-light);
}

.plan-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Comparison Table */
.comparison-section {
    padding: 4rem 0;
}

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

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: rgba(196, 86, 61, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-table .feature-column,
.comparison-table .feature-name {
    text-align: left;
    font-weight: 600;
}

.comparison-table .featured-column {
    background: rgba(196, 86, 61, 0.05);
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.comparison-table thead .featured-column {
    color: var(--primary-color);
}

.comparison-table i.fa-check {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.comparison-table i.fa-times {
    color: var(--text-light);
    font-size: 1.25rem;
}

/* FAQ Section */
.pricing-faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* CTA Section */
.pricing-cta-section {
    padding: 4rem 0;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .pricing-plan.featured {
        transform: scale(1);
    }
    
    .pricing-plan.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 8rem 0 2rem;
    }
    
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    .billing-toggle {
        flex-direction: column;
        width: 100%;
    }
    
    .toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-plan.featured {
        transform: scale(1);
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}
