/* ==========================================================
   MDofficeMail — Features Page
   A compliance-index layout: sticky section index + a
   scannable row list per category, organised like a spec
   sheet rather than a dashboard of cards.
========================================================== */

:root {
    --ink: #0b2138;
    --brand: #063c6a;
    --brand-deep: #042b4c;
    --brand-mid: #0e5f95;
    --verified: #146c4e;
    --verified-tint: #eaf5f0;
    --paper: #f5f8fa;
    --panel: #ffffff;
    --line: #e1e8ee;
    --muted: #5b6b7a;
}

.features-page-main {
    background: var(--paper);
}


/* =========================
   INTRO BAND
========================= */

.features-intro {
    background: transparent;;
    border-bottom: 1px solid var(--line);
    padding: 56px 0 48px;
}

/* .features-intro-inner { */
    /* max-width: 760px; */
/* } */

.features-intro .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--verified);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 14px;
}

.features-intro .eyebrow i {
    font-size: 16px;
}

.features-intro h1 {
        font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;

}

.features-intro p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
	font-style: italic;
	font-weight:400;
}


/* =========================
   LAYOUT: INDEX + CONTENT
========================= */

.features-body {
    padding: 56px 0 20px;
}

.features-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}


/* ---- Sticky section index ---- */

.features-nav {
    position: sticky;
    top: 130px;
}

.features-nav-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
    font-weight: 500;
}

.features-nav ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-left: 2px solid var(--line);
}

.features-nav li {
    margin: 0;
}

.features-nav a {
    display: block;
    padding: 9px 0 9px 16px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}

.features-nav a em {
    font-style: normal;
    color: var(--muted);
    font-size: 12.5px;
    background: var(--paper);
    border-radius: 20px;
    padding: 1px 8px;
	float: right;
}

.features-nav a:hover {
    color: var(--brand);
}

.features-nav a.is-active {
   color: #0d6efd;
    border-left-color: #0d6efd;
    background-color: #eef5ff;
}

/* .features-nav a.is-active em {
    background: var(--brand);
    color: #fff;
} */
.toc-card a:hover {
    color: #0d6efd;
}
.features-nav-cta {
    background: var(--brand);
    border-radius: 10px;
    padding: 20px 20px 22px;
    color: #fff;
}

.features-nav-cta p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 14px;
}

.features-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    padding-bottom: 2px;
    transition: border-color .2s ease;
	background-color: #fff;
    border-radius: 20px;
    text-align: center;
    margin-top: 10px !important;
}

.features-nav-btn:hover {
    border-color: #fff;
}


/* ---- Mobile pill nav (hidden on desktop) ---- */

.features-nav-mobile {
    display: none;
}


/* =========================
   FEATURE BLOCK (category)
========================= */

.feature-block {
    scroll-margin-top: 110px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
	padding-top:0px;
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-block-head {
    display: flex;
    gap: 20px;
    align-items: baseline;
   
}

.feature-block-index {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-block-head h2 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
}

.feature-block-head p {
    color: var(--muted);
    font-size: 15.5px;
    margin: 0;
}


/* =========================
   FEATURE ROWS
========================= */

.feature-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.feature-row {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.feature-rows .feature-row:nth-child(1),
.feature-rows .feature-row:nth-child(2) {
    border-top: none;
}

.feature-row-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--brand);
    background: var(--paper);
    border: 1px solid var(--line);
}

.feature-row.highlight .feature-row-icon {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.feature-row-body h3 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.4;
    margin: 3px 0 6px;
}

.feature-row.highlight .feature-row-body h3 {
    color: var(--brand-deep);
}

.feature-row-body .tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--verified);
    background: var(--verified-tint);
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 7px;
}

.feature-row-body p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

.feature-row-body a {
    color: var(--brand-mid);
    font-weight: 600;
    text-decoration: none;
}

.feature-row-body a:hover {
    text-decoration: underline;
}


/* =========================
   CLOSING CTA
========================= */

.features-cta {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-mid) 100%);
    padding: 64px 20px;
    text-align: center;
    color: #fff;
    margin-top: 20px;
}

.features-cta h2 {
    font-family: "Poppins", sans-serif;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.features-cta p {
    max-width: 560px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
}

.cta-btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 6px;
    background: #fff;
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
}

.cta-btn:hover {
    background: #e9f3fa;
    color: var(--brand-deep);
    transform: translateY(-2px);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .features-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .features-nav {
        display: none;
    }

    .features-nav-mobile {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 4px 0 18px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--line);
        position: sticky;
        top: 70px;
        background: var(--paper);
        z-index: 5;
    }

    .features-nav-mobile a {
        flex: none;
        white-space: nowrap;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--brand);
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 7px 14px;
        text-decoration: none;
    }

    .feature-rows {
        grid-template-columns: 1fr;
    }

    .feature-rows .feature-row:nth-child(2) {
        border-top: 1px solid var(--line);
    }

    .features-intro h1 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {

    .features-intro {
        padding: 40px 0 34px;
    }

    .features-intro h1 {
        font-size: 27px;
    }

    .features-intro p {
        font-size: 15.5px;
    }

    .features-body {
        padding: 34px 0 10px;
    }

    .feature-block-head {
        gap: 14px;
    }

    .feature-block-head h2 {
        font-size: 21px;
    }

    .features-cta h2 {
        font-size: 24px;
    }
}
.features-intro h1 { color: #0A1E33 !important; }
.features-intro p  { color: #2E4256 !important; }
.features-intro .eyebrow { color: #0E7C5A !important; }