/* ===== PRICING PAGE ===== */
.pricing-plans {
    padding: var(--section-padding) 0;
    background: var(--surface);
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.billing-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.billing-label.active {
    color: var(--text);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: var(--border-strong);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch.active .toggle-knob {
    left: 29px;
}

.billing-save-badge {
    background: var(--color-100);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.pricing-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card-full {
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.pricing-card-full .btn-outline,
.pricing-card-full .btn-primary {
    width: 100%;
    text-align: center;
}

.pricing-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-full.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.pricing-subtext {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.pricing-features-section {
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: var(--color-50);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--color-700) 100%);
    color: white;
}

.comparison-table th {
    padding: 24px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table th.feature-col {
    text-align: left;
    width: 30%;
}

.comparison-table th.estimatebase-col {
    background: var(--color-800);
}

.table-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-badge {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.competitor-price {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--color-200);
}

.comparison-table tbody tr:hover {
    background: var(--color-100);
}

.comparison-table td {
    padding: 20px 16px;
    text-align: center;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.comparison-table .check {
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
}

.comparison-table .cross {
    color: #999;
    font-size: 20px;
    opacity: 0.5;
}

.comparison-table .partial {
    font-size: 13px;
    color: #666;
}

.comparison-table .highlight {
    background: var(--color-100);
    font-weight: 600;
    color: var(--primary);
}

.comparison-table .price-row {
    background: var(--color-50);
    font-size: 18px;
}

.comparison-table .price-row td {
    padding: 24px 16px;
}

.comparison-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.highlight-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid var(--color-200);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.highlight-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.highlight-card strong {
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== RESPONSIVE: 968px ===== */
@media (max-width: 968px) {
    .pricing-grid-full {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .pricing-card-full { padding: 36px; }

    .comparison-highlights { grid-template-columns: 1fr; }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== RESPONSIVE: 640px ===== */
@media (max-width: 640px) {
    .pricing-card-full { padding: 28px; }

    .billing-toggle { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .billing-save-badge { font-size: 12px; }

    .comparison-table-wrapper {
        margin: 24px -16px;
        border-radius: 0;
    }

    .comparison-table { min-width: 600px; }

    .comparison-table th,
    .comparison-table td {
        padding: 14px 10px;
        font-size: 14px;
    }

    .faq-item h3 { font-size: 18px; }
    .faq-item p { font-size: 15px; }
}
