:root {
    --hart-blue: #05228b;
    --hart-blue-dark: #020e3c;
    --hart-blue-deep: #010822;
    --hart-blue-light: #2447c6;
    --hart-red: #d71920;
    --hart-red-dark: #a90e14;
    --hart-ink: #101828;
    --hart-muted: #667085;
    --hart-border: #e4e8f0;
    --hart-soft: #f5f7fc;
    --hart-soft-blue: #eef3ff;
    --hart-white: #ffffff;
    --hart-shadow: 0 24px 60px rgba(15, 31, 84, .12);
    --hart-radius: 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--hart-ink);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 1rem;
    z-index: 2000;
    padding: .75rem 1rem;
    color: #fff;
    background: var(--hart-blue);
    border-radius: 0 0 10px 10px;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.public-header {
    z-index: 1040;
    transition: box-shadow .25s ease;
}

.public-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(4, 18, 66, .12);
}

.public-topbar {
    color: rgba(255, 255, 255, .82);
    background: var(--hart-blue-dark);
    font-size: .78rem;
    letter-spacing: .02em;
}

.public-topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-navbar {
    min-height: 86px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(5, 34, 139, .08);
    backdrop-filter: blur(16px);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 0;
}

.public-brand__logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
}

.public-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-brand__text {
    display: flex;
    flex-direction: column;
}

.public-brand__text strong {
    color: var(--hart-blue-dark);
    font-size: 1.18rem;
    letter-spacing: .04em;
    line-height: 1.1;
}

.public-brand__text small {
    margin-top: .26rem;
    color: #7a8497;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.public-nav-list {
    gap: .15rem;
}

.public-nav-list .nav-link {
    position: relative;
    padding: .65rem .82rem !important;
    color: #3b4659;
    font-size: .91rem;
    font-weight: 700;
}

.public-nav-list .nav-link::after {
    content: "";
    position: absolute;
    left: .82rem;
    right: .82rem;
    bottom: .34rem;
    height: 2px;
    background: var(--hart-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.public-nav-list .nav-link:hover,
.public-nav-list .nav-link:focus {
    color: var(--hart-blue);
}

.public-nav-list .nav-link:hover::after,
.public-nav-list .nav-link:focus::after {
    transform: scaleX(1);
}

.public-nav-action {
    margin-left: .7rem;
}

.public-login-btn {
    padding: .78rem 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--hart-blue-light), var(--hart-blue));
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(5, 34, 139, .2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.public-login-btn:hover,
.public-login-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--hart-blue), var(--hart-blue-dark));
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(5, 34, 139, .28);
}

.public-toggler {
    width: 46px;
    height: 42px;
    padding: .55rem .65rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--hart-border);
    border-radius: 12px;
    box-shadow: none !important;
}

.public-toggler span {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--hart-blue-dark);
    border-radius: 99px;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, #05228b 0%, #020e3c 100%);
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}

.home-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.home-hero__glow--one {
    width: 560px;
    height: 560px;
    top: -280px;
    right: 3%;
    background: radial-gradient(circle, rgba(56, 103, 255, .34), transparent 68%);
}

.home-hero__glow--two {
    width: 420px;
    height: 420px;
    left: -200px;
    bottom: -170px;
    background: radial-gradient(circle, rgba(215, 25, 32, .19), transparent 68%);
}

.hero-content {
    min-height: 720px;
    padding: 5.5rem 0 8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .42rem .85rem .42rem .46rem;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.hero-badge__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--hart-blue);
    background: #fff;
    border-radius: 50%;
}

.hero-title {
    max-width: 790px;
    margin: 1.65rem 0 1.35rem;
    color: #fff;
    font-size: clamp(3rem, 6.3vw, 5.75rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
}

.hero-title span {
    display: block;
    color: #aebfff;
}

.hero-description {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .77);
    font-size: clamp(1rem, 1.5vw, 1.17rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-primary-btn,
.hero-secondary-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .82rem 1.3rem;
    border-radius: 13px;
    font-size: .93rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-primary-btn {
    color: var(--hart-blue-dark);
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.hero-primary-btn:hover,
.hero-primary-btn:focus {
    color: var(--hart-blue-dark);
    background: #f7f9ff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.hero-secondary-btn {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .25);
}

.hero-secondary-btn:hover,
.hero-secondary-btn:focus {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.hero-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 1.65rem;
    margin-top: 2.5rem;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: .72rem;
}

.assurance-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.assurance-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.assurance-item strong {
    color: #fff;
    font-size: .83rem;
}

.assurance-item small {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .59);
    font-size: .68rem;
}

/* Hero console mockup */
.hero-console-wrap {
    position: relative;
    max-width: 520px;
    margin-left: auto;
    padding: 2rem 1.4rem;
}

.hero-console {
    position: relative;
    z-index: 2;
    overflow: hidden;
    color: var(--hart-ink);
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 28px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, .34);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.console-topbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.1rem;
    background: #fff;
    border-bottom: 1px solid #e9edf5;
}

.console-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.console-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: .18rem;
    background: #f7f9ff;
    border: 1px solid #edf0f7;
    border-radius: 12px;
}

.console-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.console-brand > div {
    display: flex;
    flex-direction: column;
}

.console-brand strong {
    color: var(--hart-blue-dark);
    font-size: .88rem;
}

.console-brand small {
    margin-top: .1rem;
    color: #8a94a6;
    font-size: .62rem;
}

.console-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .33rem .55rem;
    color: #15803d;
    background: #effaf3;
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 800;
}

.console-status span,
.live-pill span {
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .13);
}

.console-body {
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(42, 77, 198, .08), transparent 36%),
        #f8faff;
}

.console-welcome {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.console-welcome small {
    color: #8a94a6;
    font-size: .65rem;
    font-weight: 700;
}

.console-welcome h3 {
    margin: .18rem 0 0;
    color: var(--hart-blue-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

.console-session {
    padding: .33rem .55rem;
    color: var(--hart-blue);
    background: var(--hart-soft-blue);
    border-radius: 8px;
    font-size: .62rem;
    font-weight: 800;
}

.console-progress {
    margin-top: 1.2rem;
    padding: .9rem;
    background: #fff;
    border: 1px solid #e8ecf5;
    border-radius: 14px;
}

.console-progress__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .55rem;
    color: #5f6b7d;
    font-size: .68rem;
}

.console-progress__head strong {
    color: var(--hart-blue);
}

.console-progress .progress {
    height: 7px;
    background: #edf1f8;
}

.console-progress .progress-bar {
    background: linear-gradient(90deg, var(--hart-blue-light), var(--hart-blue));
    border-radius: 99px;
}

.console-steps {
    display: grid;
    gap: .65rem;
    margin-top: .85rem;
}

.console-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .72rem .8rem;
    background: #fff;
    border: 1px solid #e8ecf5;
    border-radius: 13px;
}

.console-step > span {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    color: #8390a6;
    background: #f2f4f8;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 900;
}

.console-step > div {
    display: flex;
    flex-direction: column;
}

.console-step strong {
    color: #27334a;
    font-size: .76rem;
}

.console-step small {
    margin-top: .14rem;
    color: #9099aa;
    font-size: .59rem;
}

.console-step.is-complete > span {
    color: #15803d;
    background: #e9f9ef;
}

.console-step.is-active {
    border-color: rgba(5, 34, 139, .28);
    box-shadow: 0 8px 20px rgba(5, 34, 139, .07);
}

.console-step.is-active > span {
    color: #fff;
    background: var(--hart-blue);
}

.console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid #e8ecf5;
}

.console-footer > span {
    color: #748096;
    font-size: .65rem;
    font-weight: 700;
}

.console-footer .btn {
    padding: .48rem .85rem;
    color: #fff;
    background: var(--hart-blue);
    border-radius: 9px;
    font-size: .66rem;
    font-weight: 800;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 205px;
    padding: .72rem .85rem;
    color: var(--hart-ink);
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.floating-card--approval {
    top: 9%;
    right: -4%;
}

.floating-card--visit {
    left: -7%;
    bottom: 12%;
}

.floating-card__icon {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    color: var(--hart-blue);
    background: var(--hart-soft-blue);
    border-radius: 11px;
}

.floating-card > div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    color: var(--hart-blue-dark);
    font-size: .72rem;
}

.floating-card small {
    margin-top: .12rem;
    color: #7b8698;
    font-size: .58rem;
}

.hero-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 88px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave path {
    fill: #fff;
}

/* Capability strip */
.platform-strip {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: #fff;
}

.platform-strip .container {
    position: relative;
    margin-top: -42px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 20px;
    box-shadow: var(--hart-shadow);
}

.platform-strip__item {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.3rem;
    border-right: 1px solid #eceff5;
}

.platform-strip .col-lg-3:last-child .platform-strip__item {
    border-right: 0;
}

.platform-strip__item > i {
    width: 45px;
    height: 45px;
    display: grid;
    flex: 0 0 45px;
    place-items: center;
    color: var(--hart-blue);
    background: var(--hart-soft-blue);
    border-radius: 13px;
    font-size: 1.15rem;
}

.platform-strip__item > span {
    display: flex;
    flex-direction: column;
}

.platform-strip__item strong {
    color: var(--hart-blue-dark);
    font-size: .82rem;
}

.platform-strip__item small {
    margin-top: .2rem;
    color: #7e899b;
    font-size: .67rem;
}

/* Shared sections */
.section-space {
    padding: 7rem 0;
}

.section-heading {
    max-width: 790px;
}

.section-heading--left {
    max-width: 690px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--hart-blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-eyebrow--light {
    color: #bdcaff;
}

.section-heading h2,
.security-panel h2,
.final-cta h2 {
    margin: .85rem 0 1rem;
    color: var(--hart-blue-dark);
    font-size: clamp(2.1rem, 4.1vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.section-heading > p {
    max-width: 720px;
    margin: 0;
    color: var(--hart-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Overview */
.overview-section {
    overflow: hidden;
}

.overview-points {
    display: grid;
    gap: 1.2rem;
    margin-top: 2rem;
}

.overview-point {
    display: flex;
    align-items: start;
    gap: .9rem;
}

.overview-point > span {
    width: 35px;
    height: 35px;
    display: grid;
    flex: 0 0 35px;
    place-items: center;
    color: #fff;
    background: var(--hart-blue);
    border-radius: 10px;
    font-size: .9rem;
}

.overview-point strong {
    display: block;
    color: #27334a;
    font-size: .96rem;
}

.overview-point p {
    margin: .3rem 0 0;
    color: var(--hart-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 2rem;
    color: var(--hart-blue);
    font-size: .9rem;
    font-weight: 900;
}

.inline-link:hover {
    color: var(--hart-blue-dark);
    gap: .8rem;
}

.overview-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-map {
    position: relative;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(14, 31, 88, .15);
}

.overview-map__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e9edf4;
}

.overview-map__head > span:first-child {
    color: var(--hart-blue-dark);
    font-size: .84rem;
    font-weight: 900;
}

.overview-map__head i {
    color: var(--hart-red);
    margin-right: .4rem;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #15803d;
    font-size: .66rem;
    font-weight: 900;
}

.road-map-art {
    position: relative;
    height: 300px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, rgba(42, 77, 198, .11), transparent 32%),
        linear-gradient(145deg, #f7f9fd, #edf2fb);
}

.road-map-art::before,
.road-map-art::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(5, 34, 139, .08);
    border-radius: 50%;
}

.road-map-art::before {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -70px;
}

.road-map-art::after {
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -160px;
}

.road-line {
    position: absolute;
    height: 13px;
    background: #fff;
    border: 1px solid #e1e7f2;
    border-radius: 999px;
    box-shadow: 0 5px 12px rgba(18, 35, 91, .06);
}

.road-line::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    border-top: 2px dashed #c6cfdf;
}

.road-line--one {
    width: 130%;
    top: 43%;
    left: -15%;
    transform: rotate(17deg);
}

.road-line--two {
    width: 110%;
    top: 52%;
    left: -4%;
    transform: rotate(-27deg);
}

.road-line--three {
    width: 75%;
    top: 24%;
    left: 18%;
    transform: rotate(62deg);
}

.map-pin {
    position: absolute;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--hart-red);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(215, 25, 32, .28);
}

.map-pin--one { top: 27%; left: 25%; }
.map-pin--two { top: 55%; left: 61%; }
.map-pin--three { top: 22%; right: 16%; }

.map-pulse {
    position: absolute;
    z-index: 2;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(215, 25, 32, .2);
    border-radius: 50%;
}

.map-pulse--one { top: 21%; left: 22%; }
.map-pulse--two { top: 49%; left: 58%; }

.map-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e9edf4;
}

.map-stats > div {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.2rem;
}

.map-stats > div + div {
    border-left: 1px solid #e9edf4;
}

.map-stats small {
    color: #8a94a6;
    font-size: .65rem;
}

.map-stats strong {
    margin-top: .25rem;
    color: var(--hart-blue-dark);
    font-size: .8rem;
}

.overview-mini-card {
    position: absolute;
    right: -2%;
    bottom: 2%;
    display: flex;
    align-items: center;
    gap: .75rem;
    width: min(310px, 85%);
    padding: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--hart-blue), var(--hart-blue-dark));
    border-radius: 17px;
    box-shadow: 0 20px 45px rgba(5, 34, 139, .25);
}

.overview-mini-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.overview-mini-card > div {
    display: flex;
    flex-direction: column;
}

.overview-mini-card strong {
    font-size: .78rem;
}

.overview-mini-card small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .65);
    font-size: .62rem;
}

/* Bento capabilities */
.capabilities-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(5, 34, 139, .055), transparent 22%),
        var(--hart-soft);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.bento-card {
    position: relative;
    min-height: 285px;
    overflow: hidden;
    padding: 1.6rem;
    background: #fff;
    border: 1px solid #e4e8f1;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(19, 36, 91, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(5, 34, 139, .19);
    box-shadow: 0 24px 50px rgba(19, 36, 91, .11);
}

.bento-card--large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 586px;
}

.bento-card--wide {
    grid-column: span 2;
}

.bento-card--blue {
    color: #fff;
    background:
        radial-gradient(circle at 85% 14%, rgba(116, 149, 255, .3), transparent 28%),
        linear-gradient(155deg, var(--hart-blue-light), var(--hart-blue-dark));
    border-color: transparent;
}

.bento-card--blue::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -120px;
    border: 65px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.bento-card--soft {
    background:
        radial-gradient(circle at right top, rgba(5, 34, 139, .08), transparent 38%),
        #fff;
}

.bento-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--hart-blue);
    background: var(--hart-soft-blue);
    border-radius: 15px;
    font-size: 1.35rem;
}

.bento-card--blue .bento-icon {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
}

.bento-label {
    display: inline-block;
    margin-top: 1.45rem;
    color: var(--hart-blue);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bento-card--blue .bento-label {
    color: #bdcaff;
}

.bento-card h3 {
    position: relative;
    z-index: 1;
    margin: .65rem 0 .75rem;
    color: var(--hart-blue-dark);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.bento-card--blue h3 {
    max-width: 440px;
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.1rem);
}

.bento-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--hart-muted);
    font-size: .9rem;
    line-height: 1.7;
}

.bento-card--blue p {
    max-width: 470px;
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
}

.mini-workflow {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    display: flex;
    align-items: center;
}

.mini-workflow span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    font-size: .74rem;
    font-weight: 900;
}

.mini-workflow span.is-done {
    color: var(--hart-blue);
    background: #fff;
}

.mini-workflow span.is-current {
    color: #fff;
    background: var(--hart-red);
    border-color: var(--hart-red);
}

.mini-workflow > i {
    height: 2px;
    flex: 1;
    background: rgba(255, 255, 255, .15);
}

.bento-wide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.notification-preview {
    display: grid;
    gap: .7rem;
}

.notification-preview__item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem;
    background: #f8faff;
    border: 1px solid #e7ebf4;
    border-radius: 13px;
}

.notification-preview__icon {
    width: 36px;
    height: 36px;
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 10px;
}

.notification-preview__icon.success {
    color: #15803d;
    background: #e9f9ef;
}

.notification-preview__icon.info {
    color: var(--hart-blue);
    background: var(--hart-soft-blue);
}

.notification-preview__item > div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.notification-preview__item strong {
    color: #27334a;
    font-size: .72rem;
}

.notification-preview__item small {
    margin-top: .12rem;
    color: #8791a3;
    font-size: .58rem;
}

.notification-preview__time {
    color: #99a2b0;
    font-size: .56rem;
}

/* Process */
.process-section {
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(45, 79, 201, .28), transparent 25%),
        linear-gradient(180deg, #05228b 0%, #020e3c 100%);
}

.process-section .section-heading h2 {
    color: #fff;
}

.process-intro {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .98rem;
    line-height: 1.75;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.process-card {
    position: relative;
    min-height: 270px;
    padding: 1.35rem;
    overflow: hidden;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: transform .25s ease, background .25s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .11);
}

.process-number {
    position: absolute;
    top: .9rem;
    right: 1rem;
    color: rgba(255, 255, 255, .14);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -.05em;
}

.process-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    font-size: 1.25rem;
}

.process-card h3 {
    margin: 2.5rem 0 .7rem;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 900;
}

.process-card p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
    line-height: 1.7;
}

/* Security */
.security-section {
    background: #fff;
}

.security-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 92% 8%, rgba(88, 127, 255, .27), transparent 27%),
        linear-gradient(145deg, var(--hart-blue), var(--hart-blue-dark));
    border-radius: 34px;
    box-shadow: 0 35px 85px rgba(4, 19, 71, .2);
}

.security-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 38px 38px;
}

.security-panel > .row {
    position: relative;
    z-index: 2;
}

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

.security-panel p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 1rem;
    line-height: 1.78;
}

.security-list {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.4rem;
    margin-top: 1.8rem;
}

.security-list span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    font-weight: 700;
}

.security-list i {
    color: #95e4b1;
}

.security-visual {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.security-shield {
    position: relative;
    z-index: 3;
    width: 180px;
    height: 180px;
    display: grid;
    place-items: center;
    padding: 1.7rem;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    box-shadow: 0 25px 65px rgba(0, 0, 0, .25);
}

.security-shield img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
}

.security-ring--one {
    width: 245px;
    height: 245px;
}

.security-ring--two {
    width: 315px;
    height: 315px;
}

.security-check {
    position: absolute;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--hart-blue);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
}

.security-check--one { top: 16%; left: 14%; }
.security-check--two { top: 10%; right: 13%; }
.security-check--three { right: 12%; bottom: 13%; }

/* Final CTA */
.final-cta-section {
    padding-top: 0;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.3rem);
    color: #fff;
    background: linear-gradient(135deg, var(--hart-red), var(--hart-red-dark));
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(166, 14, 20, .22);
}

.final-cta__pattern {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, .12) 45% 55%, transparent 55% 100%);
    background-size: 30px 30px;
}

.final-cta__eyebrow {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.final-cta h2 {
    margin: .55rem 0 .7rem;
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.25rem);
}

.final-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .73);
    font-size: .97rem;
}

.final-cta__button {
    min-height: 54px;
    padding: .85rem 1.3rem;
    color: var(--hart-red-dark);
    background: #fff;
    border: 0;
    border-radius: 13px;
    font-size: .91rem;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(92, 4, 7, .2);
}

.final-cta__button:hover,
.final-cta__button:focus {
    color: var(--hart-red-dark);
    background: #fff7f7;
    transform: translateY(-2px);
}

/* Footer */
.public-footer {
    margin-top: 1rem;
    color: #fff;
    background: var(--hart-blue-deep);
}

.public-footer__top {
    padding: 4.7rem 0 3.6rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    color: #fff;
}

.footer-brand:hover {
    color: #fff;
}

.footer-brand__logo {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    padding: .2rem;
    background: #fff;
    border-radius: 15px;
}

.footer-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand > span:last-child {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 1.03rem;
    letter-spacing: .03em;
}

.footer-brand small {
    max-width: 380px;
    margin-top: .25rem;
    color: rgba(255, 255, 255, .5);
    font-size: .67rem;
    line-height: 1.45;
}

.footer-description {
    max-width: 500px;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, .53);
    font-size: .84rem;
    line-height: 1.75;
}

.footer-heading {
    margin: .25rem 0 1.1rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, .52);
    font-size: .79rem;
    transition: color .2s ease, padding-left .2s ease;
}

.footer-links a:hover {
    padding-left: .2rem;
    color: #fff;
}

.footer-security-card {
    display: flex;
    align-items: start;
    gap: .8rem;
    padding: 1.1rem;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
}

.footer-security-card > span {
    width: 40px;
    height: 40px;
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: 11px;
}

.footer-security-card strong {
    color: #fff;
    font-size: .78rem;
}

.footer-security-card p {
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .48);
    font-size: .67rem;
    line-height: 1.6;
}

.public-footer__bottom {
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom-inner p {
    margin: 0;
    color: rgba(255, 255, 255, .4);
    font-size: .68rem;
}

/* Existing login and account views */
.btn-frsc {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--hart-blue);
    --bs-btn-border-color: var(--hart-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--hart-blue-dark);
    --bs-btn-hover-border-color: var(--hart-blue-dark);
    --bs-btn-active-bg: var(--hart-blue-dark);
    --bs-btn-active-border-color: var(--hart-blue-dark);
    box-shadow: 0 9px 22px rgba(5, 34, 139, .2);
}

.auth-section {
    min-height: calc(100vh - 122px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background:
        radial-gradient(circle at 88% 10%, rgba(5, 34, 139, .16), transparent 26%),
        radial-gradient(circle at 10% 90%, rgba(215, 25, 32, .08), transparent 25%),
        #f4f6fb;
}

.auth-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #fff;
    border: 1px solid #e2e7f2;
    border-top: 5px solid var(--hart-blue);
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(20, 39, 100, .14);
}

.auth-notice {
    padding: .85rem 1rem;
    color: #667085;
    background: #f7f9fc;
    border-radius: 10px;
    font-size: .82rem;
}

.success-circle {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: auto;
    color: var(--hart-blue);
    background: rgba(5, 34, 139, .1);
    border-radius: 50%;
    font-size: 2.2rem;
}

.input-group-text {
    background: #f8fafc;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(5, 34, 139, .55);
    box-shadow: 0 0 0 .25rem rgba(5, 34, 139, .11);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(3rem, 6vw, 4.8rem);
    }

    .floating-card--approval {
        right: 0;
    }

    .floating-card--visit {
        left: 0;
    }

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

    .bento-card--large {
        min-height: 500px;
    }

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

@media (max-width: 991.98px) {
    .public-navbar {
        min-height: 78px;
    }

    .public-brand__logo {
        width: 54px;
        height: 54px;
    }

    .public-navbar .navbar-collapse {
        margin-top: .8rem;
        padding: 1rem;
        background: #fff;
        border: 1px solid var(--hart-border);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 31, 84, .12);
    }

    .public-nav-action {
        margin: .65rem 0 0;
    }

    .public-login-btn {
        width: 100%;
        justify-content: center;
    }

    .home-hero {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 5.2rem 0 8.5rem;
    }

    .hero-title,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-badge {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-actions,
    .hero-assurance {
        justify-content: center;
    }

    .hero-console-wrap {
        margin: 1rem auto 0;
    }

    .hero-console {
        transform: none;
    }

    .platform-strip .container {
        margin-top: -35px;
    }

    .platform-strip__item {
        border-bottom: 1px solid #eceff5;
    }

    .platform-strip .col-6:nth-child(2) .platform-strip__item {
        border-right: 0;
    }

    .platform-strip .col-6:nth-child(3) .platform-strip__item,
    .platform-strip .col-6:nth-child(4) .platform-strip__item {
        border-bottom: 0;
    }

    .section-space {
        padding: 5.2rem 0;
    }

    .overview-mini-card {
        right: 2%;
    }

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

    .security-visual {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 80px;
    }

    .public-brand__text small {
        display: none;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-title {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-description {
        font-size: .98rem;
    }

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

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;
    }

    .hero-assurance {
        display: grid;
        grid-template-columns: 1fr;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-console-wrap {
        padding: 1rem 0;
    }

    .floating-card {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: .75rem;
    }

    .platform-strip__item {
        min-height: 122px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .section-heading h2,
    .security-panel h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .overview-visual {
        min-height: 410px;
    }

    .overview-mini-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 92%;
        margin: -25px auto 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card,
    .bento-card--large,
    .bento-card--wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .bento-card--large {
        min-height: 480px;
    }

    .bento-wide-content {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 220px;
    }

    .security-panel {
        border-radius: 24px;
    }

    .security-shield {
        width: 150px;
        height: 150px;
    }

    .security-ring--one {
        width: 210px;
        height: 210px;
    }

    .security-ring--two {
        width: 270px;
        height: 270px;
    }

    .final-cta {
        text-align: center;
    }

    .final-cta__button {
        width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 479.98px) {
    .public-brand__logo {
        width: 48px;
        height: 48px;
    }

    .public-brand__text strong {
        font-size: 1rem;
    }

    .hero-badge {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
        text-align: center;
    }

    .console-topbar,
    .console-welcome {
        align-items: flex-start;
    }

    .console-status,
    .console-session {
        display: none;
    }

    .platform-strip .container {
        border-radius: 16px;
    }

    .platform-strip__item {
        padding: 1rem .55rem;
    }

    .platform-strip__item strong {
        font-size: .74rem;
    }

    .platform-strip__item small {
        font-size: .61rem;
    }

    .map-stats {
        grid-template-columns: 1fr;
    }

    .map-stats > div + div {
        border-top: 1px solid #e9edf4;
        border-left: 0;
    }

    .mini-workflow {
        right: 1rem;
        bottom: 1.3rem;
        left: 1rem;
    }

    .mini-workflow span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
