/* ============================================================
   Verigio — generic product use-case / learn landing pages (.pl-*)

   A fully accent-variable-driven sibling of geo-firewall-landing.css
   (.gfl-*) and dns-proxywall-landing.css (.dpl-*). Those two bake a
   single brand color into the stylesheet; this one drives EVERY brand
   color from CSS custom properties, so any product can reuse it by
   setting one palette on the .pl wrapper:

     <div class="pl" style="
          --accent:#1f8fb0; --accent-dark:#176f8a;
          --accent-tint:rgba(31,143,176,0.12);
          --accent-tint-line:rgba(31,143,176,0.25);
          --accent-btn-line:rgba(31,143,176,0.45);
          --accent-line:#d3e6ec; --accent-wash:#f1f8fa;">

   Used by the Multi Port Forwarder, Virtual Network Hub and Geo Router
   learn pages. Builds on /styles/product-showcase.css, which supplies
   the card grid (.product-details-grid / .product-detail-block). The
   readable column (#l_content) is ~842px wide, so every section fills
   it (max-width: 100%) and grids collapse to one column on phones.
   ============================================================ */

.pl {
    /* Brand-neutral indigo defaults; each page overrides these. */
    --accent: #2456b8;
    --accent-dark: #17407f;
    --accent-tint: rgba(36, 86, 184, 0.12);
    --accent-tint-line: rgba(36, 86, 184, 0.25);
    --accent-btn-line: rgba(36, 86, 184, 0.45);
    --accent-line: #dbe4f0;
    --accent-wash: #f4f7fc;
}

/* ---------- Hero ---------- */
.pl-hero {
    margin: 6px 0 10px 0;
    padding: 34px 30px 30px 30px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid var(--accent-line);
    background:
        radial-gradient(1200px 240px at 50% -40px, var(--accent-tint), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--accent-wash) 100%);
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.10);
}

.pl-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: var(--accent-tint);
    border: 1px solid var(--accent-tint-line);
}

.pl-hero h1 {
    margin: 0 auto 14px auto;
    max-width: 760px;
    font-size: 2.05em;
    line-height: 1.16;
    color: #28333f;
}

.pl-hero .pl-sub {
    max-width: 670px;
    margin: 0 auto 22px auto;
    font-size: 13pt;
    line-height: 1.6;
    color: #51616f;
}

/* ---------- Buttons ---------- */
.pl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.pl-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;
}

.pl-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pl-btn-primary {
    color: #fff !important;
    background: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(31, 45, 61, 0.18);
}

.pl-btn-primary:hover {
    filter: brightness(0.94);
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(31, 45, 61, 0.26);
}

.pl-btn-secondary {
    color: var(--accent-dark) !important;
    background: #fff;
    border: 1px solid var(--accent-btn-line);
}

.pl-btn-secondary:hover {
    background: var(--accent-tint);
    transform: translateY(-1px);
}

/* ---------- Stat callouts ---------- */
.pl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 26px 0 8px 0;
}

.pl-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);
}

.pl-stat-num {
    font-size: 1.9em;
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-dark);
}

.pl-stat-label {
    margin-top: 6px;
    font-size: 10.5pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Generic section heading / lead ---------- */
.pl-section {
    margin-top: 14px;
}

.pl-lead {
    max-width: 680px;
    margin: 0 auto 22px auto;
    font-size: 12pt;
    line-height: 1.6;
    text-align: center;
    color: #5f6f7e;
}

/* Icon chip for benefit cards that carry an inline SVG. */
.pl-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);
}

.pl-card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ---------- Numbered "how it works" steps ---------- */
.pl-steps {
    counter-reset: pl-step;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 8px 0 4px 0;
    padding: 0;
    list-style: none;
}

.pl-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);
}

.pl-step::before {
    counter-increment: pl-step;
    content: counter(pl-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);
}

.pl-step h3 {
    margin: 0 0 6px 0;
    padding: 0;
    border: 0;
    font-size: 1.12em;
    color: #33414f;
}

.pl-step p {
    margin: 0;
    font-size: 11pt;
    line-height: 1.55;
    color: #4d5b6a;
}

/* ---------- Comparison table ---------- */
.pl-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0;
    font-size: 11pt;
}

.pl-compare th,
.pl-compare td {
    padding: 11px 14px;
    border: 1px solid #dde4e9;
    text-align: left;
    vertical-align: top;
}

.pl-compare thead th {
    background: #eef3f6;
    color: #33414f;
    font-weight: 700;
}

.pl-compare tbody th {
    background: #f7fafb;
    font-weight: 600;
    color: #3d4a57;
    width: 38%;
}

.pl-compare .pl-yes {
    color: var(--accent-dark);
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.pl-faq {
    max-width: 760px;
    margin: 0 auto;
}

.pl-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;
}

.pl-faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 46px 16px 18px;
    position: relative;
    font-size: 11.8pt;
    font-weight: 600;
    color: #33414f;
}

.pl-faq-item > summary::-webkit-details-marker {
    display: none;
}

.pl-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;
}

.pl-faq-item[open] > summary::after {
    content: "\2212"; /* minus */
}

.pl-faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 11pt;
    line-height: 1.6;
    color: #4d5b6a;
}

.pl-faq-answer p {
    margin: 0 0 10px 0;
}

/* ---------- Closing CTA band ---------- */
.pl-cta-band {
    margin: 30px 0 8px 0;
    padding: 30px 28px;
    text-align: center;
    border-radius: 16px;
    color: #fff;
    background: var(--accent-dark);
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.20);
}

.pl-cta-band h2 {
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 1.6em;
}

.pl-cta-band p {
    max-width: 620px;
    margin: 0 auto 20px auto;
    font-size: 12pt;
    line-height: 1.55;
    color: #fff;
}

.pl-cta-band .pl-btn-primary {
    background: #fff;
    color: var(--accent-dark) !important;
}

.pl-cta-band .pl-btn-secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7);
}

.pl-cta-band .pl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Cross-links to related pages ---------- */
.pl-crosslinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 10px 0 4px 0;
}

.pl-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;
}

.pl-crosslink:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31, 45, 61, 0.12);
}

.pl-crosslink .pl-crosslink-title {
    font-weight: 700;
    font-size: 11.5pt;
}

.pl-crosslink .pl-crosslink-sub {
    margin-top: 4px;
    font-size: 10pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .pl-stats,
    .pl-steps,
    .pl-crosslinks {
        grid-template-columns: 1fr;
    }

    .pl-hero h1 {
        font-size: 1.7em;
    }

    .pl-compare tbody th {
        width: auto;
    }
}

/* ---------- Editions table: "Best for" persona row ----------
   Accent-variable sibling of the rule in geo-firewall-landing.css, for pages that
   load this shared stylesheet (e.g. Virtual Network Hub). The fallbacks apply when
   the editions table sits outside a .pl accent scope. Scoped to .featureTable so it
   only affects tables that include a tr.featureBestFor row. */
.featureTable tr.featureBestFor td {
    background: var(--accent-wash, #f4f7fc) !important;
    border-bottom: 2px solid var(--accent-line, #dbe4f0);
    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: var(--accent-dark, #17407f);
    font-weight: 600;
    text-decoration: none;
}

.featureTable tr.featureBestFor a:hover {
    text-decoration: underline;
}
