:root {
    --features-navy: #081d38;
    --features-navy-2: #0e2b4f;
    --features-gold: #c98935;
    --features-gold-2: #e7b35f;
    --features-text: #14233c;
    --features-muted: #63708a;
    --features-line: #edf0f4;
    --features-card: #ffffff;
    --features-bg: #fbfcfd;
}

.features-page-body {
    background: var(--features-bg);
    color: var(--features-text);
}

.features-page {
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff 0%, #fbfcfd 35%, #f7f9fb 100%);
}

.features-shell {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
}

.features-hero {
    position: relative;
    min-height: 510px;
    display: grid;
    align-items: center;
    padding: 90px 0 44px;
    border-bottom: 1px solid #edf0f4;
    background:
        radial-gradient(circle at 94% 16%, rgba(201, 137, 53, .09), transparent 25%),
        radial-gradient(circle at 12% 44%, rgba(8, 29, 56, .045), transparent 30%),
        #fff;
}

.features-hero__ornament {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .62;
}

.features-hero__ornament::before,
.features-hero__ornament::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(201, 137, 53, .22);
    border-radius: 50%;
}

.features-hero__ornament::before {
    width: 620px;
    height: 620px;
    right: -190px;
    top: 62px;
}

.features-hero__ornament::after {
    width: 780px;
    height: 780px;
    left: -340px;
    top: -170px;
}

.features-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(420px, .9fr) minmax(0, 1fr);
    align-items: center;
    gap: 38px;
}

.features-hero__copy {
    max-width: 590px;
    justify-self: end;
    text-align: right;
}

.features-hero__copy h1 {
    margin: 0;
    color: var(--features-navy);
    font-size: clamp(2.1rem, 4.1vw, 4.15rem);
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: 0;
}

.features-hero__copy h1 span {
    color: var(--features-gold);
}

.features-hero__copy p {
    max-width: 560px;
    margin: 20px 0 0;
    color: var(--features-muted);
    font-size: 1.04rem;
    line-height: 2;
    font-weight: 700;
}

.features-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.features-hero__badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--features-text);
    font-size: .88rem;
    font-weight: 800;
}

.features-hero__badges svg {
    width: 20px;
    height: 20px;
    color: var(--features-gold);
    stroke-width: 2.1;
}

.features-hero__visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center start;
}

.features-hero__visual img {
    width: min(100%, 700px);
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 28px 32px rgba(8, 29, 56, .14));
}

.features-list-section {
    padding: 34px 0 34px;
}

.features-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
}

.features-heading span {
    width: 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--features-gold), transparent);
}

.features-heading h2 {
    margin: 0;
    color: var(--features-navy);
    font-size: 1.65rem;
    line-height: 1.4;
    font-weight: 900;
}

.feature-rows {
    display: grid;
    gap: 16px;
}

.feature-row {
    min-height: 248px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .75fr);
    align-items: center;
    gap: 34px;
    padding: 26px 44px;
    border: 1px solid var(--features-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 55%, rgba(8, 29, 56, .035), transparent 32%),
        var(--features-card);
    box-shadow: 0 16px 38px rgba(8, 29, 56, .055);
    direction: ltr;
}

.feature-row.is-reverse {
    grid-template-columns: minmax(330px, .75fr) minmax(0, 1.35fr);
}

.feature-row.is-reverse .feature-row__visual {
    order: 2;
}

.feature-row.is-reverse .feature-row__content {
    order: 1;
}

.feature-row__visual {
    display: grid;
    place-items: center;
    min-height: 185px;
}

.feature-row__visual img {
    width: min(100%, 570px);
    height: 190px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    filter: drop-shadow(0 18px 24px rgba(8, 29, 56, .1));
}

.feature-row__content {
    position: relative;
    min-height: 180px;
    display: grid;
    align-content: center;
    padding-inline-end: 112px;
    direction: rtl;
    text-align: right;
}

.feature-row__num {
    position: absolute;
    top: 4px;
    inset-inline-end: 0;
    color: var(--features-gold);
    font-size: 1.12rem;
    font-weight: 800;
}

.feature-row__icon {
    position: absolute;
    top: 42px;
    inset-inline-end: 0;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 1px solid #f0dfc8;
    border-radius: 18px;
    background: #fff;
    color: var(--features-gold);
    box-shadow: 0 10px 24px rgba(201, 137, 53, .08);
}

.feature-row__icon svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.75;
}

.feature-row h3 {
    margin: 0;
    color: var(--features-navy);
    font-size: 1.32rem;
    line-height: 1.45;
    font-weight: 900;
}

.feature-row p {
    max-width: 430px;
    margin: 10px 0 0 auto;
    color: var(--features-muted);
    font-size: .9rem;
    line-height: 1.95;
    font-weight: 700;
}

.feature-row ul {
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.feature-row li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #4d5d77;
    font-size: .84rem;
    font-weight: 800;
}

.feature-row li svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--features-gold);
    stroke-width: 2.4;
}

.feature-row.integrations-row {
    min-height: 225px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .58fr);
    gap: 34px;
    direction: ltr;
}

.integrations-row .feature-row__content {
    grid-column: 2;
    min-height: auto;
    padding-inline-end: 0;
    direction: rtl;
    text-align: right;
}

.integrations-row .feature-row__num {
    position: static;
    display: block;
    margin-bottom: 8px;
}

.integrations-row .feature-row__icon {
    position: static;
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
}

.integrations-row .feature-row__icon svg {
    width: 34px;
    height: 34px;
}

.integrations-row p {
    margin-inline: 0;
}

.integrations-strip {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    direction: rtl;
}

.integration-tile {
    min-height: 112px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(8, 29, 56, .055);
}

.integration-tile svg {
    width: 36px;
    height: 36px;
    color: var(--features-gold);
    stroke-width: 1.9;
}

.integration-tile span {
    color: var(--features-text);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.features-cta {
    padding: 0 0 34px;
}

.features-cta__panel {
    position: relative;
    min-height: 160px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    overflow: hidden;
    padding: 24px 34px;
    border-radius: 18px;
    background: #061a33;
    color: #fff;
    box-shadow: 0 22px 46px rgba(8, 29, 56, .17);
}

.features-cta__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 26, 51, .96) 0%, rgba(6, 26, 51, .88) 42%, rgba(6, 26, 51, .42) 74%, rgba(6, 26, 51, .12) 100%),
        linear-gradient(180deg, rgba(6, 26, 51, .08), rgba(6, 26, 51, .18));
    pointer-events: none;
}

.features-cta__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: none;
}

.features-cta__copy,
.features-cta__actions {
    position: relative;
    z-index: 1;
}

.features-cta__copy {
    max-width: 620px;
    justify-self: end;
    text-align: right;
}

.features-cta__panel h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.45;
    font-weight: 900;
}

.features-cta__panel p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #dbe6f4;
    font-size: .92rem;
    line-height: 1.9;
    font-weight: 700;
}

.features-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.features-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.features-btn svg {
    width: 18px;
    height: 18px;
}

.features-btn--gold {
    background: linear-gradient(135deg, #d79b45, #b87424);
    color: #fff;
}

.features-btn--outline {
    border-color: rgba(231, 179, 95, .58);
    color: #fff;
    background: rgba(255, 255, 255, .04);
}

@media (max-width: 1100px) {
    .features-hero__grid,
    .feature-row,
    .feature-row.is-reverse,
    .features-cta__panel {
        grid-template-columns: 1fr;
    }

    .feature-row.is-reverse .feature-row__visual,
    .feature-row.is-reverse .feature-row__content {
        order: initial;
    }

    .features-hero__copy {
        justify-self: stretch;
        max-width: none;
    }

    .features-hero__visual {
        place-items: center;
        min-height: 310px;
    }

    .features-cta__panel {
        text-align: center;
        justify-items: center;
    }

    .features-cta__copy {
        justify-self: center;
        text-align: center;
    }

    .features-cta__actions {
        justify-content: center;
    }

    .feature-row.integrations-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .integrations-row .feature-row__content,
    .integrations-strip {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .features-shell {
        width: min(100% - 28px, 1320px);
    }

    .features-hero {
        padding: 76px 0 30px;
    }

    .features-hero__copy h1 {
        font-size: 2.15rem;
    }

    .feature-row {
        gap: 18px;
        padding: 22px;
        border-radius: 15px;
    }

    .feature-row__content {
        min-height: auto;
        padding-inline-end: 0;
        padding-top: 98px;
    }

    .feature-row__num {
        top: 0;
    }

    .feature-row__icon {
        top: 28px;
        width: 62px;
        height: 62px;
    }

    .feature-row__icon svg {
        width: 32px;
        height: 32px;
    }

    .feature-row__visual img {
        height: 168px;
    }

    .integrations-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .integrations-row .feature-row__content {
        padding-top: 0;
    }

    .features-cta__panel img {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .features-hero__badges,
    .features-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .features-heading h2 {
        font-size: 1.28rem;
    }

    .features-heading span {
        width: 24px;
    }

    .integration-tile {
        min-height: 96px;
    }
}
