/* ==========================================================================
   FEATURE DETAIL PAGES (/hris/<slug>/)
   Wrapper: .feature-page — each page has its own hero, pillars, mockups, etc.
   ========================================================================== */

/* ==========================================================================
   FEATURE DETAIL PAGES — base layout
   Shared wrapper .feature-page + per-section modifiers (.feature-hero,
   .feature-stats, .feature-pillars, .feature-flow, .feature-showcase,
   .feature-included, .feature-contact).
   ========================================================================== */
.feature-page .feature-section {
    margin-bottom: 88px;
}

.feature-page .feature-section.feature-pillars {
    padding: 0 44px;
}

.feature-page .feature-section.feature-nav .feature-eyebrows {
    margin-bottom: 0;
}

.feature-page .feature-section-head {
    text-align: center;
    margin-bottom: var(--h-space-7);
}

.feature-page .feature-section-head h2 {
    font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
    font-size: clamp(24px, 2.8vw, 32px);
    margin: 0;
}

.feature-page .feature-section-head p {
    color: var(--h-text-muted);
    margin: var(--h-space-2) 0 0;
    text-align: center;
}

.feature-page .feature-eyebrows {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--h-space-6);
}

.feature-page .feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--h-text-muted);
    background: #fdfdfd;
    border: 1px solid #f5f5f5;
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;


}

.feature-page a.feature-eyebrow:hover {
    background: var(--h-white);
    border-color: var(--h-border-color-darker);
    color: var(--h-navy);
    text-decoration: none;
    background: var(--h-cream);
    color: var(--h-navy);
    transform: translateY(-1px);
}

.feature-page .feature-eyebrow-current {
    color: #121314;
    border-color: transparent;
    font-size: 0.8rem;
    padding: 0;
    cursor: default;
}

.feature-page .feature-eyebrow ion-icon {
    font-size: 14px;
}


.feature-page .feature-actions {
    display: flex;
    gap: var(--h-space-3);
    flex-wrap: wrap;
    margin-top: var(--h-space-6);
}

/* ===== HERO (transparent, homepage-style) ===== */
.feature-page .feature-section.feature-hero {
    background: transparent;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--h-space-11);
    align-items: center;
    margin-bottom: 88px;
}

.feature-page .feature-hero-text h1 {
    font-size: clamp(32px, 4vw, 46px);
    margin: 0 0 18px;
    font-weight: 700;
}

.feature-page .feature-hero-text h1 .feature-hero-accent {
    text-decoration: underline;
    text-decoration-color: var(--h-blue);
    text-decoration-thickness: 5px;
    text-underline-offset: .1em;
}

.feature-page .feature-hero-text p {
    line-height: 1.7;
    color: var(--h-text-muted);
}

/* Hero mockup — balance sheet inspired by the myHR app */
.feature-page .feature-mock-balance-sheet {
    overflow: hidden;
}

.feature-page .feature-mock-balance-sheet .feature-mock-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e9e9e9;
}

.feature-page .feature-mock-title {
    font-weight: 700;
    color: var(--h-navy);
    font-size: 14px;
}

.feature-page .feature-mock-year {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--h-navy);
    background: #fafafa;
    border: 1px solid var(--h-border-color-lightest);
    border-radius: 8px;
    padding: var(--h-space-1) 10px;
}

.feature-page .feature-mock-year-nav {
    color: var(--h-text-muted);
    cursor: default;
}

.feature-page .feature-mock-table {
    display: flex;
    flex-direction: column;
}

.feature-page .feature-mock-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 18px;
    align-items: center;
    font-size: 12.5px;
    border-bottom: 1px solid var(--h-border-color-lightest);
}

@media (max-width: 420px) {
    .feature-page .feature-mock-row {
        padding: 10px var(--h-space-3);
        font-size: 11.5px;
    }
}

.feature-page .feature-mock-row:last-child {
    border-bottom: none;
}

.feature-page .feature-mock-row-head {
    background: var(--h-gray-50);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--h-text-muted);
    padding-top: var(--h-space-2);
    padding-bottom: var(--h-space-2);
}

.feature-page .feature-mock-row-head span:nth-child(2) {
    text-align: right;
}

.feature-page .feature-mock-row-head span:nth-child(3) {
    text-align: right;
}

.feature-page .feature-mock-row-head span:nth-child(4) {
    text-align: right;
}

.feature-page .feature-mock-type {
    color: var(--h-navy);
    font-weight: 500;
    font-size: 13px;
}

.feature-page .feature-mock-v {
    text-align: right;
    color: var(--h-text-muted);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.feature-page .feature-mock-v-pos {
    color: var(--h-teal);
}

.feature-page .feature-mock-v-neg {
    color: var(--h-pink-dark);
}

.feature-page .feature-mock-row-highlight {
    background: var(--h-blue-pale);
}

.feature-page .feature-mock-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    background: var(--h-blue-myhr);
    color: var(--h-white);
    padding: 2px 6px;
    border-radius: 999px;
    margin-left: var(--h-space-1);
    vertical-align: middle;
}

.feature-page .feature-mock-card {
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: var(--h-border-radius-md);
    padding: var(--h-space-5);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px -20px rgba(11, 31, 58, 0.12);
}

.feature-page .feature-mock-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--h-pink-soft);
    color: var(--h-pink-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.feature-page .feature-mock-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feature-page .feature-mock-meta strong {
    color: var(--h-navy);
    font-size: 14px;
    font-weight: 700;
}

.feature-page .feature-mock-meta span {
    color: var(--h-text-muted);
    font-size: 12px;
}

.feature-page .feature-mock-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.feature-page .feature-mock-chip-pending {
    background: #fef3c7;
    color: #b45309;
}

.feature-page .feature-mock-balances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--h-space-2);
    margin-bottom: 14px;
}

.feature-page .feature-mock-balance {
    background: var(--h-gray-50);
    border-radius: 10px;
    padding: 10px var(--h-space-2);
    text-align: center;
}

.feature-page .feature-mock-balance-v {
    display: block;
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--h-navy);
    line-height: 1;
}

.feature-page .feature-mock-balance-l {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--h-text-muted);
    margin-top: var(--h-space-1);
    font-weight: 600;
}

.feature-page .feature-mock-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--h-space-2);
}

.feature-page .feature-mock-btn {
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}

.feature-page .feature-mock-btn-ok {
    background: var(--h-teal-pale);
    color: var(--h-teal);
}

.feature-page .feature-mock-btn-ko {
    background: var(--h-gray-100);
    color: var(--h-text-muted);
}

/* ===== STATS ===== */
.feature-page .feature-section.feature-stats {
    background: var(--h-teal-pale);
    border-radius: var(--h-border-radius-xl);
    padding: var(--h-space-8) var(--h-space-6);
    position: relative;
    overflow: hidden;
}

.feature-page .feature-section.feature-stats::after {
    content: "my";
    position: absolute;
    top: 8px;
    right: 18px;
    font-family: var(--h-font-accent);
    font-size: 34px;
    line-height: 1;
    color: var(--h-teal);
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
}

.feature-page .feature-section.feature-stats .feature-stat-v {
    position: relative;
}

.feature-page .feature-section.feature-stats .feature-stat-l {
    position: relative;
}

.feature-page .feature-stat {
    text-align: center;
    padding: 0 var(--h-space-3);
    position: relative;
}

.feature-page .feature-section.feature-stats .col-md-3:not(:first-child) .feature-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(13, 148, 136, 0.18);
}

.feature-page .feature-stat-v {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 44px);
    color: var(--h-navy);
    line-height: 1;
    letter-spacing: -0.8px;
}

.feature-page .feature-stat-u {
    font-size: 0.48em;
    color: var(--h-text-muted);
    margin-left: 2px;
    font-weight: 700;
}

.feature-page .feature-stat-l {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--h-text-muted);
    margin-top: 10px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .feature-page .feature-stat {
        padding: var(--h-space-4) var(--h-space-2);
    }

    .feature-page .feature-section.feature-stats .col-md-3:not(:first-child) .feature-stat::before {
        display: none;
    }
}

/* ===== PILLARS (white card section, big centered h2) ===== */
.feature-page .feature-section.feature-section-white {
    background: #fff !important;
}

.feature-page .feature-section.feature-pillars h2 {
    font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
    font-size: clamp(24px, 2.8vw, 32px);
    text-align: center;
}

.feature-page .feature-pillars-lead {
    text-align: center;
}

.feature-page .feature-section.feature-pillars .feature-pillar-card {
    height: 100%;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-light);
    border-radius: var(--h-border-radius-md);
    padding: 28px;
}

.feature-page .feature-section.feature-pillars .feature-pillar-card.feature-pillar-card-dark {
    background: #f9f9f9;
    border-color: var(--h-border-color-light);
}

.feature-page .feature-section.feature-pillars .feature-pillar-card i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: var(--h-space-5);
}

.feature-page .feature-section.feature-pillars .feature-pillar-card-teal i {
    background: var(--h-teal-pale);
    color: var(--h-teal);
}

.feature-page .feature-section.feature-pillars .feature-pillar-card-pink i {
    background: var(--h-pink-soft);
    color: var(--h-pink-dark);
}

.feature-page .feature-section.feature-pillars .feature-pillar-card-blue i {
    background: var(--h-blue-pale);
    color: var(--h-blue);
}

.feature-page .feature-section.feature-pillars .feature-pillar-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-3);
    letter-spacing: -0.3px;
}

.feature-page .feature-section.feature-pillars .feature-pillar-card p {
    font-size: 14.5px;
    color: var(--h-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== COMPARE (on-prem vs cloud table — inspired by .home .comparison) ===== */
.feature-page .feature-section.feature-compare {
    background: var(--h-white);
}

.feature-page .feature-compare-inner {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: clamp(var(--h-space-7), 5vw, 72px);
    align-items: start;
}

.feature-page .feature-compare-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-blue);
    background: var(--h-blue-pale);
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
}

.feature-page .feature-compare-title {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-4);
}

.feature-page .feature-compare-subtitle {
    font-size: 1rem;
    color: var(--h-text-muted);
    line-height: 1.7;
    margin: 0;
}

.feature-page .feature-compare-table {
    display: flex;
    flex-direction: column;
}

.feature-page .feature-compare-row {
    display: grid;
    grid-template-columns: minmax(140px, .5fr) minmax(0, 1fr) minmax(0, 1fr);
    padding: var(--h-space-4) var(--h-space-2);
    border-bottom: 1px solid var(--h-border-color-light);
    align-items: center;
}

.feature-page .feature-compare-row:last-child {
    border-bottom: none;
}

.feature-page .feature-compare-row-head {
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
    padding: var(--h-space-3) var(--h-space-4);
    border-bottom: 2px solid var(--h-border-color-light);
}

.feature-page .feature-compare-row-head .feature-compare-cell-label {
    color: transparent;
}

.feature-page .feature-compare-row-head .feature-compare-cell-them {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--h-text-muted);
}

.feature-page .feature-compare-row-head .feature-compare-cell-us {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--h-blue);
}

.feature-page .feature-compare-cell-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--h-text-muted);
}

.feature-page .feature-compare-cell-them {
    font-size: .88rem;
    color: var(--h-text-muted);
}

.feature-page .feature-compare-cell-us {
    font-size: .92rem;
    color: var(--h-blue);
    font-weight: 600;
}

@media (max-width: 992px) {
    .feature-page .feature-compare-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .feature-page .feature-compare-row {
        grid-template-columns: 1fr;
        gap: var(--h-space-1);
    }

    .feature-page .feature-compare-row-head {
        display: none;
    }
}

/* ===== BI (sober three-tier cards — Power BI / Tableau / Qlik integrations) ===== */
.feature-page .feature-section.feature-tiers {
    background: var(--h-white);
    border-radius: var(--h-border-radius-xl);
    padding: 56px 0;
}

.feature-page .feature-section.feature-tiers .feature-section-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-text-muted);
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-section-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-text-muted);
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-section.feature-tiers .feature-section-head {
    max-width: 680px;
    margin: 0 auto var(--h-space-8);
}

.feature-page .feature-section.feature-tiers .feature-section-head h2 {
    font-family: var(--h-font-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    color: var(--h-navy);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0 0 var(--h-space-3);
}

.feature-page .feature-section.feature-tiers .feature-section-head p {
    font-size: .95rem;
    color: var(--h-text-muted);
    line-height: 1.65;
    margin: 0;
}

.feature-page .feature-tiers-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    border-radius: var(--h-border-radius-md);
    padding: 28px var(--h-space-6);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.feature-page .feature-tiers-card:hover {
    border-color: var(--h-border-color-light);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.feature-page .feature-tiers-level {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--h-text-muted);
    margin-bottom: var(--h-space-4);
    align-self: flex-start;
}

.feature-page .feature-tiers-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--h-navy);
    font-size: 20px;
    margin-bottom: var(--h-space-4);
}

.feature-page .feature-tiers-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--h-navy);
    letter-spacing: -.2px;
    margin: 0 0 var(--h-space-2);
}

.feature-page .feature-tiers-card p {
    font-size: .9rem;
    color: var(--h-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== FLOW (team-style: 2 columns, intro + numbered step list) ===== */
.feature-page .feature-section.feature-flow {
    background: #eaf2fb;
    border-radius: var(--h-border-radius-xl);
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
}

.feature-page .feature-section.feature-flow.feature-flow-green {
    background: var(--h-teal-pale);
}

.feature-page .feature-flow-green .feature-flow-subtitle a {
    color: var(--h-teal);
}

.feature-page .feature-section.feature-flow::after {
    content: "my";
    position: absolute;
    top: 8px;
    right: 18px;
    font-family: var(--h-font-accent);
    font-size: 34px;
    line-height: 1;
    color: var(--h-blue);
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
}

.feature-page .feature-flow-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(var(--h-space-7), 5vw, 72px);
    align-items: start;
    position: relative;
}

.feature-page .feature-flow-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-navy);
    background: var(--h-white);
    padding: var(--h-space-2) var(--h-space-4);
    border-radius: 999px;
    margin-bottom: var(--h-space-5);
}

.feature-page .feature-flow-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.1;
    color: var(--h-navy);
    letter-spacing: -.4px;
    margin: 0 0 var(--h-space-4);
}

.feature-page .feature-flow-subtitle {
    color: var(--h-text-muted);
    line-height: 1.7;
}

.feature-page .feature-flow-subtitle a {
    color: #0a58ca;
    text-decoration: underline;
}

.feature-page .feature-flow-subtitle a:hover {
    text-decoration: none;
}

.feature-page .feature-flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--h-space-3);
}

.feature-page .feature-flow-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--h-space-4);
    background: var(--h-white);
    border-radius: var(--h-border-radius-md);
    border: 1px solid var(--h-border-color-light);
    padding: var(--h-space-5) var(--h-space-6);
    align-items: start;
}

.feature-page .feature-flow-n {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--h-blue-pale);
    color: var(--h-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
}

.feature-page .feature-flow-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-1);
}

.feature-page .feature-flow-item-text {
    font-size: .9rem;
    color: var(--h-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .feature-page .feature-flow-steps {
        grid-template-columns: 1fr;
    }
}

/* ===== SCOPE (implementation callout) =====
   Teal-pale callout mirroring .home .onboarding — eyebrow + serif title +
   muted subtitle, centered, lots of breathing room. */
.feature-page .feature-section.feature-scope {
    background: var(--h-teal-pale);
    border-radius: var(--h-border-radius-xl);
    padding: clamp(var(--h-space-8), 6vw, var(--h-space-11)) clamp(var(--h-space-6), 5vw, var(--h-space-10));
    overflow: hidden;
}

.feature-page .feature-scope-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.feature-page .feature-scope-title {
    font-family: var(--h-font-display);
    font-weight: 600;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    color: var(--h-navy);
    letter-spacing: -.02em;
    margin: 0 0 var(--h-space-5);
}

.feature-page .feature-scope-subtitle {
    color: var(--h-text-muted);
    line-height: 1.7;
}

.feature-page .feature-scope-link {
    display: inline-block;
    margin-left: var(--h-space-2);
    color: var(--h-blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.feature-page .feature-scope-link:hover {
    text-decoration: underline;
}

/* ===== SHOWCASE (text + image) ===== */
.feature-page .feature-section.feature-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--h-space-9);
    align-items: center;
}

.feature-page .feature-showcase-text h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    margin: 0 0 14px;
}

.feature-page .feature-showcase-text > p {
    color: var(--h-text-muted);
    line-height: 1.7;
    margin: 0 0 var(--h-space-5);
}

.feature-page .feature-showcase-image {
    margin: 0;
    border-radius: var(--h-border-radius-md);
    overflow: hidden;
    box-shadow: 0 24px 48px -24px rgba(11, 31, 58, .18), 0 6px 16px -8px rgba(11, 31, 58, .06);
}

.feature-page .feature-showcase-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .feature-page .feature-section.feature-showcase {
        grid-template-columns: 1fr;
        gap: var(--h-space-7);
    }
}

/* ===== CHECKLIST ===== */
.feature-page .feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-page .feature-checklist li {
    position: relative;
    padding-left: 30px;
    font-size: 14.5px;
    color: var(--h-navy);
    line-height: 1.5;
}

.feature-page .feature-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--h-teal-pale);
    color: var(--h-teal);
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

.feature-page .feature-checklist-grid li {
    font-size: 14px;
}

/* ===== INCLUDED (white background) ===== */
.feature-page .feature-section.feature-included {
    background: var(--h-white);
    border-radius: var(--h-border-radius-xl);
    padding: 0 44px;
}

/* ===== INCLUDED: card grid variant ===== */
.feature-page .feature-included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 44px;
}

.feature-page .feature-included-card {
    padding: var(--h-space-5);
    background: var(--h-white);
    border: 1px solid var(--h-border-color-light);
    border-radius: 14px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.feature-page .feature-included-card:hover {
    border-color: var(--h-blue);
    box-shadow: 0 8px 22px -12px rgba(11, 31, 58, .1);
    transform: translateY(-2px);
}

.feature-page .feature-included-card.feature-included-card-dark {
    background: #f9f9f9;
    border-color: var(--h-border-color-light);
}

.feature-page .feature-included-card ion-icon {
    font-size: 22px;
    color: var(--h-blue);
    margin-bottom: 10px;
    display: block;
}

.feature-page .feature-included-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--h-navy);
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.feature-page .feature-included-card p {
    font-size: 13.5px;
    color: var(--h-text-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .feature-page .feature-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .feature-page .feature-included-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT CTA (same look as legal-contact) ===== */
.feature-page .feature-section.feature-contact {
    background: var(--h-gray-25);
    border-radius: var(--h-border-radius-xl);
    padding: 56px var(--h-space-7);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-page .feature-section.feature-contact::after {
    content: "my";
    position: absolute;
    top: 8px;
    right: 34px;
    font-family: var(--h-font-accent);
    font-size: 51px;
    line-height: 1;
    color: var(--h-gray-300);
    opacity: 0.2;
    pointer-events: none;
    user-select: none;
}

.feature-page .feature-section.feature-contact h2 {
    margin: 0;
}

.feature-page .feature-section.feature-contact p {
    color: var(--h-text-muted);
    text-align: center;
    margin: 5px 0 30px 0;
}

.feature-page .feature-section.feature-contact .feature-contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== Responsive ===== */

@media (max-width: 991px) {
    .feature-page .feature-section.feature-hero {
        grid-template-columns: 1fr;
        gap: var(--h-space-7);
        padding: 0;
    }

    .feature-page .feature-section.feature-included {
        padding: 36px 28px;
    }

    .feature-page .feature-section.feature-showcase {
        padding: 36px 28px;
    }

    .feature-page .feature-section.feature-flow {
        padding: 36px 28px;
    }

    .feature-page .feature-flow-inner {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FEATURE MOCKUPS — per-feature variations
   ========================================================================== */
/* ---- Base shared by ALL hero mockups. Sub-classes must NOT override
   background/border/border-radius/box-shadow/border-top. ---- */
.feature-page .feature-mock {
    width: 100%;
    margin: 0 auto;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-light);
    border-radius: var(--h-border-radius-md);
    box-shadow: 0 24px 48px -24px rgba(11, 31, 58, .18), 0 6px 16px -8px rgba(11, 31, 58, .06);
    border-top: 4px solid var(--h-blue);
    user-select: none;
    pointer-events: none;
}

/* ---- Announcement mockup (comms) ---- */
.feature-page .feature-mock-announce {
    padding: var(--h-space-5);
}
.feature-page .feature-mock-announce-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-mock-announce-type {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--h-space-1) 10px;
    border-radius: 999px;
    background: var(--h-white);
    color: #0c0c0c9c;
}

.feature-page .feature-mock-announce-date {
    font-size: 11.5px;
    color: var(--h-text-muted);
}

.feature-page .feature-mock-announce-title {
    font-family: var(--h-font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-2);
}

.feature-page .feature-mock-announce-body {
    font-size: 13px;
    color: var(--h-text-muted);
    line-height: 1.55;
    margin: 0 0 14px;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--h-border-color-light);
    border-radius: 3px;
}
/* Messenger variant — chat bubbles alternating left (odd) / right (even) */
.feature-page .feature-mock-announce-body.feature-mock-announce-body-messenger {
    background: var(--h-gray-25);
    padding: var(--h-space-3);
    display: flex;
    flex-direction: column;
    gap: var(--h-space-2);
}

.feature-page .feature-mock-announce-body-messenger > div {
    max-width: 80%;
    padding: var(--h-space-2) var(--h-space-3);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    background: var(--h-white);
    border: 1px solid var(--h-border-color-lightest);
    color: var(--h-navy);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.feature-page .feature-mock-announce-body-messenger > div:nth-child(2n) {
    align-self: flex-end;
    background: var(--h-blue-myhr);
    border-color: var(--h-blue-myhr);
    color: var(--h-white);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 4px;
}

.feature-page .feature-mock-announce-body-messenger > div strong {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    opacity: 0.7;
}

.feature-page .feature-mock-announce-body-messenger > div br {
    display: none;
}
.feature-page .feature-mock-announce-audience {
    display: flex;
    align-items: center;
    gap: var(--h-space-2);
    font-size: 12px;
    color: var(--h-text-muted);
    padding: 10px var(--h-space-3);
    background: var(--h-white);
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid var(--h-gray-200);
}

.feature-page .feature-mock-announce-audience strong {
    color: var(--h-navy);
}

.feature-page .feature-mock-announce-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-page .feature-mock-announce-stat {
    text-align: center;
    padding: 10px var(--h-space-2);
    border-radius: 10px;
    background: var(--h-white);
    border: 1px solid var(--h-gray-200);
}

.feature-page .feature-mock-announce-stat-v {
    font-family: var(--h-font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--h-navy);
    line-height: 1;
}

.feature-page .feature-mock-announce-stat-v span {
    font-size: 12px;
    color: var(--h-text-muted);
    margin-left: 1px;
}

.feature-page .feature-mock-announce-stat-l {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--h-text-muted);
    margin-top: var(--h-space-1);
    font-weight: 600;
}



/* ==========================================================================
   SHARED — patterns used by multiple feature pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   KNOWLEDGE GRID — shared by 10+ features (access-control, document-mgmt,
   ESS, equipment-tracking, expense-reports, goals-objectives,
   internal-communication, internal-messenger, performance-reviews,
   training-management, …)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   KNOWLEDGE GRID — base (identique à celui livré pour Pixie)
   Grille de cartes cliquables avec header 2 colonnes et icône colorée.
   -------------------------------------------------------------------------- */
.feature-page .feature-section.feature-knowledge {
    padding: 0 44px;
}

.feature-page .feature-knowledge-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--h-space-9);
    margin-bottom: var(--h-space-7);
    align-items: end;
}

.feature-page .feature-knowledge-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--h-blue);
    margin-bottom: var(--h-space-3);
}

.feature-page .feature-knowledge-head-left h2 {
    font-family: var(--h-font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
}

.feature-page .feature-knowledge-head-right p {
    color: var(--h-text-muted);
    line-height: 1.65;
    margin: 0;
    font-size: 15px;
}

.feature-page .feature-knowledge-head-right p strong {
    color: var(--h-navy);
}

.feature-page .feature-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-page .feature-knowledge-card {
    display: block;
    padding: 22px 22px var(--h-space-5);
    background: var(--h-white);
    border: 1px solid var(--h-border-color-light);
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.feature-page .feature-knowledge-card:hover {
    border-color: var(--h-blue);
    box-shadow: 0 6px 20px -10px rgba(11, 31, 58, 0.1);
    text-decoration: none;
}

.feature-page .feature-knowledge-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 14px;
}

.feature-page .feature-knowledge-card-blue i { background: var(--h-blue-pale); color: var(--h-blue); }
.feature-page .feature-knowledge-card-pink i { background: var(--h-pink-soft); color: var(--h-pink-dark); }
.feature-page .feature-knowledge-card-teal i { background: var(--h-teal-pale); color: var(--h-teal); }

.feature-page .feature-knowledge-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--h-navy);
    margin: 0 0 var(--h-space-1);
    letter-spacing: -0.01em;
}

.feature-page .feature-knowledge-card p {
    font-size: 13px;
    color: var(--h-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Variant : "Et bien plus" card (utilisée sur Pixie, conservée pour cohérence) */
.feature-page .feature-knowledge-card-more {
    background: var(--h-blue-pale);
    border-color: var(--h-blue-pale);
}

.feature-page .feature-knowledge-card-more i {
    background: var(--h-white);
    color: var(--h-blue);
}

.feature-page .feature-knowledge-card-more h3 {
    color: var(--h-blue);
}

.feature-page .feature-knowledge-card-more p {
    color: var(--h-blue);
    font-weight: 500;
}

.feature-page .feature-knowledge-card-more:hover {
    border-color: var(--h-blue);
}


/* --------------------------------------------------------------------------
   KNOWLEDGE GRID — variante 4 colonnes (pour Notes de frais : 8 cartes)
   -------------------------------------------------------------------------- */
.feature-page .feature-knowledge-grid.is-4col {
    grid-template-columns: repeat(4, 1fr);
}

/* Desktop ≤ 1100px : on passe à 2 colonnes (sinon les cartes deviennent trop étroites) */
@media (max-width: 1099px) {
    .feature-page .feature-knowledge-grid.is-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — commun base + 4col
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .feature-page .feature-section.feature-knowledge {
        padding: 0 var(--h-space-5);
    }

    .feature-page .feature-knowledge-head {
        grid-template-columns: 1fr;
        gap: var(--h-space-3);
    }

    .feature-page .feature-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .feature-page .feature-knowledge-grid,
    .feature-page .feature-knowledge-grid.is-4col {
        grid-template-columns: 1fr;
    }
}



/* --------------------------------------------------------------------------
   INTEGRATIONS — shared by activity-tracking, collective-agreements,
   leave-management, task-manager
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   INTEGRATIONS — 2 colonnes texte + liste d'items
   -------------------------------------------------------------------------- */
.feature-page .feature-section.feature-integrations {
    background: var(--h-gray-25);
    border-radius: var(--h-border-radius-xl);
    padding: var(--h-space-9) 44px;
}

.feature-integrations-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(var(--h-space-7), 5vw, 60px);
    align-items: start;
}

.feature-integrations-intro h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    margin-bottom: 14px;
    line-height: 1.15;
}

.feature-integrations-intro p {
    color: var(--h-text-muted);
    line-height: 1.65;
    margin: 0;
    font-size: 14.5px;
}

.feature-integrations-intro p strong {
    color: var(--h-navy);
}

.feature-integrations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--h-space-2);
}

.feature-integrations-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: var(--h-white);
    border-radius: var(--h-border-radius-md);
    border: 1px solid var(--h-border-color-lightest);
}

.feature-integrations-list li i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: var(--h-blue-pale);
    color: var(--h-blue);
}

.feature-integrations-list li.is-pink i { background: var(--h-pink-soft); color: var(--h-pink-dark); }
.feature-integrations-list li.is-teal i { background: var(--h-teal-pale); color: var(--h-teal); }
.feature-integrations-list li.is-orange i { background: var(--h-orange-pale); color: var(--h-orange); }

.feature-integrations-list-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--h-text-muted);
}

.feature-integrations-list-text strong {
    color: var(--h-navy);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.feature-integrations-list-text code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    background: var(--h-gray-100);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--h-navy);
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .feature-page .feature-section.feature-usecases {
        padding: 0 var(--h-space-5);
    }

    .feature-usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-page .feature-section.feature-integrations {
        padding: var(--h-space-7) var(--h-space-6);
    }

    .feature-integrations-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-mock-anytrack-grid {
        grid-template-columns: 120px repeat(5, 1fr) 44px;
        font-size: 10.5px;
    }
}

@media (max-width: 640px) {
    .feature-usecases-grid {
        grid-template-columns: 1fr;
    }

    .feature-mock-anytrack-grid {
        grid-template-columns: 100px repeat(5, 1fr) 40px;
        font-size: 10px;
    }

    .feature-mock-anytrack-cell {
        padding: var(--h-space-2) var(--h-space-1);
    }
}


/* --------------------------------------------------------------------------
   MOCK STACK + SURVEY — shared by internal-communication, internal-messenger
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   MOCK STACK — conteneur pour deux mockups superposés (hero)
   -------------------------------------------------------------------------- */
.feature-page .feature-mock-stack {
    position: relative;
    min-height: 480px;
}

.feature-page .feature-mock-stack > * {
    position: absolute;
    width: 92%;
    max-width: 420px;
}

.feature-page .feature-mock-stack .feature-mock-announce {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-1.2deg);
    transform-origin: center center;
    max-width: 420px;
}

.feature-page .feature-mock-stack .feature-mock-survey {
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: rotate(1.6deg);
    transform-origin: center center;
}



/* --------------------------------------------------------------------------
   MOCK SURVEY — carte sondage (hero visual)
   -------------------------------------------------------------------------- */
.feature-page .feature-mock-survey {
    max-width: 420px;
    padding: var(--h-space-5);
}

.feature-page .feature-mock-survey-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.feature-page .feature-mock-survey-type {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--h-space-1) 10px;
    border-radius: 999px;
    background: var(--h-teal-pale);
    color: var(--h-teal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-page .feature-mock-survey-type ion-icon {
    font-size: 11px;
}

.feature-page .feature-mock-survey-closes {
    font-size: 11.5px;
    color: var(--h-text-muted);
}

.feature-page .feature-mock-survey-closes strong {
    color: var(--h-navy);
    font-weight: 600;
}

.feature-page .feature-mock-survey-question {
    font-family: var(--h-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--h-navy);
    margin: 0 0 14px;
    line-height: 1.35;
}

.feature-page .feature-mock-survey-options {
    display: flex;
    flex-direction: column;
    gap: var(--h-space-2);
    margin-bottom: 14px;
}

.feature-page .feature-mock-survey-option {
    position: relative;
    padding: 10px 14px;
    background: var(--h-gray-50);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--h-navy);
    font-weight: 500;
    overflow: hidden;
}

.feature-page .feature-mock-survey-option::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: var(--h-teal-pale);
    border-radius: 10px;
    z-index: 0;
}

.feature-page .feature-mock-survey-option.winner::before {
    background: linear-gradient(to right, var(--h-teal-pale), #d4f3e8);
    border: 1.5px solid var(--h-teal-soft);
}

.feature-page .feature-mock-survey-option > * {
    position: relative;
    z-index: 1;
}

.feature-page .feature-mock-survey-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.feature-page .feature-mock-survey-option-v {
    font-family: var(--h-font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--h-teal);
    flex-shrink: 0;
}

.feature-page .feature-mock-survey-option.winner .feature-mock-survey-option-v {
    color: var(--h-navy);
}

.feature-page .feature-mock-survey-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--h-space-3);
    border-top: 1px solid var(--h-gray-100);
    font-size: 11.5px;
    color: var(--h-text-muted);
}

.feature-page .feature-mock-survey-foot strong {
    color: var(--h-navy);
    font-weight: 600;
}

.feature-page .feature-mock-survey-foot-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--h-space-1);
    color: var(--h-teal);
    font-weight: 600;
}

/* Widths for visual option bars (as % of container) */
.feature-page .feature-mock-survey-option[data-fill="67"]::before { width: 67%; }
.feature-page .feature-mock-survey-option[data-fill="21"]::before { width: 21%; }
.feature-page .feature-mock-survey-option[data-fill="12"]::before { width: 12%; }
/* --------------------------------------------------------------------------
   RESPONSIVE — stack en colonne sur mobile
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .feature-page .feature-mock-stack {
        min-height: unset;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--h-space-6);
    }
    .feature-page .feature-mock-stack > * {
        position: relative;
        width: 100%;
        max-width: 440px;
        transform: none !important;
    }
}
