/* StreamSnatcher Pro page — same panel language as the rest of the site:
   hairline border, small radius, bg-secondary panel instead of a bespoke
   bubble-card treatment. */
.pro-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-hi, var(--border));
    border-radius: var(--panel-radius, 6px);
    background: linear-gradient(180deg, oklch(from var(--accent-primary) l c h / 0.08), oklch(from var(--accent-primary) l c h / 0.02));
    text-align: center;
}

.pro-price {
    font-family: var(--font-display, inherit);
    font-stretch: 125%;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ink, var(--text-primary));
    margin-bottom: 1.25rem;
}

.pro-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.pro-features li {
    display: flex;
    align-items: flex-start;
    /* A long tag (e.g. "resets on reload") wraps onto its own line in the
       narrow 3-column layout instead of squeezing the feature text into an
       ugly multi-line wrap and floating out to the card edge. */
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.pro-features li:last-child { border-bottom: none; }
/* The label holds the whole feature (emoji + text) as ONE flex item, so inline
   content is never spread apart by the row layout. It grows to fill, pushing an
   optional tag to the right; when the row is too narrow the tag wraps to its
   own line, left-aligned. */
.pro-features .feat-label { flex: 1 1 auto; min-width: 0; }

.pro-tag {
    flex-shrink: 0;
    font-family: var(--font-mono, inherit);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint, var(--text-secondary));
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 0.1rem 0.5rem;
}

.pro-tag-live {
    color: var(--success);
}

.pro-note {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--ink-dim, var(--text-secondary));
    margin-top: 1rem;
}

.activate-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-secondary, var(--bg-card));
    border: 1px solid var(--border);
    border-radius: var(--panel-radius, 6px);
    text-align: center;
}
.activate-card h2 { margin-bottom: 0.75rem !important; }
.activate-card .pro-activate { margin: 1.5rem auto 0; }
.activate-card .pro-status { text-align: left; }

.pro-activate {
    display: flex;
    gap: 0.5rem;
    max-width: 560px;
    flex-wrap: wrap;
}

.pro-activate input {
    flex: 1 1 280px;
    padding: 0.75rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--panel-radius, 6px);
    color: var(--text-primary);
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
}
.pro-activate input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px oklch(from var(--accent-primary) l c h / 0.15);
}

.pro-status {
    margin-top: 0.75rem;
    font-weight: 600;
}

.pro-status-ok {
    color: var(--success);
}

.pro-status-err {
    color: var(--danger);
}

.link-button {
    background: none;
    border: none;
    color: var(--ink-dim, var(--text-secondary));
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
}
.link-button:hover { color: var(--accent-primary); }

/* Free-vs-Pro side by side — pricing pages read as more complete with an
   explicit baseline to compare against, rather than one plan floating alone. */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 820px;
    margin: 0 auto;
}
/* Three-plan layout (Free / Day pass / Monthly). Cards stretch to equal height
   with their CTA block pinned to the bottom so the buttons line up regardless
   of feature-list length. */
.plans-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;
    align-items: stretch;
}
.plans-grid-3 > * {
    display: flex;
    flex-direction: column;
}
.plans-grid-3 .pro-features { margin-bottom: 1.5rem; }
.plans-grid-3 .plan-cta { margin-top: auto; }
.plans-grid-3 .plan-cta .btn { width: 100%; margin-bottom: 1rem; }
/* Keep multi-word prices ("$4 / month") on one line in the narrower columns. */
.plans-grid-3 .pro-price { font-size: 2rem; white-space: nowrap; }

.plans-grid .pro-card { max-width: none; margin: 0; }
.free-card {
    max-width: none;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--panel-radius, 6px);
    text-align: center;
}
.free-card .pro-price { color: var(--text-secondary); }
.free-tag {
    font-family: var(--font-mono, inherit);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint, var(--text-secondary));
    margin-bottom: 1rem;
    display: block;
}

/* Regional price toggle (PPP): show one currency variant, hide the other.
   <html data-region> is set by a timezone probe in pricing-pro.html. Default
   (no attribute / JS off) shows the global USD variant; India shows INR. */
.rgn-in { display: none; }
:root[data-region="in"] .rgn-in { display: inline; }
:root[data-region="in"] .rgn-global { display: none; }

/* Small "for 24 hours" period under the big day-pass number. */
.pro-price-period {
    display: block;
    font-family: var(--font-mono, inherit);
    font-stretch: normal;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint, var(--text-secondary));
    margin-top: 0.35rem;
}

/* Day pass leans on the teal "trace" secondary accent to read as the
   lighter-weight, one-off option next to the copper monthly plan. */
.daypass-card {
    background: linear-gradient(180deg,
        oklch(from var(--accent-secondary) l c h / 0.07),
        oklch(from var(--accent-secondary) l c h / 0.02));
    border-color: oklch(from var(--accent-secondary) l c h / 0.4);
}

/* Monthly is the recommended plan — stronger copper border + a badge. */
.featured-card {
    position: relative;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px oklch(from var(--accent-primary) l c h / 0.35);
}
.plan-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono, inherit);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--btn-text, #fff);
    background: linear-gradient(90deg, var(--btn-fill-1, var(--accent-primary)), var(--btn-fill-2, var(--accent-primary)));
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plans-footnote {
    max-width: 1080px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-dim, var(--text-secondary));
}

/* Stack the three plans below tablet width — three columns get cramped. */
@media (max-width: 860px) {
    .plans-grid-3 { grid-template-columns: 1fr; max-width: 460px; }
    .plans-grid-3 .plan-cta { margin-top: 1rem; }
}

@media (max-width: 700px) {
    .plans-grid { grid-template-columns: 1fr; }
    .pro-card { max-width: none; }
}
