/* ============================================================
   Geo Firewall — market / use-case landing pages
   Shared presentation for the per-market landing pages
   (rdp-brute-force-protection, for-msps, windows-server-geo-blocking).

   Builds on /styles/product-showcase.css, which already supplies the
   card grid (.product-details-grid / .product-detail-block) and the
   filled CTA button (.product-showcase-cta). This file only adds the
   landing-specific sections: hero band, stat row, numbered steps,
   FAQ accordion, comparison note and the closing CTA band.

   Each page sets its own --accent inline; Geo Firewall's brand green
   (#2f9e57) 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.
   ============================================================ */

.gfl {
    --accent: #2f9e57;
    --accent-dark: #257e46;
}

/* ---------- Hero ---------- */
.gfl-hero {
    margin: 6px 0 10px 0;
    padding: 34px 30px 30px 30px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #d9e6dd;
    background:
        radial-gradient(1200px 240px at 50% -40px, rgba(47, 158, 87, 0.12), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f4f9f6 100%);
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.10);
}

.gfl-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(47, 158, 87, 0.12);
    border: 1px solid rgba(47, 158, 87, 0.25);
}

.gfl-hero h1 {
    margin: 0 auto 14px auto;
    max-width: 760px;
    font-size: 2.05em;
    line-height: 1.16;
    color: #28333f;
}

.gfl-hero .gfl-sub {
    max-width: 660px;
    margin: 0 auto 22px auto;
    font-size: 13pt;
    line-height: 1.6;
    color: #51616f;
}

/* ---------- Buttons ---------- */
.gfl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.gfl-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;
}

.gfl-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.gfl-btn-primary {
    color: #fff !important;
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(31, 45, 61, 0.18);
}

.gfl-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(31, 45, 61, 0.26);
}

.gfl-btn-secondary {
    color: var(--accent-dark) !important;
    background: #fff;
    border: 1px solid rgba(47, 158, 87, 0.45);
}

.gfl-btn-secondary:hover {
    background: rgba(47, 158, 87, 0.07);
    transform: translateY(-1px);
}

/* ---------- Stat callouts ---------- */
.gfl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 26px 0 8px 0;
}

.gfl-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);
}

.gfl-stat-num {
    font-size: 1.9em;
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-dark);
}

.gfl-stat-label {
    margin-top: 6px;
    font-size: 10.5pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Generic section heading ---------- */
.gfl-section {
    margin-top: 14px;
}

.gfl-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. */
.gfl-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);
}

.gfl-card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ---------- Numbered "how it works" steps ---------- */
.gfl-steps {
    counter-reset: gfl-step;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 8px 0 4px 0;
    padding: 0;
    list-style: none;
}

.gfl-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);
}

.gfl-step::before {
    counter-increment: gfl-step;
    content: counter(gfl-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);
}

.gfl-step h3 {
    margin: 0 0 6px 0;
    padding: 0;
    border: 0;
    font-size: 1.12em;
    color: #33414f;
}

.gfl-step p {
    margin: 0;
    font-size: 11pt;
    line-height: 1.55;
    color: #4d5b6a;
}

/* ---------- Comparison note ---------- */
.gfl-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0;
    font-size: 11pt;
}

.gfl-compare th,
.gfl-compare td {
    padding: 11px 14px;
    border: 1px solid #dde4e9;
    text-align: left;
    vertical-align: top;
}

.gfl-compare thead th {
    background: #eef3f6;
    color: #33414f;
    font-weight: 700;
}

.gfl-compare tbody th {
    background: #f7fafb;
    font-weight: 600;
    color: #3d4a57;
    width: 38%;
}

.gfl-compare .gfl-yes {
    color: var(--accent-dark);
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.gfl-faq {
    max-width: 760px;
    margin: 0 auto;
}

.gfl-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;
}

.gfl-faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 46px 16px 18px;
    position: relative;
    font-size: 11.8pt;
    font-weight: 600;
    color: #33414f;
}

.gfl-faq-item > summary::-webkit-details-marker {
    display: none;
}

.gfl-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;
}

.gfl-faq-item[open] > summary::after {
    content: "\2212"; /* minus */
}

.gfl-faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 11pt;
    line-height: 1.6;
    color: #4d5b6a;
}

.gfl-faq-answer p {
    margin: 0 0 10px 0;
}

/* ---------- Editions table: "Best for" persona row + Recommended badge ----------
   Used on the Geo Firewall product pages (v4 / v5), which load 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: #f4f9f6 !important;
    border-bottom: 2px solid #cfe3d7;
    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: #257e46;
    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: #2f9e57;
    white-space: nowrap;
}

.featureTable td.columnCaption.editionRecommended {
    background: rgba(47, 158, 87, 0.10) !important;
    box-shadow: inset 2px 0 0 #2f9e57, inset -2px 0 0 #2f9e57, inset 0 3px 0 #2f9e57;
}

/* "Previous version still available" note below the editions table. */
.editions-altnote {
    margin: 16px 0 4px 0;
    padding: 12px 16px;
    font-size: 11pt;
    line-height: 1.5;
    color: #4d5b6a;
    background: #f4f9f6;
    border: 1px solid #d9e6dd;
    border-left: 4px solid #2f9e57;
    border-radius: 8px;
}

.editions-altnote a {
    color: #257e46;
    font-weight: 600;
}

/* ---------- Closing CTA band ---------- */
.gfl-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);
}

.gfl-cta-band h2 {
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 1.6em;
}

.gfl-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);
}

.gfl-cta-band .gfl-btn-primary {
    background: #fff;
    color: var(--accent-dark) !important;
}

.gfl-cta-band .gfl-btn-secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7);
}

.gfl-cta-band .gfl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Cross-links to the other use-case pages ---------- */
.gfl-crosslinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 10px 0 4px 0;
}

.gfl-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;
}

.gfl-crosslink:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31, 45, 61, 0.12);
}

.gfl-crosslink .gfl-crosslink-title {
    font-weight: 700;
    font-size: 11.5pt;
}

.gfl-crosslink .gfl-crosslink-sub {
    margin-top: 4px;
    font-size: 10pt;
    line-height: 1.45;
    color: #5f6f7e;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .gfl-stats,
    .gfl-steps,
    .gfl-crosslinks {
        grid-template-columns: 1fr;
    }

    .gfl-hero h1 {
        font-size: 1.7em;
    }

    .gfl-compare tbody th {
        width: auto;
    }
}
