/* ==========================================================
   Crystalspiders Employee Portal & HRMS Landing Page
   ========================================================== */

:root {
    --ep-navy: #0d1830;
    --ep-navy-2: #13254a;
    --ep-blue: #2166e8;
    --ep-blue-dark: #1451c2;
    --ep-sky: #eaf4ff;
    --ep-light: #f7fbff;
    --ep-border: #dce7f5;
    --ep-text: #172b4d;
    --ep-muted: #60708a;
    --ep-white: #ffffff;
    --ep-green: #18a56b;
    --ep-purple: #7657d9;
    --ep-shadow: 0 15px 40px rgba(20, 54, 100, 0.10);
    --ep-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ep-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.ep-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ep-section {
    padding: 90px 0;
}

.ep-light {
    background: var(--ep-light);
}

.ep-center {
    text-align: center;
}

.ep-center .ep-section-lead {
    margin-left: auto;
    margin-right: auto;
}

.ep-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ep-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ep-section h2,
.ep-split-content h2,
.ep-security h2,
.ep-cta h2 {
    margin: 0 0 18px;
    color: var(--ep-navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.ep-section-lead {
    max-width: 850px;
    color: var(--ep-muted);
    font-size: 18px;
    line-height: 1.8;
}

/* ==========================================================
   HERO
   ========================================================== */

.ep-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background:
        radial-gradient(circle at 90% 15%, rgba(46, 115, 240, .18), transparent 30%),
        linear-gradient(120deg, #f4f9ff 0%, #ffffff 52%, #edf6ff 100%);
}

.ep-hero:after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -170px;
    bottom: -250px;
    border-radius: 50%;
    background: rgba(33, 102, 232, .08);
}

.ep-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 55px;
}

.ep-hero-content h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--ep-navy);
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.04;
    letter-spacing: -1.5px;
}

.ep-hero-content h1 span {
    display: block;
    color: var(--ep-blue);
}

.ep-hero-text {
    max-width: 650px;
    margin: 0 0 28px;
    color: #53647c;
    font-size: 18px;
    line-height: 1.75;
}

.ep-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 25px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    transition: .2s ease;
}

.ep-btn:hover {
    transform: translateY(-2px);
}

.ep-btn-primary {
    color: #fff;
    background: var(--ep-blue);
    box-shadow: 0 9px 22px rgba(33, 102, 232, .25);
}

.ep-btn-primary:hover {
    background: var(--ep-blue-dark);
}

.ep-btn-secondary {
    color: var(--ep-blue);
    border: 1px solid #a8c8fb;
    background: #fff;
}

.ep-btn-white {
    color: var(--ep-navy);
    background: #fff;
}

.ep-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 28px;
    color: #50627c;
    font-size: 13px;
    font-weight: 700;
}

.ep-trust-row span {
    color: var(--ep-green);
    margin-right: 5px;
}

/* ==========================================================
   HERO DASHBOARD
   ========================================================== */

.ep-hero-visual {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-dashboard {
    width: 100%;
    max-width: 590px;
    overflow: hidden;
    border: 1px solid #cddcf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 65px rgba(14, 43, 82, .18);
    transform: perspective(1200px) rotateY(-3deg);
}

.ep-dashboard-top {
    display: flex;
    justify-content: space-between;
    padding: 15px 18px;
    color: #fff;
    background: var(--ep-navy);
}

.ep-dashboard-top span {
    color: #41d38e;
    font-size: 12px;
}

.ep-dashboard-body {
    display: grid;
    grid-template-columns: 135px 1fr;
    min-height: 330px;
}

.ep-dashboard-body aside {
    padding: 15px 10px;
    background: #f4f8fe;
    color: #62718a;
    font-size: 11px;
}

.ep-dashboard-body aside > div:not(.ep-side-logo) {
    margin: 7px 0;
    padding: 7px 8px;
    border-radius: 6px;
}

.ep-side-logo {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 9px;
    background: var(--ep-blue);
    font-weight: 800;
}

.ep-side-active {
    color: var(--ep-blue);
    background: #e0ecff;
    font-weight: 700;
}

.ep-dashboard-main {
    padding: 23px;
}

.ep-mini-title {
    margin-bottom: 18px;
    color: var(--ep-navy);
    font-size: 18px;
    font-weight: 800;
}

.ep-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ep-stat {
    padding: 14px;
    border: 1px solid #e1e9f4;
    border-radius: 10px;
}

.ep-stat small {
    display: block;
    color: #78879b;
    font-size: 10px;
}

.ep-stat strong {
    display: block;
    margin-top: 5px;
    color: var(--ep-blue);
    font-size: 23px;
}

.ep-chart {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #e1e9f4;
    border-radius: 10px;
}

.ep-chart-heading {
    color: var(--ep-navy);
    font-size: 11px;
    font-weight: 700;
}

.ep-bars {
    height: 120px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 10px;
    margin-top: 10px;
}

.ep-bars i {
    width: 22px;
    display: block;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(#3587ff, #2166e8);
}

.ep-mobile-card {
    position: absolute;
    right: -5px;
    bottom: -12px;
    width: 145px;
    padding: 16px;
    border: 5px solid #152441;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(12, 34, 70, .25);
    font-size: 11px;
}

.ep-mobile-card strong {
    display: block;
    color: var(--ep-navy);
}

.ep-mobile-card > span {
    display: block;
    margin-bottom: 14px;
    color: var(--ep-blue);
}

.ep-mobile-item {
    padding: 8px 0;
    border-top: 1px solid #edf1f6;
    color: #53647c;
}

/* ==========================================================
   ROADMAP
   ========================================================== */

.ep-roadmap {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.ep-roadmap-item {
    min-height: 135px;
    padding: 22px 18px;
    text-align: center;
    border-radius: 15px;
    background: #fff;
    border: 1px solid var(--ep-border);
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-roadmap-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--ep-blue);
    font-size: 12px;
    font-weight: 900;
}

.ep-roadmap-item strong,
.ep-roadmap-item small {
    display: block;
}

.ep-roadmap-item strong {
    color: var(--ep-navy);
}

.ep-roadmap-item small {
    margin-top: 7px;
    color: var(--ep-muted);
    font-size: 12px;
}

.ep-roadmap-arrow {
    color: var(--ep-blue);
    font-size: 25px;
    font-weight: 800;
}

.ep-current {
    border-top: 4px solid var(--ep-blue);
}

.ep-planned {
    border-top: 4px solid var(--ep-purple);
}

/* ==========================================================
   BENEFITS
   ========================================================== */

.ep-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.ep-benefit-card {
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-radius);
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #eaf3ff;
    font-size: 26px;
}

.ep-benefit-card h3,
.ep-feature-card h3,
.ep-audience-grid h3,
.ep-steps h3,
.ep-workforce-card h3,
.ep-hrms-card h3,
.ep-experience-grid h3,
.ep-business-grid h3 {
    margin: 0 0 8px;
    color: var(--ep-navy);
    font-size: 18px;
}

.ep-benefit-card p,
.ep-feature-card p,
.ep-audience-grid p,
.ep-steps p,
.ep-workforce-card p,
.ep-hrms-card p,
.ep-experience-grid p,
.ep-business-grid p {
    margin: 0;
    color: var(--ep-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================
   CURRENT FEATURE GRID
   ========================================================== */

.ep-features {
    background: #edf7ff;
}

.ep-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.ep-feature-card {
    display: flex;
    gap: 18px;
    padding: 25px;
    border: 1px solid #d7e6f8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-feature-icon {
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e8f2ff;
    font-size: 24px;
}

.ep-feature-card a {
    display: inline-block;
    margin-top: 13px;
    color: var(--ep-blue);
    font-size: 13px;
    font-weight: 700;
}

.ep-feature-card a:hover {
    text-decoration: underline;
}

/* ==========================================================
   SELF SERVICE / PROFILE
   ========================================================== */

.ep-split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.ep-visual-panel {
    padding: 42px;
    border-radius: 25px;
    background: linear-gradient(145deg, #eaf4ff, #f9fcff);
}

.ep-profile-window {
    overflow: hidden;
    border: 1px solid #d4e2f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ep-shadow);
}

.ep-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    color: #fff;
    background: var(--ep-navy);
}

.ep-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2e77ee;
    font-weight: 800;
}

.ep-profile-header strong,
.ep-profile-header small {
    display: block;
}

.ep-profile-header small {
    margin-top: 3px;
    color: #b9c8df;
}

.ep-profile-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 22px;
    border-bottom: 1px solid #edf1f6;
    font-size: 14px;
}

.ep-profile-row span {
    color: var(--ep-muted);
}

.ep-profile-row strong {
    color: var(--ep-navy);
}

.ep-split-content p {
    color: var(--ep-muted);
    font-size: 17px;
    line-height: 1.8;
}

.ep-check-list {
    padding: 0;
    margin: 25px 0 0;
    list-style: none;
}

.ep-check-list li {
    position: relative;
    margin: 12px 0;
    padding-left: 30px;
    color: #44566f;
}

.ep-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ep-green);
    font-weight: 900;
}

/* ==========================================================
   WORKFORCE
   ========================================================== */

.ep-workforce-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.ep-workforce-card {
    padding: 28px 22px;
    border: 1px solid var(--ep-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-workforce-card > span {
    display: block;
    margin-bottom: 12px;
    font-size: 29px;
}

/* ==========================================================
   ADMIN
   ========================================================== */

.ep-admin-section {
    background: #f7fbff;
}

.ep-admin-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-top: 45px;
}

.ep-admin-list {
    display: grid;
    gap: 10px;
}

.ep-admin-list > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 13px;
    padding: 17px;
    border: 1px solid var(--ep-border);
    border-radius: 12px;
    background: #fff;
}

.ep-admin-list span {
    grid-row: span 2;
    color: var(--ep-blue);
    font-weight: 800;
}

.ep-admin-list strong {
    color: var(--ep-navy);
}

.ep-admin-list small {
    color: var(--ep-muted);
}

.ep-admin-dashboard {
    overflow: hidden;
    border: 1px solid #d4e1f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ep-shadow);
}

.ep-admin-top {
    display: flex;
    justify-content: space-between;
    padding: 18px 22px;
    color: #fff;
    background: var(--ep-navy);
}

.ep-admin-top span {
    color: #b9c8df;
    font-size: 13px;
}

.ep-admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
}

.ep-admin-cards div {
    padding: 15px;
    border-radius: 10px;
    background: #f2f7fd;
}

.ep-admin-cards small,
.ep-admin-cards strong {
    display: block;
}

.ep-admin-cards small {
    color: #6e7e94;
}

.ep-admin-cards strong {
    color: var(--ep-blue);
    font-size: 25px;
}

.ep-admin-table {
    padding: 0 20px 20px;
}

.ep-admin-table > div {
    display: grid;
    grid-template-columns: 1.2fr 1fr .8fr;
    padding: 12px 10px;
    border-bottom: 1px solid #edf1f6;
    font-size: 13px;
}

.ep-admin-table > div:first-child {
    color: #64758d;
    font-weight: 700;
    background: #f7faff;
}

.ep-admin-table b {
    color: var(--ep-green);
}

/* ==========================================================
   FUTURE HRMS MODULES
   ========================================================== */

.ep-roadmap-section {
    background: #fff;
}

.ep-hrms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.ep-hrms-card {
    position: relative;
    padding: 28px 24px 26px;
    border: 1px solid var(--ep-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-hrms-card > span {
    display: block;
    margin-bottom: 14px;
    font-size: 29px;
}

.ep-hrms-card label {
    display: inline-block;
    margin-top: 17px;
    padding: 4px 9px;
    border-radius: 20px;
    color: #6749c4;
    background: #f0ecff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.ep-ai-card {
    border-color: #cfc2ff;
    background: linear-gradient(145deg, #fff, #f7f3ff);
}

/* ==========================================================
   EMPLOYEE / MANAGER / HR EXPERIENCE
   ========================================================== */

.ep-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.ep-experience-grid article {
    padding: 32px 25px;
    text-align: center;
    border: 1px solid var(--ep-border);
    border-radius: 16px;
    background: #fff;
}

.ep-experience-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #eaf3ff;
    font-size: 28px;
}

.ep-experience-grid small {
    display: inline-block;
    margin-top: 13px;
    color: #7657d9;
    font-size: 11px;
    font-weight: 800;
}

/* ==========================================================
   SECURITY
   ========================================================== */

.ep-security {
    padding: 85px 0;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(38, 110, 240, .25), transparent 35%),
        var(--ep-navy);
}

.ep-security h2 {
    color: #fff;
}

.ep-security .ep-eyebrow {
    color: #71adff;
}

.ep-security p {
    max-width: 700px;
    color: #c2d0e5;
    font-size: 17px;
    line-height: 1.8;
}

.ep-security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.ep-security-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ep-security-points > div {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.05);
}

.ep-security-points strong,
.ep-security-points span {
    display: block;
}

.ep-security-points strong {
    color: #fff;
}

.ep-security-points span {
    margin-top: 5px;
    color: #aebed5;
    font-size: 13px;
}

/* ==========================================================
   BUSINESS BENEFITS
   ========================================================== */

.ep-business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.ep-business-grid > div {
    padding: 28px 22px;
    border: 1px solid var(--ep-border);
    border-radius: 15px;
    background: #fff;
}

.ep-business-grid strong {
    display: block;
    margin-bottom: 13px;
    color: var(--ep-blue);
    font-size: 25px;
}

/* ==========================================================
   AUDIENCE
   ========================================================== */

.ep-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.ep-audience-grid article {
    padding: 28px 22px;
    border: 1px solid var(--ep-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 54, 100, .05);
}

.ep-audience-grid article > span {
    display: block;
    margin-bottom: 12px;
    font-size: 30px;
}

/* ==========================================================
   STEPS
   ========================================================== */

.ep-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.ep-steps > div {
    position: relative;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--ep-border);
    border-radius: 15px;
    background: #fff;
}

.ep-steps > div > span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #fff;
    background: var(--ep-blue);
    font-weight: 800;
}

/* ==========================================================
   FAQ
   ========================================================== */

.ep-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 45px;
}

.ep-faq details {
    padding: 20px 22px;
    border: 1px solid var(--ep-border);
    border-radius: 12px;
    background: #fff;
}

.ep-faq summary {
    cursor: pointer;
    color: var(--ep-navy);
    font-weight: 700;
}

.ep-faq details p {
    margin: 14px 0 0;
    color: var(--ep-muted);
    font-size: 14px;
}

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

.ep-cta {
    padding: 75px 0;
    background: linear-gradient(125deg, #0b2d69, #1559c9);
}

.ep-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ep-cta h2 {
    color: #fff;
}

.ep-cta .ep-eyebrow {
    color: #8fc0ff;
}

.ep-cta p {
    max-width: 700px;
    margin: 0;
    color: #d6e4fb;
    font-size: 16px;
}

.ep-cta-actions {
    flex: 0 0 auto;
    text-align: center;
}

.ep-cta-actions .ep-btn {
    min-width: 210px;
}

.ep-cta-actions p {
    margin-top: 13px;
    font-size: 13px;
}

.ep-cta-actions a {
    color: inherit;
}

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

@media (max-width: 1050px) {

    .ep-hero-grid,
    .ep-split,
    .ep-admin-grid,
    .ep-security-grid {
        grid-template-columns: 1fr;
    }

    .ep-hero-content {
        text-align: center;
    }

    .ep-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .ep-hero-actions,
    .ep-trust-row {
        justify-content: center;
    }

    .ep-hero-visual {
        min-height: 410px;
    }

    .ep-benefit-grid,
    .ep-audience-grid,
    .ep-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .ep-experience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ep-roadmap {
        grid-template-columns: 1fr 1fr;
    }

    .ep-roadmap-arrow {
        display: none;
    }

    .ep-security-grid {
        gap: 35px;
    }
}

@media (max-width: 760px) {

    .ep-section {
        padding: 65px 0;
    }

    .ep-container {
        width: min(100% - 28px, 1180px);
    }

    .ep-hero {
        padding: 65px 0;
    }

    .ep-hero-content h1 {
        font-size: 40px;
    }

    .ep-dashboard {
        transform: none;
    }

    .ep-mobile-card {
        right: -2px;
        bottom: -20px;
        width: 125px;
    }

    .ep-dashboard-body {
        grid-template-columns: 95px 1fr;
    }

    .ep-dashboard-body aside {
        font-size: 9px;
    }

    .ep-dashboard-main {
        padding: 14px;
    }

    .ep-stat-grid {
        grid-template-columns: 1fr;
    }

    .ep-chart {
        display: none;
    }

    .ep-benefit-grid,
    .ep-feature-grid,
    .ep-workforce-grid,
    .ep-hrms-grid,
    .ep-module-grid,
    .ep-audience-grid,
    .ep-business-grid,
    .ep-steps,
    .ep-faq-grid {
        grid-template-columns: 1fr;
    }

    .ep-feature-card {
        padding: 20px;
    }

    .ep-visual-panel {
        padding: 22px;
    }

    .ep-security-points {
        grid-template-columns: 1fr;
    }

    .ep-admin-cards {
        grid-template-columns: 1fr 1fr;
    }

    .ep-experience-grid {
        grid-template-columns: 1fr;
    }

    .ep-roadmap {
        grid-template-columns: 1fr;
    }

    .ep-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ep-cta-actions {
        text-align: left;
    }
}

@media (max-width: 480px) {

    .ep-hero-content h1 {
        font-size: 34px;
    }

    .ep-hero-actions {
        flex-direction: column;
    }

    .ep-btn {
        width: 100%;
    }

    .ep-trust-row {
        flex-direction: column;
        align-items: center;
    }

    .ep-dashboard-body {
        grid-template-columns: 1fr;
    }

    .ep-dashboard-body aside {
        display: none;
    }

    .ep-hero-visual {
        min-height: 350px;
    }

    .ep-mobile-card {
        right: 0;
        width: 118px;
    }
}


/* ==========================================================
   APPROVED EMPLOYEE PORTAL HERO — MATCHES FIRST DESIGN
   ========================================================== */

.ep-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 42px;
    background:
        radial-gradient(circle at 91% 18%, rgba(73, 157, 255, .20), transparent 30%),
        linear-gradient(105deg, #eaf5ff 0%, #f8fcff 48%, #dcefff 100%);
}

.ep-hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    left: -390px;
    top: -250px;
    border-radius: 50%;
    background: rgba(94, 164, 245, .10);
    pointer-events: none;
}

.ep-hero::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 180px;
    right: -220px;
    bottom: -135px;
    border-radius: 50%;
    background: rgba(37, 126, 242, .13);
    transform: rotate(-6deg);
    pointer-events: none;
}

.ep-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 26px;
}

.ep-hero-content {
    position: relative;
    z-index: 3;
}

.ep-hero-content .ep-eyebrow {
    color: #1473df;
    margin-bottom: 13px;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 800;
}

.ep-hero-content h1 {
    max-width: 680px;
    margin: 0 0 20px;
    color: #0d1830;
    font-size: clamp(48px, 5.0vw, 68px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.ep-hero-content h1 span {
    display: block;
    color: #2166e8;
}

.ep-hero-text {
    max-width: 680px;
    margin: 0 0 27px;
    color: #334d70;
    font-size: 17px;
    line-height: 1.68;
}

.ep-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.ep-hero .ep-btn-primary {
    color: #fff;
    background: #2166e8;
    border: 1px solid #2166e8;
    box-shadow: 0 10px 24px rgba(33, 102, 232, .23);
}

.ep-hero .ep-btn-primary:hover {
    background: #1451c2;
}

.ep-hero .ep-btn-secondary {
    color: #1451c2;
    border: 1px solid #6da5f5;
    background: rgba(255,255,255,.78);
}

.ep-hero .ep-btn-secondary:hover {
    background: #fff;
}

.ep-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 21px;
    margin-top: 26px;
    color: #1c477f;
    font-size: 12px;
    font-weight: 800;
}

.ep-trust-row span {
    color: #1473df;
    margin-right: 5px;
}

.ep-hero-visual {
    position: relative;
    z-index: 3;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ep-approved-image-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ep-approved-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
}

/* Keep the existing four-item strip clean beneath the approved hero. */
.ep-hero-benefits {
    position: relative;
    z-index: 5;
    margin-top: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 54, 100, .07);
}

.ep-hero-benefits-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 20px 0;
}

.ep-hero-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 25px;
    border-right: 1px solid #e4ebf4;
}

.ep-hero-benefit:last-child {
    border-right: 0;
}

.ep-hero-benefit-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.ep-hero-benefit:nth-child(1) .ep-hero-benefit-icon {
    color: #00a96b;
    background: #dff8ed;
}

.ep-hero-benefit:nth-child(2) .ep-hero-benefit-icon {
    color: #7148d8;
    background: #eee5ff;
}

.ep-hero-benefit:nth-child(3) .ep-hero-benefit-icon {
    color: #ed7d00;
    background: #fff0d9;
}

.ep-hero-benefit:nth-child(4) .ep-hero-benefit-icon {
    color: #1682ef;
    background: #e0f2ff;
}

.ep-hero-benefit strong {
    display: block;
    color: #102b60;
    font-size: 15px;
    margin-bottom: 2px;
}

.ep-hero-benefit small {
    display: block;
    color: #5d6d86;
    font-size: 11px;
    line-height: 1.4;
}

/* The source image already contains the visual trust badge and
   the product callouts, so no extra image controls are needed. */

@media (max-width: 1050px) {
    .ep-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ep-hero-content {
        text-align: center;
    }

    .ep-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .ep-hero-actions,
    .ep-trust-row {
        justify-content: center;
    }

    .ep-hero-visual {
        justify-content: center;
    }

    .ep-approved-image-frame {
        max-width: 900px;
    }

    .ep-hero-benefits-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-hero-benefit:nth-child(2) {
        border-right: 0;
    }

    .ep-hero-benefit:nth-child(-n+2) {
        border-bottom: 1px solid #e4ebf4;
        padding-bottom: 16px;
    }

    .ep-hero-benefit:nth-child(n+3) {
        padding-top: 16px;
    }
}

@media (max-width: 760px) {
    .ep-hero {
        padding: 48px 0 35px;
    }

    .ep-hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .ep-hero-text {
        font-size: 16px;
    }

    .ep-hero-benefits-inner {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .ep-hero-benefit,
    .ep-hero-benefit:nth-child(-n+2),
    .ep-hero-benefit:nth-child(n+3) {
        border-right: 0;
        border-bottom: 1px solid #e4ebf4;
        padding: 14px 20px;
    }

    .ep-hero-benefit:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    .ep-hero-content h1 {
        font-size: 35px;
    }

    .ep-hero-actions {
        flex-direction: column;
    }

    .ep-btn {
        width: 100%;
    }

    .ep-trust-row {
        flex-direction: column;
        align-items: center;
    }
}



/* ==========================================================
   APPROVED REFERENCE HERO
   Exact visual composition supplied by the client.
   ========================================================== */

.ep-reference-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #eaf5ff;
}

.ep-reference-hero-canvas {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background: #eaf5ff;
}

.ep-reference-hero-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
    object-position: center top;
}

.ep-reference-hero-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ep-reference-hotspot {
    position: absolute;
    z-index: 5;
    display: block;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    border-radius: 12px;
}

.ep-reference-hotspot:focus-visible {
    box-shadow: 0 0 0 4px rgba(33, 102, 232, .45);
}

/* Button positions are percentages of the supplied 1983 × 793 artwork. */
.ep-demo-hotspot {
    left: 5.0%;
    top: 64.0%;
    width: 15.6%;
    height: 8.5%;
}

.ep-features-hotspot {
    left: 21.5%;
    top: 64.0%;
    width: 15.0%;
    height: 8.5%;
}

/* Prevent the previous hero/dashboard rules from affecting the new hero. */
.ep-reference-hero .ep-hero-grid,
.ep-reference-hero .ep-hero-content,
.ep-reference-hero .ep-hero-visual,
.ep-reference-hero .ep-dashboard,
.ep-reference-hero .ep-approved-image-frame {
    all: unset;
}

@media (max-width: 900px) {
    .ep-reference-hotspot {
        /* Keep the click areas proportional as the artwork scales. */
        border-radius: 8px;
    }
}

@media (max-width: 600px) {
    .ep-reference-hero {
        min-height: 0;
    }
}


/* ==========================================================
   FINAL RECOMMENDED HERO — HYBRID SEO DESIGN
   Real HTML text + blended product visual
   ========================================================== */

.ep-hero-hybrid {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 650px;
    padding: 0;
    background:
        radial-gradient(circle at 86% 18%, rgba(122, 192, 255, .34), transparent 30%),
        linear-gradient(112deg, #eef8ff 0%, #f8fcff 47%, #e2f2ff 100%);
}

.ep-hero-hybrid-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 5% 10%, rgba(91, 164, 235, .10), transparent 22%),
        linear-gradient(120deg, #edf8ff 0%, #ffffff 49%, #e5f4ff 100%);
}

.ep-hero-hybrid::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    left: -320px;
    top: -185px;
    border-radius: 50%;
    background: rgba(71, 151, 229, .10);
}

.ep-hero-hybrid::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 900px;
    height: 230px;
    right: -220px;
    bottom: -145px;
    border-radius: 50%;
    background: rgba(40, 135, 241, .13);
    transform: rotate(-8deg);
}

.ep-hero-hybrid-grid {
    position: relative;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(430px, .82fr) minmax(720px, 1.18fr);
    align-items: center;
    gap: 12px;
}

.ep-hero-hybrid-content {
    position: relative;
    z-index: 5;
    padding: 58px 0 55px;
}

.ep-hero-hybrid .ep-eyebrow {
    color: #1776d2;
    margin-bottom: 13px;
    letter-spacing: 2px;
}

.ep-hero-hybrid .ep-hero-content h1 {
    max-width: 650px;
    margin: 0 0 21px;
    color: #0c1b3b;
    font-size: clamp(46px, 4.5vw, 66px);
    line-height: 1.04;
    letter-spacing: -2.2px;
}

.ep-hero-hybrid .ep-hero-content h1 span {
    display: block;
    color: #2166e8;
}

.ep-hero-hybrid .ep-hero-text {
    max-width: 650px;
    margin: 0 0 27px;
    color: #2f4d70;
    font-size: 17px;
    line-height: 1.72;
}

.ep-hero-hybrid .ep-hero-actions {
    gap: 14px;
}

.ep-hero-hybrid .ep-btn {
    min-height: 52px;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
}

.ep-hero-hybrid .ep-btn-primary {
    color: #fff;
    background: #1677ed;
    border: 1px solid #1677ed;
    box-shadow: 0 12px 25px rgba(22, 119, 237, .22);
}

.ep-hero-hybrid .ep-btn-primary:hover {
    background: #0b63d2;
}

.ep-hero-hybrid .ep-btn-secondary {
    color: #1659bd;
    background: rgba(255,255,255,.80);
    border: 1px solid #2774dc;
}

.ep-hero-hybrid .ep-btn-secondary:hover {
    background: #fff;
}

.ep-hero-hybrid-trust {
    margin-top: 28px;
    gap: 10px 19px;
    color: #193f73;
    font-size: 12px;
}

.ep-hero-hybrid-trust span {
    color: #1689db;
}

.ep-hero-hybrid-visual {
    position: relative;
    z-index: 3;
    align-self: stretch;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: -75px;
    overflow: visible;
}

.ep-hero-hybrid-image {
    display: block;
    width: min(100%, 1080px);
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    background: transparent;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 20px 28px rgba(21, 73, 126, .08));
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.70) 5%,
        #000 10%,
        #000 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.70) 5%,
        #000 10%,
        #000 100%
    );
}

/* Do not allow previous dashboard/card styles to create a second box. */
.ep-hero-hybrid .ep-dashboard,
.ep-hero-hybrid .ep-approved-image-frame,
.ep-hero-hybrid .ep-reference-hero-image,
.ep-hero-hybrid .ep-hero-benefits {
    display: none !important;
}

@media (max-width: 1450px) {
    .ep-hero-hybrid-grid {
        grid-template-columns: minmax(400px, .80fr) minmax(650px, 1.20fr);
    }

    .ep-hero-hybrid-visual {
        margin-right: -35px;
    }

    .ep-hero-hybrid-image {
        width: min(100%, 980px);
    }
}

@media (max-width: 1180px) {
    .ep-hero-hybrid {
        min-height: auto;
    }

    .ep-hero-hybrid-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }

    .ep-hero-hybrid-content {
        padding: 70px 0 35px;
        max-width: 760px;
    }

    .ep-hero-hybrid-visual {
        min-height: 470px;
        margin-right: 0;
        margin-left: 5%;
        justify-content: center;
    }

    .ep-hero-hybrid-image {
        width: 100%;
        max-width: 1050px;
    }
}

@media (max-width: 700px) {
    .ep-hero-hybrid-content {
        padding: 48px 0 25px;
    }

    .ep-hero-hybrid .ep-hero-content h1 {
        font-size: clamp(42px, 12vw, 56px);
        letter-spacing: -1.5px;
    }

    .ep-hero-hybrid .ep-hero-text {
        font-size: 16px;
    }

    .ep-hero-hybrid .ep-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ep-hero-hybrid .ep-btn {
        width: 100%;
    }

    .ep-hero-hybrid-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .ep-hero-hybrid-visual {
        min-height: 330px;
        margin-left: 0;
    }

    .ep-hero-hybrid-image {
        width: 118%;
        max-width: none;
        margin-right: -12%;
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 12%,
            #000 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 12%,
            #000 100%
        );
    }
}


/* ==========================================================
   FINAL FIX — HERO VISUAL / TYPOGRAPHY / SPACING
   ========================================================== */

/* Make sure legacy hero rules cannot override the final design. */
.ep-hero-hybrid {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    min-height: 0 !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(118, 190, 255, .28), transparent 31%),
        linear-gradient(112deg, #edf8ff 0%, #ffffff 48%, #e2f2ff 100%) !important;
}

.ep-hero-hybrid-grid {
    position: relative !important;
    z-index: 2 !important;
    min-height: 690px !important;
    display: grid !important;
    grid-template-columns: minmax(430px, .82fr) minmax(700px, 1.18fr) !important;
    align-items: start !important;
    gap: 0 !important;
}

.ep-hero-hybrid-content {
    position: relative !important;
    z-index: 5 !important;
    padding: 72px 0 55px !important;
}

.ep-hero-hybrid .ep-eyebrow {
    display: block !important;
    margin: 0 0 15px !important;
    color: #1976d2 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
}

.ep-hero-hybrid .ep-hero-content h1 {
    margin: 0 0 20px !important;
    color: #0c1b3b !important;
    font-size: clamp(48px, 4.35vw, 66px) !important;
    line-height: 1.04 !important;
    letter-spacing: -2.3px !important;
}

.ep-hero-hybrid .ep-hero-content h1 span {
    display: block !important;
    color: #2166e8 !important;
}

.ep-hero-hybrid .ep-hero-text {
    max-width: 650px !important;
    margin: 0 0 27px !important;
    color: #2e4f77 !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
}

.ep-hero-hybrid .ep-hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.ep-hero-hybrid .ep-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 13px 27px !important;
    color: #fff !important;
    background: #1677ed !important;
    border: 1px solid #1677ed !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 24px rgba(22,119,237,.20) !important;
}

.ep-hero-hybrid .ep-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 13px 27px !important;
    color: #1659bd !important;
    background: rgba(255,255,255,.90) !important;
    border: 1px solid #2774dc !important;
    border-radius: 10px !important;
}

.ep-hero-hybrid .ep-hero-actions a {
    text-decoration: none !important;
}

.ep-hero-hybrid-trust {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 20px !important;
    margin-top: 27px !important;
    color: #244b78 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.ep-hero-hybrid-trust span {
    color: #12bfa0 !important;
}

.ep-hero-hybrid-visual {
    position: relative !important;
    z-index: 3 !important;
    align-self: start !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 -85px 0 -15px !important;
    padding: 8px 0 0 !important;
    overflow: visible !important;
}

.ep-hero-hybrid-image {
    display: block !important;
    width: 1080px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    object-fit: contain !important;
    object-position: right top !important;
    filter: drop-shadow(0 18px 24px rgba(25,72,125,.07)) !important;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0,
        rgba(0,0,0,.65) 3%,
        #000 9%,
        #000 93%,
        rgba(0,0,0,.70) 98%,
        transparent 100%
    ) !important;
    mask-image: linear-gradient(
        to bottom,
        transparent 0,
        rgba(0,0,0,.65) 3%,
        #000 9%,
        #000 93%,
        rgba(0,0,0,.70) 98%,
        transparent 100%
    ) !important;
}

/* The visual itself should never create a card/frame. */
.ep-hero-hybrid-visual img {
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* ==========================================================
   Desktop sizing close to the approved reference screenshot
   ========================================================== */
@media (min-width: 1451px) {
    .ep-hero-hybrid-grid {
        min-height: 690px !important;
        grid-template-columns: minmax(500px, .80fr) minmax(760px, 1.20fr) !important;
    }

    .ep-hero-hybrid-content {
        padding-top: 72px !important;
    }

    .ep-hero-hybrid-image {
        width: 1120px !important;
    }
}

@media (max-width: 1450px) and (min-width: 1181px) {
    .ep-hero-hybrid-grid {
        min-height: 660px !important;
        grid-template-columns: minmax(430px, .82fr) minmax(650px, 1.18fr) !important;
    }

    .ep-hero-hybrid-content {
        padding-top: 62px !important;
    }

    .ep-hero-hybrid-image {
        width: 980px !important;
    }

    .ep-hero-hybrid-visual {
        margin-right: -55px !important;
    }
}

@media (max-width: 1180px) {
    .ep-hero-hybrid-grid {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .ep-hero-hybrid-content {
        max-width: 760px !important;
        padding: 60px 0 30px !important;
    }

    .ep-hero-hybrid-visual {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .ep-hero-hybrid-image {
        width: 100% !important;
        max-width: 1050px !important;
    }
}

@media (max-width: 700px) {
    .ep-hero-hybrid-content {
        padding: 45px 0 25px !important;
    }

    .ep-hero-hybrid .ep-hero-content h1 {
        font-size: clamp(42px, 12vw, 56px) !important;
        letter-spacing: -1.5px !important;
    }

    .ep-hero-hybrid .ep-hero-text {
        font-size: 16px !important;
    }

    .ep-hero-hybrid .ep-hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ep-hero-hybrid .ep-btn-primary,
    .ep-hero-hybrid .ep-btn-secondary {
        width: 100% !important;
    }

    .ep-hero-hybrid-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .ep-hero-hybrid-image {
        width: 112% !important;
        margin-left: -6% !important;
    }
}


/* ==========================================================
   FINAL HERO OVERLAP FIX
   The previous visual contained left-side feature cards.
   They overlapped the HTML H1/description. The product art is
   now split into a clean dashboard + phone.
   ========================================================== */

.ep-hero-hybrid-visual {
    position: relative !important;
    z-index: 3 !important;
    align-self: start !important;
    display: block !important;
    min-width: 0 !important;
    min-height: 690px !important;
    margin: 0 -75px 0 -5px !important;
    padding: 0 !important;
    overflow: visible !important;
}

.ep-product-art {
    position: relative !important;
    width: 100% !important;
    height: 690px !important;
    overflow: visible !important;
}

.ep-dashboard-clean {
    position: absolute !important;
    z-index: 2 !important;
    top: 4px !important;
    right: -2px !important;
    display: block !important;
    width: 930px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 18px 25px rgba(25,72,125,.07)) !important;
}

.ep-phone-clean {
    position: absolute !important;
    z-index: 4 !important;
    left: 30px !important;
    top: 405px !important;
    display: block !important;
    width: 195px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 12px 18px rgba(25,72,125,.14)) !important;
}

/* Hide any obsolete single-image hero selectors. */
.ep-hero-hybrid .ep-hero-hybrid-image {
    display: none !important;
}

@media (min-width: 1451px) {
    .ep-hero-hybrid-visual {
        min-height: 700px !important;
        margin-right: -95px !important;
    }

    .ep-product-art {
        height: 700px !important;
    }

    .ep-dashboard-clean {
        width: 1010px !important;
        right: -5px !important;
    }

    .ep-phone-clean {
        left: 48px !important;
        top: 430px !important;
        width: 205px !important;
    }
}

@media (max-width: 1450px) and (min-width: 1181px) {
    .ep-hero-hybrid-visual {
        min-height: 650px !important;
        margin-right: -55px !important;
    }

    .ep-product-art {
        height: 650px !important;
    }

    .ep-dashboard-clean {
        width: 900px !important;
        right: -10px !important;
    }

    .ep-phone-clean {
        left: 25px !important;
        top: 390px !important;
        width: 185px !important;
    }
}

@media (max-width: 1180px) {
    .ep-hero-hybrid-visual {
        min-height: 590px !important;
        margin: 0 !important;
    }

    .ep-product-art {
        width: min(100%, 950px) !important;
        height: 590px !important;
        margin: 0 auto !important;
    }

    .ep-dashboard-clean {
        width: 900px !important;
        max-width: 100% !important;
        right: 0 !important;
        top: 0 !important;
    }

    .ep-phone-clean {
        left: 4% !important;
        top: 370px !important;
        width: 175px !important;
    }
}

@media (max-width: 700px) {
    .ep-hero-hybrid-visual {
        min-height: 410px !important;
    }

    .ep-product-art {
        height: 410px !important;
    }

    .ep-dashboard-clean {
        width: 720px !important;
        max-width: none !important;
        right: -110px !important;
        top: 0 !important;
    }

    .ep-phone-clean {
        left: 10px !important;
        top: 265px !important;
        width: 125px !important;
    }
}


/* ==========================================================
   FINAL HERO LAYOUT FIX v2
   Keep HTML text completely separate from the product artwork.
   ========================================================== */

.ep-hero-hybrid {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(115, 190, 255, .28), transparent 32%),
        linear-gradient(112deg, #eaf7ff 0%, #ffffff 48%, #e2f3ff 100%) !important;
}

.ep-hero-hybrid-grid {
    width: min(1500px, calc(100% - 80px)) !important;
    max-width: 1500px !important;
    min-height: 690px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(560px, 45%) minmax(0, 55%) !important;
    column-gap: 0 !important;
    align-items: start !important;
    position: relative !important;
}

.ep-hero-hybrid-content {
    position: relative !important;
    z-index: 10 !important;
    min-width: 0 !important;
    padding: 72px 20px 55px 0 !important;
    max-width: 640px !important;
}

.ep-hero-hybrid .ep-eyebrow {
    display: block !important;
    color: #1976d2 !important;
    margin: 0 0 15px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
}

.ep-hero-hybrid .ep-hero-content h1 {
    display: block !important;
    color: #0c1b3b !important;
    margin: 0 0 20px !important;
    max-width: 620px !important;
    font-size: clamp(48px, 4.15vw, 66px) !important;
    line-height: 1.04 !important;
    letter-spacing: -2.2px !important;
}

.ep-hero-hybrid .ep-hero-content h1 span {
    display: block !important;
    color: #2166e8 !important;
}

.ep-hero-hybrid .ep-hero-text {
    display: block !important;
    position: relative !important;
    z-index: 12 !important;
    max-width: 610px !important;
    margin: 0 0 27px !important;
    color: #2d4f78 !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
}

.ep-hero-hybrid .ep-hero-actions {
    position: relative !important;
    z-index: 15 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.ep-hero-hybrid .ep-hero-actions .ep-btn {
    position: relative !important;
    z-index: 16 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 13px 26px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.ep-hero-hybrid .ep-btn-primary {
    color: #fff !important;
    background: #1677ed !important;
    border: 1px solid #1677ed !important;
}

.ep-hero-hybrid .ep-btn-secondary {
    color: #1659bd !important;
    background: rgba(255,255,255,.95) !important;
    border: 1px solid #2774dc !important;
}

.ep-hero-hybrid-trust {
    position: relative !important;
    z-index: 15 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px 18px !important;
    margin-top: 28px !important;
    color: #244b78 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.ep-hero-hybrid-trust span {
    color: #12bfa0 !important;
}

/* RIGHT-SIDE ARTWORK: it stays entirely inside the right grid column. */
.ep-hero-hybrid-visual {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 690px !important;
    min-height: 690px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
}

.ep-product-art {
    position: relative !important;
    width: 100% !important;
    height: 690px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Dashboard width is limited to the actual right column. */
.ep-dashboard-clean {
    position: absolute !important;
    z-index: 2 !important;
    top: 5px !important;
    right: -18px !important;
    width: 100% !important;
    max-width: 930px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    filter: drop-shadow(0 18px 25px rgba(25,72,125,.07)) !important;
}

/* Phone sits over the lower-left of the dashboard, not over the HTML text. */
.ep-phone-clean {
    position: absolute !important;
    z-index: 5 !important;
    left: 9% !important;
    bottom: -2px !important;
    top: auto !important;
    width: 165px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 12px 18px rgba(25,72,125,.15)) !important;
}

/* Prevent the old single-image hero rules from participating. */
.ep-hero-hybrid .ep-hero-hybrid-image {
    display: none !important;
}

/* Large desktop */
@media (min-width: 1501px) {
    .ep-hero-hybrid-grid {
        width: min(1500px, calc(100% - 80px)) !important;
        grid-template-columns: minmax(600px, 45%) minmax(0, 55%) !important;
    }

    .ep-hero-hybrid-content {
        padding-top: 72px !important;
    }

    .ep-dashboard-clean {
        max-width: 930px !important;
        right: -8px !important;
    }

    .ep-phone-clean {
        width: 170px !important;
        left: 8% !important;
    }
}

/* Laptop / normal desktop */
@media (max-width: 1500px) and (min-width: 1181px) {
    .ep-hero-hybrid-grid {
        width: min(1400px, calc(100% - 50px)) !important;
        grid-template-columns: minmax(530px, 46%) minmax(0, 54%) !important;
    }

    .ep-hero-hybrid-content {
        padding-top: 62px !important;
    }

    .ep-dashboard-clean {
        max-width: 800px !important;
        right: -8px !important;
    }

    .ep-phone-clean {
        width: 150px !important;
        left: 7% !important;
    }
}

/* Tablet: stack instead of allowing any overlap. */
@media (max-width: 1180px) {
    .ep-hero-hybrid-grid {
        width: min(100% - 32px, 900px) !important;
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
        row-gap: 5px !important;
    }

    .ep-hero-hybrid-content {
        max-width: 760px !important;
        padding: 55px 0 25px !important;
    }

    .ep-hero-hybrid-visual {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .ep-product-art {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 908 / 793 !important;
    }

    .ep-dashboard-clean {
        width: 100% !important;
        max-width: 908px !important;
        right: 0 !important;
        top: 0 !important;
    }

    .ep-phone-clean {
        width: 150px !important;
        left: 5% !important;
        bottom: 0 !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .ep-hero-hybrid-grid {
        width: calc(100% - 28px) !important;
    }

    .ep-hero-hybrid-content {
        padding: 42px 0 22px !important;
    }

    .ep-hero-hybrid .ep-hero-content h1 {
        font-size: clamp(40px, 12vw, 55px) !important;
        letter-spacing: -1.4px !important;
    }

    .ep-hero-hybrid .ep-hero-text {
        font-size: 16px !important;
        line-height: 1.62 !important;
    }

    .ep-hero-hybrid .ep-hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ep-hero-hybrid .ep-hero-actions .ep-btn {
        width: 100% !important;
    }

    .ep-hero-hybrid-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .ep-product-art {
        aspect-ratio: 908 / 793 !important;
    }

    .ep-dashboard-clean {
        width: 100% !important;
    }

    .ep-phone-clean {
        width: 125px !important;
        left: 4% !important;
    }
}


/* ==========================================================
   FINAL HERO POLISH — v3
   Based on the latest approved desktop screenshot.
   ========================================================== */

@media (min-width: 1181px) {
    .ep-hero-hybrid-grid {
        grid-template-columns: minmax(560px, 46%) minmax(0, 54%) !important;
    }

    .ep-hero-hybrid-content {
        padding-right: 28px !important;
    }

    .ep-hero-hybrid-visual {
        transform: translateX(22px) !important;
    }

    .ep-dashboard-clean {
        width: 94% !important;
        max-width: 880px !important;
        right: -12px !important;
        top: 8px !important;
    }

    .ep-phone-clean {
        width: 150px !important;
        left: 11% !important;
        bottom: -8px !important;
    }
}

@media (min-width: 1501px) {
    .ep-hero-hybrid-grid {
        grid-template-columns: minmax(600px, 46%) minmax(0, 54%) !important;
    }

    .ep-hero-hybrid-visual {
        transform: translateX(28px) !important;
    }

    .ep-dashboard-clean {
        width: 94% !important;
        max-width: 900px !important;
        right: -5px !important;
    }

    .ep-phone-clean {
        width: 158px !important;
        left: 10% !important;
        bottom: -8px !important;
    }
}

@media (max-width: 1180px) {
    .ep-hero-hybrid-visual {
        transform: none !important;
    }
}


/* ==========================================================
   HEADER / DROPDOWN LAYER FIX
   IMPORTANT:
   style.css owns all menu colors, backgrounds, hover states,
   and dropdown visibility. This file only manages stacking.
   ========================================================== */

.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

/* Keep the header above the Employee Portal hero without styling menu colors. */
.main-header .container,
.main-header .navbar,
.main-header .navbar > ul,
.main-header .navbar > ul > li,
.main-header .dropdown {
    z-index: 10000 !important;
}

/* Keep the dropdown above hero artwork; let style.css control its appearance. */
.main-header .dropdown > .dropdown-menu {
    z-index: 99999 !important;
}

/* Keep the hero below the site header and dropdown. */
.ep-hero-hybrid {
    position: relative !important;
    z-index: 0 !important;
}

.ep-hero-hybrid-grid,
.ep-hero-hybrid-content,
.ep-hero-hybrid-visual {
    z-index: 1 !important;
}

.ep-hero-hybrid::before,
.ep-hero-hybrid::after,
.ep-hero-hybrid-bg {
    z-index: -1 !important;
}


.ep-hero-hybrid {
    position: relative !important;
    z-index: 0 !important;
}

.ep-hero-hybrid-grid,
.ep-hero-hybrid-content,
.ep-hero-hybrid-visual {
    z-index: 1 !important;
}

/* Never let the hero create a stacking context above the header. */
.ep-hero-hybrid::before,
.ep-hero-hybrid::after,
.ep-hero-hybrid-bg {
    z-index: -1 !important;
}
/* ==========================================================
   FINAL HERO BLENDING — SMOOTH IMAGE / BACKGROUND INTEGRATION
   ========================================================== */

@media (min-width: 1181px) {

    .ep-hero-hybrid-visual {
        margin-left: -65px !important;
        margin-right: -75px !important;
        transform: translateX(12px) !important;
    }

    .ep-dashboard-clean {
        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.08) 5%,
                rgba(0,0,0,.35) 10%,
                rgba(0,0,0,.78) 17%,
                #000 25%,
                #000 100%
            ) !important;

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.08) 5%,
                rgba(0,0,0,.35) 10%,
                rgba(0,0,0,.78) 17%,
                #000 25%,
                #000 100%
            ) !important;
    }

    .ep-hero-hybrid-visual::before {
        content: "";
        position: absolute;
        left: -105px;
        top: 0;
        width: 250px;
        height: 100%;
        z-index: 8;
        pointer-events: none;

        background:
            linear-gradient(
                to right,
                rgba(237,248,255,1) 0%,
                rgba(237,248,255,.94) 18%,
                rgba(237,248,255,.68) 38%,
                rgba(237,248,255,.30) 62%,
                rgba(237,248,255,0) 100%
            );
    }

    .ep-hero-hybrid-visual .ep-product-art {
        position: relative !important;
        z-index: 4 !important;
    }

    .ep-hero-hybrid-content {
        position: relative !important;
        z-index: 20 !important;
    }
}


/* Larger desktop screens */
@media (min-width: 1501px) {

    .ep-hero-hybrid-visual {
        margin-left: -85px !important;
        transform: translateX(18px) !important;
    }

    .ep-dashboard-clean {
        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.06) 5%,
                rgba(0,0,0,.30) 11%,
                rgba(0,0,0,.72) 18%,
                #000 27%,
                #000 100%
            ) !important;

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.06) 5%,
                rgba(0,0,0,.30) 11%,
                rgba(0,0,0,.72) 18%,
                #000 27%,
                #000 100%
            ) !important;
    }

    .ep-hero-hybrid-visual::before {
        left: -130px;
        width: 290px;
    }
}


/* Tablet and mobile */
@media (max-width: 1180px) {

    .ep-hero-hybrid-visual {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .ep-hero-hybrid-visual::before {
        display: none !important;
    }

    .ep-dashboard-clean {
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
}

/* ==========================================================
   HERO TEXT ALIGNMENT
   Move the hero text to the marked starting position.
   Dashboard/image blending remains unchanged.
   ========================================================== */

@media (min-width: 1181px) {

    .ep-hero-hybrid-content {
        padding-left: 50px !important;
        padding-right: 28px !important;
    }

}

/* Larger desktop screens */
@media (min-width: 1501px) {

    .ep-hero-hybrid-content {
        padding-left: 50px !important;
    }

}

/* Tablet and mobile */
@media (max-width: 1180px) {

    .ep-hero-hybrid-content {
        padding-left: 0 !important;
    }

}

@media (max-width: 700px) {

    .ep-hero-hybrid-content {
        padding-left: 0 !important;
    }

}