/* Pricing Page Specific Styles */

/* Pricing Hero */
.pricing-hero {
    padding: 120px 0 var(--space-xl);
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    text-align: center;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.pricing-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.toggle-label {
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.discount-badge {
    background: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--space-xs);
}

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

.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(--bg-accent);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

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

/* Pricing Plans */
.pricing-plans {
    padding: var(--space-2xl) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--bg-accent);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

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

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

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

.plan-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

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

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

.plan-features {
    margin-bottom: var(--space-xl);
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--bg-accent);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--success-color);
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    color: var(--text-primary);
    line-height: 1.5;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enterprise Section */
.enterprise-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.enterprise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.enterprise-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.enterprise-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.enterprise-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.enterprise-features li {
    padding: var(--space-xs) 0;
    color: var(--text-primary);
    position: relative;
    padding-left: var(--space-lg);
}

.enterprise-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.enterprise-visual {
    text-align: center;
}

.enterprise-icon {
    font-size: 8rem;
    opacity: 0.1;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-2xl) 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.faq-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-accent);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing CTA */
.pricing-cta {
    padding: var(--space-2xl) 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.pricing-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.pricing-cta .cta-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.pricing-cta .cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.pricing-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.pricing-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.pricing-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.pricing-cta .cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    opacity: 0.8;
}

.pricing-cta .guarantee-icon {
    color: var(--success-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .enterprise-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .pricing-title {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .enterprise-title {
        font-size: 2rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .pricing-cta .cta-title {
        font-size: 2rem;
    }
}

/* Animation for pricing cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: slideInUp 0.6s ease-out;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Hover effects for interactive elements */
.pricing-card:hover .plan-name {
    color: var(--primary-color);
}

.pricing-card:hover .price-amount {
    color: var(--primary-light);
}

/* Focus states for accessibility */
.toggle-switch:focus-within .toggle-slider {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-outline:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
