/* ── PRICING PAGE LAYOUT ────────────────────────────────────── */
.pricing-main {
    padding-top: 56px;
    padding-bottom: 80px;
}

/* ── FULL-WIDTH PLANS SECTION ───────────────────────────────── */
.pricing-plans-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 3rem 25rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ── PRICING PAGE HEADER ────────────────────────────────────── */
.pricing-page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-page-header h1 { font-size: 2.4rem; margin-bottom: 12px; }

.pricing-page-header .lead-text {
    max-width: 520px;
    margin: 0 auto 28px;
}

/* ── TRUST BADGES ───────────────────────────────────────────── */
.pricing-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badge-icon { font-size: 1.1rem; }

/* ── PLAN CARDS ─────────────────────────────────────────────── */
.pricing-plans-wrap {
    margin-bottom: 64px;

}

/* ── COMPARISON TABLE ───────────────────────────────────────── */
.pricing-compare {
    margin-bottom: 64px;
}

.pricing-compare-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    text-align: center;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    color: var(--text-muted);
    font-weight: 400;
    width: 220px;
}

.compare-table thead th {
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--border-color);
}

.compare-table thead th.col-featured {
    background: rgba(56, 189, 248, 0.08);
    border-top: 2px solid var(--accent-sky);
}

.compare-table td.col-featured { background: rgba(56, 189, 248, 0.03); }

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

.compare-check { color: var(--accent-emerald); font-size: 1rem; }
.compare-dash  { color: var(--border-color); }

/* plan name badge inside header */
.col-plan-name {
    display: block;
    margin-bottom: 4px;
}

.col-plan-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ── PRICING FAQ ────────────────────────────────────────────── */
.pricing-faq { margin-bottom: 64px; }

.pricing-faq-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.pricing-faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pricing-faq-item[open] { border-color: rgba(56, 189, 248, 0.4); }

.pricing-faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    user-select: none;
    gap: 12px;
    transition: background-color 0.15s;
}

.pricing-faq-item summary:hover { background: rgba(30, 41, 59, 0.8); }
.pricing-faq-item[open] summary { background: rgba(56, 189, 248, 0.05); }

.pricing-faq-item summary::-webkit-details-marker { display: none; }

.pricing-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-sky);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.pricing-faq-item[open] summary::after { content: '−'; }

.pricing-faq-answer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-base);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1366px) {
    .pricing-plans-wrap {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-page-header h1 { font-size: 1.8rem; }
    .pricing-trust { gap: 14px; }
    .pricing-compare-title,
    .pricing-faq-title { font-size: 1.25rem; }
}

@media (max-width: 640px) {
    .pricing-page-header h1 { font-size: 1.5rem; }
    .pricing-trust { flex-direction: column; align-items: center; }
    .pricing-faq-item summary { padding: 14px 16px; font-size: 0.9rem; }
    .pricing-faq-answer { padding: 16px; }
}
