/* ============================================================
   Products & Pricing - /advertise
   Single listings, broker subscriptions, site takeover.
   All classes are prefixed pl- so they cannot collide with
   Bootstrap 3 (.btn, .badge, .label, etc.).
   ============================================================ */

/* Full-width override for this page */
#render-body { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }

.pl-page {
    --pl-bg: #f7f6f9;
    --pl-surface: #ffffff;
    --pl-ink: #111827;
    --pl-body: #374151;
    --pl-muted: #5b6270;
    --pl-faint: #6b7280;
    --pl-line: #e5e7eb;
    --pl-tint: #f3f4f6;
    --pl-brand: #8a3995;
    --pl-brand-deep: #7a2d85;
    --pl-brand-soft: #f3e8f9;
    --pl-hero-a: #1a0a2e;
    --pl-hero-b: #3d1a5c;
    --pl-hero-c: #8a3995;
    background: var(--pl-bg);
    color: var(--pl-body);
    font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.pl-page *, .pl-page *::before, .pl-page *::after { box-sizing: border-box; }
.pl-page h1, .pl-page h2, .pl-page h3 { font-family: inherit; }

/* ---------- Hero ---------- */
.pl-hero {
    background: linear-gradient(135deg, #1a0a2e 0%, #3d1a5c 45%, #8a3995 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.pl-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -40%;
    width: 720px;
    height: 720px;
    max-width: 90vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.pl-hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.pl-hero h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 14px;
}
.pl-hero p { font-size: 20px; color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Sections ---------- */
.pl-band { padding: 72px 0; }
.pl-band + .pl-band { border-top: 1px solid var(--pl-line); }
.pl-stack { display: flex; flex-direction: column; gap: 36px; }
.pl-intro { display: flex; flex-direction: column; gap: 12px; }
.pl-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pl-brand); }
.pl-page h2 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pl-ink);
    margin: 0;
}
.pl-intro p { margin: 0; color: var(--pl-muted); font-size: 17px; max-width: 64ch; }

.pl-plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Plan cards ---------- */
.pl-plan {
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    border-radius: 14px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.pl-plan.is-featured { border: 2px solid var(--pl-brand); padding: 31px; box-shadow: 0 18px 40px -24px rgba(138, 57, 149, 0.55); }
.pl-plan.is-featured .pl-price b { font-size: 56px; }
/* Smaller prices sit lower so every card's divider and list line up with Featured */
.pl-plan:not(.is-featured) .pl-price { padding-top: 16px; }
.pl-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.pl-page h3 { font-size: 22px; font-weight: 700; color: var(--pl-ink); margin: 0; letter-spacing: -0.01em; line-height: 1.2; }
.pl-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background: var(--pl-brand);
    padding: 7px 12px;
    border-radius: 999px;
    line-height: 1;
}
.pl-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.pl-price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--pl-ink); }
.pl-price small { font-size: 15px; color: var(--pl-muted); }
.pl-plan ul { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--pl-line); display: flex; flex-direction: column; gap: 13px; }
.pl-plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15.5px; color: var(--pl-body); }
.pl-plan li::before {
    content: "";
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--pl-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.7 2.7L14.2 7' fill='none' stroke='%238a3995' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.pl-plan li.is-no { color: var(--pl-faint); }
.pl-plan li.is-no::before {
    background: var(--pl-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 10h6' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.pl-plus {
    margin: 26px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--pl-line);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pl-brand-deep);
}
.pl-plan .pl-plus + ul { border-top: 0; padding-top: 0; margin-top: 14px; }
.pl-left-seat { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--pl-line); }
.pl-left-seat b { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-brand-deep); }
.pl-left-seat span { display: block; margin-top: 4px; font-size: 14px; color: var(--pl-muted); }
.pl-plan .pl-left-seat + ul { border-top: 0; padding-top: 0; margin-top: 14px; }
.pl-cta { margin-top: auto; padding-top: 28px; }
.pl-cta p { margin: 0 0 10px; font-size: 14px; color: var(--pl-muted); }

/* ---------- Buttons ---------- */
.pl-btn {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid var(--pl-brand);
    color: var(--pl-brand-deep);
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
}
.pl-btn:hover, .pl-btn:focus { background: var(--pl-brand-soft); color: var(--pl-brand-deep); text-decoration: none; }
.pl-btn:focus-visible { outline: 3px solid rgba(138, 57, 149, 0.35); outline-offset: 2px; }
.pl-btn.is-solid { background: var(--pl-brand); color: #fff; }
.pl-btn.is-solid:hover, .pl-btn.is-solid:focus { background: var(--pl-brand-deep); color: #fff; }
.pl-btn.is-light { background: #fff; border-color: #fff; color: var(--pl-brand-deep); display: inline-block; }
.pl-btn.is-light:hover, .pl-btn.is-light:focus { background: var(--pl-brand-soft); }
.pl-btn.is-inline { display: inline-block; }

/* ---------- Site takeover package ---------- */
.pl-pkg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    border-radius: 18px;
    overflow: hidden;
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    box-shadow: 0 24px 60px -32px rgba(26, 10, 46, 0.45);
}
.pl-pkg-hero {
    background: linear-gradient(150deg, #1a0a2e 0%, #3d1a5c 50%, #8a3995 100%);
    color: #fff;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.pl-pkg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.pl-page .pl-pkg-hero h3 { color: #fff; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.pl-pkg-hero p { margin: 0; color: rgba(255,255,255,0.85); font-size: 16.5px; max-width: 42ch; }
.pl-pkg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 8px 0 12px; }
.pl-pkg-stats div { border-top: 1px solid rgba(255,255,255,0.25); padding-top: 12px; }
.pl-pkg-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.pl-pkg-stats span { font-size: 13px; color: rgba(255,255,255,0.75); }
.pl-pkg-body { padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.pl-pkg-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pl-faint); }
.pl-pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.pl-pkg-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 12px; background: var(--pl-tint); }
.pl-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--pl-surface); display: flex; align-items: center; justify-content: center; }
.pl-ic svg { width: 20px; height: 20px; stroke: var(--pl-brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-pkg-item b { display: block; font-size: 16px; color: var(--pl-ink); }
.pl-pkg-item span { font-size: 14px; color: var(--pl-muted); }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chips span { font-size: 13.5px; font-weight: 600; color: var(--pl-brand-deep); background: var(--pl-brand-soft); padding: 7px 13px; border-radius: 999px; }

/* ---------- Closer ---------- */
.pl-closer { padding: 72px 0; border-top: 1px solid var(--pl-line); }
.pl-closer-card {
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    border-top: 4px solid var(--pl-brand);
    border-radius: 18px;
    padding: 56px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.pl-closer-card p { color: var(--pl-muted); font-size: 18px; margin: 0; max-width: 56ch; text-wrap: balance; }
.pl-closer-card .pl-btn { margin-top: 12px; min-width: 200px; }

/* ---------- Fine print ---------- */
.pl-fine { border-top: 1px solid var(--pl-line); background: var(--pl-surface); padding: 40px 0 48px; }
.pl-page .pl-fine h2 { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pl-faint); }
.pl-fine ul { margin: 14px 0 0; padding-left: 18px; columns: 2 320px; column-gap: 48px; font-size: 14px; color: var(--pl-muted); }
.pl-fine li { margin-bottom: 6px; break-inside: avoid; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .pl-hero h1 { font-size: 44px; }
    .pl-page h2 { font-size: 34px; }
    .pl-band, .pl-closer { padding: 64px 0; }
}
@media (max-width: 767px) {
    .pl-hero-inner { padding-top: 44px; padding-bottom: 52px; }
    .pl-hero h1 { font-size: 36px; }
    .pl-hero p { font-size: 17px; }
    .pl-page h2 { font-size: 30px; }
    .pl-band, .pl-closer { padding: 52px 0; }
    .pl-plan { padding: 24px; }
    .pl-plan.is-featured { padding: 23px; }
    .pl-pkg-hero, .pl-pkg-body { padding: 28px; }
    .pl-page .pl-pkg-hero h3 { font-size: 28px; }
    .pl-closer-card { padding: 36px 24px; }
    .pl-plan.is-featured .pl-price b { font-size: 48px; }
    .pl-plan:not(.is-featured) .pl-price { padding-top: 0; }
    .pl-plans, .pl-pkg { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .pl-btn { transition: none; }
}
