/* Pricing Page */
.pricing-page .wrap {
    padding-top: 36px;
}

/* Pricing Hero */
.pricing-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 18px;
}

.pricing-hero h1 {
    margin-bottom: 8px;
}

.pricing-hero .tag {
    display: inline-block;
    font-weight: 700;
    font-size: .75rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf7f7;
    color: #0b766e;
    border: 1px solid #d5eeee;
    margin-bottom: 10px;
}

.pricing-hero .muted {
    color: #475569;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 8px 0;
}

.bill {
    border: 1px solid transparent;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .06s ease;
}

.bill:hover {
    background: #f8fafc;
}

.bill:active {
    transform: translateY(1px);
}

.bill.is-active {
    background: #e7fbf8;
    color: #0b766e;
    border-color: #c7f5f0;
}

.save-badge {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    background: #e7fbf8;
    color: #0b766e;
    border: 1px solid #c7f5f0;
    border-radius: 999px;
    padding: 4px 8px;
    margin-left: 6px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.plan {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
}

.plan.highlight {
    border-color: #0ea5a6;
    box-shadow: 0 10px 28px rgba(14, 165, 166, .16);
}

.plan-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.plan-hd h3 {
    margin: 0;
    font-size: 1.1rem;
}

/* Plan Badges */
.badge.best {
    background: #e7fbf8;
    color: #0b766e;
    border-color: #c7f5f0;
}

.badge.free {
    background: #eef2ff;
    color: #3730a3;
    border-color: #e0e7ff;
}

/* Price Display */
.price-wrap {
    display: grid;
    gap: 6px;
}

.price-per {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price {
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.price-per span,
.billed {
    color: #64748b;
    font-size: 0.9rem;
}

/* Feature List */
.plan .list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: grid;
    gap: 8px;
}

.plan .list li {
    position: relative;
    padding-left: 22px;
    color: #0f172a;
}

.plan .list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5a6;
    box-shadow: 0 0 0 4px #e6faf9;
}

/* Plan CTA */
.plan .cta {
    margin-top: 12px;
    width: 100%;
}

.plan .cta .btn {
    width: 100%;
    border-radius: 999px;
    text-align: center;
    background: #e7fbf8;
    color: #0b766e;
    border: 1px solid #c7f5f0;
}

.plan .cta .btn:hover {
    background: #dff8f4;
    border-color: #bdf0ea;
}

@media (max-width: 980px) {
    .pricing-hero {
        margin-bottom: 14px;
    }

    .price {
        font-size: 1.7rem;
    }
}

/* Comparison Table (Pricing Page) */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.95rem;
}

.cmp-table th,
.cmp-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cmp-table thead th {
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
}

.cmp-table tbody td:nth-child(2) {
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 640px) {
    .cmp-table thead {
        display: none;
    }

    .cmp-table,
    .cmp-table tbody,
    .cmp-table tr,
    .cmp-table td {
        display: block;
        width: 100%;
    }

    .cmp-table tbody tr {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 6px 0;
        margin: 10px 0;
    }

    .cmp-table td {
        border: 0;
        padding: 10px 14px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .cmp-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #475569;
    }
}