/* Pricing Page Specific Styles */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a365d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.pricing-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    direction: ltr !important;
    /* Force LTR direction regardless of page direction */
}



.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: #ffb700;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}



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



.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffb700;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.plan-note {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.save-badge {
    color: #ffb700;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.save-badge.hidden {
    display: none !important;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    /* Ensure consistent height */
}

.plan-bottom-content {
    margin-top: auto;
    /* Push to bottom of card */
    padding-top: 1rem;
    /* Add space above the bottom content */
}

.plan-bottom-spacer {
    height: 3.4rem;
    /* Match the height of the text + margin in Enterprise plan */
    margin-top: 1rem;
    /* Match the margin-top of the text in Enterprise plan */
}

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

.pricing-card.popular {
    border: 2px solid #ffb700;
    transform: scale(1.05);
    margin-top: 0;
    margin-bottom: 0;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffb700;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.plan-features {
    margin: 0.75rem 0;
    flex-grow: 1;
    margin-bottom: 1rem;
    /* Add space before bottom content */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.feature-item::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.plan-cta {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.plan-cta.primary {
    background: #667eea;
    color: white;
}

.plan-cta.primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.plan-cta.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.plan-cta.secondary:hover {
    background: #667eea;
    color: white;
}

.all-plans-section {
    background: #f8fafc;
    padding: 4rem 0;
    margin: 4rem 0;
}

.all-plans-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.all-plans-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.all-plans-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #667eea;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* Refund Policy Section */
.refund-policy-section {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.refund-policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.refund-policy-content h3 {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.refund-policy-content p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .refund-policy-content h3 {
        font-size: 1.3rem;
    }

    .refund-policy-content p {
        font-size: 1rem;
    }
}

/* Refund note under plans */
.refund-note {
    margin-top: 25px;
    color: #198754;
    font-size: 0.9rem;
}

.final-cta-section {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.final-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-btn.primary {
    background: #ffb700;
    color: white;
    border: none;
}

.cta-btn.primary:hover {
    background: #e6a600;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #667eea;
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        min-height: auto;
        /* Allow natural height on mobile */
    }

    .plan-bottom-spacer {
        height: 1.5rem;
        /* Smaller spacer on mobile */
        margin-top: 0.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}