/* Homepage sections alternate white / light-blue surfaces, starting with white. */
.ec-home-page > section:nth-of-type(odd) {
    background: #fff;
}

.ec-home-page > section:nth-of-type(even) {
    background: #f7fafe;
}

/* Homepage metric strip (Figma 2404:12476). */
.ec-stat-grid--home-metrics {
    padding: 74px 0;
}

.ec-stat-grid--home-metrics .ec-stat-grid__list {
    height: auto;
}

.ec-stat-grid--home-metrics .ec-stat-grid__item {
    min-height: 0;
    padding: 0 36px;
}

.ec-stat-grid--home-metrics .ec-stat-grid__metric {
    height: 72px;
    flex: 0 0 72px;
    align-items: baseline;
}

.ec-stat-grid--home-metrics .ec-stat-grid__value {
    color: #1a76ff;
    font-size: 48px;
    font-weight: 700;
    line-height: 72px;
}

.ec-stat-grid--home-metrics .ec-stat-grid__unit {
    margin-left: 4px;
    color: #82879a;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.ec-stat-grid--home-metrics .ec-stat-grid__description {
    color: #272b34;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

@media (max-width: 1023px) {
    .ec-stat-grid--home-metrics {
        padding: 48px 0;
    }

    .ec-stat-grid--home-metrics .ec-stat-grid__item {
        min-height: 0;
        padding: 24px 16px;
    }
}

@media (max-width: 560px) {
    .ec-stat-grid--home-metrics .ec-stat-grid__list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Homepage system coverage section (Figma 2404:12588, card 2404:12777). */
.ec-home-systems,
.ec-home-systems * {
    box-sizing: border-box;
}

.ec-home-systems {
    --ec-home-systems-scroll-distance: 0px;
    --ec-home-systems-translate-x: 0px;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: clip;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-systems__inner {
    display: flex;
    width: min(1184px, calc(100% - 48px));
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
    padding: 72px 0;
}

.ec-home-systems__heading {
    margin: 0;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    white-space: nowrap;
}

.ec-home-systems__heading span {
    color: #1a76ff;
}

.ec-home-systems__cards {
    display: flex;
    width: 100%;
    gap: 36px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .ec-home-systems.is-scroll-driven {
        height: calc(100vh + var(--ec-home-systems-scroll-distance));
        height: calc(100svh + var(--ec-home-systems-scroll-distance));
    }

    .ec-home-systems.is-scroll-driven .ec-home-systems__inner {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100svh;
    }

    .ec-home-systems.is-scroll-driven .ec-home-systems__cards {
        overflow: visible;
        scroll-snap-type: none;
        transform: translate3d(var(--ec-home-systems-translate-x), 0, 0);
        will-change: transform;
    }

    .ec-home-systems.is-scroll-driven .ec-home-systems__heading {
        transform: translate3d(var(--ec-home-systems-translate-x), 0, 0);
        will-change: transform;
    }
}

.ec-home-systems__cards::-webkit-scrollbar {
    display: none;
}

.ec-home-systems__cards:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.55);
    outline-offset: 8px;
}

.ec-home-systems__card {
    display: flex;
    width: 339px;
    height: 513px;
    flex: 0 0 339px;
    flex-direction: column;
    gap: 24px;
    padding: 18.5px 20px 23.5px;
    overflow: hidden;
    border-radius: 24px;
    background: #f7faff;
    scroll-snap-align: start;
}

.ec-home-systems__card-header {
    flex: 0 0 auto;
}

.ec-home-systems__card-title {
    margin: 0;
    color: #272B34;
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
}

.ec-home-systems__card-description {
    display: -webkit-box;
    height: 36px;
    margin: 6px 0 0;
    overflow: hidden;
    color: #535D6D;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ec-home-systems__media {
    position: relative;
    width: 297px;
    height: 198px;
    flex: 0 0 198px;
}

.ec-home-systems__illustration {
    display: block;
    width: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    position: relative;
}

.ec-home-systems__badge {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    animation: ec-home-systems-badge-float 3.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes ec-home-systems-badge-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0);
    }

    35% {
        transform: translate3d(0, -6px, 0) rotate(3deg);
    }

    70% {
        transform: translate3d(0, -2px, 0) rotate(-2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-home-systems__badge {
        animation: none;
    }

    .ec-home-systems {
        min-height: 0;
    }

    .ec-home-systems__inner {
        min-height: 0;
    }

    .ec-home-systems__cards {
        overflow-x: auto;
    }
}

.ec-home-systems__tags {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 32px;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.ec-home-systems__tag {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #e8f2ff;
    color: #1a76ff;
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
}

.ec-home-systems__button {
    display: flex;
    width: 100%;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1a76ff;
    border-radius: 26px;
    color: #1a76ff;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ec-home-systems__button:hover,
.ec-home-systems__button:focus-visible {
    border-color: transparent;
    background: linear-gradient(180deg, #438dff 0%, #1a76ff 100%);
    box-shadow: 0 5px 10px rgba(26, 118, 255, 0.24);
    color: #fff;
}


.ec-home-systems__button:active {
    background: #1a76ff;
    color: #fff;
    transform: translateY(0);
}

.ec-home-systems__card--featured .ec-home-systems__button {
    border-color: transparent;
    background: linear-gradient(180deg, #438dff 0%, #1a76ff 100%);
    box-shadow: 0 5px 10px rgba(26, 118, 255, 0.24);
    color: #fff;
}

.ec-home-systems__card--featured .ec-home-systems__button:hover,
.ec-home-systems__card--featured .ec-home-systems__button:focus-visible {
    background: linear-gradient(180deg, #2f80ff 0%, #075fdc 100%);
    box-shadow: 0 7px 14px rgba(26, 118, 255, 0.3);
    color: #fff;
}

.ec-home-systems__card--featured .ec-home-systems__button:active {
    background: #075fdc;
    box-shadow: 0 3px 7px rgba(26, 118, 255, 0.24);
}

@media (max-width: 1136px) {
    .ec-home-systems__inner {
        width: min(714px, calc(100% - 48px));
    }
}

@media (max-width: 767px) {
    .ec-home-systems {
        min-height: 0;
        overflow: hidden;
    }

    .ec-home-systems__inner {
        width: min(339px, calc(100% - 32px));
        min-height: 0;
        gap: 36px;
        padding: 72px 0;
    }

    .ec-home-systems__heading {
        width: 340px;
        max-width: 100%;
    }

    .ec-home-systems__cards {
        overflow-x: auto;
    }
}

@media (max-width: 400px) {
    .ec-home-systems__inner {
        padding: 48px 0;
    }

    .ec-home-systems__heading {
        font-size: 32px;
        line-height: 42px;
        white-space: normal;
    }

    .ec-home-systems__card {
        width: calc(100vw - 32px);
        height: auto;
        min-height: 513px;
        flex-basis: calc(100vw - 32px);
    }

    .ec-home-systems__media {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        flex-basis: auto;
    }
}

/* Homepage WMS regional solutions section (Figma 2404:11058). */
.ec-home-solutions,
.ec-home-solutions * {
    box-sizing: border-box;
}

.ec-home-solutions {
    width: 100%;
    padding: 72px 0;
    color: #191c27;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-solutions__inner {
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-solutions__title {
    margin: 0;
    color: #191c27;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-solutions__title span {
    color: #0066ff;
}

.ec-home-solutions__nav {
    width: min(600px, 100%);
    margin: 48px auto 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ec-home-solutions__nav::-webkit-scrollbar {
    display: none;
}

.ec-home-solutions__tablist {
    display: flex;
    width: 600px;
    height: 44px;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f5;
}

.ec-home-solutions__tab {
    display: flex;
    height: 44px;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 -1px;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #505668;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 300ms ease, border-color 300ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.ec-home-solutions__tab:hover {
    color: #191c27;
}

.ec-home-solutions__tab.is-active {
    border-bottom-color: #2468f2;
    color: #191c27;
    font-weight: 600;
}

.ec-home-solutions__tab:focus-visible {
    border-radius: 2px;
    outline: 2px solid rgba(36, 104, 242, 0.55);
    outline-offset: 3px;
}

.ec-home-solutions__frame {
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid #e1e9f7;
    border-radius: 16px;
    background: #fff;
}

.ec-home-solutions__panel[hidden] {
    display: none;
}

.ec-home-solutions__panel:focus-visible {
    outline: 3px solid rgba(36, 104, 242, 0.25);
    outline-offset: -3px;
}

.ec-home-solutions__header {
    display: flex;
    min-height: 144px;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 36px 48px;
    background: #f6f9ff;
}

.ec-home-solutions__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.ec-home-solutions__panel-title {
    margin: 0 0 8px;
    color: #16171a;
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
}

.ec-home-solutions__description {
    margin: 0;
    color: #7e8288;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.ec-home-solutions__cta {
    display: inline-flex;
    height: 52px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4086ff 0%, #1476ff 100%);
    box-shadow: 0 8px 20px rgba(20, 118, 255, 0.28);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.ec-home-solutions__cta:hover {
    box-shadow: 0 12px 26px rgba(20, 118, 255, 0.38);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.ec-home-solutions__cta:focus-visible {
    outline: 3px solid rgba(20, 118, 255, 0.35);
    outline-offset: 3px;
}

.ec-home-solutions__cta:active {
    box-shadow: 0 6px 14px rgba(20, 118, 255, 0.28);
    transform: translateY(0);
}

.ec-home-solutions__media {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
    background: #fff;
}

.ec-home-solutions__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 767px) {
    .ec-home-solutions {
        padding: 56px 0;
    }

    .ec-home-solutions__inner {
        width: calc(100% - 32px);
    }

    .ec-home-solutions__title {
        font-size: 32px;
        line-height: 42px;
    }

    .ec-home-solutions__nav {
        margin-top: 36px;
    }

    .ec-home-solutions__frame {
        margin-top: 32px;
    }

    .ec-home-solutions__header {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 28px 24px;
    }

    .ec-home-solutions__cta {
        height: 48px;
        padding: 0 36px;
    }
}

@media (max-width: 480px) {
    .ec-home-solutions__title {
        font-size: 30px;
        line-height: 40px;
    }

    .ec-home-solutions__header {
        padding: 24px 18px;
    }

    .ec-home-solutions__panel-title {
        font-size: 24px;
        line-height: 34px;
    }

    .ec-home-solutions__description {
        font-size: 15px;
    }

    .ec-home-solutions__cta {
        width: 100%;
        padding: 0 24px;
    }

    .ec-home-solutions__media {
        padding: 6px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-home-solutions__tab,
    .ec-home-solutions__cta {
        transition: none;
    }

    .ec-home-solutions__cta:hover {
        transform: none;
    }
}

/* Homepage role efficiency section (Figma 2404:11078). */
.ec-home-roles,
.ec-home-roles * {
    box-sizing: border-box;
}

.ec-home-roles {
    width: 100%;
    padding: 72px 0;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-roles__inner {
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-roles__heading {
    display: flex;
    height: 120px;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-roles__heading-highlight {
    color: #1a76ff;
}

.ec-home-roles__body {
    display: grid;
    height: 312px;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.ec-home-roles__tabs {
    display: grid;
    height: 312px;
    grid-template-rows: repeat(4, 48px);
    gap: 16px;
    padding: 30px 26px 42px;
    overflow: hidden;
    border-radius: 36px;
    background: linear-gradient(83deg, #f3f6ff 30.218%, #e9efff 100%);
}

.ec-home-roles__tab {
    display: flex;
    width: 148px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 40px;
    background: #f7fafe;
    color: #272b34;
    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.ec-home-roles__tab:hover {
    background: #edf4ff;
    color: #1a76ff;
}

.ec-home-roles__tab.is-active {
    background: #1a76ff;
    color: #fff;
}

.ec-home-roles__tab:focus-visible {
    outline: 3px solid rgba(26, 118, 255, 0.35);
    outline-offset: 3px;
}

.ec-home-roles__panels,
.ec-home-roles__panel {
    min-width: 0;
    height: 312px;
}

.ec-home-roles__panel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background: linear-gradient(60deg, #f3f6ff 30.218%, #e9efff 100%);
    box-shadow: 0 0 24px rgba(26, 118, 255, 0.24);
}

.ec-home-roles__panel[hidden] {
    display: none;
}

.ec-home-roles__panel.is-active {
    animation: ec-home-roles-panel-in 260ms ease-out both;
}

.ec-home-roles__panel:focus-visible {
    outline: 3px solid rgba(26, 118, 255, 0.32);
    outline-offset: -3px;
}

.ec-home-roles__copy {
    position: absolute;
    z-index: 4;
    top: 43px;
    left: 45px;
    width: 392px;
}

.ec-home-roles__panel-title {
    margin: 0 0 43px;
    color: #000;
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
}

.ec-home-roles__benefits {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-home-roles__benefit {
    display: flex;
    min-height: 26px;
    align-items: center;
    gap: 8px;
    color: #535d6d;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    white-space: nowrap;
}

.ec-home-roles__benefit span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.ec-home-roles__benefit img {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.ec-home-roles__visual {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ec-home-roles__orbit,
.ec-home-roles__character-frame,
.ec-home-roles__character {
    position: absolute;
    display: block;
}

.ec-home-roles__orbit,
.ec-home-roles__character {
    max-width: none;
}

.ec-home-roles__orbit--large {
    top: -44px;
    right: -18px;
    width: 518px;
    height: 518px;
}

.ec-home-roles__orbit--medium {
    top: 30px;
    right: 31px;
    width: 388px;
    height: 388px;
}

.ec-home-roles__orbit--small {
    top: -11px;
    right: 0;
    width: 461.4px;
    height: 493.4px;
}

.ec-home-roles__character-frame {
    z-index: 2;
    bottom: 0;
    height: 312px;
    overflow: hidden;
}

.ec-home-roles__character-frame--owner {
    right: 108px;
    width: 266px;
}

.ec-home-roles__character-frame--owner .ec-home-roles__character {
    inset: 0;
    width: 100%;
    height: 100%;
}

.ec-home-roles__character-frame--warehouse {
    right: 132px;
    width: 266px;
    transform: scaleX(-1);
}

.ec-home-roles__character-frame--warehouse .ec-home-roles__character {
    top: 0;
    left: -58.64%;
    width: 341.12%;
    height: 232.85%;
}

.ec-home-roles__character-frame--customer-service {
    right: 113px;
    width: 277px;
}

.ec-home-roles__character-frame--customer-service .ec-home-roles__character {
    top: 2.86%;
    left: 0;
    width: 100%;
    height: 110.94%;
}

.ec-home-roles__character-frame--finance {
    right: 94px;
    width: 323px;
    transform: scaleX(-1);
}

.ec-home-roles__character-frame--finance .ec-home-roles__character {
    inset: 0;
    width: 100%;
    height: 100%;
}

@keyframes ec-home-roles-panel-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1082px) {
    .ec-home-roles {
        padding: 56px 0;
    }

    .ec-home-roles__inner {
        width: min(960px, calc(100% - 40px));
    }

    .ec-home-roles__heading {
        display: block;
        height: auto;
        padding: 28px 0;
        font-size: 36px;
        line-height: 46px;
    }

    .ec-home-roles__body {
        display: block;
        height: auto;
        margin-top: 24px;
    }

    .ec-home-roles__tabs {
        display: grid;
        width: 100%;
        height: 80px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: 48px;
        gap: 12px;
        padding: 16px;
        border-radius: 28px;
    }

    .ec-home-roles__tab {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .ec-home-roles__panels,
    .ec-home-roles__panel {
        height: 520px;
    }

    .ec-home-roles__panels {
        margin-top: 24px;
    }

    .ec-home-roles__copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 32px 32px 280px;
    }

    .ec-home-roles__panel-title {
        margin-bottom: 24px;
    }

    .ec-home-roles__benefit {
        white-space: normal;
    }

    .ec-home-roles__visual {
        transform: scale(0.78);
        transform-origin: right bottom;
    }
}

@media (max-width: 619px) {
    .ec-home-roles {
        padding: 48px 0;
    }

    .ec-home-roles__inner {
        width: calc(100% - 32px);
    }

    .ec-home-roles__heading {
        padding: 16px 0;
        font-size: 32px;
        line-height: 42px;
    }

    .ec-home-roles__heading-tail {
        display: block;
    }

    .ec-home-roles__tabs {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ec-home-roles__tabs::-webkit-scrollbar {
        display: none;
    }

    .ec-home-roles__tab {
        width: 112px;
        flex: 0 0 112px;
        font-size: 18px;
    }

    .ec-home-roles__panels,
    .ec-home-roles__panel {
        height: 620px;
    }

    .ec-home-roles__copy {
        padding: 28px 20px 270px;
    }

    .ec-home-roles__panel-title {
        font-size: 22px;
        line-height: 30px;
    }

    .ec-home-roles__benefits {
        gap: 10px;
    }

    .ec-home-roles__benefit {
        align-items: flex-start;
        font-size: 16px;
        line-height: 24px;
    }

    .ec-home-roles__benefit img {
        margin-top: 1px;
    }

    .ec-home-roles__visual {
        transform: scale(0.64);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-home-roles__tab {
        transition: none;
    }

    .ec-home-roles__panel.is-active {
        animation: none;
    }
}

/* Homepage WMS pricing section (Figma 3028:6206). */
.ec-home-pricing,
.ec-home-pricing * {
    box-sizing: border-box;
}

.ec-home-pricing {
    width: 100%;
    padding: 72px 0;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-pricing__inner {
    display: flex;
    width: min(1184px, calc(100% - 48px));
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.ec-home-pricing__title {
    display: flex;
    height: 120px;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-pricing__title span {
    color: #1a76ff;
}

.ec-home-pricing__plans {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 374px));
    gap: 31px;
    justify-content: center;
}

.ec-home-pricing__card {
    display: flex;
    min-width: 0;
    min-height: 543px;
    flex-direction: column;
    padding: 32px 38px;
    border: 1px solid rgba(171, 205, 255, 0.32);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 0 8px rgba(26, 118, 255, 0.08);
}

.ec-home-pricing__card:hover,
.ec-home-pricing__card--featured {
    border-color: #1a76ff;
    box-shadow: 0 0 24px rgba(26, 118, 255, 0.16);
}

.ec-home-pricing__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ec-home-pricing__name {
    margin: 0;
    color: #272b34;
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
}

.ec-home-pricing__audience {
    margin: 0;
    color: #7e8288;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.ec-home-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 28px 0 0;
}

.ec-home-pricing__amount {
    color: #fa9b51;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
}

.ec-home-pricing__period {
    color: #82879a;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.ec-home-pricing__cta {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: 21px;
    padding: 0 54px;
    border: 2px solid #1a76ff;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 69, 173, 0.12);
    color: #1a76ff;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.ec-home-pricing__cta:hover,
.ec-home-pricing__cta:focus-visible {
    color: #075fdc;
    text-decoration: none;
    transform: translateY(-1px);
}

.ec-home-pricing__cta:focus-visible {
    outline: 3px solid rgba(26, 118, 255, 0.24);
    outline-offset: 2px;
}

.ec-home-pricing__cta--primary {
    border-color: transparent;
    background: linear-gradient(125deg, #4086ff 0%, #1a76ff 100%);
    color: #fff;
    font-weight: 700;
}

.ec-home-pricing__cta--primary:hover,
.ec-home-pricing__cta--primary:focus-visible {
    background: linear-gradient(125deg, #2f80ff 0%, #075fdc 100%);
    color: #fff;
}

.ec-home-pricing__benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.ec-home-pricing__benefit {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #545d6e;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.ec-home-pricing__benefit em {
    color: #fa9b51;
    font-style: normal;
}

.ec-home-pricing__benefit strong {
    color: #1a76ff;
    font-weight: 700;
}

.ec-home-pricing__star {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: url('/pc/www/images/home-new/pricing-star.svg') center / contain no-repeat;
}

.ec-home-pricing__perks {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-home-pricing__perk {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(171, 205, 255, 0.32);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 8px rgba(26, 118, 255, 0.08);
    color: #272b34;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
}

@media (max-width: 1023px) {
    .ec-home-pricing__inner {
        width: min(768px, calc(100% - 40px));
    }

    .ec-home-pricing__title {
        height: auto;
        padding: 24px 0;
        font-size: 34px;
        line-height: 44px;
    }

    .ec-home-pricing__plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .ec-home-pricing__card {
        min-height: 0;
    }

    .ec-home-pricing__perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .ec-home-pricing {
        padding: 48px 0;
    }

    .ec-home-pricing__inner {
        width: calc(100% - 32px);
    }

    .ec-home-pricing__title {
        font-size: 28px;
        line-height: 38px;
    }

    .ec-home-pricing__perks {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-home-pricing__cta {
        transition: none;
    }

    .ec-home-pricing__cta:hover,
    .ec-home-pricing__cta:focus-visible {
        transform: none;
    }
}

/* Homepage security & certification section (Figma 3028:6133, ported layout). */
.ec-home-security,
.ec-home-security * {
    box-sizing: border-box;
}

/* Exception: this section uses a dedicated background per design request. */
.ec-home-page > section.ec-home-security {
    background: url('/pc/www/images/security-bg.png') top center / 100% auto no-repeat,
        linear-gradient(180deg, #f3f7ff 0%, #fff 42%);
}

.ec-home-security {
    width: 100%;
    padding: 72px 0;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-security__inner {
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-security__title {
    margin: 0;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-security__title span {
    color: #1a76ff;
}

.ec-home-security__main {
    margin-top: 48px;
}

.ec-home-security__cert-grid,
.ec-home-security__partner-grid {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-home-security__cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ec-home-security__cert-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    border: 1px solid rgba(171, 205, 255, 0.32);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 8px rgba(26, 118, 255, 0.08);
    text-align: center;
}

.ec-home-security__cert-img {
    display: flex;
    height: 72px;
    align-items: center;
    justify-content: center;
}

.ec-home-security__cert-img img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.ec-home-security__cert-name {
    margin: 0;
    color: #272b34;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.ec-home-security__divider {
    width: 100%;
    height: 1px;
    margin: 40px 0;
    background: #edf0f5;
}

.ec-home-security__partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ec-home-security__partner-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(171, 205, 255, 0.32);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 8px rgba(26, 118, 255, 0.08);
    text-align: center;
}

.ec-home-security__partner-logo {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.ec-home-security__partner-logo img {
    display: block;
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
}

.ec-home-security__partner-name {
    margin: 0;
    color: #545d6e;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

@media (max-width: 1023px) {
    .ec-home-security__inner {
        width: min(720px, calc(100% - 40px));
    }

    .ec-home-security__title {
        font-size: 34px;
        line-height: 44px;
    }

    .ec-home-security__partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ec-home-security__cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ec-home-security__partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ec-home-security {
        padding: 48px 0;
    }

    .ec-home-security__inner {
        width: calc(100% - 32px);
    }

    .ec-home-security__title {
        font-size: 28px;
        line-height: 38px;
    }

    .ec-home-security__cert-grid,
    .ec-home-security__partner-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* Homepage service lifecycle section (Figma 2404:12016). */
.ec-home-service,
.ec-home-service * {
    box-sizing: border-box;
}

.ec-home-service {
    width: 100%;
    padding: 72px 0;
    overflow: hidden;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-service__inner {
    width: 100%;
}

.ec-home-service__heading {
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 24px;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-service__heading span {
    color: #1a76ff;
}

.ec-home-service__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1184px, calc(100% - 48px));
    align-items: stretch;
    gap: 18px;
    margin: 32px auto 0;
}

.ec-home-service__artwork {
    width: 100%;
    min-width: 0;
    aspect-ratio: 282 / 460;
    overflow: hidden;
    border-radius: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ec-home-service__artwork--support {
    background-image: url('/pc/www/images/home-new/service-support-card.png');
}

.ec-home-service__artwork--onboarding {
    background-image: url('/pc/www/images/home-new/service-onboarding-card.png');
}

.ec-home-service__column {
    display: grid;
    min-width: 0;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ec-home-service__card {
    position: relative;
    display: flex;
    min-width: 0;
    aspect-ratio: 282 / 221;
    flex-direction: column;
    padding: 28px 34px 27px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 40px;
    background: #f7fafe;
}

.ec-home-service__card--warm {
    background: #fffdf5;
}

.ec-home-service__card-title {
    margin: 0;
    padding-right: 48px;
    color: #272b34;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

.ec-home-service__icon {
    position: absolute;
    top: 24px;
    right: 32px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
}

.ec-home-service__icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.ec-home-service__description {
    margin: auto 0 0;
    color: #545d6e;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.ec-home-service__description span {
    display: block;
}

.ec-home-service__visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 959px) {
    .ec-home-service__grid {
        grid-template-areas:
            "support primary"
            "onboarding secondary";
        grid-template-columns: repeat(2, minmax(0, 282px));
        width: min(582px, calc(100% - 40px));
        justify-content: center;
    }

    .ec-home-service__artwork--support {
        grid-area: support;
    }

    .ec-home-service__artwork--onboarding {
        grid-area: onboarding;
    }

    .ec-home-service__column--primary {
        grid-area: primary;
    }

    .ec-home-service__column--secondary {
        grid-area: secondary;
    }
}

@media (max-width: 619px) {
    .ec-home-service {
        padding: 48px 0;
    }

    .ec-home-service__heading {
        width: 100%;
        padding: 16px 20px;
        font-size: 32px;
        line-height: 42px;
    }

    .ec-home-service__grid {
        grid-template-areas:
            "support"
            "primary"
            "onboarding"
            "secondary";
        grid-template-columns: minmax(0, 1fr);
        width: min(360px, calc(100% - 40px));
        gap: 18px;
        margin-top: 24px;
    }
}

@media (max-width: 400px) {
    .ec-home-service__heading {
        padding-right: 16px;
        padding-left: 16px;
        font-size: 28px;
        line-height: 38px;
    }

    .ec-home-service__grid {
        width: calc(100% - 32px);
    }

    .ec-home-service__card {
        padding: 24px 28px;
    }

    .ec-home-service__icon {
        top: 20px;
        right: 24px;
    }
}
/* Homepage global coverage section (Figma 3057:6383). */
.ec-home-coverage,
.ec-home-coverage * {
    box-sizing: border-box;
}

.ec-home-coverage {
    width: 100%;
    padding: 72px 0;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-coverage__inner {
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-coverage__title {
    margin-bottom: 18px;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-coverage__title span {
    color: #1a76ff;
}

.ec-home-coverage__map {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.ec-home-coverage__map img {
    display: block;
    width: 100%;
    max-width: 875px;
    height: auto;
}

@media (max-width: 1023px) {
    .ec-home-coverage {
        padding: 56px 0;
    }

    .ec-home-coverage__inner {
        width: min(720px, calc(100% - 40px));
    }

    .ec-home-coverage__title {
        font-size: 34px;
        line-height: 44px;
    }

    .ec-home-coverage__map {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .ec-home-coverage {
        padding: 48px 0;
    }

    .ec-home-coverage__inner {
        width: calc(100% - 32px);
    }

    .ec-home-coverage__title {
        font-size: 28px;
        line-height: 38px;
    }
}
/* Homepage hero section (Figma 3056:9386). */
.ec-home-hero,
.ec-home-hero * {
    box-sizing: border-box;
}

.ec-home-hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    padding: 195px 0 96px;
    overflow: hidden;
    color: #1b1c1f;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-hero__glow {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(139, 186, 255, 0.2) 45%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.ec-home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-hero__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.ec-home-hero__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 56px;
    white-space: nowrap;
}

.ec-home-hero__title-highlight {
    color: #1a76ff;
}

.ec-home-hero__title-plain {
    color: #1b1c1f;
}

.ec-home-hero__lead {
    max-width: 710px;
    margin: 0;
    color: #535d6d;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}

.ec-home-hero__tagline {
    margin: 0;
    color: #1a76ff;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
}

.ec-home-hero__nav {
    margin-top: 76px;
    border-bottom: 1px solid rgba(27, 28, 31, 0.1);
}

.ec-home-hero__tabs {
    display: flex;
    justify-content: center;
    gap: 97px;
    margin: 0 auto;
}

.ec-home-hero__tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    width: 78px;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    color: #1b1c1f;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ec-home-hero__tab::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #1a76ff;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ec-home-hero__tab.is-active::after {
    opacity: 1;
}

.ec-home-hero__tab:hover,
.ec-home-hero__tab.is-active {
    color: #1a76ff;
}

.ec-home-hero__tab:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
    border-radius: 4px;
}

.ec-home-hero__tab-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: currentColor;
    -webkit-mask-image: var(--ec-home-hero-tab-icon);
    mask-image: var(--ec-home-hero-tab-icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.2s ease;
}

.ec-home-hero__tab-label {
    display: block;
    line-height: 28px;
}

.ec-home-hero__panels {
    position: relative;
    margin-top: 26px;
}

.ec-home-hero__panel {
    display: none;
    width: 100%;
    height: 598px;
    overflow: hidden;
    border-radius: 32px;
}

.ec-home-hero__panel.is-active {
    display: block;
}

.ec-home-hero__panel:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
}

.ec-home-hero__panel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-home-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.ec-home-hero__actions[hidden] {
    display: none;
}

.ec-home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 20px 54px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ec-home-hero__cta--primary {
    background: #1a76ff;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 69, 173, 0.16);
}

.ec-home-hero__cta--primary:hover,
.ec-home-hero__cta--primary:focus-visible {
    background: #0060e6;
    color: #fff;
}

.ec-home-hero__cta--ghost {
    border: 1px solid #1a76ff;
    background: #fff;
    color: #1a76ff;
    box-shadow: 0 8px 16px rgba(0, 69, 173, 0.12);
}

.ec-home-hero__cta--ghost:hover,
.ec-home-hero__cta--ghost:focus-visible {
    background: rgba(26, 118, 255, 0.08);
    color: #1a76ff;
}

.ec-home-hero__cta:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
}

@media (max-width: 1023px) {
    .ec-home-hero {
        min-height: 560px;
        padding: 140px 0 64px;
    }

    .ec-home-hero__inner {
        width: min(720px, calc(100% - 40px));
    }

    .ec-home-hero__title {
        font-size: 42px;
        line-height: 52px;
        white-space: normal;
    }

    .ec-home-hero__lead,
    .ec-home-hero__tagline {
        font-size: 20px;
        line-height: 28px;
    }

    .ec-home-hero__nav {
        margin-top: 48px;
    }

    .ec-home-hero__tabs {
        flex-wrap: wrap;
        gap: 32px 48px;
    }

    .ec-home-hero__panels {
        margin-top: 24px;
    }

    .ec-home-hero__panel {
        height: auto;
        aspect-ratio: 1184 / 598;
    }

    .ec-home-hero__actions {
        margin-top: 32px;
    }

    .ec-home-hero__cta {
        padding: 16px 40px;
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .ec-home-hero {
        min-height: 0;
        padding: 120px 0 48px;
    }

    .ec-home-hero__inner {
        width: calc(100% - 32px);
    }

    .ec-home-hero__title {
        font-size: 32px;
        line-height: 42px;
    }

    .ec-home-hero__lead,
    .ec-home-hero__tagline {
        font-size: 16px;
        line-height: 24px;
    }

    .ec-home-hero__tabs {
        gap: 20px 24px;
    }

    .ec-home-hero__tab {
        width: 68px;
        font-size: 14px;
        line-height: 22px;
    }

    .ec-home-hero__tab-icon {
        width: 32px;
        height: 32px;
    }

    .ec-home-hero__panel {
        border-radius: 20px;
    }

    .ec-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ec-home-hero__cta {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
        line-height: 24px;
    }
}
/* Homepage trust section — testimonials + ecosystem (Figma 3028:6118). */
.ec-home-trust,
.ec-home-trust * {
    box-sizing: border-box;
}

.ec-home-trust {
    width: 100%;
    padding: 72px 0;
    color: #272b34;
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ec-home-trust__inner {
    display: flex;
    flex-direction: column;
    gap: 96px;
    width: min(1184px, calc(100% - 48px));
    margin: 0 auto;
}

.ec-home-trust__title {
    margin: 32px auto;
    color: #272b34;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
}

.ec-home-trust__title span {
    color: #1a76ff;
}

.ec-home-trust__nav {
    border-bottom: 1px solid rgba(27, 28, 31, 0.1);
}

.ec-home-trust__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin: 0 auto;
}

.ec-home-trust__tab {
    position: relative;
    padding: 0 4px 16px;
    border: 0;
    background: transparent;
    color: #535d6d;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ec-home-trust__tab::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #1a76ff;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ec-home-trust__tab.is-active {
    color: #1a76ff;
    font-weight: 500;
}

.ec-home-trust__tab.is-active::after {
    opacity: 1;
}

.ec-home-trust__tab:hover {
    color: #1a76ff;
}

.ec-home-trust__tab:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
    border-radius: 4px;
}

.ec-home-trust__panels {
    margin-top: 32px;
}

.ec-home-trust__panel {
    display: none;
}

.ec-home-trust__panel.is-active {
    display: block;
}

.ec-home-trust__panel:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
    border-radius: 16px;
}

/* Case card: composite image on the left, quote on the right */
.ec-home-trust__case {
    display: grid;
    grid-template-columns: 472px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ec-home-trust__case-image {
    position: relative;
    display: block;
    width: 472px;
    height: 254px;
    overflow: hidden;
    text-decoration: none;
}

.ec-home-trust__case-image > img,
img.ec-home-trust__case-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.ec-home-trust__case-image--linked {
    cursor: pointer;
}

.ec-home-trust__case-image--linked::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 118, 255, 0.18);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    top: 14px;
    border-radius: 20px;
}

.ec-home-trust__case-image-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(26, 118, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.ec-home-trust__case-image-play svg {
    display: block;
    margin-left: 3px;
}

.ec-home-trust__case-image--linked:hover::before,
.ec-home-trust__case-image--linked:focus-visible::before {
    opacity: 1;
}

.ec-home-trust__case-image--linked:hover .ec-home-trust__case-image-play,
.ec-home-trust__case-image--linked:focus-visible .ec-home-trust__case-image-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ec-home-trust__case-image--linked:focus-visible {
    outline: 2px solid rgba(26, 118, 255, 0.4);
    outline-offset: 4px;
}

.ec-home-trust__case-quote {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    box-shadow: 0 0 12px rgba(26, 118, 255, 0.06);
}

.ec-home-trust__case-badge {
    min-width: 178px;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8FBCFF 0%, #1A76FF 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}

.ec-home-trust__case-text {
    margin: 0;
    color: #535d6d;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

/* Standalone customer logo marquee between ec-home-trust and ec-ecosystem. */
.ec-home-partners__marquee {
    padding: 0;
}

@media (max-width: 1023px) {
    .ec-home-trust {
        padding: 64px 0;
    }

    .ec-home-trust__inner {
        gap: 72px;
        width: min(720px, calc(100% - 40px));
    }

    .ec-home-trust__title {
        font-size: 32px;
        line-height: 42px;
    }

    .ec-home-trust__nav {
        margin-top: 32px;
    }

    .ec-home-trust__tabs {
        gap: 32px;
    }

    .ec-home-trust__panels {
        margin-top: 24px;
    }

    .ec-home-trust__case {
        grid-template-columns: minmax(0, 1fr);
    }

    .ec-home-trust__case-image {
        width: 100%;
        height: auto;
        aspect-ratio: 472 / 254;
    }

    .ec-home-partners__marquee {
        padding: 16px 0 32px;
    }
}

@media (max-width: 767px) {
    .ec-home-trust {
        padding: 48px 0;
    }

    .ec-home-trust__inner {
        gap: 56px;
        width: calc(100% - 32px);
    }

    .ec-home-trust__title {
        font-size: 26px;
        line-height: 36px;
    }

    .ec-home-trust__tabs {
        gap: 20px 24px;
    }

    .ec-home-trust__tab {
        font-size: 15px;
        line-height: 24px;
    }

    .ec-home-trust__case-quote {
        padding: 24px;
    }

    .ec-home-partners__marquee {
        padding: 12px 0 24px;
    }
}
