/* Extracted from templates/public/pricing.html (Phase 3.1). Page-local styles; global rules belong in the design system sheets. */
/* ── Layout ──────────────────────────────────────────────── */
.px-pro { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem 3rem; }

/* ── Hero ────────────────────────────────────────────────── */
.px-hero { margin-bottom: 2.5rem; }
.px-hero-inner {
    border-radius: 20px;
    padding: 3.2rem 2rem 2.8rem;
    text-align: center;
    background:
        radial-gradient(ellipse 760px 300px at 50% -5%, rgba(62,180,137,0.13) 0%, transparent 65%),
        var(--t-surface-elevated);
    border: 1px solid rgba(var(--mint-rgb),0.3);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 6px 20px rgba(62,180,137,0.06);
    position: relative;
    overflow: hidden;
}
.px-hero-inner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--mint-rgb),0.5), transparent);
    pointer-events: none;
}
.px-hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint, #3eb489);
    background: rgba(62,180,137,0.1);
    border: 1px solid rgba(62,180,137,0.25);
    border-radius: 999px;
    padding: 0.22rem 0.8rem;
    margin-bottom: 1.1rem;
}
.px-hero-h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--t-text);
}
.px-hero-sub {
    margin: 0 auto 1.6rem;
    max-width: 460px;
    color: var(--t-text-muted, #8a9bb0);
    font-size: 1rem;
    line-height: 1.6;
}
.px-hero-actions {
    margin-bottom: 1.6rem;
    display: flex;
    justify-content: center;
}
.px-btn-hero {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border-radius: 12px;
    margin-top: 0;
}
.px-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}
.px-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(62,180,137,0.07);
    border: 1px solid rgba(62,180,137,0.18);
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--t-text-muted, #8a9bb0);
    padding: 0.28rem 0.65rem;
}
.px-chips span svg { color: var(--mint, #3eb489); flex-shrink: 0; }

/* ── Sections ────────────────────────────────────────────── */
.px-section { margin: 0 0 2.5rem; }
.px-section-head { text-align: center; margin-bottom: 1.4rem; }
.px-section-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--t-text);
}
.px-section-head p, .px-head-sub {
    margin: 0;
    color: var(--t-text-muted, #8a9bb0);
    font-size: 0.93rem;
}

/* ── Grid ────────────────────────────────────────────────── */
.px-grid { display: grid; gap: 1.1rem; }
.px-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px-grid-1 { grid-template-columns: 1fr; }
.px-twin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    max-width: 860px;
    margin: 0 auto;
}

/* ── Cards ───────────────────────────────────────────────── */
.px-card {
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border);
    border-radius: 16px;
    padding: 1.5rem 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.px-card:hover { border-color: rgba(var(--mint-rgb),0.35); }
.px-card-featured {
    border-color: rgba(62,180,137,0.4);
    background: linear-gradient(160deg, rgba(62,180,137,0.06) 0%, var(--t-surface-elevated) 55%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(62,180,137,0.15) inset;
}
.px-card-featured:hover {
    border-color: rgba(62,180,137,0.55);
    box-shadow: 0 4px 16px rgba(62,180,137,0.12), 0 0 0 1px rgba(62,180,137,0.25) inset;
}
.px-badge-green {
    background: rgba(62,180,137,0.15);
    color: var(--mint, #3eb489);
    border-color: rgba(62,180,137,0.35);
    font-weight: 800;
}
.px-card-tournament, .px-card-player {
    border-color: rgba(var(--mint-rgb),0.25);
}
.px-card-fee {
    border-color: rgba(var(--mint-rgb),0.3);
    background: linear-gradient(160deg, rgba(var(--mint-rgb),0.05) 0%, var(--t-surface-elevated) 60%);
}
.px-card-facility {
    border-color: rgba(var(--mint-rgb),0.25);
}
.px-contact-price {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--t-text);
}
.px-fee-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--mint-rgb),0.15);
    border: 1px solid rgba(var(--mint-rgb),0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-light, var(--mint));
}
.px-card-footnote {
    margin: 0;
    font-size: 0.78rem;
    color: var(--t-text-muted);
    line-height: 1.45;
    text-align: center;
    padding-top: 0.25rem;
}

/* ── Card header ─────────────────────────────────────────── */
.px-card-header { display: flex; flex-direction: column; gap: 0.45rem; }
.px-plan-name-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.px-plan-name { font-weight: 800; font-size: 1.08rem; color: var(--t-text); }
.px-badge {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(var(--mint-rgb),0.15);
    color: var(--mint-light, var(--mint));
    border: 1px solid rgba(var(--mint-rgb),0.3);
    border-radius: 999px;
    padding: 0.18rem 0.48rem;
    white-space: nowrap;
}
.px-badge-accent {
    background: rgba(var(--mint-rgb),0.25);
    border-color: rgba(var(--mint-rgb),0.5);
    color: var(--mint-light, var(--mint));
}
.px-price {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--primary, #3eb489);
}
.px-price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--t-text-muted);
    letter-spacing: 0;
}
.px-plan-desc {
    margin: 0;
    font-size: 0.84rem;
    color: var(--t-text-muted, #8a9bb0);
    line-height: 1.5;
}

/* ── Feature list ────────────────────────────────────────── */
.px-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}
.px-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--t-text);
    line-height: 1.45;
}
.px-features li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233eb489' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Buttons ─────────────────────────────────────────────── */
.px-btn {
    display: block;
    text-align: center;
    padding: 0.72rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s;
    margin-top: auto;
    border: 2px solid transparent;
}
.px-btn-outline {
    border-color: var(--t-border);
    color: var(--t-text);
    background: var(--t-surface);
}
.px-btn-outline:hover {
    border-color: rgba(62,180,137,0.5);
    color: var(--mint, #3eb489);
    background: rgba(62,180,137,0.06);
}
.px-btn-primary {
    background: linear-gradient(135deg, var(--mint, #3eb489), #2d9e76);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(62,180,137,0.3);
}
.px-btn-primary:hover {
    background: linear-gradient(135deg, #4ac296, #35b585);
    box-shadow: 0 6px 18px rgba(62,180,137,0.4);
    transform: translateY(-1px);
}

/* ── Inline note ─────────────────────────────────────────── */
.px-note {
    text-align: center;
    margin: 0.9rem 0 0;
    font-size: 0.84rem;
    color: var(--t-text-muted, #8a9bb0);
    line-height: 1.5;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.px-faq-section { margin-bottom: 1rem; }
.px-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--t-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--t-surface-elevated);
}
.px-faq-item {
    border-bottom: 1px solid var(--t-border);
    transition: background 0.15s;
}
.px-faq-item:last-child { border-bottom: none; }
.px-faq-item.is-open { background: rgba(var(--mint-rgb),0.04); }
.px-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--t-text);
    line-height: 1.4;
}
.px-faq-btn:hover { color: var(--mint-light, var(--mint)); }
.px-faq-btn:hover .px-faq-chevron { color: var(--mint-light, var(--mint)); }
.px-faq-chevron {
    flex-shrink: 0;
    color: var(--t-text-muted);
    transition: transform 0.25s ease, color 0.15s;
}
.px-faq-item.is-open .px-faq-chevron { transform: rotate(180deg); color: var(--mint-light, var(--mint)); }
.px-faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}
.px-faq-item.is-open .px-faq-body { grid-template-rows: 1fr; }
.px-faq-body > p {
    overflow: hidden;
    margin: 0;
    padding: 0 1.3rem 1.1rem;
    font-size: 0.88rem;
    color: var(--t-text-muted, #8a9bb0);
    line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .px-grid-2 { grid-template-columns: 1fr; }
    .px-grid-3 { grid-template-columns: 1fr; }
    .px-twin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .px-hero-inner { padding: 2.2rem 1.2rem 2rem; }
    .px-hero-h1 { font-size: 1.95rem; }
    .px-faq-btn { font-size: 0.88rem; padding: 1rem 1.1rem; }
    .px-faq-body > p { padding: 0 1.1rem 1rem; }
}
