/* Vehero v5.0 – pricing (/payments/) and odkup subscription (/odkup/subskrypcja/). */
html body .pricing-hero, html body .sub-hero { text-align: center; max-width: 760px; margin: 8px auto 40px; padding: 0; }
html body .pricing-hero h1, html body .sub-hero h1 {
    font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 0 0 14px;
    background: linear-gradient(180deg, #fff 30%, #9fb0c9 100%); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #fff;
}
html body .pricing-hero p, html body .sub-hero p { color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); max-width: 56ch; margin: 0 auto; }
html body .sub-page { max-width: 1120px; padding: 12px 0 24px; }

/* ---- Active subscription notice ---- */
html body .subscription-banner, html body .current-sub-banner {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin: 0 0 40px;
    background: linear-gradient(90deg, rgba(217, 183, 110, .10), rgba(217, 183, 110, .03)), #0f1624;
    border: 1px solid rgba(217, 183, 110, .32); border-radius: 16px; box-shadow: none;
}
html body .subscription-banner svg { color: #e6c987; flex-shrink: 0; }
html body .subscription-banner-content, html body .current-sub-banner .info { color: var(--muted); font-size: 14px; line-height: 1.6; }
html body .subscription-banner-content strong, html body .current-sub-banner .info strong { color: var(--text); display: block; font-size: 15px; }
html body .subscription-banner a { color: #e6c987; font-weight: 700; margin-left: 4px; }
html body .current-sub-banner .badge { background: rgba(74, 222, 128, .12); color: #86efac; border: 1px solid rgba(74, 222, 128, .3); border-radius: 999px; padding: 4px 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Section titles ---- */
html body .plans-section { margin: 0 0 56px; }
html body .plans-section-title, html body .comparison-title, html body .faq-title, html body .features-section h2 {
    font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; letter-spacing: -.03em; color: var(--text); text-align: left; margin: 0 0 24px;
}

/* ---- Plan cards ---- */
html body .plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; align-items: stretch; margin-bottom: 32px; }
html body .plan-card {
    position: relative; display: flex; flex-direction: column; padding: 34px 26px 26px; animation: none; transform: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), #0f1624;
    border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -22px rgba(0, 0, 0, .8);
    transition: border-color .2s ease, box-shadow .2s ease;
}
html body .plan-card::before { display: none; }
html body .plan-card:hover { transform: none; border-color: rgba(56, 189, 248, .4); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 26px 50px -22px rgba(0, 0, 0, .9); }
html body .plan-card.popular, html body .plan-card.dealer.popular {
    border-color: rgba(217, 183, 110, .55);
    background: radial-gradient(120% 70% at 50% 0, rgba(217, 183, 110, .10), transparent 60%), #0f1624;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 28px 56px -24px rgba(201, 162, 90, .35);
}
html body .plan-card.dealer { border-color: rgba(255, 255, 255, .09); }
html body .plan-badge, html body .plan-card.dealer .plan-badge {
    position: absolute; top: -13px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap;
    padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: linear-gradient(180deg, #e6c987, #c9a25a); color: #1a1405; box-shadow: 0 8px 18px -8px rgba(201, 162, 90, .8);
}
html body .plan-header { text-align: left; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
html body .plan-name { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin: 0 0 10px; text-transform: none; }
html body .plan-price, html body .plan-card.dealer .plan-price {
    font-size: clamp(34px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums; margin: 0 0 8px;
}
html body .plan-price small, html body .plan-price span { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
html body .plan-duration { font-size: 13px; color: var(--muted); margin: 0; }
html body .plan-savings { background: rgba(74, 222, 128, .1); color: #86efac; border: 1px solid rgba(74, 222, 128, .25); border-radius: 999px; font-size: 12px; padding: 3px 10px; margin-top: 10px; }
html body .plan-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
html body .plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.45; color: #cbd5e6; border: 0; }
html body .plan-features li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); stroke: currentColor; flex-shrink: 0; }
html body .plan-features li::before { color: var(--accent); }
html body .plan-features li strong { color: #fff; }
html body .plan-features li.commission::before { color: #e6c987; }

/* ---- CTAs ---- */
html body .plan-cta, html body .plan-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 18px; border-radius: 12px;
    font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transform: none; transition: background-color .15s ease, border-color .15s ease;
}
html body .plan-cta.primary, html body .plan-card.dealer .plan-cta, html body .plan-btn {
    background: linear-gradient(180deg, #0369a1, #075985); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 12px 24px -12px rgba(2, 132, 199, .9);
}
html body .plan-cta.primary:hover, html body .plan-card.dealer .plan-cta:hover, html body .plan-btn:hover { background: linear-gradient(180deg, #0476b8, #036096); transform: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 26px -12px rgba(14, 165, 233, .9); }
html body .plan-cta.outline { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
html body .plan-cta.outline:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); color: var(--text); }
html body .plan-btn.current { background: rgba(255, 255, 255, .05); color: var(--muted); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
html body .plan-card.popular::after, html body .plan-btn.current:hover { box-shadow: none; }
html body .sub-page .plan-card.popular::before {
    display: block; content: 'Popularny'; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(180deg, #e6c987, #c9a25a); color: #1a1405; padding: 5px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
html body .plan-name { }
html body .sub-page .plan-name { font-size: 15px; color: var(--muted); }
html body .sub-page .plan-price { color: #fff; }
html body .sub-page .plan-price span { color: var(--muted); }
html body .plan-features li::before { content: none; }
html body .sub-page .plan-features li::before { content: '✓'; font-weight: 800; color: var(--accent); }
html body .sub-page .plan-features li.commission::before { content: '%'; color: #e6c987; }
html body .no-plans { padding: 48px 20px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .02); color: var(--muted); }
html body .no-plans a { color: var(--accent); }

/* ---- Odkup subscription: benefit tiles ---- */
html body .features-section { margin-top: 56px; text-align: left; }
html body .features-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
html body .feature-item {
    text-align: left; padding: 22px; border-radius: 16px; font-size: 14px; line-height: 1.55; color: var(--muted);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)), #0f1624; border: 1px solid rgba(255, 255, 255, .08);
}
html body .feature-item strong { color: var(--text); font-size: 16px; letter-spacing: -.01em; margin-bottom: 8px; }

/* ---- Comparison table ---- */
html body .comparison-section, html body .faq-section { margin: 0 0 56px; }
html body .comparison-table {
    width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px;
    background: #0f1624; box-shadow: none;
}
html body .comparison-table th { background: rgba(255, 255, 255, .04); color: var(--text); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
html body .comparison-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #cbd5e6; font-size: 14px; }
html body .comparison-table td:first-child { color: var(--text); font-weight: 600; }
html body .comparison-table tr:last-child td { border-bottom: 0; }
html body .comparison-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
html body .check-icon { color: #4ade80; }
html body .cross-icon { color: #94a3b8; }

/* ---- FAQ ---- */
html body .faq-item { background: #0f1624; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; margin-bottom: 10px; overflow: hidden; box-shadow: none; }
html body .faq-question { color: var(--text); font-weight: 700; padding: 18px 20px; background: transparent; }
html body .faq-question:hover { background: rgba(255, 255, 255, .03); }
html body .faq-answer-inner { color: var(--muted); line-height: 1.65; padding: 0 20px 18px; }

@media (max-width: 640px) {
    html body .plans-grid { grid-template-columns: 1fr; gap: 26px; }
    html body .plan-card { padding: 32px 20px 22px; }
    html body .subscription-banner, html body .current-sub-banner { flex-direction: column; align-items: flex-start; padding: 16px; }
    html body .comparison-table { display: block; overflow-x: auto; white-space: nowrap; }
}
html body .plan-card, html body .feature-item, html body .faq-item { opacity: 1; }
html body .plan-card { overflow: visible; }
html body .subscription-banner-content, html body .current-sub-banner .info { text-align: left; }
html body .plans-grid { padding-top: 14px; }
