/* Darklup Pro marketing: scoped to plugin-owned components only. */
.dlp-marketing {
    --dlp-blue: #1769ce;
    --dlp-navy: #101d36;
    --dlp-text: #17243b;
    --dlp-muted: #5c687a;
    --dlp-line: #e2e8f1;
    --dlp-tint: #f1f6ff;
    color: var(--dlp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}
.dlp-marketing *, .dlp-marketing *::before, .dlp-marketing *::after { box-sizing: border-box; }
.dlp-marketing a { text-decoration: none; }
.dlp-marketing a:focus-visible, .dlp-marketing [tabindex]:focus-visible {
    outline: 3px solid #1671e4;
    outline-offset: 4px;
    box-shadow: none;
}
.dlp-marketing .dlp-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: var(--dlp-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, box-shadow .15s ease;
}
.dlp-marketing .dlp-button:hover { background: #1055ad; color: #fff; box-shadow: 0 4px 12px #102a491a; }
.dlp-marketing .dlp-button .dashicons { width: 16px; height: 16px; font-size: 16px; flex-shrink: 0; }
.dlp-marketing .dlp-text-link { color: #1459af; font-weight: 600; font-size: 13px; }
.dlp-marketing .dlp-text-link:hover { color: #0b397a; text-decoration: underline; }
.dlp-marketing .dlp-eyebrow { display: block; color: #1559ac; font-size: 11px; letter-spacing: 1.8px; font-weight: 750; line-height: 1.5; }
.dlp-marketing .dlp-eyebrow-light { color: #9fcaff; }

/* Reusable promotion strip. Always outside the settings form. */
.dlp-marketing.dlp-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin: 24px 20px 20px 0;
    padding: 20px 24px;
    border: 1px solid #d5e3f8;
    border-left: 4px solid #2277e8;
    border-radius: 9px;
    background: #fff;
}
.dlp-banner .dlp-banner-copy { display: flex; align-items: center; gap: 15px; flex: 1 1 350px; }
.dlp-banner .dlp-banner-copy strong { display: block; font-size: 15px; color: #17243b; }
.dlp-banner .dlp-banner-copy p { margin: 4px 0 0; color: #5c687a; font-size: 13px; }
.dlp-banner .dlp-banner-badge { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; background: #eaf2ff; color: #1769ce; border-radius: 10px; font-size: 12px; font-weight: 750; }
.dlp-banner .dlp-banner-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.dlp-banner .dlp-banner-actions .dlp-button { font-size: 13px; min-height: 40px; padding: 10px 15px; }
.dlp-plugin-offer-row .dlp-plugin-offer-cell { padding: 0 20px 20px 38px; box-shadow: inset 0 -1px 0 #dcdcde; }
.dlp-plugin-offer-row .dlp-banner { margin: 0; padding: 17px 20px; }
.plugins .dlp-plugin-offer-link, .plugins .darkluplite-get-pro { color: #1459af; font-weight: 600; }
.dlp-marketing.dlp-sidebar-offer { margin: 15px 30px 28px; padding: 22px; border: 1px solid #d9e6fb; background: #f1f6ff; border-radius: 10px; }
.dlp-sidebar-offer h3 { margin: 10px 0 8px; color: #17243b; font-size: 18px; line-height: 1.35; }
.dlp-sidebar-offer p { margin: 0 0 12px; color: #5c687a; font-size: 13px; }

/* Dedicated Get Pro page. */
.dlp-marketing.dlp-pro-page { max-width: 1250px; margin: 24px 24px 0 4px; }
.dlp-pro-page .dlp-page-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.dlp-pro-page .dlp-brand { display: flex; align-items: center; gap: 20px; }
.dlp-pro-page .dlp-brand img { display: block; width: 164px; height: auto; }
.dlp-pro-page .dlp-plan-tag { padding: 4px 9px; border: 1px solid #d2def1; border-radius: 4px; background: #f6f9ff; color: #175bb3; font-size: 10px; letter-spacing: 1px; font-weight: 700; }
.dlp-pro-page .dlp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 55px 52px;
    background: radial-gradient(ellipse at 90% 10%, #21497e 0, transparent 56%), #101d36;
    border-radius: 15px;
    color: #fff;
}
.dlp-pro-page .dlp-hero::after { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: -175px; bottom: -230px; border: 1px solid #7aaffb2b; border-radius: 50%; box-shadow: 0 0 0 45px #7aaffb06, 0 0 0 90px #7aaffb04; }
.dlp-pro-page .dlp-hero-copy { flex: 1 1 550px; min-width: 0; }
.dlp-pro-page .dlp-hero h1 { max-width: 650px; margin: 17px 0 20px; padding: 0; color: #fff; font-size: clamp(30px, 3.5vw, 48px); font-weight: 720; line-height: 1.16; letter-spacing: -1.4px; }
.dlp-pro-page .dlp-hero-copy > p { max-width: 570px; margin: 0; color: #c3cee0; font-size: 16px; line-height: 1.8; }
.dlp-pro-page .dlp-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.dlp-pro-page .dlp-hero-actions .dlp-button { background: #1769ce; }
.dlp-pro-page .dlp-hero-actions .dlp-button:hover { background: #125fc5; }
.dlp-pro-page .dlp-hero-compare { color: #eef5ff; font-size: 13px; font-weight: 600; }
.dlp-pro-page .dlp-hero-compare:hover { text-decoration: underline; }
.dlp-pro-page .dlp-hero-compare span { margin-left: 6px; }
.dlp-pro-page .dlp-hero-copy .dlp-hero-reassurance { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: #c3cee0; font-size: 12px; }
.dlp-pro-page .dlp-hero-reassurance .dashicons { font-size: 16px; height: 16px; width: 16px; color: #a8c6f1; }
.dlp-pro-page .dlp-offer-card { flex: 0 0 265px; padding: 29px 25px 25px; border: 1px solid #6786b34d; border-radius: 12px; background: #ffffff0a; text-align: center; }
.dlp-pro-page .dlp-offer-kicker { display: block; color: #abc9f2; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.dlp-pro-page .dlp-offer-up-to { display: block; margin-top: 20px; color: #dce8f9; font-size: 14px; }
.dlp-pro-page .dlp-offer-number { display: block; color: #fff; font-size: 88px; line-height: 1.08; letter-spacing: -5px; font-weight: 750; }
.dlp-pro-page .dlp-offer-number span { font-size: 43px; letter-spacing: -2px; vertical-align: 9px; }
.dlp-pro-page .dlp-offer-label { display: block; margin-top: 7px; color: #bcd7fc; font-size: 11px; letter-spacing: 1.5px; font-weight: 700; }
.dlp-pro-page .dlp-offer-divider { height: 1px; background: #a3bddd33; margin: 23px 0 18px; }
.dlp-pro-page .dlp-offer-card p { margin: 0 0 15px; color: #c3cee0; font-size: 12px; line-height: 1.7; }
.dlp-pro-page .dlp-offer-link { color: #fff; font-size: 13px; font-weight: 600; }
.dlp-pro-page .dlp-offer-link:hover { text-decoration: underline; }
.dlp-pro-page .dlp-benefits { margin-top: 43px; }
.dlp-pro-page .dlp-section-heading h2 { margin: 10px 0 10px; color: #17243b; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.3; letter-spacing: -.6px; font-weight: 700; }
.dlp-pro-page .dlp-section-heading p { margin: 0; color: #5c687a; font-size: 14px; }
.dlp-pro-page .dlp-benefit-list { display: flex; flex-wrap: wrap; margin-top: 25px; background: #fff; border: 1px solid #e2e8f1; border-radius: 12px; overflow: hidden; }
.dlp-pro-page .dlp-benefit { flex: 1 1 25%; padding: 27px 24px 29px; border-right: 1px solid #e2e8f1; }
.dlp-pro-page .dlp-benefit:last-child { border-right: none; }
.dlp-pro-page .dlp-benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: #edf4ff; color: #1769ce; font-size: 23px; }
.dlp-pro-page .dlp-benefit h3 { margin: 16px 0 9px; color: #17243b; font-size: 16px; line-height: 1.4; }
.dlp-pro-page .dlp-benefit p { margin: 0; color: #5c687a; font-size: 13px; line-height: 1.8; }
.dlp-pro-page .dlp-comparison { margin-top: 44px; scroll-margin-top: 55px; }
.dlp-pro-page .dlp-comparison-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; flex-wrap: wrap; margin-bottom: 24px; }
.dlp-pro-page .dlp-comparison-note { display: inline-flex; align-items: center; gap: 7px; color: #176548; font-size: 12px; }
.dlp-pro-page .dlp-comparison-note .dashicons { font-size: 17px; height: 17px; width: 17px; }
.dlp-pro-page .dlp-table-scroll { overflow-x: auto; border: 1px solid #dce4ef; border-radius: 12px; background: #fff; }
.dlp-pro-page .dlp-comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; }
.dlp-pro-page .dlp-feature-column { width: 56%; }
.dlp-pro-page .dlp-free-column { width: 20%; }
.dlp-pro-page .dlp-pro-column { width: 24%; background: #f0f6ff; }
.dlp-pro-page .dlp-comparison-table th, .dlp-pro-page .dlp-comparison-table td { padding: 14px 26px; vertical-align: middle; border-bottom: 1px solid #e7ecf3; font-size: 13px; }
.dlp-pro-page .dlp-comparison-table thead th { padding-top: 24px; padding-bottom: 22px; border-bottom: 1px solid #dce4ef; color: #17243b; font-weight: 650; }
.dlp-pro-page .dlp-comparison-table th:not(:first-child), .dlp-pro-page .dlp-comparison-table td { text-align: center; }
.dlp-pro-page .dlp-comparison-table th:nth-child(3), .dlp-pro-page .dlp-comparison-table td:nth-child(3) { background: #f0f6ff; border-left: 1px solid #dce9ff; }
.dlp-pro-page .dlp-comparison-table thead th:nth-child(3) { background: #e5efff; }
.dlp-pro-page .dlp-table-plan { display: block; color: #17243b; font-size: 23px; font-weight: 700; }
.dlp-pro-page th:nth-child(3) .dlp-table-plan { color: #1256af; }
.dlp-pro-page .dlp-table-description { display: block; margin-top: 4px; color: #5c687a; font-size: 12px; font-weight: 400; }
.dlp-pro-page .dlp-comparison-table tbody th { color: #3c485d; font-weight: 500; }
.dlp-pro-page .dlp-comparison-table tbody tr:hover th, .dlp-pro-page .dlp-comparison-table tbody tr:hover td { background-color: #f7faff; }
.dlp-pro-page .dlp-comparison-table tbody tr:hover td:nth-child(3) { background-color: #e8f1ff; }
.dlp-pro-page .dlp-availability { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.dlp-pro-page .dlp-included { color: #187054; }
.dlp-pro-page td:nth-child(3) .dlp-included { color: #1769ce; }
.dlp-pro-page .dlp-not-included { color: #929cab; }
.dlp-pro-page .dlp-availability .dashicons { font-size: 21px; width: 21px; height: 21px; }
.dlp-pro-page .dlp-comparison-table tfoot th, .dlp-pro-page .dlp-comparison-table tfoot td { padding-top: 22px; padding-bottom: 22px; border-bottom: none; }
.dlp-pro-page .dlp-current-plan { color: #697589; font-size: 12px; }
.dlp-pro-page .dlp-button-small { padding: 10px 13px; font-size: 12px; min-height: 40px; }
.dlp-pro-page .dlp-source-note { margin: 13px 4px 0; color: #5c687a; font-size: 11px; line-height: 1.7; }
.dlp-pro-page .dlp-source-note a { color: #1459af; text-decoration: underline; }
.dlp-pro-page .dlp-final-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 36px; padding: 30px; border: 1px solid #d6e4f8; border-radius: 12px; background: #eaf2ff; }
.dlp-pro-page .dlp-guarantee-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex-shrink: 0; border: 1px solid #c7dafa; border-radius: 50%; color: #1769ce; background: #fff; }
.dlp-pro-page .dlp-guarantee-icon .dashicons { width: 29px; height: 29px; font-size: 29px; }
.dlp-pro-page .dlp-final-copy { flex: 1 1 400px; }
.dlp-pro-page .dlp-final-copy h2 { margin: 6px 0 7px; color: #17243b; font-size: 22px; line-height: 1.4; }
.dlp-pro-page .dlp-final-copy p { margin: 0; color: #5c687a; font-size: 13px; }
.dlp-pro-page .dlp-page-footer { padding: 25px 10px 30px; color: #697589; text-align: center; font-size: 12px; }

/* Existing feature lock modal; existing open/close hooks are preserved. */
.dlp-marketing.dlp-popup-card { padding: 42px 38px 36px; background: #fff; border-radius: 12px; text-align: center; }
.dlp-popup-card h2 { margin: 12px 0; color: #17243b; font-size: 28px; line-height: 1.25; }
.dlp-popup-card p { margin: 0 0 22px; color: #5c687a; font-size: 14px; }
.dlp-popup-card .dlp-popup-note { margin: 15px 0 0; font-size: 12px; }
.dlp-popup-card .dlp-popup-note a { color: #1459af; text-decoration: underline; }

@media (max-width: 1200px) {
    .dlp-pro-page .dlp-hero { padding: 38px 34px; gap: 30px; }
    .dlp-pro-page .dlp-offer-card { flex-basis: 235px; }
    .dlp-pro-page .dlp-benefit { flex-basis: 50%; }
    .dlp-pro-page .dlp-benefit:nth-child(2) { border-right: 0; }
    .dlp-pro-page .dlp-benefit:nth-child(-n+2) { border-bottom: 1px solid #e2e8f1; }
    .dlp-pro-page .dlp-comparison-table th, .dlp-pro-page .dlp-comparison-table td { padding-left: 18px; padding-right: 18px; }
    .dlp-marketing.dlp-sidebar-offer { margin-left: 15px; margin-right: 15px; padding: 16px; }
}
@media (max-width: 782px) {
    .dlp-marketing.dlp-pro-page { margin: 18px 12px 0 0; }
    .dlp-pro-page .dlp-page-header { margin-bottom: 20px; }
    .dlp-pro-page .dlp-brand { gap: 12px; }
    .dlp-pro-page .dlp-brand img { width: 142px; }
    .dlp-pro-page .dlp-hero { flex-direction: column; align-items: stretch; padding: 32px 25px; gap: 30px; }
    .dlp-pro-page .dlp-hero-copy { flex: auto; }
    .dlp-pro-page .dlp-hero h1 { font-size: 36px; letter-spacing: -.8px; }
    .dlp-pro-page .dlp-hero-copy > p { font-size: 14px; }
    .dlp-pro-page .dlp-offer-card { flex: auto; max-width: none; padding: 22px; }
    .dlp-pro-page .dlp-offer-up-to { margin-top: 12px; }
    .dlp-pro-page .dlp-offer-number { font-size: 72px; }
    .dlp-pro-page .dlp-offer-divider { margin: 15px 0; }
    .dlp-pro-page .dlp-benefits, .dlp-pro-page .dlp-comparison { margin-top: 32px; }
    .dlp-pro-page .dlp-comparison-table { min-width: 540px; }
    .dlp-pro-page .dlp-feature-column { width: 48%; }
    .dlp-pro-page .dlp-free-column { width: 20%; }
    .dlp-pro-page .dlp-pro-column { width: 32%; }
    .dlp-pro-page .dlp-comparison-table th, .dlp-pro-page .dlp-comparison-table td { padding: 13px 16px; font-size: 12px; }
    .dlp-pro-page .dlp-comparison-table thead th { padding-top: 20px; padding-bottom: 20px; }
    .dlp-pro-page .dlp-final-cta { padding: 25px; gap: 17px; }
    .dlp-pro-page .dlp-final-copy { flex-basis: calc(100% - 80px); }
    .dlp-pro-page .dlp-final-copy h2 { font-size: 20px; }
    .dlp-pro-page .dlp-final-cta > .dlp-button { width: 100%; }
    .dlp-marketing.dlp-banner { margin-right: 12px; padding: 18px; }
    .dlp-banner .dlp-banner-actions { justify-content: flex-start; }
    .dlp-plugin-offer-row .dlp-plugin-offer-cell { padding: 0 12px 15px; }
    .dlp-plugin-offer-row .dlp-banner { margin: 0; }
}
@media (max-width: 480px) {
    .dlp-pro-page .dlp-hero { padding: 28px 21px; }
    .dlp-pro-page .dlp-hero h1 { font-size: 32px; }
    .dlp-pro-page .dlp-hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
    .dlp-pro-page .dlp-hero-compare { text-align: center; }
    .dlp-pro-page .dlp-benefit { flex-basis: 100%; border-right: 0; border-bottom: 1px solid #e2e8f1; padding: 24px; }
    .dlp-pro-page .dlp-benefit:last-child { border-bottom: 0; }
    .dlp-pro-page .dlp-final-copy { flex-basis: 100%; }
    .dlp-banner .dlp-banner-copy { align-items: flex-start; gap: 12px; flex-basis: 100%; }
    .dlp-banner .dlp-banner-copy strong { font-size: 14px; }
    .dlp-banner .dlp-banner-badge { width: 36px; height: 36px; }
    .dlp-banner .dlp-banner-actions { width: 100%; gap: 12px; }
    .dlp-banner .dlp-banner-actions .dlp-button { width: 100%; }
    .dlp-marketing.dlp-popup-card { padding: 35px 23px 28px; }
    .dlp-popup-card h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .dlp-marketing .dlp-button { transition: none; }
}
@media (forced-colors: active) {
    .dlp-marketing .dlp-button { border: 1px solid ButtonText; }
}

/* Override the legacy image-banner modal only on the new text offer. */
.darklup-single-popup.dlp-feature-popup { background: #fff; background-image: none; padding: 0; width: min(500px, calc(100vw - 32px)); max-width: 500px; max-height: calc(100vh - 40px); overflow-y: auto; }
.darklup-single-popup.dlp-feature-popup .darklup-close { top: 10px; right: 10px; z-index: 1; line-height: 1; }
.darklup-single-popup.dlp-feature-popup .dlp-popup-card { padding-top: 48px; }
.darklup-single-popup.dlp-feature-popup .dlp-button { border-radius: 7px !important; }
