/* ============================================================
   DNS Proxywall — market / use-case landing pages
   Shared presentation for the DNS firewall use-case landing pages
   (dns-firewall-for-windows, block-malicious-domains,
   dns-content-filtering, dns-monitoring, dns-proxy-server).

   Sibling of /styles/geo-firewall-landing.css and built on the same
   /styles/product-showcase.css, which already supplies the card grid
   (.product-details-grid / .product-detail-block). This file only adds
   the landing-specific sections: hero band, stat row, numbered steps,
   FAQ accordion, comparison note and the closing CTA band, plus the
   editions-table "Best for" persona row + Recommended badge used on the
   DNS Proxywall product page.

   Each page sets its own --accent inline; DNS Proxywall's brand blue
   (#1f76d2) is the default so the pages read as one product family.
   The readable column (#l_content) is ~842px wide, so every section
   simply fills it (max-width: 100%) and the grid collapses on phones.
   ============================================================ */

.dpl {
    --accent: #1f76d2;
    --accent-dark: #155ba6;
}

/* ---------- Hero ---------- */
.dpl-hero {
    margin: 6px 0 10px 0;
    padding: 34px 30px 30px 30px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #d6e4f2;
    background:
        radial-gradient(1200px 240px at 50% -40px, rgba(31, 118, 210, 0.12), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.10);
}

.dpl-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 9.5pt;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(31, 118, 210, 0.12);
    border: 1px solid rgba(31, 118, 210, 0.25);
}

.dpl-hero h1 {
    margin: 0 auto 14px auto;
    max-width: 760px;
    font-size: 2.05em;
    line-height: 1.16;
    color: #28333f;
}

.dpl-hero .dpl-sub {
    max-width: 660px;
    margin: 0 auto 22px auto;
    font-size: 13pt;
    line-height: 1.6;
    color: #51616f;
}

/* ---------- Buttons ---------- */
.dpl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.dpl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 11.5pt;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.dpl-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.dpl-btn-primary {
    color: #fff !important;
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(31, 45, 61, 0.18);
}

.dpl-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(31, 45, 61, 0.26);
}

.dpl-btn-secondary {
    color: var(--accent-dark) !important;
    background: #fff;
    border: 1px solid rgba(31, 118, 210, 0.45);
}

.dpl-btn-secondary:hover {
    background: rgba(31, 118, 210, 0.07);
    transform: translateY(-1px);
}

/* ---------- Stat callouts ---------- */
.dpl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 26px 0 8px 0;
}

.dpl-stat {
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid #e3e8ec;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(31, 45, 61, 0.06);
}

.dpl-stat-num {
    font-size: 1.9em;
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-dark);
}

.dpl-stat-label {
    margin-top: 6px;
    font-size: 10.5pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Generic section heading ---------- */
.dpl-section {
    margin-top: 14px;
}

.dpl-lead {
    max-width: 680px;
    margin: 0 auto 22px auto;
    font-size: 12pt;
    line-height: 1.6;
    text-align: center;
    color: #5f6f7e;
}

/* Reuse the product card icon look for benefit cards that carry an inline SVG. */
.dpl-card-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.14)), var(--accent);
    box-shadow: 0 6px 16px rgba(31, 45, 61, 0.18);
}

.dpl-card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ---------- Numbered "how it works" steps ---------- */
.dpl-steps {
    counter-reset: dpl-step;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 8px 0 4px 0;
    padding: 0;
    list-style: none;
}

.dpl-step {
    position: relative;
    padding: 22px 22px 22px 64px;
    background: #fff;
    border: 1px solid #e3e8ec;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(31, 45, 61, 0.06);
}

.dpl-step::before {
    counter-increment: dpl-step;
    content: counter(dpl-step);
    position: absolute;
    left: 18px;
    top: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12pt;
    color: #fff;
    background: var(--accent);
}

.dpl-step h3 {
    margin: 0 0 6px 0;
    padding: 0;
    border: 0;
    font-size: 1.12em;
    color: #33414f;
}

.dpl-step p {
    margin: 0;
    font-size: 11pt;
    line-height: 1.55;
    color: #4d5b6a;
}

/* ---------- Comparison note ---------- */
.dpl-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0;
    font-size: 11pt;
}

.dpl-compare th,
.dpl-compare td {
    padding: 11px 14px;
    border: 1px solid #dde4e9;
    text-align: left;
    vertical-align: top;
}

.dpl-compare thead th {
    background: #eaf2fb;
    color: #33414f;
    font-weight: 700;
}

.dpl-compare tbody th {
    background: #f5f9fd;
    font-weight: 600;
    color: #3d4a57;
    width: 38%;
}

.dpl-compare .dpl-yes {
    color: var(--accent-dark);
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.dpl-faq {
    max-width: 760px;
    margin: 0 auto;
}

.dpl-faq-item {
    border: 1px solid #e3e8ec;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
    overflow: hidden;
}

.dpl-faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 46px 16px 18px;
    position: relative;
    font-size: 11.8pt;
    font-weight: 600;
    color: #33414f;
}

.dpl-faq-item > summary::-webkit-details-marker {
    display: none;
}

.dpl-faq-item > summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.dpl-faq-item[open] > summary::after {
    content: "\2212"; /* minus */
}

.dpl-faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 11pt;
    line-height: 1.6;
    color: #4d5b6a;
}

.dpl-faq-answer p {
    margin: 0 0 10px 0;
}

/* ---------- Editions table: "Best for" persona row + Recommended badge ----------
   Used on the DNS Proxywall product page (dns-proxywall-v5), which loads this
   stylesheet. Selectors are scoped to .featureTable and use !important only
   where they must override the shared striping in table.css. */
.featureTable tr.featureBestFor td {
    background: #f3f8fd !important;
    border-bottom: 2px solid #cfe0f2;
    font-size: 10pt;
    line-height: 1.4;
    color: #4d5b6a;
    vertical-align: top;
    text-align: center;
}

.featureTable tr.featureBestFor td.featureDescription {
    font-weight: 700;
    color: #33414f;
    text-align: left;
}

.featureTable tr.featureBestFor a {
    color: #155ba6;
    font-weight: 600;
    text-decoration: none;
}

.featureTable tr.featureBestFor a:hover {
    text-decoration: underline;
}

.editionBadge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #1f76d2;
    white-space: nowrap;
}

.featureTable td.columnCaption.editionRecommended {
    background: rgba(31, 118, 210, 0.10) !important;
    box-shadow: inset 2px 0 0 #1f76d2, inset -2px 0 0 #1f76d2, inset 0 3px 0 #1f76d2;
}

/* ---------- Closing CTA band ---------- */
.dpl-cta-band {
    margin: 30px 0 8px 0;
    padding: 30px 28px;
    text-align: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.20);
}

.dpl-cta-band h2 {
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 1.6em;
}

.dpl-cta-band p {
    max-width: 620px;
    margin: 0 auto 20px auto;
    font-size: 12pt;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.dpl-cta-band .dpl-btn-primary {
    background: #fff;
    color: var(--accent-dark) !important;
}

.dpl-cta-band .dpl-btn-secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7);
}

.dpl-cta-band .dpl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Cross-links to the other use-case pages ---------- */
.dpl-crosslinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 10px 0 4px 0;
}

.dpl-crosslink {
    display: block;
    padding: 16px 18px;
    border: 1px solid #e3e8ec;
    border-radius: 10px;
    background: #fff;
    text-decoration: none !important;
    color: #33414f !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dpl-crosslink:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31, 45, 61, 0.12);
}

.dpl-crosslink .dpl-crosslink-title {
    font-weight: 700;
    font-size: 11.5pt;
}

.dpl-crosslink .dpl-crosslink-sub {
    margin-top: 4px;
    font-size: 10pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .dpl-stats,
    .dpl-steps,
    .dpl-crosslinks {
        grid-template-columns: 1fr;
    }

    .dpl-hero h1 {
        font-size: 1.7em;
    }

    .dpl-compare tbody th {
        width: auto;
    }
}
