/* ==========================================================================
   GOONS - Pricing
   Plan cards shared by the homepage summary (/#pricing) and the full
   pricing page (/pricing). Extends shared/css/play.css - link that first.
   ========================================================================== */

/* ---------- Plan cards (shared) ------------------------------------------ */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 34px auto 0;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 30px 28px;
    border-radius: var(--play-radius);
    border: 1px solid var(--play-border);
    background:
        linear-gradient(180deg, var(--accent-soft), transparent 46%),
        var(--play-surface);
    text-align: left;
}

.pricing-card--featured {
    border-color: rgba(0, 229, 255, 0.42);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 46px rgba(0, 229, 255, 0.14);
}

.pricing-flag {
    position: absolute;
    top: -12px;
    left: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(102deg, var(--play-magenta), var(--play-cyan));
    color: #06060c;
    font-family: var(--play-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.pricing-card .pricing-kicker {
    margin: 0 0 22px;
    color: var(--play-faint);
    font-size: 13.5px;
    line-height: 1.55;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.pricing-amount b {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(102deg, var(--play-magenta), var(--play-cyan) 62%, var(--play-lime));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-amount span {
    color: var(--play-faint);
    font-size: 15px;
}

.pricing-billed {
    margin: 0 0 24px;
    min-height: 20px;
    color: var(--play-lime);
    font-family: var(--play-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.pricing-features {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pricing-features li {
    position: relative;
    padding-left: 26px;
    color: var(--play-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--play-cyan);
    border-bottom: 2px solid var(--play-cyan);
    transform: rotate(-45deg);
}

.pricing-card .play-btn {
    margin-top: auto;
    width: 100%;
}

.pricing-fineprint {
    margin: 14px 0 0;
    color: var(--play-faint);
    font-size: 12.5px;
    text-align: center;
}

.pricing-note {
    margin: 30px auto 0;
    max-width: 62ch;
    color: var(--play-faint);
    font-size: 13.5px;
    line-height: 1.7;
    text-align: center;
}

/* ==========================================================================
   /pricing - full page only
   ========================================================================== */

/* ---------- Hero --------------------------------------------------------- */
.pricing-hero {
    padding: 132px 0 12px;
    text-align: center;
}

.pricing-hero h1 {
    margin: 18px auto 16px;
    max-width: 16ch;
    font-size: clamp(34px, 5.4vw, 60px);
    font-weight: 880;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.pricing-hero > .play-container > p {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--play-muted);
    font-size: 17px;
    line-height: 1.7;
}

.pricing-hero .play-stats {
    justify-content: center;
    margin-top: 34px;
}

/* ---------- Three-plan grid ---------------------------------------------- */
.pricing-plans--trio {
    max-width: 1140px;
    margin-top: 8px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* The free plan is a floor, not an offer: no accent wash, no glow. */
.pricing-card--free {
    background: var(--play-surface);
}

.pricing-card--free .pricing-amount b {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--play-faint);
}

.pricing-card--free .pricing-features li::before {
    border-color: var(--play-faint);
}

.pricing-card--free .pricing-billed {
    color: var(--play-faint);
}

.pricing-save {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(107, 255, 158, 0.4);
    background: rgba(107, 255, 158, 0.1);
    color: var(--play-lime);
    font-family: var(--play-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ---------- Comparison table --------------------------------------------- */
/* Table caption: announced to screen readers, invisible on screen. */
.play-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.pricing-compare {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-compare .app-table {
    min-width: 560px;
}

.pricing-compare .app-table thead th {
    width: auto;
    color: var(--play-text);
    font-family: var(--play-font);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.pricing-compare .app-table thead th:first-child {
    width: 40%;
    text-align: left;
}

.pricing-compare .app-table tbody th {
    width: 40%;
    color: var(--play-text);
    font-family: var(--play-font);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    background: transparent;
}

.pricing-compare .app-table td {
    text-align: center;
    font-size: 14px;
}

.pricing-compare .app-table td.is-pro {
    color: var(--play-text);
    background: rgba(0, 229, 255, 0.045);
}

.pricing-yes,
.pricing-no {
    font-family: var(--play-mono);
    font-weight: 700;
}

.pricing-yes { color: var(--play-lime); }
.pricing-no  { color: rgba(232, 236, 255, 0.3); }

/* ---------- Included grid ------------------------------------------------ */
.pricing-included {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.pricing-included-item {
    padding: 24px 24px 22px;
    border-radius: var(--play-radius-sm);
    border: 1px solid var(--play-border);
    background: var(--play-surface);
}

.pricing-included-item h3 {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.pricing-included-item p {
    margin: 0;
    color: var(--play-muted);
    font-size: 14px;
    line-height: 1.62;
}

.pricing-included-icon {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1;
}

/* ---------- Trial steps -------------------------------------------------- */
.pricing-steps {
    margin-top: 34px;
}

/* ---------- FAQ ---------------------------------------------------------- */
.pricing-faq {
    max-width: 900px;
    margin: 34px auto 0;
}

/* ---------- Billing reassurance bar -------------------------------------- */
.pricing-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    max-width: 1140px;
    margin: 30px auto 0;
    padding: 22px 26px;
    border-radius: var(--play-radius-sm);
    border: 1px solid var(--play-border);
    background: var(--play-surface);
}

.pricing-trust div {
    color: var(--play-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.pricing-trust b {
    display: block;
    margin-bottom: 3px;
    color: var(--play-text);
    font-family: var(--play-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 720px) {
    .pricing-plans { grid-template-columns: 1fr; }
    .pricing-hero { padding-top: 108px; }
    .pricing-hero .play-stats { gap: 22px; }
}
