.sub-heading h1 {
    font-size: 44px !important;
    line-height: 54px !important;
    font-weight: 700 !important;
}

.hero {
    background: radial-gradient(circle at 82% 45%, #eaf6ff 0, transparent 31%), linear-gradient(120deg, var(--cream), #fff 55%, #eff8ff);
    padding: 82px 0 72px
}

.hero-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: center;
    padding: 70px 0px 0px;
}

.eyebrow {
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 13px
}

.eyebrow:before {
    content: "→ ";
}

a {
    text-decoration: none !important;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.ai-inte-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    transition: .25s
}

.ai-btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 25px #eb873333
}

.ai-btn-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue)
}

.btn:hover {
    transform: translateY(-2px)
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    color: #506979;
    font-size: 11px;
    font-weight: 700
}

.trust i {
    color: #36a66e;
    font-style: normal;
    margin-right: 5px;
    font-size: 16px !important;
}

.network {
    height: 430px;
    border: 1px solid rgba(17, 103, 166, .13);
    border-radius: 30px;
    background: rgba(255, 255, 255, .65);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.network:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(17, 103, 166, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 103, 166, .045) 1px, transparent 1px);
    background-size: 34px 34px
}

.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px dashed rgba(17, 103, 166, .18);
    border-radius: 50%;
    transform: translate(-50%, -50%)
}

.o1 {
    width: 65%;
    height: 48%;
    transform: translate(-50%, -50%) rotate(-18deg)
}

.o2 {
    width: 83%;
    height: 63%;
    transform: translate(-50%, -50%) rotate(27deg)
}

.o3 {
    width: 55%;
    height: 82%;
    transform: translate(-50%, -50%) rotate(70deg)
}

.core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 132px;
    height: 132px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid #cfe2ed;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 13px #1167a60a, 0 0 65px #1167a62b;
    animation: float 5s ease-in-out infinite;
    z-index: 4
}

.core:before {
    content: "AI";
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--blue), var(--orange));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 25px;
    font-weight: 950
}

.node {
    position: absolute;
    z-index: 5;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 30px #081c4810;
    font-size: 10px;
    font-weight: 900;
    color: #405a6b
}

.node b {
    color: var(--blue);
    display: block;
    font-size: 9px
}

.n1 {
    left: 7%;
    top: 16%
}

.n2 {
    right: 7%;
    top: 17%
}

.n3 {
    left: 5%;
    bottom: 17%
}

.n4 {
    right: 5%;
    bottom: 17%
}

.status {
    position: absolute;
    z-index: 7;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #081c30;
    color: #fff;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 9px;
    font-weight: 800
}

.status:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #49d99a;
    margin-right: 7px
}

.section {
    padding: 92px 0
}

.soft {
    background: var(--soft)
}

.cream {
    background: var(--cream)
}

.section-head {
    text-align: center;
    margin: 0 auto 48px
}

.section-head .eyebrow {
    justify-content: center
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin: 12px 0
}

.split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: center
}

.split h2 {
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.045em
}

.split p {
    color: var(--muted);
    margin-top: 16px
}

.pill {
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px
}

.flow {
    display: grid;
    grid-template-columns: 1fr 55px 1fr 55px 1fr;
    align-items: center
}

.flow-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    min-height: 155px;
    box-shadow: 0 10px 35px #081c4807
}

.flow-card strong {
    display: block;
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 8px
}

.flow-card p {
    font-size: 12px;
    color: var(--muted)
}

.ai-arrow {
    text-align: center;
    color: var(--orange);
    font-size: 25px;
    font-weight: 900
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 25px;
    transition: .3s;
    box-shadow: 0 8px 28px #081c4807
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #1167a638
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #edf8ff, #fff6ec);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-weight: 950;
    margin-bottom: 17px
}

.card:nth-child(even) .icon {
    color: var(--orange)
}

h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7
}

.ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center
}

.eco-visual {
    height: 450px;
    position: relative;
    display: grid;
    place-items: center
}

.eco-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px dashed #1167a633;
    border-radius: 50%;
    animation: spin 22s linear infinite
}

.eco-center {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    border: 10px solid #eef7fc;
    display: grid;
    place-items: center;
    z-index: 3;
    box-shadow: 0 20px 60px #1167a621
}

.eco-center span {
    width: 94px;
    height: 94px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--blue), var(--orange));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 23px;
    font-weight: 950
}

.eco-node {
    position: absolute;
    width: 105px;
    min-height: 60px;
    padding: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 12px 30px #081c4809;
    z-index: 4
}

.e1 {
    top: 6%;
    left: 50%;
    transform: translateX(-50%)
}

.e2 {
    top: 27%;
    right: 2%
}

.e3 {
    bottom: 15%;
    right: 9%
}

.e4 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%)
}

.e5 {
    bottom: 15%;
    left: 9%
}

.e6 {
    top: 27%;
    left: 2%
}

.ecosystem h2 {
    font-size: clamp(31px, 4vw, 49px);
    line-height: 1.08;
    letter-spacing: -.045em
}

.ecosystem p {
    color: var(--muted);
    margin: 17px 0
}

.checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    justify-content: center;
}

.checks li {
    font-size: 15px !important;
    color: #4e6575
}

.checks li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #edf7fc;
    color: var(--blue);
    margin-right: 9px;
    font-weight: 900
}

.usecases {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 20px
}

.featured {
    border-radius: 24px;
    padding: 34px;
    background: linear-gradient(145deg, var(--navy), #123b59);
    color: #fff;
    min-height: 410px;
    position: relative;
    overflow: hidden
}

.featured:after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 50px solid #eb87321c;
    border-radius: 50%;
    right: -100px;
    bottom: -120px
}

.featured h3 {
    font-size: 31px;
    line-height: 1.13;
    letter-spacing: -.035em;
    margin: 15px 0;
    max-width: 390px;
    color: white !important;
}

.featured p {
    color: #ffffffb0;
    max-width: 400px;
    font-size: 13px
}

.mini-flow {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    display: flex;
    gap: 7px;
    align-items: center
}

.mini-flow span {
    flex: 1;
    height: 38px;
    border: 1px solid #ffffff26;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 800;
    background: #ffffff0a
}

.mini-flow i {
    color: var(--orange);
    font-style: normal
}

.usegrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px
}

.use {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 23px
}

.use h3 {
    font-size: 15px;
    margin-bottom: 7px
}

.use p {
    font-size: 12px;
    color: var(--muted)
}

.beforeafter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.ba {
    padding: 32px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff
}

.ba.after {
    background: linear-gradient(145deg, #eff8ff, #fff)
}

.ba h3 {
    font-size: 20px;
    margin-bottom: 18px
}

.ba ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 12px
}

.ba li {
    font-size: 13px;
    color: #526b7b
}

.ba li:before {
    content: "—";
    color: var(--orange);
    font-weight: 900;
    margin-right: 8px
}

.tech {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.tech-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 23px
}

.tech-card h3 {
    font-size: 14px;
    margin-bottom: 10px
}

.tech-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.75
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.tag {
    padding: 5px 8px;
    border-radius: 7px;
    background: #f3f7fa;
    color: #4f6676;
    font-size: 14px;
    font-weight: 800
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    counter-reset: step
}

.step {
    position: relative;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 19px
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edf7fc;
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 17px
}

.step:nth-child(even) .step-num {
    background: #fff2e6;
    color: var(--orange)
}

.step h3 {
    font-size: 16px;
    margin-bottom: 7px
}

.step p {
    font-size: 11px;
    color: var(--muted)
}

.security {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 25px
}

.security-main {
    background: var(--navy);
    color: #fff;
    border-radius: 25px;
    padding: 38px
}

.security-main h2 {
    font-size: clamp(31px, 4vw, 47px);
    line-height: 1.08;
    letter-spacing: -.04em
}

.security-main p {
    color: #ffffffad;
    margin-top: 16px
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.security-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 20px
}

.security-card h3 {
    font-size: 14px;
    margin-bottom: 6px
}

.security-card p {
    font-size: 11px;
    color: var(--muted)
}

.industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.industry {
    padding: 20px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px
}

.industry h3 {
    font-size: 14px;
    margin-bottom: 6px
}

.industry p {
    font-size: 11px;
    color: var(--muted)
}

.faq {
    max-width: 900px;
    margin: auto;
    display: grid;
    gap: 10px
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden
}

.faq-q {
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 19px 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer
}

.plus {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--blue);
    font-size: 19px;
    transition: .25s
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

.faq-a p {
    padding: 0 21px 20px;
    color: var(--muted);
    font-size: 12px
}

.faq-item.open .faq-a {
    max-height: 180px
}

.faq-item.open .plus {
    transform: rotate(45deg)
}

.cta {
    padding: 90px 0;
    background: linear-gradient(120deg, #eef8fd, #fff7ef);
    text-align: center
}

.cta-inner {
    max-width: 820px;
    margin: auto
}

.cta h2 {
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.05em
}

.cta p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: var(--muted)
}

.footer {
    border-top: 1px solid var(--line);
    padding: 45px 0;
    text-align: center;
    color: #718594;
    font-size: 11px
}

.footer a {
    color: var(--blue)
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .7s ease
}

.reveal.show {
    opacity: 1;
    transform: none
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0)
    }

    50% {
        transform: translate(-50%, -50%) translateY(-9px)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:950px) {

    .hero-grid,
    .split,
    .ecosystem,
    .usecases,
    .security {
        grid-template-columns: 1fr
    }
 

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .tech {
        grid-template-columns: repeat(2, 1fr)
    }

    .process {
        grid-template-columns: repeat(2, 1fr)
    }

    .industries {
        grid-template-columns: repeat(2, 1fr)
    }

    .eco-visual {
        order: 2
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 28px, 600px)
    }

    .menu {
        display: none
    }

    .mobile {
        display: block
    }

    .hero {
        padding: 55px 0
    }

    .network {
        height: 380px
    }

    .flow {
        grid-template-columns: 1fr
    }

    .ai-arrow {
        transform: rotate(90deg);
        padding: 8px
    }

    .cards,
    .tech,
    .process,
    .industries,
    .security-grid,
    .beforeafter,
    .usegrid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 70px 0
    }

    .eco-visual {
        height: 390px;
        transform: scale(.88);
        margin: -20px 0
    }

    .mini-flow {
        display: none
    }

    .featured {
        min-height: 330px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* Option 5 hero upgraded with the Option 1 AI integration animation */
/* AI Integration hero visual — scoped to .ai-integration-visual, safe to append to your stylesheet */
.ai-integration-visual {
    --ai-a: var(--sd-primary, #eb8732);
    --ai-b: var(--sd-secondary, #1167a6);
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 620/490;
    margin-inline: auto;
    perspective: 1100px;
    contain: layout style;
    container-type: inline-size;
}

.ai-scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    will-change: transform;
}

.ai-scene>* {
    position: absolute;
}

.data-flow,
.flow-canvas {
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-path {
    stroke-width: 1.4;
    opacity: 0.28;
    stroke-dasharray: 3 7;
    animation: aiDash 5s linear infinite;
    transition: opacity 0.4s, stroke-width 0.4s;
}

@keyframes aiDash {
    to {
        stroke-dashoffset: -40;
    }
}

/* orbital rings */
.ai-orbits {
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(17, 103, 166, 0.35);
    box-shadow: 0 0 22px rgba(17, 103, 166, 0.12),
        inset 0 0 22px rgba(235, 135, 50, 0.07);
    transform-style: preserve-3d;
    translate: -50% -50%;
    pointer-events: none;
}

.orbit-ring::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-a);
    box-shadow: 0 0 10px var(--ai-a);
}

.r1 {
    width: 62%;
    aspect-ratio: 1;
    --tilt: 68deg;
    animation: aiSpinA 48s linear infinite;
}

.r2 {
    width: 82%;
    aspect-ratio: 1;
    --tilt: 72deg;
    border-color: rgba(235, 135, 50, 0.32);
    animation: aiSpinB 70s linear infinite;
}

.r3 {
    width: 98%;
    aspect-ratio: 1;
    --tilt: 64deg;
    border-style: dashed;
    border-color: rgba(17, 103, 166, 0.22);
    animation: aiSpinA 110s linear infinite;
}

.r2::after {
    background: var(--ai-b);
    box-shadow: 0 0 10px var(--ai-b);
}

.r3::after {
    display: none;
}

@keyframes aiSpinA {
    from {
        transform: rotateX(var(--tilt)) rotateZ(-24deg);
    }

    to {
        transform: rotateX(var(--tilt)) rotateZ(336deg);
    }
}

@keyframes aiSpinB {
    from {
        transform: rotateX(var(--tilt)) rotateZ(20deg);
    }

    to {
        transform: rotateX(var(--tilt)) rotateZ(-340deg);
    }
}

/* core */
.ai-core {
    left: 50%;
    top: 50%;
    width: 24%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    transform: translateZ(40px) translate(var(--cx, 0), var(--cy, 0));
    display: grid;
    place-items: center;
}

.ai-core>span {
    position: absolute;
    border-radius: 50%;
}

.core-halo {
    inset: -70%;
    background: radial-gradient(circle,
            rgba(235, 135, 50, 0.32),
            rgba(17, 103, 166, 0.16) 45%,
            transparent 68%);
    animation: aiPulse 5s ease-in-out infinite;
    filter: blur(6px);
}

.core-glass {
    inset: 0;
    background: radial-gradient(circle at 32% 26%,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.18) 38%,
            rgba(17, 103, 166, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 50px rgba(17, 103, 166, 0.35),
        inset 0 -14px 30px rgba(17, 103, 166, 0.3);
}

.core-energy {
    inset: 16%;
    background: radial-gradient(circle at 50% 50%,
            #ffd7a8,
            var(--ai-a) 42%,
            var(--ai-b) 100%);
    box-shadow: 0 0 34px rgba(235, 135, 50, 0.6);
    animation: aiPulse 4s ease-in-out infinite reverse;
}

.core-label {
    position: relative;
    text-align: center;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 1px 8px rgba(9, 40, 70, 0.55);
}

.core-label b {
    display: block;
    font-size: clamp(20px, 6.4cqw, 32px);
    letter-spacing: 0.04em;
}

.core-label span {
    display: block;
    font-size: clamp(7px, 1.8cqw, 10.5px);
    margin-top: 2px;
    opacity: 0.92;
}

@keyframes aiPulse {

    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

/* nodes */
.integration-node {
    left: var(--x);
    top: var(--y);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: clamp(50px, 13.5cqw, 74px);
    aspect-ratio: 1;
    justify-content: center;
    cursor: pointer;
    font: inherit;
    color: #0d3a5c;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 255, 255, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(17, 103, 166, 0.18),
        0 0 0 1px rgba(17, 103, 166, 0.08);
    transform: translate(-50%, -50%) translate3d(var(--tx, 0px), var(--ty, 0px), var(--z)) scale(var(--s, 1));
    transition: opacity 0.4s, box-shadow 0.4s, border-color 0.4s;
    will-change: transform;
    padding: 0;
}

.integration-node svg {
    width: 36%;
    fill: none;
    stroke: var(--ai-b);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.integration-node em {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(9px, 2.3cqw, 12px);
    letter-spacing: 0.05em;
}

.integration-node::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fbf71;
    box-shadow: 0 0 8px #2fbf71;
}

.ai-integration-visual.has-active .integration-node {
    opacity: 0.55;
}

.ai-integration-visual.has-active .flow-path {
    opacity: 0.12;
}

.ai-integration-visual .integration-node.is-active {
    opacity: 1;
    border-color: var(--ai-a);
    box-shadow: 0 14px 40px rgba(235, 135, 50, 0.4),
        0 0 0 1px rgba(235, 135, 50, 0.5);
}

.ai-integration-visual .flow-path.is-active {
    opacity: 0.95;
    stroke-width: 2.4;
}

/* badges */
.ai-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: clamp(10px, 2.3cqw, 12.5px);
    font-weight: 600;
    color: #0d3a5c;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(17, 103, 166, 0.15);
    z-index: 3;
}

.ai-badge.top {
    left: 4%;
    top: 1%;
}

.ai-badge.bottom {
    right: 4%;
    bottom: 1%;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fbf71;
    position: relative;
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #2fbf71;
    animation: aiPing 2.4s ease-out infinite;
}

@keyframes aiPing {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

.ai-badge svg {
    width: 14px;
    fill: none;
    stroke: var(--ai-b);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {

    .r3,
    .core-halo {
        display: none;
    }

    .ai-badge.top {
        left: 0;
    }

    .ai-badge.bottom {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .orbit-ring,
    .core-halo,
    .core-energy,
    .flow-path,
    .status-dot::after {
        animation: none;
    }

    .ai-scene {
        transform: none;
    }

    .r1 {
        transform: rotateX(68deg);
    }

    .r2 {
        transform: rotateX(72deg);
    }

    .r3 {
        transform: rotateX(64deg);
    }
}

/* Hero animation refinements for Option 5 */
.ai-integration-visual {
    min-height: 430px;
}

@media (max-width:700px) {
    .ai-integration-visual {
        min-height: 350px;
        margin: -10px -35px 0;
        width: calc(100% + 70px);
        transform: scale(.88);
    }
}

.hero-seo-label {
    display: block;
    font-size: .38em;
    line-height: 1.1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
    font-weight: 800
}


/* ===== TRANSFORMATION SECTION — responsive visual upgrade ===== */
.transformation-section {
    background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
    overflow: hidden
}

.transformation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    position: relative;
    margin-top: 8px
}

.transform-panel {
    position: relative;
    padding: 34px 32px 30px;
    border-radius: 26px;
    min-height: 430px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease
}

.transform-panel:hover {
    transform: translateY(-5px)
}

.transform-before {
    background: linear-gradient(145deg, #fff, #f7f9fa);
    border: 1px solid #dbe5ea;
    box-shadow: 0 18px 50px rgba(8, 28, 48, .07)
}

.transform-after {
    background: linear-gradient(145deg, #f0f9ff, #fff);
    border: 1px solid rgba(17, 103, 166, .24);
    box-shadow: 0 20px 60px rgba(17, 103, 166, .12)
}

.transform-before:before,
.transform-after:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px
}

.transform-before:before {
    background: #aebbc3
}

.transform-after:before {
    background: linear-gradient(90deg, var(--blue), var(--orange))
}

.transform-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px
}

.transform-label {
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
    color: #718594
}

.transform-state {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef2f4;
    color: #667985
}

.transform-after .transform-state {
    background: #e8f5fc;
    color: var(--blue)
}

.transform-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 18px;
    background: #eef2f4;
    color: #7b8991
}

.transform-after .transform-icon {
    background: linear-gradient(145deg, #e5f5fd, #fff1e5);
    color: var(--blue);
    box-shadow: 0 8px 24px rgba(17, 103, 166, .10)
}

.transform-panel h3 {
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -.035em;
    margin-bottom: 10px;
    max-width: 400px
}

.transform-panel>p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 450px
}

.transform-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: grid;
    gap: 13px
}

.transform-list li {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 10px;
    align-items: start
}

.transform-list li>span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 950;
    background: #eef2f4;
    color: #7b8991
}

.transform-after .transform-list li>span {
    background: #e7f5fc;
    color: var(--blue)
}

.transform-list b {
    display: block;
    font-size: 14px;
    color: #304b5d;
    margin-bottom: 2px
}

.transform-list small {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #78909e
}

.transform-bridge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3
}

.bridge-core {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--blue), #0b4e7d);
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    border: 7px solid #fff;
    box-shadow: 0 0 0 1px rgba(17, 103, 166, .15), 0 15px 45px rgba(17, 103, 166, .25), 0 0 50px rgba(235, 135, 50, .12);
    animation: transformPulse 3.5s ease-in-out infinite
}

.bridge-core b {
    font-size: 22px;
    line-height: 1
}

.bridge-core small {
    font-size: 6px;
    line-height: 1.15;
    letter-spacing: .1em;
    margin-top: 4px;
    color: #d9efff
}

.bridge-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b8d6e7, transparent);
    z-index: -1
}

.bridge-line span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: -3px;
    background: var(--orange);
    box-shadow: 0 0 10px rgba(235, 135, 50, .5);
    animation: bridgeFlow 2.6s linear infinite
}

.bridge-line span:nth-child(1) {
    animation-delay: 0s
}

.bridge-line span:nth-child(2) {
    animation-delay: .85s
}

.bridge-line span:nth-child(3) {
    animation-delay: 1.7s
}

.bridge-caption {
    margin-top: 15px;
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap
}

.transformation-note {
    margin: 20px auto 0;
    max-width: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(8, 28, 48, .05);
    font-size: 14px;
    color: #657b89
}

.transformation-note b {
    color: var(--orange)
}

.transformation-note strong {
    color: var(--blue)
}

@keyframes transformPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 1px rgba(17, 103, 166, .15), 0 15px 45px rgba(17, 103, 166, .25)
    }

    50% {
        transform: scale(1.045);
        box-shadow: 0 0 0 1px rgba(17, 103, 166, .15), 0 18px 55px rgba(17, 103, 166, .32)
    }
}

@keyframes bridgeFlow {
    0% {
        left: 5%;
        opacity: 0
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    100% {
        left: 95%;
        opacity: 0
    }
}

/* ===== FULL RESPONSIVE SAFETY NET ===== */
@media (max-width:1100px) {
    .container {
        width: min(1040px, calc(100% - 40px))
    }

    .menu {
        gap: 18px
    }

    .hero-grid {
        grid-template-columns: .95fr 1.05fr;
        gap: 25px
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .industries {
        grid-template-columns: repeat(4, 1fr)
    }

    .transformation {
        grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr)
    }

    .transform-panel {
        padding: 30px 25px
    }
}

@media (max-width:900px) {
    .header {
        height: 70px
    }

    .menu {
        gap: 14px;
        font-size: 10px
    }

    .hero {
        padding: 65px 0
    }

    .hero-grid {
        grid-template-columns: 1fr
    }
 

    .ai-integration-visual {
        max-width: 650px
    }

    .split,
    .ecosystem,
    .usecases,
    .security {
        grid-template-columns: 1fr
    }

    .eco-visual {
        order: 2
    }

    .security-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .tech {
        grid-template-columns: repeat(2, 1fr)
    }

    .process {
        grid-template-columns: repeat(4, 1fr)
    }

    .industries {
        grid-template-columns: repeat(4, 1fr)
    }

    .transformation {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .transform-panel {
        min-height: auto
    }

    .transform-bridge {
        min-height: 105px;
        flex-direction: row;
        gap: 18px
    }

    .bridge-line {
       display: none !important;
    }

    .bridge-caption {
        margin-top: 0
    }

    .bridge-core {
        width: 82px;
        height: 82px
    }

    .transformation-note {
        border-radius: 18px
    }
}

@media (max-width:760px) {
    .container {
        width: min(100% - 28px, 620px)
    }

    .header {
        height: 64px
    }

    .nav {
        position: relative
    }

    .mobile {
        display: block;
        color: var(--navy);
        line-height: 1
    }

    .menu {
        display: none;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(8, 28, 48, .12);
        z-index: 60
    }

    .menu a {
        padding: 12px 14px;
        font-size: 12px
    }

    .menu .nav-cta {
        text-align: center;
        margin: 5px 0
    }

    .hero {
        padding: 48px 0 40px
    }

    .trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px
    }

    .ai-integration-visual {
        width: calc(100% + 30px);
        max-width: none;
        margin-left: -15px;
        min-height: 350px
    }

    .section {
        padding: 70px 0
    }

    .flow {
        grid-template-columns: 1fr
    }

    .ai-arrow {
        transform: rotate(90deg);
        padding: 5px
    }

    .cards,
    .tech,
    .process,
    .industries,
    .security-grid,
    .usegrid {
        grid-template-columns: 1fr
    }

    .featured {
        min-height: 300px
    }

    .mini-flow {
        display: none
    }

    .eco-visual {
        height: 350px;
        transform: scale(.82);
        margin: -20px 0
    }

    .transform-panel {
        padding: 25px 21px;
        border-radius: 20px
    }

    .transform-panel h3 {
        font-size: 22px
    }

    .transform-bridge {
        min-height: 92px
    }

    .bridge-caption {
        font-size:10px
    }

    .transformation-note {
        padding: 12px 14px;
        gap: 7px;
        font-size: 9px
    }

    .transform-list {
        margin-top: 20px
    }
}

@media (max-width:430px) {

    .actions {
        display: flex; 
    }

    .ai-inte-btn{
        font-size: 12px;
        padding: 7px 12px;
    }

    .ai-inte-btn {
        justify-content: center; 
    }

    .ai-integration-visual {
        min-height: 300px;
        transform: scale(.92);
        transform-origin: center
    }

    .transform-top {
        align-items: flex-start
    }

    .transform-state {
        font-size: 8px
    }

    .transform-list li {
        grid-template-columns: 24px 1fr
    }

    .transform-list li>span {
        width: 23px;
        height: 23px
    }

    .transformation-note span,
    .transformation-note b {
        display: none
    }

    .transformation-note strong {
        font-size: 10px
    }
}

@media (prefers-reduced-motion:reduce) {
    .bridge-core {
        animation: none
    }

    .bridge-line span {
        animation: none
    }

    .transform-panel:hover {
        transform: none
    }
}