/* Compra / upsell — PDP, resultado demo, banner no player */
:root {
    --pe-primary: #5624d0;
    --pe-accent: #7c4dff;
    --pe-ink: #1e293b;
    --pe-muted: #64748b;
}

/* ── PDP sidebar buy card ── */
.pe-pdp-card {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(86, 36, 208, 0.12),
        0 8px 32px rgba(86, 36, 208, 0.1),
        0 24px 48px rgba(15, 23, 42, 0.06);
}

.pe-pdp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(86, 36, 208, 0.45), rgba(124, 77, 255, 0.2), rgba(86, 36, 208, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pe-pdp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pe-primary), var(--pe-accent), #a78bfa);
}

.pe-pdp-card-body {
    padding: 26px 24px 24px;
    position: relative;
    z-index: 1;
}

.pe-pdp-card .was {
    font-size: 13px;
    color: var(--pe-muted);
    text-decoration: line-through;
    font-weight: 600;
}

.pe-pdp-card .now {
    font-size: 2.15rem;
    font-weight: 900;
    color: var(--pe-ink);
    line-height: 1;
    margin: 6px 0 8px;
    letter-spacing: -0.03em;
}

.pe-pdp-card .badge-off {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.pe-pdp-includes li {
    border-bottom-color: #f1f5f9 !important;
    font-size: 13.5px;
}

.pe-pdp-includes i {
    color: var(--pe-primary) !important;
}

.pe-pdp-btn {
    border-radius: 12px !important;
    padding: 15px 18px !important;
    font-size: 15px !important;
    background: linear-gradient(135deg, var(--pe-primary) 0%, var(--pe-accent) 100%) !important;
    box-shadow: 0 8px 24px rgba(86, 36, 208, 0.32);
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s !important;
}

.pe-pdp-btn:hover {
    background: linear-gradient(135deg, #4a1fb8 0%, #6d3fe8 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(86, 36, 208, 0.38);
}

.pe-pdp-btn-outline {
    border-radius: 12px !important;
    border-color: #e2e8f0 !important;
    transition: border-color 0.15s, background 0.15s !important;
}

.pe-pdp-btn-outline:hover {
    border-color: #c4b5fd !important;
    background: #faf8ff !important;
}

.pe-pdp-demo-btn {
    border-radius: 12px !important;
    background: linear-gradient(135deg, #059669, #10b981) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.28);
    margin: 14px 0 12px !important;
}

.pe-pdp-demo-btn:hover {
    background: linear-gradient(135deg, #047857, #059669) !important;
    transform: translateY(-1px);
}

.pe-pdp-trust {
    padding-top: 4px;
    gap: 8px 14px !important;
}

.pe-pdp-trust i {
    color: var(--pe-primary);
}

.pe-pdp-bar {
    border-top-color: #ede9fe !important;
    box-shadow: 0 -8px 32px rgba(86, 36, 208, 0.08) !important;
}

/* ── Resultado: upsell demo ── */
.pe-demo-upsell {
    position: relative;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 48%, #312e81 100%);
    border: 1px solid rgba(124, 77, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 20px 50px rgba(15, 23, 42, 0.35);
}

.pe-demo-upsell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(124, 77, 255, 0.25), transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(86, 36, 208, 0.2), transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, auto, 24px 24px, 24px 24px;
    pointer-events: none;
}

.pe-demo-upsell-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 26px 28px;
}

.pe-demo-upsell-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c4b5fd;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(196, 181, 253, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    backdrop-filter: blur(8px);
}

.pe-demo-upsell-text h2 {
    margin: 0 0 8px;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.pe-demo-upsell-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
    max-width: 540px;
}

.pe-demo-upsell-text p strong {
    color: #e9d5ff;
}

.pe-demo-upsell-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fff 0%, #f3f0ff 100%);
    color: var(--pe-primary) !important;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s, box-shadow 0.18s;
}

.pe-demo-upsell-btn:hover {
    color: var(--pe-primary-dark, #3f1a9e) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pe-cta-card.buy-full {
    position: relative;
    overflow: hidden;
    border: none !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.2) !important;
    color: #fff !important;
}

.pe-cta-card.buy-full::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.35), transparent 70%);
    pointer-events: none;
}

.pe-cta-card.buy-full:hover {
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28) !important;
}

.pe-cta-card.buy-full .pe-cta-title {
    color: #f8fafc !important;
}

.pe-cta-card.buy-full .pe-cta-desc {
    color: rgba(226, 232, 240, 0.92) !important;
}

.pe-cta-card.buy-full .pe-cta-ic {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    flex-shrink: 0;
}

.pe-cta-card.buy-full span,
.pe-cta-card.buy-full i {
    color: inherit;
}

.pe-demo-upsell,
.pe-demo-upsell * {
    -webkit-translate: no;
}

.pe-demo-upsell-text h2 {
    color: #f8fafc !important;
}

.pe-demo-upsell-text p {
    color: rgba(226, 232, 240, 0.92) !important;
}

.pe-demo-upsell-badge {
    color: #ddd6fe !important;
}

.pe-demo-upsell-btn,
.pe-demo-upsell-btn span,
.pe-demo-upsell-btn i {
    color: #3f1a9e !important;
}

/* ── Player: banner demo ── */
.pe-banner-trial {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(124, 77, 255, 0.35);
}

.pe-banner-trial-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c4b5fd;
}

.pe-banner-trial-text i {
    font-size: 15px;
    color: #a78bfa;
}

.pe-banner-trial-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #fff, #f3f0ff);
    color: var(--pe-primary) !important;
    font-weight: 800;
    font-size: 11px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s;
}

.pe-banner-trial-buy:hover {
    color: var(--pe-primary) !important;
    transform: translateY(-1px);
}

.pe-banner-trial-share {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 11px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: background 0.15s;
}

.pe-banner-trial-share:hover {
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 575px) {
    .pe-demo-upsell-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 22px 18px;
    }
    .pe-demo-upsell-btn {
        justify-content: center;
        width: 100%;
    }
}
