/* Pricing Page Specific Styles */

/* Pricing Hero */
.pricing-hero {
    padding: 120px 0 40px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-light), white);
}

.pricing-hero .hero-title {
    margin-bottom: 1rem;
}

.pricing-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

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

.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(--border-color);
    transition: var(--transition);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

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

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

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

/* Offer Banner */
.offer-banner {
    background: linear-gradient(90deg, var(--primary-color), #0052CC);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.offer-banner p {
    margin: 0;
    color: white;
}

/* Pricing Plans */
.pricing-plans {
    padding: 60px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

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

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

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-right: 0.25rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.period {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

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

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 2rem 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Feature Comparison */
.feature-comparison {
    padding: 80px 0;
    background: var(--bg-light);
}

.comparison-table {
    overflow-x: auto;
    margin-top: 3rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table th.featured,
.comparison-table td.featured {
    background: rgba(0, 102, 255, 0.05);
    position: relative;
}

.comparison-table th.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.category-row td {
    background: var(--bg-light);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.comparison-table svg {
    display: inline-block;
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQs */
.faqs {
    padding: 80px 0;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
}

/* Guarantee Section */
.guarantee {
    padding: 80px 0;
    background: var(--bg-light);
}

.guarantee-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-content svg {
    margin-bottom: 2rem;
}

.guarantee-content h2 {
    margin-bottom: 1rem;
}

.guarantee-content p {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

@media (max-width: 768px) {
    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Animations */
.pricing-card {
    animation: fadeInUp 0.6s ease both;
}

.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; }