/* ═══════════════════════════════════════════
   Pricing Comparison Table — Clean & Modern
   Banded rows, column dividers, recommended highlight
   Uses .pt- namespace to avoid style conflicts
   ═══════════════════════════════════════════ */

.pt-section {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pt-heading {
    text-align: center;
    margin-bottom: 32px;
}

.pt-heading h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    letter-spacing: .5px;
}

.pt-heading p {
    font-size: .9rem;
    color: #666;
    margin: 0;
}

/* ── Table ── */
.pt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.pt-table th,
.pt-table td {
    padding: 11px 16px;
    text-align: center;
    font-size: .85rem;
    border-bottom: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
    line-height: 1.4;
    color: #333;
    background: #fff;
}

.pt-table th:last-child,
.pt-table td:last-child {
    border-right: none;
}

/* Feature label column */
.pt-table th:first-child,
.pt-table td:first-child {
    text-align: left;
    color: #1a1a2e;
    font-weight: 500;
    font-size: .84rem;
}

/* ── Header row ── */
.pt-table thead th {
    background: #f8f9fb !important;
    color: #1a1a2e;
    font-weight: 600;
    padding: 20px 16px 16px;
    border-bottom: 2px solid #e2e5ea;
    vertical-align: bottom;
}

.pt-plan-name {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.pt-plan-price {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.pt-plan-price-free {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #22c55e;
    line-height: 1.2;
}

.pt-plan-price-custom {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    font-style: italic;
    color: #666;
    line-height: 1.2;
}

.pt-plan-period {
    font-size: .72rem;
    font-weight: 400;
    color: #999;
}

/* ── Recommended column ── */
.pt-table th.pt-rec,
.pt-table td.pt-rec {
    background: #f0f5ff !important;
    border-left: 2px solid #2563eb !important;
    border-right: 2px solid #2563eb !important;
}

.pt-table thead th.pt-rec {
    background: #e8f0fe !important;
    border-top: 2px solid #2563eb !important;
}

.pt-table .pt-cta-row td.pt-rec {
    border-bottom: 2px solid #2563eb !important;
}

/* Banded rows in recommended column */
.pt-table tbody tr:nth-child(even) td.pt-rec {
    background: #e1ecfd !important;
}

.pt-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff !important;
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* ── Banded rows ── */
.pt-table tbody tr:nth-child(even) td {
    background: #f7f8fa;
}

/* ── Check / Cross — use inline SVG with forced fills ── */
.pt-check,
.pt-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pt-table .pt-check svg,
.pt-section .pt-check svg {
    width: 20px;
    height: 20px;
    fill: #22c55e !important;
}

.pt-table .pt-cross svg,
.pt-section .pt-cross svg {
    width: 17px;
    height: 17px;
    fill: #d4d8de !important;
}

/* ── Text values ── */
.pt-txt {
    display: inline-block;
    color: #333;
    font-weight: 600;
    font-size: .82rem;
}

.pt-txt-muted {
    display: inline-block;
    color: #888;
    font-weight: 500;
    font-size: .82rem;
    font-style: italic;
}

/* ── CTA row ── */
.pt-table .pt-cta-row td {
    padding: 20px 16px;
    border-bottom: none;
    background: #f8f9fb;
}

.pt-table .pt-cta-row td.pt-rec {
    background: #e8f0fe !important;
}

/* ── Buttons ── */
.pt-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid #d1d5db;
    color: #333 !important;
    background: #fff !important;
    line-height: 1.3;
}

.pt-btn:hover {
    background: #f3f4f6 !important;
    border-color: #aaa;
    color: #333 !important;
    text-decoration: none;
}

.pt-btn.pt-btn-rec {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
    padding: 9px 24px;
    box-shadow: 0 2px 6px rgba(37,99,235,.25);
}

.pt-btn.pt-btn-rec:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.pt-btn-outline {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid #d1d5db;
    color: #333 !important;
    background: #fff !important;
    line-height: 1.3;
}

.pt-btn-outline:hover {
    background: #f3f4f6 !important;
    border-color: #aaa;
    color: #333 !important;
    text-decoration: none;
}

/* ── Tooltip ── */
.pt-tip {
    color: #c0c4cc;
    font-size: .7rem;
    margin-left: 4px;
    cursor: help;
    position: relative;
}

.pt-tip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    font-size: .75rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: normal;
    width: 220px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .pt-section { margin: 20px auto; }

    .pt-table th,
    .pt-table td {
        padding: 9px 8px;
        font-size: .78rem;
    }

    .pt-plan-name { font-size: .82rem; }
    .pt-plan-price { font-size: 1.1rem; }

    .pt-table .pt-check svg { width: 16px; height: 16px; }
    .pt-table .pt-cross svg { width: 14px; height: 14px; }

    .pt-btn, .pt-btn-outline {
        padding: 7px 14px;
        font-size: .72rem;
    }

    .pt-btn.pt-btn-rec {
        padding: 7px 16px;
        font-size: .74rem;
    }

    .pt-badge {
        font-size: .55rem;
        padding: 2px 7px;
    }
}
