.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: 1200 / 716;
    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;
    }
}
