/* Pricing Page Styles */

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.header-content .title-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-content .title-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.billing-toggle {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.toggle-label {
    font-weight: 600;
    color: #495057;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

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

.toggle-switch input:checked + .slider {
    background-color: #667eea;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    right: 0;
    background: #667eea;
    color: white;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 12px;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.card-header p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.price-display {
    text-align: center;
    margin-bottom: 25px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.price-period {
    color: #6c757d;
    font-size: 0.9rem;
}

.annual-price {
    display: none;
    color: #28a745;
    font-size: 0.85rem;
    margin-top: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #495057;
}

.features-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.1rem;
}

.cta-button {
    width: 100%;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.cta-button.secondary {
    background: #6c757d;
}

.cta-button.secondary:hover {
    background: #5a6268;
}

.faq-section {
    margin-top: 60px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    color: #495057;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
}

.trial-section {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 12px;
}

.trial-section h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.trial-section p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.trial-cta {
    background: white;
    color: #28a745;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trial-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-container {
        padding: 15px;
    }
    
    .pricing-header {
        padding: 30px 15px;
    }
    
    .header-content .title-section h1 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .header-nav {
        gap: 10px;
    }
    
    .header-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Animation for price switching */
.price-transition {
    transition: all 0.3s ease;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error states */
.success {
    border-color: #28a745;
    background: #f8fff9;
}

.error {
    border-color: #dc3545;
    background: #fff8f8;
}
