/**
 * PA Notary Bond Manager v1.0.9 — Frontend CSS
 * Covers: upsell page, upload screen, received state, executed state
 */

/* ── FONTS (loaded via Google Fonts in wp_enqueue_scripts) ───────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,400&family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;800;900&display=swap');

/* ════════════════════════════════════════════════════════════════════════
 * UPSELL PAGE
 * ═══════════════════════════════════════════════════════════════════════ */

/* Compliance bar */
.panb-comp-bar {
    background: #CC0000;
    padding: 13px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}
.panb-comp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F5C518;
    flex-shrink: 0;
}
.panb-comp-text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

/* Upsell hero */
.panb-upsell-hero {
    background: #0f0f0f;
    padding: 64px 48px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.panb-upsell-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(204,0,0,.22) 0%, rgba(204,0,0,.06) 40%, transparent 70%);
    pointer-events: none;
}
.panb-upsell-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.panb-upsell-hi { position: relative; z-index: 2; }

.panb-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.panb-hero-tag-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #CC0000;
    border-radius: 2px;
}
.panb-hero-tag-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #CC0000 !important;
}

.panb-shield-wrap { margin-bottom: 28px; }
.panb-shield-wrap svg { display: block; margin: 0 auto; }

.panb-upsell-h {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff !important;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -.01em;
}
.panb-upsell-h em { font-style: italic; color: #F5C518 !important; }

.panb-upsell-sub {
    font-size: 17px;
    color: #fff !important;
    line-height: 1.75;
    font-weight: 500;
    max-width: 460px;
    margin: 0 auto 36px;
}

/* Price block */
.panb-upsell-price-block {
    display: inline-flex;
    align-items: stretch;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
.panb-upsell-pc { padding: 22px 36px; text-align: center; }
.panb-upsell-pc + .panb-upsell-pc { border-left: 1px solid rgba(255,255,255,.12); }
.panb-upsell-pc-lbl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff !important;
    margin-bottom: 10px;
}
.panb-upsell-pc-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}
.panb-pc-gold { color: #F5C518 !important; }
.panb-pc-wht  { color: #fff !important; }
.panb-upsell-pc-note {
    font-size: 13px;
    color: #fff !important;
    margin-top: 8px;
    font-weight: 600;
}

/* Hero CTA button — gold to match bottom CTA */
.panb-upsell-btn-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 19px 44px;
    background: #F5C518 !important;
    color: #111 !important;
    border: none;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    letter-spacing: .01em;
    transition: background .15s;
    animation: panb-pulse 3s ease infinite;
}
.panb-upsell-btn-red svg { stroke: #111 !important; }
.panb-upsell-btn-red:hover { background: #e8b800 !important; color: #111 !important; text-decoration: none !important; transform: translateY(-2px); }
@keyframes panb-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(245,197,24,.45); }
    50%       { box-shadow: 0 8px 48px rgba(245,197,24,.7);  }
}

.panb-upsell-micro {
    margin-top: 16px;
    font-size: 14px;
    color: #fff !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.panb-micro-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    flex-shrink: 0;
}

/* Steps strip */
.panb-upsell-steps-wrap {
    background: #0f0f0f;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
}
.panb-upsell-steps-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.panb-steps-glow {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(204,0,0,.16) 0%, transparent 60%);
    pointer-events: none;
}
.panb-steps-inner { position: relative; z-index: 1; }
.panb-steps-ey {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #EF9F27 !important;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panb-steps-ey::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #EF9F27;
    border-radius: 2px;
}
.panb-steps-h {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 48px;
    line-height: 1.15;
}
.panb-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.panb-step { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.07); }
.panb-step:nth-child(2) { padding: 0 28px; }
.panb-step:last-child { padding-right: 0; padding-left: 28px; border-right: none; }
.panb-step-num-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.panb-step-n {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #CC0000;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panb-step-line { flex: 1; height: 1px; background: rgba(204,0,0,.35); }
.panb-step-h { font-size: 18px; font-weight: 800; color: #fff !important; margin-bottom: 10px; }
.panb-step-p { font-size: 15px; color: #fff !important; line-height: 1.7; font-weight: 500; }

/* Included section */
.panb-upsell-included { background: #fff; padding: 60px 48px; }
.panb-inc-ey {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #CC0000;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.panb-inc-ey::before { content: ''; display: block; width: 20px; height: 2px; background: #CC0000; border-radius: 2px; }
.panb-inc-h {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    color: #111;
    line-height: 1.2;
    margin-bottom: 36px;
}
.panb-inc-list { display: flex; flex-direction: column; }
.panb-inc-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid #ede8e3;
    align-items: start;
}
.panb-inc-item:last-child { border-bottom: none; }
.panb-inc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panb-ic-red  { background: #CC0000; }
.panb-ic-gold { background: #F5C518; }
.panb-ic-dark { background: #1a1a1a; }
.panb-inc-title { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 6px; }
.panb-inc-desc  { font-size: 15px; color: #111; line-height: 1.7; font-weight: 500; }

/* Bottom CTA */
.panb-upsell-bot {
    background: #0f0f0f;
    padding: 68px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.panb-upsell-bot::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.panb-bot-glow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 360px;
    background: radial-gradient(ellipse, rgba(204,0,0,.22) 0%, transparent 65%);
    pointer-events: none;
}
.panb-bot-inner { position: relative; z-index: 1; }
.panb-bot-ey {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #EF9F27 !important;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.panb-bot-ey::before,
.panb-bot-ey::after { content: ''; display: block; width: 24px; height: 2px; background: #EF9F27; border-radius: 2px; }
.panb-bot-h {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 14px;
    line-height: 1.1;
}
.panb-bot-h em { font-style: italic; color: #F5C518; }
.panb-bot-sub { font-size: 17px; color: #fff !important; font-weight: 600; margin-bottom: 32px; line-height: 1.65; }
.panb-upsell-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 48px;
    background: #F5C518;
    color: #111;
    border: none;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
}
.panb-upsell-btn-gold:hover { background: #e8b800; color: #111; text-decoration: none; transform: translateY(-2px); }
.panb-bot-micro {
    margin-top: 20px;
    font-size: 14px;
    color: #fff !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════════════
 * UPLOAD / RECEIVED / EXECUTED SCREENS
 * ═══════════════════════════════════════════════════════════════════════ */

/* Bright hero */
.panb-bright-hero {
    background: #fff;
    padding: 52px 56px 48px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #CC0000;
}
.panb-bright-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent #CC0000 transparent;
}
.panb-bh-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #CC0000;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.panb-bh-eyebrow::before {
    content: '';
    display: block;
    width: 22px;
    height: 2.5px;
    background: #CC0000;
    border-radius: 2px;
}
.panb-bh-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #111;
    line-height: 1.1;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.panb-red { color: #CC0000; }
.panb-bh-sub {
    font-size: 17px;
    color: #111;
    line-height: 1.7;
    font-weight: 500;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

/* Journey strip */
.panb-journey-strip {
    background: #0f0f0f;
    padding: 22px 56px;
    position: relative;
    overflow: hidden;
}
.panb-journey-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.panb-j-inner { position: relative; z-index: 1; }
.panb-j-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 12px;
}
.panb-j-track { display: flex; align-items: center; }
.panb-jc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.panb-jc-done   { background: #CC0000; color: #fff; }
.panb-jc-active { background: #CC0000; color: #fff; box-shadow: 0 0 0 4px rgba(204,0,0,.25); }
.panb-jc-dim    { background: rgba(255,255,255,.07); color: rgba(255,255,255,.28); border: 1.5px solid rgba(255,255,255,.1); }
.panb-jl      { flex: 1; height: 2px; background: rgba(255,255,255,.08); }
.panb-jl-done { background: #CC0000; }
.panb-jl-half { background: linear-gradient(90deg, #CC0000 50%, rgba(255,255,255,.08) 50%); }
.panb-j-labels { display: flex; margin-top: 9px; }
.panb-jlb        { flex: 1; font-size: 10px; color: rgba(255,255,255,.28); font-weight: 600; }
.panb-jlb-center { text-align: center; }
.panb-jlb-right  { text-align: right; }
.panb-jlb-done   { color: rgba(255,255,255,.55); }
.panb-jlb-active { color: #CC0000; font-weight: 800; }

/* Body */
.panb-bond-body { background: #fff; }
.panb-section { padding: 32px 56px; border-bottom: 1.5px solid #ede8e3; }
.panb-section:last-child { border-bottom: none; }
.panb-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CC0000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panb-section-label::after { content: ''; flex: 1; height: 1.5px; background: #ede8e3; }

/* Video */
.panb-video-frame {
    background: #111;
    border-radius: 12px;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1.5px solid #222;
}
.panb-video-frame iframe { width: 100%; height: 100%; display: block; border: none; }
.panb-video-cap { font-size: 13px; color: #888; text-align: center; }

/* Instructions */
.panb-instr-list { display: flex; flex-direction: column; gap: 16px; }
.panb-instr-item { display: flex; gap: 14px; align-items: flex-start; }
.panb-instr-n {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fdf0f0;
    border: 2px solid #f5c5c5;
    color: #CC0000;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.panb-instr-t { font-size: 16px; color: #111; line-height: 1.65; font-weight: 500; }
.panb-instr-t strong { font-weight: 800; color: #111; }
.panb-icode {
    background: #fdf0f0;
    border: 1px solid #f5c5c5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #CC0000;
    font-weight: 700;
}

/* Warning box */
.panb-warn-box {
    background: #fff8e6;
    border: 1.5px solid #f5c87a;
    border-left: 4px solid #EF9F27;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.panb-warn-icon { flex-shrink: 0; margin-top: 2px; }
.panb-warn-text { font-size: 15px; color: #5a3c00; line-height: 1.6; font-weight: 500; }
.panb-warn-text strong { font-weight: 800; }

/* Dropzone */
.panb-dropzone {
    border: 2.5px dashed #d0cbc6;
    border-radius: 12px;
    padding: 44px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    background: #fafaf8;
}
.panb-dropzone:hover,
.panb-dropzone.panb-drag { border-color: #CC0000; background: #fff8f8; }
.panb-dropzone.panb-has-file { border-color: #1a8a50; border-style: solid; background: #f0fdf4; }
.panb-dz-icon-wrap { margin-bottom: 14px; }
.panb-dz-primary { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 4px; }
.panb-dz-secondary { font-size: 15px; color: #888; }
.panb-dz-accept { font-size: 13px; color: #bbb; margin-top: 6px; }

/* File row */
.panb-file-row {
    display: none;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #4ad47a;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 14px;
}
.panb-file-row.panb-show { display: flex; }
.panb-fi-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #eaf5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panb-fi-info { flex: 1; min-width: 0; }
.panb-fn { font-size: 14px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panb-fs { font-size: 12px; color: #aaa; margin-top: 2px; }
.panb-frm { background: none; border: none; cursor: pointer; color: #ccc; font-size: 18px; padding: 4px; line-height: 1; }
.panb-frm:hover { color: #CC0000; }

/* Submit button */
.panb-btn-submit {
    width: 100%;
    padding: 18px;
    background: #ddd;
    color: #aaa;
    border: none;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 800;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .2s;
    margin-top: 18px;
}
.panb-btn-submit.panb-ready { background: #CC0000; color: #fff; cursor: pointer; }
.panb-btn-submit.panb-ready:hover { background: #a80000; }
.panb-btn-submit.panb-done { background: #1a8a50; color: #fff; cursor: default; }
.panb-submit-note { font-size: 13px; color: #bbb; text-align: center; margin-top: 10px; }
.panb-upload-message { padding: 14px 16px; border-radius: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; }
.panb-upload-message.panb-msg-success { background: #eaf5ec; color: #1a4a28; border: 1.5px solid #4ad47a; }
.panb-upload-message.panb-msg-error   { background: #ffebee; color: #b71c1c; border: 1.5px solid #ef9a9a; }

/* Dark card (upload "what happens next") */
.panb-dark-card {
    background: #0f0f0f;
    border-radius: 14px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}
.panb-dark-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.panb-dark-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(204,0,0,.14) 0%, transparent 65%);
    pointer-events: none;
}
.panb-dc-inner { position: relative; z-index: 1; }
.panb-dc-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #EF9F27;
    margin-bottom: 10px;
}
.panb-dc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
}
.panb-dc-step {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
    line-height: 1.65;
    font-weight: 500;
}
.panb-dc-step:last-child { margin-bottom: 0; }
.panb-dc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #EF9F27;
    flex-shrink: 0;
    margin-top: 7px;
}
.panb-dc-step strong { color: #fff; font-weight: 800; }

/* Status banners */
.panb-status-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    border: 1.5px solid;
}
.panb-banner-blue { background: #eef4fc; color: #111; border-color: #93c5fd; }
.panb-status-pulse {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    animation: panb-blink 2s infinite;
}
.panb-pulse-blue { background: #378ADD; }
@keyframes panb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Executed: bond detail cards */
.panb-bond-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.panb-bond-card {
    background: #f8f7f4;
    border: 1.5px solid #e2deda;
    border-radius: 12px;
    padding: 18px 20px;
}
.panb-bond-card-status { border-top: 3px solid #1a8a50; }
.panb-bc-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
}
.panb-bc-val { font-size: 18px; font-weight: 800; color: #111; }
.panb-bc-green {
    color: #1a8a50;
    display: flex;
    align-items: center;
    gap: 8px;
}
.panb-status-dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a8a50;
    flex-shrink: 0;
    animation: panb-blink 2s infinite;
}

/* Download bar */
.panb-dl-bar {
    background: #0f0f0f;
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.panb-dl-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at -5% 50%, rgba(204,0,0,.18) 0%, transparent 55%);
    pointer-events: none;
}
.panb-dl-inner { position: relative; z-index: 1; flex: 1; min-width: 160px; }
.panb-dl-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #EF9F27;
    margin-bottom: 6px;
}
.panb-dl-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.panb-dl-size { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 3px; font-weight: 600; }
.panb-dl-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #F5C518;
    color: #111;
    border: none;
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .15s;
}
.panb-dl-btn:hover { background: #e8b800; color: #111; text-decoration: none; transform: translateY(-1px); }

/* Next steps */
.panb-ns-list { display: flex; flex-direction: column; }
.panb-ns-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid #ede8e3;
}
.panb-ns-item:last-child { border-bottom: none; }
.panb-ns-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #CC0000;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.panb-ns-text { font-size: 16px; color: #111; line-height: 1.7; font-weight: 500; }
.panb-ns-text strong { font-weight: 800; }

/* Congrats card */
.panb-congrats-card {
    background: #0f0f0f;
    border-radius: 14px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.panb-congrats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,0,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,0,0,.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.panb-congrats-card::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(204,0,0,.2) 0%, transparent 65%);
    pointer-events: none;
}
.panb-congrats-inner { position: relative; z-index: 1; }
.panb-congrats-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245,197,24,.12);
    border: 1.5px solid rgba(245,197,24,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.panb-congrats-h {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}
.panb-congrats-h em { font-style: italic; color: #F5C518; }
.panb-congrats-sub {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto;
}

/* Misc */
.panb-notice-soft {
    background: #f8f7f4;
    border-left: 4px solid #EF9F27;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #111;
    font-weight: 500;
    line-height: 1.6;
}
.panb-notice-soft a { color: #CC0000; font-weight: 700; text-decoration: none; }
.panb-notice-soft a:hover { text-decoration: underline; }
.panb-muted { color: #777; font-size: 14px; font-weight: 500; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .panb-upsell-hero         { padding: 52px 24px 48px; }
    .panb-upsell-steps-wrap   { padding: 48px 24px; }
    .panb-upsell-included     { padding: 48px 24px; }
    .panb-upsell-bot          { padding: 52px 24px; }
    .panb-upsell-price-block  { flex-direction: column; }
    .panb-upsell-pc + .panb-upsell-pc { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
    .panb-steps-grid          { grid-template-columns: 1fr; gap: 0; }
    .panb-step                { border-right: none !important; padding: 0 0 28px !important; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px; }
    .panb-step:last-child     { border-bottom: none; margin-bottom: 0; padding-bottom: 0 !important; }
    .panb-bright-hero         { padding: 44px 24px 40px; }
    .panb-journey-strip       { padding: 18px 24px; }
    .panb-section             { padding: 28px 24px; }
    .panb-bond-grid           { grid-template-columns: 1fr 1fr; }
    .panb-dl-bar              { flex-direction: column; align-items: flex-start; }
    .panb-dl-btn              { width: 100%; justify-content: center; }
    .panb-inc-item            { grid-template-columns: 44px 1fr; gap: 16px; }
    .panb-inc-icon            { width: 44px; height: 44px; }
}
