/* ============================================================
   Aurinto — pricing page
   ============================================================ */

.pricing-hero { padding: 72px 0 8px; }

.pricing-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }

/* Billing toggle */
.billing-toggle {
    display: inline-flex;
    gap: 4px;
    margin-top: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
}

.billing-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    color: var(--muted);
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.billing-toggle button.active {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-s);
}

.save-badge {
    font-size: .7rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 3px 9px;
}

/* Plans */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 32px 28px;
    box-shadow: var(--shadow-s);
}

.plan-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-l);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 14px;
    white-space: nowrap;
}

.plan-name { font-size: 1.25rem; margin-bottom: 4px; }

.plan-for { font-size: .88rem; color: var(--muted); margin-bottom: 20px; min-height: 2.6em; }

.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }

.plan-price .price {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.plan-price .price-custom { font-size: 2.1rem; }

.plan-price .period { font-size: .84rem; color: var(--muted); }

.plan-cta { width: 100%; margin-bottom: 24px; }

.plan-list { margin: 0; font-size: .92rem; }

.plan-list li { margin-bottom: 11px; }

.plans-note {
    text-align: center;
    font-size: .85rem;
    color: var(--muted);
    margin-top: 32px;
}

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

.compare {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
    font-size: .92rem;
}

.compare th, .compare td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--bg-soft);
}

.compare th:first-child, .compare td:first-child {
    text-align: left;
    color: var(--ink);
    font-weight: 500;
}

.compare thead th {
    background: var(--bg-soft);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child td { border-bottom: 0; }

.compare td { color: var(--text); }

.compare td.y { color: var(--green); font-weight: 700; font-size: 1rem; }
