/* Pricing Page Specific Styles */

.pricing-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, white 50%);
    text-align: center;
}

.pricing-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.billing-option {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.billing-option.active {
    color: var(--primary);
}

.discount-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    transition: var(--transition-base);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: var(--transition-base);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-2xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.enterprise {
    border-color: var(--accent);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Plan Header */
.plan-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--spacing-lg);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-700);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.amount-custom {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray-600);
    margin-left: 0.25rem;
}

.original-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.crossed {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.discount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
}

.plan-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* Plan Features */
.plan-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.plan-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features li span {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.plan-features li span.disabled {
    color: var(--gray-400);
}

/* Plan Button */
.plan-button {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.plan-button-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.plan-button-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.plan-button-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.plan-button-outline:hover {
    background: var(--primary);
    color: white;
}

.trial-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--spacing-sm);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Guarantee Section */
.guarantee-section {
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.guarantee-content {
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-content svg {
    margin-bottom: var(--spacing-lg);
}

.guarantee-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.guarantee-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        order: -1;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .billing-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }
}
