.roi-page {
    background: #f8fbff;
}

.roi-hero {
    min-height: 760px;
    padding: 170px 0 90px;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(248, 251, 255, 0.94) 0%, rgba(234, 240, 248, 0.9) 58%, rgba(219, 231, 245, 0.82) 100%),
        url("../images/banner-bg-img.png") center/cover no-repeat;
}

.roi-hero::after {
    content: "";
    position: absolute;
    right: -12%;
    top: 18%;
    width: 46%;
    height: 54%;
    border: 1px solid rgba(26, 90, 255, 0.18);
    transform: rotate(-10deg);
    border-radius: 40px;
    pointer-events: none;
}

.roi-hero-copy {
    position: relative;
    z-index: 1;
}

.roi-kicker,
.roi-assumption {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0b2a66;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(11, 42, 102, 0.12);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(11, 42, 102, 0.08);
}

.roi-hero h1 {
    color: #0b2a66;
    font-size: 68px;
    line-height: 72px;
    letter-spacing: 0;
    margin: 24px 0 28px;
}

.roi-hero p {
    max-width: 620px;
    color: #334155;
    font-size: 19px;
    line-height: 30px;
    margin-bottom: 30px;
}

.roi-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.roi-assumption {
    font-size: 14px;
    color: #4a5a73;
}

.roi-hero-panel {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid rgba(11, 42, 102, 0.1);
    box-shadow: 0 28px 70px rgba(11, 42, 102, 0.16);
    border-radius: 8px;
    padding: 28px;
}

.roi-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.signal-card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 8px;
    color: #0b2a66;
    background: #f2f6fc;
    border: 1px solid rgba(11, 42, 102, 0.08);
}

.signal-card.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0b2a66 0%, #1a5aff 100%);
}

.signal-card i {
    font-size: 28px;
}

.signal-card span {
    font-size: 18px;
    font-weight: 800;
}

.roi-flow {
    margin-top: 20px;
    padding: 22px;
    border-radius: 8px;
    background: #0b0f1a;
    color: #ffffff;
}

.roi-flow span,
.roi-flow small {
    color: #eaf0f8;
    display: block;
}

.roi-flow strong {
    display: block;
    color: #ffffff;
    font-size: 58px;
    line-height: 1;
    margin: 10px 0 16px;
}

.roi-flow-bar {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 12px;
}

.roi-flow-bar span {
    display: block;
    height: 100%;
    width: 45%;
    border-radius: 999px;
    background: #1a5aff;
}

.roi-service-section {
    padding: 96px 0 86px;
    background: #ffffff;
}

.roi-service-title span {
    display: inline-flex;
    align-items: center;
    color: #1a5aff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.roi-service-title h2 {
    max-width: 720px;
    color: #0b2a66;
    font-size: 52px;
    line-height: 60px;
    letter-spacing: 0;
    margin-bottom: 0;
}

.roi-service-lead {
    color: #334155;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 0;
}

.roi-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.roi-service-card {
    min-height: 365px;
    padding: 28px;
    border-radius: 8px;
    background: #f8fbff;
    border: 1px solid rgba(11, 42, 102, 0.1);
    box-shadow: 0 18px 48px rgba(11, 42, 102, 0.07);
}

.roi-service-card.featured {
    color: #ffffff;
    background: linear-gradient(135deg, #0b2a66 0%, #1a5aff 100%);
    transform: translateY(-14px);
    box-shadow: 0 28px 62px rgba(26, 90, 255, 0.2);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    color: #ffffff;
    background: #0b2a66;
    margin-bottom: 28px;
}

.roi-service-card.featured .service-icon {
    color: #0b2a66;
    background: #ffffff;
}

.service-icon i {
    font-size: 24px;
}

.roi-service-card > span {
    display: block;
    color: #1a5aff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.roi-service-card.featured > span,
.roi-service-card.featured h3,
.roi-service-card.featured p {
    color: #ffffff;
}

.roi-service-card h3 {
    color: #0b2a66;
    font-size: 27px;
    line-height: 34px;
    margin-bottom: 16px;
}

.roi-service-card p {
    color: #4a5a73;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 0;
}

.roi-service-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 52px rgba(11, 42, 102, 0.14);
}

.roi-service-strip div {
    min-height: 142px;
    padding: 26px;
    background: #0b0f1a;
}

.roi-service-strip strong,
.roi-service-strip span {
    display: block;
}

.roi-service-strip strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 10px;
}

.roi-service-strip span {
    color: #eaf0f8;
    font-size: 15px;
    line-height: 23px;
    font-weight: 600;
}

.roi-calculator-section {
    padding: 95px 0;
    background: #f8fbff;
}

.roi-input-panel,
.roi-dashboard,
.roi-chart-card {
    border-radius: 8px;
    border: 1px solid rgba(11, 42, 102, 0.1);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(11, 42, 102, 0.08);
}

.roi-input-panel {
    padding: 28px;
    position: sticky;
    top: 24px;
}

.roi-input-panel h2 {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 10px;
}

.roi-input-panel p {
    margin-bottom: 24px;
}

.roi-input-panel label {
    display: block;
    margin: 18px 0 8px;
    color: #0b2a66;
    font-size: 14px;
    font-weight: 800;
}

.roi-input {
    display: flex;
    align-items: center;
    min-height: 58px;
    border: 1px solid rgba(11, 42, 102, 0.14);
    border-radius: 8px;
    padding: 0 14px;
    background: #f8fbff;
}

.roi-input i {
    width: 26px;
    color: #1a5aff;
}

.roi-input input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #0b2a66;
    font-size: 22px;
    font-weight: 800;
}

.roi-input span {
    color: #4a5a73;
    font-size: 13px;
    font-weight: 800;
}

.roi-details {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(11, 42, 102, 0.1);
}

.roi-details summary {
    color: #0b2a66;
    font-weight: 800;
    cursor: pointer;
}

.roi-dashboard {
    padding: 26px;
    background: #f8fbff;
}

.roi-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.roi-metric {
    min-height: 158px;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(11, 42, 102, 0.08);
}

.roi-metric.primary {
    background: linear-gradient(135deg, #0b2a66 0%, #1a5aff 100%);
}

.roi-metric.long-term {
    border-color: rgba(26, 90, 255, 0.24);
    box-shadow: inset 0 0 0 1px rgba(26, 90, 255, 0.08);
}

.roi-metric span,
.roi-metric small {
    display: block;
    color: #4a5a73;
    font-weight: 700;
}

.roi-metric.primary span,
.roi-metric.primary small,
.roi-metric.primary strong {
    color: #ffffff;
}

.roi-metric strong {
    display: block;
    color: #0b2a66;
    font-size: 34px;
    line-height: 40px;
    margin: 14px 0 10px;
    word-break: break-word;
}

.roi-chart-card {
    padding: 24px;
    margin-bottom: 18px;
}

.roi-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.roi-chart-header h3 {
    color: #0b2a66;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 4px;
}

.roi-chart-header p {
    margin-bottom: 0;
}

.roi-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #4a5a73;
    font-size: 13px;
    font-weight: 800;
}

.roi-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.roi-chart-legend i {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: #1a5aff;
}

.roi-chart-legend span:last-child i {
    background: #0b2a66;
}

#roiChart {
    width: 100%;
    height: 360px;
    display: block;
}

.roi-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.roi-benefits div {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
    min-height: 98px;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(11, 42, 102, 0.08);
}

.roi-benefits i {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #ffffff;
    background: #0b2a66;
}

.roi-benefits strong {
    color: #0b2a66;
    font-size: 24px;
    line-height: 28px;
}

.roi-benefits span {
    color: #4a5a73;
    font-size: 14px;
    font-weight: 700;
}

.roi-context-section {
    padding: 80px 0;
    background: #f2f6fc;
}

.roi-context-section h2 {
    font-size: 46px;
    line-height: 54px;
    margin-bottom: 0;
}

.roi-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.roi-context-grid div {
    min-height: 150px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(11, 42, 102, 0.08);
}

.roi-context-grid i {
    color: #1a5aff;
    font-size: 24px;
    margin-bottom: 18px;
}

.roi-context-grid span {
    display: block;
    color: #334155;
    font-weight: 700;
    line-height: 22px;
}

@media (max-width: 1199px) {
    .roi-hero h1 {
        font-size: 56px;
        line-height: 62px;
    }

    .roi-service-title h2 {
        font-size: 44px;
        line-height: 52px;
    }

    .roi-service-card {
        min-height: 410px;
    }
}

@media (max-width: 991px) {
    .roi-hero {
        padding-top: 145px;
        min-height: auto;
    }

    .roi-hero-panel {
        margin-top: 34px;
    }

    .roi-input-panel {
        position: static;
        margin-bottom: 24px;
    }

    .roi-context-section h2 {
        margin-bottom: 24px;
    }

    .roi-context-grid {
        grid-template-columns: 1fr;
    }

    .roi-service-title h2,
    .roi-service-lead {
        margin-bottom: 22px;
    }

    .roi-service-grid,
    .roi-service-strip {
        grid-template-columns: 1fr;
    }

    .roi-service-card,
    .roi-service-card.featured {
        min-height: auto;
        transform: none;
    }
}

@media (max-width: 767px) {
    .roi-hero {
        padding: 128px 0 58px;
    }

    .roi-hero h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .roi-hero p {
        font-size: 17px;
        line-height: 26px;
    }

    .roi-signal-grid,
    .roi-metrics-grid,
    .roi-benefits {
        grid-template-columns: 1fr;
    }

    .roi-chart-header {
        flex-direction: column;
    }

    .roi-service-section {
        padding: 64px 0 58px;
    }

    .roi-service-title h2 {
        font-size: 36px;
        line-height: 44px;
    }

    #roiChart {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .roi-hero-actions .primary_btn {
        width: 100%;
    }

    .roi-input-panel,
    .roi-dashboard,
    .roi-chart-card,
    .roi-hero-panel {
        padding: 20px;
    }
}
