.home-hero-banner {
    position: relative;
    overflow: hidden;
}

.home-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 23, 66, .88) 0%, rgba(5, 37, 101, .72) 48%, rgba(5, 37, 101, .18) 100%);
    z-index: 0;
}

.home-hero-banner .container,
.home-hero-banner .banner-content {
    position: relative;
    z-index: 1;
}

.home-hero-content {
    padding: 48px 0 40px;
}

.home-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .92em;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffb74a;
}

.home-kicker.alt {
    color: #285cc9;
}

.home-hero-content h1 {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: 3.2em;
    line-height: 1.14;
    letter-spacing: -.03em;
    text-transform: none;
}

.home-hero-content .lead {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
}

.home-hero-content .btns {
    margin-bottom: 24px;
}

.home-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: rgba(255,255,255,.95);
    font-weight: 600;
    font-size: .95em;
}

.home-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-hero-points em {
    color: #ffb74a;
}

.home-quick-strip {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #e9eff8;
}

.home-quick-grid {
    display: flex;
    flex-wrap: wrap;
}

.home-quick-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e4ebf7;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(10, 37, 90, 0.04);
    height: 100%;
}

.home-quick-icon,
.home-scale-icon,
.highlight-icon,
.home-step-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff4ff, #ffffff);
    color: var(--pec-primary);
    border: 1px solid #dde7f7;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    font-size: 1.45em;
}

.home-quick-item h3,
.home-media-body h3,
.highlight-card h3,
.home-step-card h3,
.home-scale-card h3,
.home-dashboard-copy h2,
.home-section-head h2,
.home-cta-panel h2 {
    margin-top: 0;
    color: var(--pec-primary);
    font-weight: 700;
}

.home-quick-item h3 {
    font-size: 1.08em;
    margin-bottom: 8px;
}

.home-quick-item p,
.home-section-head p,
.home-media-body p,
.home-dashboard-copy p,
.highlight-card p,
.home-step-card p,
.home-scale-card p,
.home-cta-panel p {
    color: var(--pec-muted);
    line-height: 1.8;
}

.home-section-light {
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.home-section-head {
    max-width: 820px;
    margin: 0 auto 36px;
}

.home-section-head h2 {
    font-size: 2.45em;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.home-media-card,
.home-step-card,
.home-scale-card,
.highlight-card,
.home-dashboard-card,
.home-cta-panel {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(10, 37, 90, 0.06);
}

.home-media-card {
    overflow: hidden;
    height: 100%;
}

.home-media-thumb {
    padding: 18px 18px 0;
}

.home-media-thumb img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #edf2fb;
    background: #fff;
}

.home-media-body {
    padding: 24px 24px 28px;
}

.home-media-body h3 {
    font-size: 1.34em;
    margin-bottom: 12px;
}

.home-dashboard-card {
    padding: 28px;
    overflow: hidden;
}

.home-dashboard-preview {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5ebf5;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    box-shadow: 0 12px 32px rgba(12, 44, 110, .08);
}

.home-dashboard-preview img {
    width: 100%;
}

.home-dashboard-copy {
    padding: 8px 10px 8px 26px;
}

.home-dashboard-copy h2 {
    font-size: 2.3em;
    margin: 0 0 12px;
}

.home-check-list {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.home-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--pec-text);
}

.home-check-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pec-primary-2);
}

.home-highlights-slider .owl-stage {
    display: flex;
}

.home-highlights-slider .owl-item {
    display: flex;
}

.highlight-card {
    padding: 28px 24px;
    text-align: left;
    height: 100%;
}

.highlight-card h3 {
    font-size: 1.16em;
    margin: 18px 0 10px;
}

.home-highlights-slider .owl-nav {
    margin-top: 20px;
}

.home-highlights-slider .owl-nav .owl-prev,
.home-highlights-slider .owl-nav .owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--pec-primary);
    border: 1px solid #dfe7f6;
    box-shadow: 0 8px 18px rgba(10, 37, 90, .08);
}

.home-highlights-slider .owl-dots {
    margin-top: 18px;
}

.home-step-card,
.home-scale-card {
    position: relative;
    padding: 28px 26px;
    height: 100%;
}

.home-step-number {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pec-primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(10, 37, 90, .16);
}

.home-step-card h3,
.home-scale-card h3 {
    font-size: 1.2em;
    margin: 18px 0 10px;
}

.home-scale-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.home-scale-card li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--pec-text);
}

.home-scale-card li::before {
    content: "\2022";
    position: absolute;
    left: 8px;
    top: 0;
    color: var(--pec-accent);
    font-size: 1.5em;
    line-height: 1;
}

.home-cta-section {
    padding-bottom: 0;
}

.home-cta-panel {
    padding: 34px 36px;
    background: linear-gradient(120deg, #07235e 0%, #0d3c98 100%);
    border-color: rgba(255,255,255,.08);
}

.home-cta-panel h2,
.home-cta-panel p {
    color: #fff;
}

.home-cta-actions .btn {
    margin-left: 10px;
    margin-bottom: 10px;
}

.home-cta-actions .btn.btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.42);
}

.home-cta-actions .btn.btn-outline:hover {
    background: rgba(255,255,255,.08);
}

@media (min-width: 992px) {
    .home-card-grid,
    .home-steps-row,
    .home-scale-row {
        display: flex;
        flex-wrap: wrap;
    }

    .home-card-grid > [class*="col-"],
    .home-steps-row > [class*="col-"],
    .home-scale-row > [class*="col-"] {
        display: flex;
    }
}

@media (max-width: 1199px) {
    .home-hero-content h1 {
        font-size: 2.9em;
    }

    .home-dashboard-copy {
        padding-left: 12px;
    }
}

@media (max-width: 991px) {
    .home-hero-content {
        padding: 34px 0 28px;
    }

    .home-hero-content h1 {
        font-size: 2.4em;
    }

    .home-section-head h2,
    .home-dashboard-copy h2 {
        font-size: 2em;
    }

    .home-dashboard-card {
        padding: 22px;
    }

    .home-dashboard-copy {
        padding: 10px 0 0;
    }

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

    .home-cta-actions .btn {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media (max-width: 767px) {
    .home-hero-content h1 {
        font-size: 2em;
    }

    .home-hero-content .lead {
        font-size: 1em;
        line-height: 1.7;
    }

    .home-hero-points {
        gap: 10px 16px;
        font-size: .9em;
    }

    .home-section-head h2,
    .home-dashboard-copy h2 {
        font-size: 1.7em;
    }

    .home-quick-item,
    .home-dashboard-card,
    .home-media-body,
    .home-step-card,
    .home-scale-card,
    .highlight-card,
    .home-cta-panel {
        border-radius: 18px;
    }

    .home-cta-panel {
        padding: 26px 22px;
    }
}

.home-latest-section {
    background: #fff;
}

.home-latest-shell {
    position: relative;
    overflow: hidden;
    padding: 38px 36px 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(38, 99, 205, .28), transparent 30%),
        linear-gradient(135deg, #061c4b 0%, #0b327e 100%);
    box-shadow: 0 24px 55px rgba(6, 28, 75, .16);
}

.home-latest-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.home-latest-heading,
.home-latest-slider {
    position: relative;
    z-index: 1;
}

.home-latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

.home-latest-heading .home-kicker {
    margin-bottom: 8px;
}

.home-latest-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 2.35em;
    font-weight: 700;
    letter-spacing: -.02em;
}

.home-latest-heading p {
    margin: 0;
    color: rgba(255,255,255,.75);
}

.home-latest-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-latest-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    background: rgba(255,255,255,.06);
    transition: all .25s ease;
}

.home-latest-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
    transform: translateY(-1px);
}

.home-latest-slider .owl-stage {
    display: flex;
}

.home-latest-slider .owl-item {
    display: flex;
}

.home-latest-card {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.home-latest-image {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: #e9eef8;
}

.home-latest-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 17, 46, .45), transparent 55%);
    pointer-events: none;
}

.home-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.home-latest-card:hover .home-latest-image img {
    transform: scale(1.035);
}

.home-latest-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 37, 99, .88);
    backdrop-filter: blur(8px);
    font-size: .82em;
    font-weight: 700;
}

.home-latest-body {
    display: flex;
    flex-direction: column;
    min-height: 252px;
    padding: 22px 22px 24px;
}

.home-latest-body time {
    margin-bottom: 10px;
    color: #8490a2;
    font-size: .86em;
    font-weight: 600;
}

.home-latest-body h3 {
    margin: 0 0 10px;
    font-size: 1.18em;
    line-height: 1.45;
    font-weight: 700;
}

.home-latest-body h3 a {
    color: var(--pec-primary);
}

.home-latest-body h3 a:hover {
    color: var(--pec-primary-2);
}

.home-latest-body p {
    flex: 1 1 auto;
    margin-bottom: 18px;
    color: var(--pec-muted);
    line-height: 1.65;
}

.home-latest-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pec-primary-2);
    font-weight: 700;
}

.home-latest-read span {
    transition: transform .2s ease;
}

.home-latest-read:hover span {
    transform: translateX(3px);
}

.home-latest-slider .owl-nav {
    position: absolute;
    top: -69px;
    right: 0;
}

.home-latest-slider .owl-nav .owl-prev,
.home-latest-slider .owl-nav .owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
}

.home-latest-slider .owl-dots {
    margin-top: 22px;
}

.home-latest-slider .owl-dot span {
    background: rgba(255,255,255,.38);
}

.home-latest-slider .owl-dot.active span {
    background: #fff;
}

@media (max-width: 991px) {
    .home-latest-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-latest-slider .owl-nav {
        position: static;
        margin-top: 18px;
    }
}

@media (max-width: 767px) {
    .home-latest-shell {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .home-latest-heading h2 {
        font-size: 1.75em;
    }

    .home-latest-image {
        height: 200px;
    }

    .home-latest-body {
        min-height: auto;
    }
}

/* Refined service illustrations: CSS based, crisp at every resolution. */
.home-service-card {
    overflow: hidden;
    height: 100%;
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(10, 37, 90, 0.06);
}

.home-service-visual {
    position: relative;
    height: 220px;
    margin: 18px 18px 0;
    overflow: hidden;
    border: 1px solid #e4ebf7;
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 15%, rgba(49, 106, 225, .16), transparent 32%),
        linear-gradient(145deg, #f8fbff 0%, #eef4ff 100%);
}

.home-service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(20, 69, 157, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 69, 157, .04) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.pool-visual .service-main-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 3.1em;
    background: linear-gradient(145deg, #ffb42b, #f28b00);
    box-shadow: 0 18px 34px rgba(242, 139, 0, .28), inset 0 1px 0 rgba(255,255,255,.7);
}

.service-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(32, 83, 178, .22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one { width: 150px; height: 150px; }
.orbit-two { width: 205px; height: 205px; }

.service-node {
    position: absolute;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #164ca9;
    background: #fff;
    border: 1px solid #dce6f8;
    box-shadow: 0 10px 22px rgba(10, 37, 90, .12);
}

.node-one { left: 16%; top: 28%; }
.node-two { right: 15%; top: 26%; }
.node-three { right: 19%; bottom: 17%; }

.monitor-shell {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 78%;
    height: 68%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: linear-gradient(160deg, #08245b, #0b3a91);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 38px rgba(5, 31, 79, .24);
    padding: 14px;
}

.monitor-top {
    display: flex;
    gap: 5px;
    margin-bottom: 12px;
}

.monitor-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
}

.monitor-chart {
    position: relative;
    height: 84px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
}

.monitor-chart i {
    position: absolute;
    bottom: 16px;
    width: 8%;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #67b7ff, #276dd8);
}

.monitor-chart i:nth-child(1) { left: 8%; height: 24%; }
.monitor-chart i:nth-child(2) { left: 22%; height: 47%; }
.monitor-chart i:nth-child(3) { left: 36%; height: 35%; }
.monitor-chart i:nth-child(4) { left: 50%; height: 68%; }
.monitor-chart i:nth-child(5) { left: 64%; height: 55%; }
.monitor-chart i:nth-child(6) { left: 78%; height: 82%; }

.monitor-chart b {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 28%;
    height: 2px;
    background: linear-gradient(90deg, #ff9f1a, #ffd16c);
    transform: rotate(-7deg);
    box-shadow: 0 0 12px rgba(255,159,26,.65);
}

.monitor-metrics {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.monitor-metrics span {
    height: 27px;
    flex: 1;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
}

.miner-stack {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 68%;
    transform: translate(-50%, -50%);
}

.miner-unit {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    margin: 8px 0;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #17335f, #0a1e42);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 20px rgba(5, 25, 62, .18);
}

.miner-unit i {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 3px solid #65a9ff;
    box-shadow: inset 0 0 0 2px #0e2858;
}

.miner-unit b {
    margin-left: auto;
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2fd49a 65%, rgba(255,255,255,.16) 65%);
}

.management-badge {
    position: absolute;
    z-index: 4;
    right: 15%;
    bottom: 14%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, #ffae21, #f18300);
    box-shadow: 0 12px 24px rgba(241,131,0,.27);
    font-size: 1.35em;
}

.home-dashboard-preview {
    aspect-ratio: 2400 / 1144;
    background: #f7f9fd;
}

.home-dashboard-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-dashboard-button {
    min-width: 198px;
    background: #fff !important;
    color: var(--pec-primary) !important;
    border: 2px solid var(--pec-accent) !important;
}

.home-dashboard-button:hover,
.home-dashboard-button:focus {
    background: var(--pec-accent) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .home-service-visual {
        height: 190px;
    }
}


/* Multilingual latest-content hardening. */
.home-latest-slider .owl-stage {
    align-items: stretch;
}

.home-latest-slider .owl-item {
    min-width: 0;
    height: auto;
}

.home-latest-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.home-latest-body {
    flex: 1 1 auto;
    min-width: 0;
}

.home-latest-body h3 {
    height: 4.35em;
    min-height: 4.35em;
    max-height: 4.35em;
    overflow: hidden;
}

.home-latest-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.home-latest-body p {
    display: -webkit-box;
    max-height: 6.6em;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

@media (max-width: 767px) {
    .home-latest-body h3 {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .home-latest-body h3 a,
    .home-latest-body p {
        display: block;
        max-height: none;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
}

/* ========================================================================== */
/* 2026 Product-grade Home refresh: signature hero, product showcase and flow */
/* ========================================================================== */
.home-hero-banner {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 18%, rgba(61, 132, 255, .31), transparent 25%),
        radial-gradient(circle at 72% 90%, rgba(26, 208, 190, .10), transparent 25%),
        linear-gradient(122deg, #031437 0%, #07235c 52%, #0b3b94 100%);
}

.home-hero-banner::before {
    background: linear-gradient(90deg, rgba(3, 20, 55, .25) 0%, rgba(3, 20, 55, .05) 58%, rgba(3, 20, 55, .08) 100%);
    z-index: 0;
}

.home-hero-grid,
.home-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero-grid {
    opacity: .26;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28));
}

.home-hero-glow::before,
.home-hero-glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.home-hero-glow::before {
    width: 420px;
    height: 420px;
    right: 3%;
    top: 4%;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 0 90px rgba(44,112,255,.12) inset;
}

.home-hero-glow::after {
    width: 190px;
    height: 190px;
    right: 17%;
    bottom: -80px;
    background: rgba(33, 173, 221, .08);
}

.home-hero-content {
    width: 100%;
    padding: 64px 0 58px;
}

.home-hero-content h1 {
    max-width: 790px;
    font-size: 3.45em;
    line-height: 1.1;
    text-shadow: 0 16px 40px rgba(0,0,0,.16);
}

.home-hero-content .lead {
    max-width: 690px;
    color: rgba(255,255,255,.82);
}

.home-hero-content .btns .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.035);
}

.home-hero-content .btns .btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

.home-hero-network {
    position: relative;
    width: 390px;
    height: 390px;
    margin: 0 auto;
}

.hero-orbit,
.hero-core,
.hero-node,
.hero-pulse {
    position: absolute;
}

.hero-orbit {
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero-orbit-a {
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.25);
}

.hero-orbit-b {
    width: 315px;
    height: 315px;
    border: 1px dashed rgba(255,255,255,.18);
}

.hero-orbit-c {
    width: 385px;
    height: 385px;
    border: 1px solid rgba(78,147,255,.18);
}

.hero-core,
.hero-node {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
    box-shadow: 0 24px 55px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.28);
    backdrop-filter: blur(12px);
}

.hero-core {
    left: 50%;
    top: 50%;
    width: 122px;
    height: 122px;
    margin: -61px 0 0 -61px;
    border-radius: 34px;
}

.hero-core img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.hero-node {
    width: 65px;
    height: 65px;
    border-radius: 19px;
    font-size: 1.45em;
}

.hero-node-pool { left: 12px; top: 87px; }
.hero-node-monitor { right: 5px; top: 83px; }
.hero-node-manage { left: 45px; bottom: 20px; }
.hero-node-secure { right: 39px; bottom: 18px; }

.hero-pulse {
    z-index: 2;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #65a1ff;
    box-shadow: 0 0 0 8px rgba(101,161,255,.08), 0 0 26px rgba(101,161,255,.7);
}
.hero-pulse-a { left: 49px; top: 45px; }
.hero-pulse-b { right: 60px; bottom: 88px; }

/* Quick capabilities are now an information rail instead of four floating cards. */
.home-quick-strip {
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
}

.home-quick-grid {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px solid #e7edf6;
}

.home-quick-grid > [class*="col-"] {
    padding: 0;
}

.home-quick-item {
    position: relative;
    min-height: 124px;
    padding: 26px 22px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.home-quick-grid > [class*="col-"]:not(:last-child) .home-quick-item::after {
    content: "";
    position: absolute;
    top: 27px;
    bottom: 27px;
    right: 0;
    width: 1px;
    background: #e5ebf4;
}

.home-quick-icon {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    background: #edf3ff;
    font-size: 1.25em;
}

/* Product showcase: editorial split layout, no outer card. */
.home-product-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 75%, rgba(37, 101, 222, .08), transparent 28%),
        #fff;
}

.home-product-showcase {
    position: relative;
    padding: 26px 0;
}

.home-product-showcase::before {
    content: "";
    position: absolute;
    left: -100vw;
    right: -100vw;
    top: 50%;
    height: 1px;
    background: #edf1f7;
    z-index: 0;
}

.home-product-showcase > .row {
    position: relative;
    z-index: 1;
}

.home-product-stage {
    position: relative;
    padding: 30px 0 30px 28px;
}

.home-product-stage::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 84%;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(70,137,255,.25), transparent 28%),
        linear-gradient(145deg, #061b47 0%, #0b367f 100%);
    box-shadow: 0 25px 55px rgba(6,27,71,.16);
}

.home-product-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(5,25,66,.20);
}

.home-product-windowbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 13px;
    border-bottom: 1px solid #e7edf6;
    background: #f8fafd;
}

.home-product-windowbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9d3e3;
}

.home-product-windowbar b {
    margin-left: 10px;
    color: #8491a5;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
}

.home-dashboard-preview {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.home-dashboard-preview img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: auto;
}

.home-dashboard-copy {
    padding-left: 42px;
}

/* Keep the PWA feature actionable inside the carousel. */
.highlight-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.highlight-card-link:hover,
.highlight-card-link:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: #cbd9f0;
    box-shadow: 0 22px 45px rgba(10,37,90,.105);
}

.highlight-link-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    color: var(--pec-primary-2);
    font-size: .88em;
    font-weight: 700;
}

/* PECPool Apps: one branded band with three platform choices. */
.home-apps-section {
    overflow: hidden;
    background: #fff;
}

.home-apps-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(270px, .88fr) minmax(0, 1.45fr);
    gap: 36px;
    align-items: center;
    overflow: hidden;
    padding: 34px 36px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 0%, rgba(70,140,255,.28), transparent 26%),
        linear-gradient(128deg, #051943 0%, #0a3178 68%, #0c429d 100%);
    box-shadow: 0 25px 58px rgba(6,27,71,.15);
}

.home-apps-band::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.home-apps-copy,
.home-app-platforms { position: relative; z-index: 1; }

.home-apps-copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 2.18em;
    font-weight: 700;
    letter-spacing: -.025em;
}

.home-apps-copy p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.76);
    line-height: 1.72;
}

.home-apps-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255,255,255,.88);
    font-size: .86em;
    line-height: 1.55;
}
.home-apps-note em { margin-top: 3px; color: #64d8b0; }

.home-app-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.home-app-platform {
    display: flex;
    min-width: 0;
    min-height: 158px;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 19px;
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    transition: .22s ease;
}

.home-app-platform:hover,
.home-app-platform:focus {
    color: #fff;
    text-decoration: none;
    border-color: rgba(255,255,255,.36);
    background: rgba(255,255,255,.14);
    transform: translateY(-3px);
}

.home-app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255,255,255,.14);
    font-size: 1.5em;
}

.home-app-info { display: block; margin: 13px 0 10px; }
.home-app-info strong { display: block; color: #fff; font-size: 1.08em; }
.home-app-info small { display: block; margin-top: 3px; color: rgba(255,255,255,.67); line-height: 1.4; }
.home-app-action { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .82em; font-weight: 700; }

/* Steps are a connected timeline instead of three detached cards. */
.home-steps-section { background: #fff; }
.home-steps-row { position: relative; }
.home-steps-row::before {
    content: "";
    position: absolute;
    left: 16.666%;
    right: 16.666%;
    top: 28px;
    height: 1px;
    background: linear-gradient(90deg, #d9e3f4, #9db8ed, #d9e3f4);
}

.home-step-card {
    position: relative;
    z-index: 1;
    padding: 0 28px 10px;
    text-align: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-step-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border: 6px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #0b2c6f, #1f5bd1);
    box-shadow: 0 12px 28px rgba(10,54,130,.17);
}

.home-step-number {
    top: -7px;
    right: calc(50% - 42px);
    width: 25px;
    height: 25px;
    font-size: .72em;
    background: #f59b1b;
    box-shadow: 0 5px 12px rgba(245,155,27,.25);
}

.home-step-card h3 { margin-top: 17px; }

/* Scale is a connected progression rail, not another three-card block. */
.home-scale-section {
    background: linear-gradient(180deg, #f6f9fe 0%, #fbfdff 100%);
}

.home-scale-row {
    position: relative;
    padding-top: 12px;
}

.home-scale-row::before {
    content: "";
    position: absolute;
    left: 17%;
    right: 17%;
    top: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(23,75,183,.16), rgba(23,75,183,.55), rgba(23,75,183,.16));
}

.home-scale-card {
    position: relative;
    z-index: 1;
    padding: 0 30px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.home-scale-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border: 7px solid #f8fbff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #0b2c6f, #2b67df);
    box-shadow: 0 12px 28px rgba(10,54,130,.16);
}

.home-scale-card ul {
    display: inline-block;
    max-width: 290px;
    margin-top: 16px;
    text-align: left;
}

/* Direction-safe refinements. */
html[dir="rtl"] .home-quick-grid > [class*="col-"]:not(:last-child) .home-quick-item::after {
    right: auto;
    left: 0;
}

html[dir="rtl"] .home-product-stage { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .home-product-stage::before { left: auto; right: 0; }
html[dir="rtl"] .home-product-windowbar b { margin-left: 0; margin-right: 10px; }
html[dir="rtl"] .home-dashboard-copy { padding-left: 0; padding-right: 42px; }
html[dir="rtl"] .home-app-action em,
html[dir="rtl"] .highlight-link-label em { transform: rotate(180deg); }
html[dir="rtl"] .home-scale-card ul { text-align: right; }

@media (max-width: 1199px) {
    .home-hero-content h1 { font-size: 3em; }
    .home-hero-network { width: 350px; height: 350px; transform: scale(.92); transform-origin: center; }
    .home-apps-band { grid-template-columns: .85fr 1.5fr; gap: 24px; padding: 30px; }
    .home-app-platform { padding: 15px; }
}

@media (max-width: 991px) {
    .home-hero-banner { min-height: 430px; }
    .home-hero-content { padding: 56px 0 50px; }
    .home-hero-content h1 { font-size: 2.55em; }
    .home-quick-grid > [class*="col-"]:nth-child(2) .home-quick-item::after { display: none; }
    .home-quick-grid > [class*="col-"] { border-bottom: 1px solid #eef2f8; }
    .home-product-stage,
    html[dir="rtl"] .home-product-stage { padding: 25px; }
    .home-product-stage::before { width: 100%; }
    .home-dashboard-copy,
    html[dir="rtl"] .home-dashboard-copy { padding: 22px 0 0; }
    .home-apps-band { grid-template-columns: 1fr; }
    .home-steps-row::before,
    .home-scale-row::before { display: none; }
}

@media (max-width: 767px) {
    .home-hero-banner { min-height: 0; }
    .home-hero-content { padding: 50px 0 46px; }
    .home-hero-content h1 { font-size: 2.12em; }
    .home-quick-grid > [class*="col-"] { border-bottom: 1px solid #eef2f8; }
    .home-quick-grid > [class*="col-"] .home-quick-item::after { display: none !important; }
    .home-quick-item { min-height: 0; padding: 20px 8px; }
    .home-product-stage,
    html[dir="rtl"] .home-product-stage { padding: 18px; }
    .home-product-window { border-radius: 14px; }
    .home-apps-band { padding: 27px 20px; border-radius: 21px; }
    .home-apps-copy h2 { font-size: 1.72em; }
    .home-app-platforms { grid-template-columns: 1fr; }
    .home-app-platform { min-height: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 13px; align-items: center; }
    .home-app-info { margin: 0; }
    .home-app-action { grid-column: 2; margin-top: 7px; }
    .home-step-card,
    .home-scale-card { padding-left: 12px; padding-right: 12px; margin-bottom: 32px; }
    .home-step-number { right: calc(50% - 42px); }
    .home-scale-card ul { max-width: 100%; }
}
