.v4Main {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

/* ---------- hero ---------- */

.v4Hero {
    background: radial-gradient(120% 100% at 15% 0%, #3a0a70 0%, var(--v4-purple-deep) 45%, var(--v4-ink) 100%);
    padding: 6.5rem 1.25rem 3rem;
}

.v4HeroInner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: var(--v4-max-width);
    margin: 0 auto;
}

.v4HeroText h1 {
    color: var(--v4-white);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1.05;
}

.v4HeroLine1,
.v4HeroLine2 {
    display: inline-block;
    opacity: 0;
    animation: v4HeroSlideIn 0.6s ease-out forwards;
}

.v4HeroLine1 {
    animation-delay: 0.3s;
}

.v4HeroLine2 {
    font-weight: 700;
    animation-delay: 0.5s;
}

.v4HeroBrand {
    display: inline-block;
    color: var(--v4-cyan);
    font-weight: 800;
    opacity: 0;
    animation: v4HeroSlideIn 0.6s ease-out 0.1s forwards;
}

.v4CyanD {
    color: var(--v4-cyan);
}

.v4HeroText p {
    display: inline-block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-top: 1.25rem;
    line-height: 1.6;
    opacity: 0;
    animation: v4HeroSlideIn 0.6s ease-out 0.7s forwards;
}

.v4HeroActions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
    opacity: 0;
    animation: v4HeroActionsSlideUp 0.6s ease-out 0.9s forwards;
}

.v4HeroArt {
    display: flex;
    justify-content: center;
    animation: v4HeroImgFloat 0.8s ease-out 0.2s backwards, v4HeroImgLoop 4s ease-in-out 1s infinite;
}

.v4HeroImg {
    width: 100%;
    max-width: 26rem;
    height: auto;
}

/* slide in from the start side: left in LTR, right in RTL */
html[dir="rtl"] {
    --v4-hero-slide-from: 2.5rem;
}

@keyframes v4HeroSlideIn {
    0% {
        opacity: 0;
        translate: var(--v4-hero-slide-from, -2.5rem) 0;
    }

    100% {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes v4HeroImgFloat {
    0% {
        opacity: 0;
        translate: 0 -2rem;
    }

    100% {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes v4HeroImgLoop {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -0.75rem;
    }
}

@keyframes v4HeroActionsSlideUp {
    0% {
        opacity: 0;
        translate: 0 2rem;
    }

    100% {
        opacity: 1;
        translate: 0 0;
    }
}

/* ---------- one brand many ways ---------- */

.v4Ways {
    padding: 3rem 1.25rem;
    /* max-width: var(--v4-max-width); */
    /* margin: 0 auto; */
    width: 100%;
}

.v4WaysText > * {
    opacity: 0;
    translate: 0 2.5rem;
    transition: opacity 1.2s ease-out, translate 1.2s ease-out;
}

.v4Ways.v4InView .v4WaysText > * {
    opacity: 1;
    translate: 0 0;
}

.v4Ways.v4InView .v4WaysText > *:nth-child(1) {
    transition-delay: 0.2s;
}

.v4Ways.v4InView .v4WaysText > *:nth-child(2) {
    transition-delay: 0.8s;
}

.v4Ways.v4InView .v4WaysText > *:nth-child(3) {
    transition-delay: 1.4s;
}

.v4Ways.v4InView .v4WaysText > *:nth-child(4) {
    transition-delay: 2s;
}

.v4Ways.v4InView .v4WaysGrid {
    opacity: 1;
}

.v4WaysTile1,
.v4WaysTile3 {
    opacity: 0;
    translate: -2.5rem 0;
}

.v4WaysTile2,
.v4WaysTile4 {
    opacity: 0;
    translate: 2.5rem 0;
}

/* RTL: grid columns swap sides, so tiles enter from the opposite edge */
html[dir="rtl"] .v4WaysTile1,
html[dir="rtl"] .v4WaysTile3 {
    translate: 2.5rem 0;
}

html[dir="rtl"] .v4WaysTile2,
html[dir="rtl"] .v4WaysTile4 {
    translate: -2.5rem 0;
}

.v4Ways.v4InView .v4WaysTile1,
.v4Ways.v4InView .v4WaysTile2,
.v4Ways.v4InView .v4WaysTile3,
.v4Ways.v4InView .v4WaysTile4 {
    opacity: 1;
    translate: 0 0;
}

.v4Ways.v4InView .v4WaysTile2 {
    transition-delay: 0.4s;
}

.v4Ways.v4InView .v4WaysTile3 {
    transition-delay: 0.7s;
}

.v4Ways.v4InView .v4WaysTile4 {
    transition-delay: 1.1s;
}

.v4WaysText h2 {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.1;
}

.v4WaysText h2 .v4Accent {
    font-weight: 700;
}

.v4WaysText p {
    color: var(--v4-text-muted);
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.v4WaysLink {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--v4-link, inherit);
}

.v4WaysGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
    opacity: 0;
    transition: opacity 0.1s linear;
}

.v4WaysTile {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--v4-radius);
    overflow: hidden;
    translate: 0 0;
    transition: translate 1.2s ease-out, opacity 1.2s ease-out;
    background-repeat: no-repeat;
    background-image: url('/images/websiteV4/home/heroRider.jpg');
}

/* RTL: mirror each slice; with the columns already swapped this mirrors the whole image */
html[dir="rtl"] .v4WaysTile {
    transform: scaleX(-1);
}

.v4WaysCaption {
    position: absolute;
    inset-inline-start: 0.75rem;
    inset-block-end: 0.75rem;
    display: flex;
    flex-direction: column;
    color: var(--v4-white);
}

.v4WaysCaption strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.v4WaysCaption span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.v4WaysTile img {
    /* source image kept in the DOM for SEO/accessibility tooling; visuals rendered via background-image above */
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.v4WaysTile1 {
    background-size: 320% auto;
    background-position: 15% 15%;
}

.v4WaysTile2 {
    background-size: 320% auto;
    background-position: 85% 15%;
}

.v4WaysTile3 {
    background-size: 320% auto;
    background-position: 15% 85%;
}

.v4WaysTile4 {
    background-size: 320% auto;
    background-position: 85% 85%;
}

/* ---------- our product ---------- */

.v4Products {
    /* max-width: var(--v4-max-width); */
    /* margin: 0 auto; */
    width: 100%;
    padding: 1rem 1.25rem 3rem;
}

.v4Products h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    opacity: 0;
    translate: 0 2.5rem;
    transition: opacity 1.2s ease-out, translate 1.2s ease-out;
}

.v4Products.v4InView h2 {
    opacity: 1;
    translate: 0 0;
}

.v4ProductGrid {
    display: flex;
    flex-direction: column;
    border-radius: var(--v4-radius);
    overflow: hidden;
}

.v4Products.v4InView .v4ProductTile {
    opacity: 1;
    translate: 0 0;
}

.v4Products.v4InView .v4ProductTile:nth-child(1) {
    transition-delay: 0.3s;
}

.v4Products.v4InView .v4ProductTile:nth-child(2) {
    transition-delay: 0.45s;
}

.v4Products.v4InView .v4ProductTile:nth-child(3) {
    transition-delay: 0.6s;
}

.v4Products.v4InView .v4ProductTile:nth-child(4) {
    transition-delay: 0.75s;
}

.v4Products.v4InView .v4ProductTile:nth-child(5) {
    transition-delay: 0.9s;
}

.v4Products.v4InView .v4ProductTile:nth-child(6) {
    transition-delay: 1.05s;
}

.v4Products.v4InView .v4ProductTile:nth-child(7) {
    transition-delay: 1.2s;
}

.v4ProductGrid img,
.v4ProductGrid a,
.v4NewsGrid img,
.v4NewsGrid a {
    -webkit-user-drag: none;
    user-select: none;
}

.v4ProductTile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8rem;
    color: var(--v4-white);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    opacity: 0;
    translate: 2.5rem 0;
    transition: opacity 1.2s ease-out, translate 1.2s ease-out;
}

html[dir="rtl"] .v4ProductTile {
    translate: -2.5rem 0;
}

.v4ProductLogo {
    max-width: 55%;
    max-height: 45%;
}

.v4ProductWordmark span {
    font-weight: 400;
}

.v4ProductWordmark .v4Dot {
    color: var(--v4-cyan);
    font-weight: 800;
}

.v4ProductHover {
    display: none;
}

.v4ProductZeds {
    background: var(--v4-brand-zeds);
}

.v4ProductSharoo {
    background: var(--v4-brand-sharoo);
}

.v4ProductBusiness {
    background: var(--v4-brand-business);
}

/* white, not --v4-brand-savva: the purple Savva wordmark is unreadable on the red brand tile */
.v4ProductSavva {
    background: var(--v4-white);
}

.v4ProductBookly {
    background: var(--v4-brand-bookly);
}

.v4ProductPd {
    background: var(--v4-brand-pd);
}

.v4ProductLoyalty {
    background: var(--v4-brand-loyalty);
}

/* ---------- about us ---------- */

.v4About {
    background: var(--v4-white);
    width: 100%;
}

.v4AboutInner {
    padding: 3rem 1.25rem 2rem;
    max-width: var(--v4-max-width);
    margin: 0 auto;
    width: 100%;
}

.v4AboutText > * {
    opacity: 0;
    translate: 0 2.5rem;
    transition: opacity 0.8s ease-out, translate 0.8s ease-out;
}

.v4About.v4InView .v4AboutText > * {
    opacity: 1;
    translate: 0 0;
}

.v4About.v4InView .v4AboutText > *:nth-child(1) {
    transition-delay: 0.1s;
}

.v4About.v4InView .v4AboutText > *:nth-child(2) {
    transition-delay: 0.3s;
}

.v4About.v4InView .v4AboutText > *:nth-child(3) {
    transition-delay: 0.5s;
}

.v4About.v4InView .v4AboutText > *:nth-child(4) {
    transition-delay: 0.7s;
}

.v4About.v4InView .v4AboutText > *:nth-child(5) {
    transition-delay: 0.9s;
}

.v4Eyebrow {
    color: var(--v4-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.v4AboutText h2 {
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.25;
}

.v4AboutText h2 .v4Accent {
    font-weight: 700;
}

.v4AboutText p {
    color: var(--v4-text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.v4WatchStory {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding-block: 0.75rem;
    padding-inline-start: 0.6rem;
    padding-inline-end: 1.5rem;
    border-radius: 100px;
    background: var(--v4-purple);
    font-weight: 600;
    color: var(--v4-white);
}

.v4PlayIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--v4-white);
    color: var(--v4-purple);
    font-size: 0.65rem;
}

.v4AboutMedia {
    margin-top: 2rem;
}

.v4AboutImg {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: var(--v4-radius);
    object-fit: cover;
    opacity: 0;
    scale: 1.2;
    transition: opacity 1s ease-out 1.1s, scale 1s ease-out 1.1s;
}

.v4About.v4InView .v4AboutImg {
    opacity: 1;
    scale: 1;
}

.v4StatsBar {
    display: flex;
    justify-content: space-between;
    background: var(--v4-white);
    border-radius: var(--v4-radius);
    box-shadow: 0 10px 30px rgba(20, 8, 45, 0.1);
    padding: 1.25rem 1rem;
    margin-top: -2.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    translate: 0 1.5rem;
    transition: opacity 0.8s ease-out 1.6s, translate 0.8s ease-out 1.6s;
}

.v4About.v4InView .v4StatsBar {
    opacity: 1;
    translate: 0 0;
}

.v4Stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.v4Stat strong {
    font-size: 1.1rem;
    color: var(--v4-purple);
}

.v4Stat span {
    font-size: 0.65rem;
    color: var(--v4-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---------- ecosystem ---------- */

.v4Ecosystem {
    background: linear-gradient(160deg, #2b0a52 0%, var(--v4-ink) 70%);
    color: var(--v4-white);
    padding: 3.5rem 1.25rem;
    margin-top: 2rem;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.v4EcosystemText {
    max-width: var(--v4-max-width);
    margin: 0 auto 2rem;
}

.v4EcosystemText > * {
    opacity: 0;
    translate: 0 2.5rem;
    transition: opacity 0.8s ease-out, translate 0.8s ease-out;
}

.v4Ecosystem.v4InView .v4EcosystemText > * {
    opacity: 1;
    translate: 0 0;
}

.v4Ecosystem.v4InView .v4EcosystemText > *:nth-child(1) {
    transition-delay: 0.1s;
}

.v4Ecosystem.v4InView .v4EcosystemText > *:nth-child(2) {
    transition-delay: 0.3s;
}

.v4Ecosystem.v4InView .v4EcosystemText > *:nth-child(3) {
    transition-delay: 0.5s;
}

.v4EcosystemText h2 {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.15;
}

.v4EcosystemText .v4Accent {
    color: var(--v4-white);
    font-weight: 700;
}

.v4EcosystemText p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}

.v4EcosystemArt {
    max-width: var(--v4-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.v4EcoDiagram {
    position: relative;
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 1 / 1;
    /* top/bottom nodes sit past the diagram box (beyond the 5th ring) */
    margin-block: 9%;
}

.v4EcoRings,
.v4EcoPaths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* rings extend 15% past the diagram on every side; start shrunk/hidden, expand on scroll-in */
.v4EcoRings {
    inset: -15%;
    width: 130%;
    height: 130%;
    scale: 0.6;
    opacity: 0;
    transition: scale 1.2s ease-out, opacity 1.2s ease-out;
}

.v4EcoRings circle {
    fill: none;
    stroke: rgba(152, 76, 255, 0.18);
    stroke-width: 1;
}

/* set on the svg so the <use> arrow copies inherit it (selectors don't reach into <use> clones) */
.v4EcoPaths {
    fill: rgba(83, 0, 188, 1);
    opacity: 0;
    transition: opacity 0.8s ease-out 0.6s;
}

.v4EcoNode {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.v4EcoNode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4EcoNodeCenter {
    width: 26%;
    height: 26%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 50%;
    background: var(--v4-purple);
    box-shadow: none;
    padding: 5%;
}

.v4EcoNodeCenter img {
    object-fit: contain;
}

/* wordmark from /logos on the same brand colour as its product tile */
.v4EcoNodeLogo {
    padding: 1.5%;
}

.v4EcoNodeLogo img {
    object-fit: contain;
}

.v4EcoNodePd.v4EcoNodeLogo {
    background: var(--v4-brand-pd);
}

.v4EcoNodeBookly.v4EcoNodeLogo {
    background: var(--v4-brand-bookly);
}

.v4EcoNodeSharoo.v4EcoNodeLogo {
    background: var(--v4-brand-sharoo);
}

.v4EcoNodeBusiness.v4EcoNodeLogo {
    background: var(--v4-brand-business);
}

.v4EcoNodeZeds.v4EcoNodeLogo {
    background: var(--v4-brand-zeds);
}

/* outer nodes: top/left is the node centre (every 60deg from the top at r=211 of 400, just past the 5th ring, matching the arrows);
   60x54px on desktop, same proportion of the diagram below that; --tilt gives each a slight rotation */
.v4EcoNodeSavva,
.v4EcoNodePd,
.v4EcoNodeBookly,
.v4EcoNodeZeds,
.v4EcoNodeSharoo,
.v4EcoNodeBusiness {
    width: 12.5%;
    height: 11.25%;
    transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
}

.v4EcoNodeSavva {
    --tilt: -10deg;
    top: -2.8%;
    left: 50%;
    background: var(--v4-brand-zeds);
}

.v4EcoNodeSavva img {
    object-fit: contain;
}

.v4EcoNodePd {
    --tilt: 12deg;
    top: 23.6%;
    left: 95.7%;
}

.v4EcoNodeBookly {
    --tilt: -8deg;
    top: 76.4%;
    left: 95.7%;
}

.v4EcoNodeZeds {
    --tilt: 10deg;
    top: 102.8%;
    left: 50%;
}

.v4EcoNodeSharoo {
    --tilt: -14deg;
    top: 76.4%;
    left: 4.3%;
}

.v4EcoNodeBusiness {
    --tilt: 8deg;
    top: 23.6%;
    left: 4.3%;
}

/* diagram animation: on scroll-in the rings expand, the centre pops, arrows fade in,
   then nodes pop one by one; afterwards rings ripple outward and nodes float.
   Uses the individual scale/translate properties so the nodes' transform (centring + tilt) is untouched. */
.v4EcoNodeCenter,
.v4EcoDiagram .v4EcoNodeLogo,
.v4EcoNodeSavva {
    scale: 0;
    opacity: 0;
    transition: scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
}

.v4Ecosystem.v4InView .v4EcoRings,
.v4Ecosystem.v4InView .v4EcoNodeCenter,
.v4Ecosystem.v4InView .v4EcoDiagram .v4EcoNodeLogo,
.v4Ecosystem.v4InView .v4EcoNodeSavva {
    scale: 1;
    opacity: 1;
}

.v4Ecosystem.v4InView .v4EcoNodeCenter {
    transition-delay: 0.3s;
}

.v4Ecosystem.v4InView .v4EcoPaths {
    opacity: 1;
}

.v4Ecosystem.v4InView .v4EcoNodeSavva {
    transition-delay: 1s;
}

.v4Ecosystem.v4InView .v4EcoNodePd {
    transition-delay: 1.15s;
}

.v4Ecosystem.v4InView .v4EcoNodeBookly {
    transition-delay: 1.3s;
}

.v4Ecosystem.v4InView .v4EcoNodeZeds {
    transition-delay: 1.45s;
}

.v4Ecosystem.v4InView .v4EcoNodeSharoo {
    transition-delay: 1.6s;
}

.v4Ecosystem.v4InView .v4EcoNodeBusiness {
    transition-delay: 1.75s;
}

/* continuous loops only for users who haven't asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .v4Ecosystem.v4InView .v4EcoNodeSavva {
        animation: v4EcoFloat 4s ease-in-out 1.6s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoNodePd {
        animation: v4EcoFloat 4.6s ease-in-out 1.75s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoNodeBookly {
        animation: v4EcoFloat 4.2s ease-in-out 1.9s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoNodeZeds {
        animation: v4EcoFloat 4.8s ease-in-out 2.05s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoNodeSharoo {
        animation: v4EcoFloat 4.4s ease-in-out 2.2s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoNodeBusiness {
        animation: v4EcoFloat 5s ease-in-out 2.35s infinite;
    }

    .v4Ecosystem.v4InView .v4EcoRings circle {
        animation: v4EcoRipple 3.2s ease-in-out infinite;
    }

    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(2) { animation-delay: 0.2s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(3) { animation-delay: 0.4s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(4) { animation-delay: 0.6s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(5) { animation-delay: 0.8s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(6) { animation-delay: 1s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(7) { animation-delay: 1.2s; }
    .v4Ecosystem.v4InView .v4EcoRings circle:nth-child(8) { animation-delay: 1.4s; }
}

@keyframes v4EcoFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -6px;
    }
}

@keyframes v4EcoRipple {
    0%,
    100% {
        stroke: rgba(152, 76, 255, 0.18);
    }

    50% {
        stroke: rgba(152, 76, 255, 0.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .v4EcoRings,
    .v4EcoPaths,
    .v4EcoNodeCenter,
    .v4EcoDiagram .v4EcoNodeLogo,
    .v4EcoNodeSavva {
        scale: 1;
        opacity: 1;
        transition: none;
    }
}

/* ---------- news ---------- */

.v4News {
    /* max-width: var(--v4-max-width); */
    width: 100%;
    padding: 3rem 1.25rem;
}

.v4News h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.v4NewsGrid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v4NewsCard {
    background: var(--v4-white);
    border-radius: var(--v4-radius);
    padding-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(20, 8, 45, 0.06);
    opacity: 0;
    translate: 0 3rem;
    scale: 0.9;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), translate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v4News.v4InView .v4NewsCard {
    opacity: 1;
    translate: 0 0;
    scale: 1;
}

.v4News.v4InView .v4NewsCard:nth-child(2) {
    transition-delay: 0.15s;
}

.v4News.v4InView .v4NewsCard:nth-child(3) {
    transition-delay: 0.3s;
}

.v4NewsImg {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: 0;
}

.v4NewsLogoBookly {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #1652c9;
    color: var(--v4-white);
    border: none;
}

.v4NewsBooklyName {
    font-weight: 800;
    font-size: 2rem;
}

.v4NewsPoweredBy {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.85;
}

.v4NewsPoweredLogo {
    height: 1.1rem;
    width: auto;
}

.v4NewsCard h3 {
    margin-top: 1.25rem;
    padding: 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--v4-ink);
}

.v4NewsCard p {
    margin-top: 0.6rem;
    padding: 0 1.25rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--v4-text-muted);
}

.v4NewsCard a {
    display: inline-block;
    margin: 0.6rem 1.25rem 0;
    font-weight: 600;
    color: var(--v4-purple);
    font-size: 0.85rem;
}

/* ---------- final CTA ---------- */

.v4Cta {
    position: relative;
    margin: 1rem 1.25rem 3rem;
    border-radius: var(--v4-radius);
    overflow: hidden;
    min-height: 14rem;
    display: flex;
    align-items: center;
}

.v4CtaBg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4CtaOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 7, 21, 0.55) 0%, rgba(11, 7, 21, 0.75) 100%);
}

.v4CtaContent {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
}

.v4CtaContent h2 {
    color: var(--v4-white);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.4;
}

.v4CtaStrong {
    font-weight: 700;
}

.v4CtaContent p {
    color: var(--v4-white);
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 32rem;
}

.v4CtaTagline {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 2rem;
    color: var(--v4-white);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.6;
    opacity: 0.8;
}

/* ================= tablet ================= */

@media (min-width: 768px) {
    .v4Hero {
        padding: 8rem 3rem 4rem;
    }

    .v4HeroText h1 {
        font-size: 4.25rem;
    }

    .v4HeroActions {
        flex-direction: row;
    }

    .v4Ways,
    .v4Products,
    .v4About,
    .v4News {
        padding-inline-start: 3rem;
        /* padding-inline-end: 3rem; */
    }

    .v4WaysGrid {
        grid-template-columns: repeat(4, 1fr);
    }

    .v4ProductGrid {
        flex-direction: row;
    }

    .v4ProductTile {
        flex: 1;
        height: 9rem;
    }

    .v4ProductLogo {
        max-width: 45%;
        max-height: 40%;
    }

    .v4NewsGrid {
        flex-direction: row;
    }

    .v4NewsCard {
        flex: 1;
    }

    .v4Ecosystem {
        padding: 4.5rem 3rem;
    }

    .v4EcosystemText,
    .v4EcosystemArt {
        max-width: var(--v4-max-width);
    }
}

/* ================= desktop ================= */

@media (min-width: 1024px) {
    .v4Hero {
        padding: 9rem 5rem 5rem;
    }

    .v4HeroInner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .v4HeroText {
        flex: 1 1 50%;
        max-width: 34rem;
    }

    .v4HeroText h1 {
        font-size: 3.4rem;
    }

    .v4HeroArt {
        flex: 1 1 45%;
    }

    .v4HeroImg {
        max-width: 32rem;
    }

    .v4Ways,
    .v4Products,
    .v4News {
        padding-inline-start: 5rem;
        /* padding-inline-end: 5rem; */
    }

    .v4NewsGrid {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        cursor: grab;
    }
    .v4Products{
        padding-block: 1rem 3rem;
        padding-inline: 1.25rem 0;
    }

    .v4NewsGrid::-webkit-scrollbar {
        display: none;
    }

    .v4NewsGrid.v4Dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        scroll-behavior: auto;
        user-select: none;
    }

    .v4NewsCard {
        flex: 1 0 32rem;
        scroll-snap-align: start;
    }

    .v4Ways {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 3rem;
    }

    .v4WaysText {
        flex: 1 1 40%;
        max-width: 30rem;
    }

    .v4WaysText h2 {
        font-size: 3.5rem;
    }

    .v4WaysGrid {
        flex: 1 1 55%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 9rem);
        max-width: 34rem;
    }

    .v4WaysTile1 {
        grid-column: 1;
        grid-row: 1;
        background-position: 28% 0%;
    }

    .v4WaysTile2 {
        grid-column: 2;
        grid-row: 1 / span 2;
        background-position: 74% 0%;
    }

    .v4WaysTile3 {
        grid-column: 1;
        grid-row: 2 / span 2;
        background-position: 28% 58%;
    }

    .v4WaysTile4 {
        grid-column: 2;
        grid-row: 3;
        background-position: 72% 75%;
    }

    .v4WaysTile {
        aspect-ratio: auto;
    }

    .v4ProductGrid {
        display: flex;
        flex-direction: row;
        /* gap: 1rem; */
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
        cursor: grab;
    }

    .v4ProductGrid::-webkit-scrollbar {
        display: none;
    }

    .v4ProductGrid.v4Dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        scroll-behavior: auto;
        user-select: none;
    }

    .v4ProductTile {
        flex: 0 0 auto;
        width: 29rem;
        height: 25rem;
        /* border-radius: var(--v4-radius); */
        scroll-snap-align: start;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .v4ProductTile::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }

    .v4ProductLogo,
    .v4ProductWordmark {
        position: relative;
        z-index: 2;
    }

    .v4ProductLogo {
        max-width: 50%;
        max-height: 35%;
    }

    .v4ProductHover {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        position: absolute;
        left: 1.75rem;
        right: 1.75rem;
        bottom: 1.75rem;
        opacity: 0;
        z-index: 2;
    }

    .v4ProductName {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .v4ProductCta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.75rem;
        border-radius: 100px;
        background: var(--v4-purple);
        color: var(--v4-white);
        font-size: 1rem;
        font-weight: 600;
    }

    .v4ProductSoon {
        background: transparent;
        padding: 0;
        opacity: 0.8;
    }

    .v4ProductHover:has(.v4ProductSoon) {
        top: 0;
    }

    .v4ProductHover:has(.v4ProductSoon) .v4ProductName {
        position: absolute;
        left: 0;
        bottom: 1.75rem;
    }

    .v4ProductHover:has(.v4ProductSoon) .v4ProductSoon {
        position: absolute;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
    }

    .v4ProductTile:hover::before {
        animation: v4ProductHoverFadeIn 0.3s linear forwards;
    }

    .v4ProductTile:hover .v4ProductHover {
        animation: v4ProductHoverFadeIn 0.3s linear forwards;
    }

    .v4ProductTile:hover .v4ProductLogo,
    .v4ProductTile:hover .v4ProductWordmark {
        animation: v4ProductLogoRaise 0.3s linear forwards;
    }

    .v4ProductTile:hover .v4ProductName {
        animation: v4ProductHoverFadeIn 0.3s linear forwards;
    }

    .v4ProductTile:hover .v4ProductCta {
        animation: v4ProductHoverFadeIn 0.3s linear forwards;
    }

    @keyframes v4ProductHoverFadeIn {
        0% {
            animation-timing-function: ease-out;
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes v4ProductLogoRaise {
        0% {
            animation-timing-function: ease-out;
            translate: 0px 0px;
        }

        100% {
            translate: 0px -7rem;
        }
    }

    .v4AboutInner {
        display: flex;
        align-items: flex-start;
        gap: 3rem;
        padding-block: 4.5rem;
        padding-inline-start: 5rem;
        padding-inline-end: 0;
        max-width: none;
    }

    .v4AboutText {
        flex: 1 1 38%;
        max-width: 26rem;
    }

    .v4AboutMedia {
        flex: 1 1 60%;
        margin-top: 0;
        max-width: none;
    }

    .v4AboutImg {
        border-radius: 0;
        border-start-start-radius: var(--v4-radius);
    }

    .v4StatsBar {
        max-width: 32rem;
        margin-left: 0;
        margin-right: 0;
    }

    .v4Ecosystem {
        padding: 5.5rem 5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .v4EcosystemText {
        margin: 0;
        flex: 1 1 45%;
        max-width: 26rem;
    }

    .v4EcosystemArt {
        flex: 1 1 40%;
    }

    .v4EcosystemText h2 {
        font-size: 3rem;
    }

    .v4EcoDiagram {
        max-width: 30rem;
    }

    .v4EcoNodeSavva,
    .v4EcoNodePd,
    .v4EcoNodeBookly,
    .v4EcoNodeZeds,
    .v4EcoNodeSharoo,
    .v4EcoNodeBusiness {
        width: 60px;
        height: 54px;
    }

    .v4Cta {
        margin: 1.5rem 5rem 4rem;
        min-height: 18rem;
    }

    .v4CtaContent {
        padding: 3.5rem 4rem;
        align-items: center;
        text-align: center;
    }

    .v4CtaContent h2 {
        font-size: 2rem;
    }
}
