/* ============================================================
   Pricing Page Specific Styles — Light Theme
   Uses variables from landing-light.css
   ============================================================ */

/* Pricing Hero */
.pricing-hero {
    padding: 140px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.pricing-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 16px 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-hero p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.toggle-btn.active {
    background: var(--gradient-primary);
    color: #fff;
}

.save-badge {
    font-size: 11px;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    display: none;
}

/* Pricing Section */
.pricing-section {
    padding: 40px 24px 100px;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.pricing-grid-container {
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.popular {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.18);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.plan-description {
    font-size: 14px;
    color: var(--text-muted);
}

/* Plan Price */
.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 4px;
}

.yearly-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Button Full */
.btn-full {
    width: 100%;
    margin-bottom: 24px;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    width: 18px;
    text-align: center;
    color: #10b981;
    font-size: 12px;
}

.plan-features li.disabled {
    color: var(--text-light);
}

.plan-features li.disabled i {
    color: #cbd5e1;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item h4 i {
    color: var(--primary);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 34px;
}

/* CTA */
.cta {
    background: var(--gradient-primary);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
}

/* Responsive — Mobile-first progressive enhancement */
@media (min-width: 601px) {
    .pricing-hero {
        padding: 160px 24px 60px;
    }

    .toggle-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .save-badge {
        display: inline-block;
    }

    .pricing-card {
        padding: 32px;
    }

    .plan-price .amount {
        font-size: 56px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 901px) {
    .pricing-grid-container {
        max-width: 1200px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}
