/* Pricing Page Specific Styles */

/* Hero Section */
.pricing-hero {
    padding: 140px 0 4rem;
    /* background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%); */    
    background: var(--hero-before-background);
    text-align: center;
}

.pricing-hero .hero-content {
    max-width: 800px;
    background: var(--hero-before-background);
    margin: 0 auto;

}

.pricing-hero .hero-notes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Pricing Toggle */
.pricing-toggle-section {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.toggle-label {
    font-weight: 600;
    color: var(--gray-700);
}

.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: var(--gray-300);
    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-color: var(--primary);
}

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

.toggle-discount {
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Pricing Plans */
.pricing-plans-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-amount.monthly {
    display: block;
}

.price-amount.annual {
    display: none;
}

.price-period {
    display: block;
    color: var(--gray-500);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.plan-description {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.3;
}

.plan-features {
    flex: 1;
    margin-bottom: 0rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.0rem 0;
    color: var(--gray-400);
}

.feature.disabled {
    color: var(--gray-400);
}

.feature-icon {
    font-weight: bold;
    flex-shrink: 0;
}

.feature.disabled .feature-icon {
    color: var(--gray-400);
}

.feature-text {
    font-size: 0.95rem;
}

.plan-footer {
    text-align: center;
}

.btn-full {
    width: 100%;
    margin-bottom: 1rem;
}

.plan-note {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Detailed Comparison */
.detailed-comparison {
    padding: 5rem 0;
    background: var(--white);
}

.comparison-table {
    max-width: 1000px;
    margin: 3rem auto 0;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-row.category {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.feature-col {
    font-weight: 500;
}

.plan-col {
    text-align: center;
    color: var(--gray-600);
}

.comparison-row:nth-child(even):not(.header):not(.category) {
    background: var(--gray-50);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.faq-answer {
    color: var(--gray-400);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.final-cta .cta-title {
    color: white;
}

.final-cta .cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* Annual Billing Styles */
body.annual-billing .price-amount.monthly {
    display: none;
}

body.annual-billing .price-amount.annual {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .plan-col {
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .toggle-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero .hero-notes {
        flex-direction: column;
        gap: 1rem;
    }
    
    .final-cta .cta-buttons {
        flex-direction: column;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}