/* =========================================================
   ROK HERO
========================================================= */

.rok-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    background: #02091b;
    color: #ffffff;
    isolation: isolate;
    display: flex;
    align-items: center;
}


/* =========================================================
   BACKGROUND
========================================================= */

.rok-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -10;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(57, 25, 150, 0.42),
            transparent 34%
        ),
        radial-gradient(
            circle at 95% 15%,
            rgba(31, 73, 180, 0.24),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #02091b 0%,
            #030b22 48%,
            #080b2d 72%,
            #18082f 100%
        );
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.rok-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -8;
}

.rok-hero__glow--left {
    width: 420px;
    height: 420px;
    left: -220px;
    top: 25%;
    background: rgba(0, 76, 190, 0.16);
}

.rok-hero__glow--right {
    width: 550px;
    height: 550px;
    right: -180px;
    top: 5%;
    background: rgba(116, 0, 190, 0.20);
}


/* =========================================================
   DOT PATTERN
========================================================= */

.rok-hero__dots {
    position: absolute;
    width: 350px;
    height: 320px;
    right: -10px;
    top: 20px;

    opacity: 0.55;
    z-index: -5;

    background-image: radial-gradient(
        rgba(255, 45, 150, 0.58) 1px,
        transparent 1px
    );

    background-size: 14px 14px;

    mask-image: linear-gradient(
        to left,
        black,
        transparent
    );

    -webkit-mask-image: linear-gradient(
        to left,
        black,
        transparent
    );
}


/* =========================================================
   FLOOR GRID
========================================================= */

.rok-hero__grid {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -220px;

    height: 400px;

    opacity: 0.14;
    z-index: -7;

    background-image:
        linear-gradient(
            rgba(53, 93, 180, 0.45) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(53, 93, 180, 0.45) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    transform:
        perspective(550px)
        rotateX(62deg);

    transform-origin: center top;
}


/* =========================================================
   ORANGE ORBITS
========================================================= */

.rok-hero__orbit {
    position: absolute;

    border: 2px solid rgba(255, 101, 0, 0.38);

    border-radius: 50%;

    pointer-events: none;

    z-index: -3;
}

.rok-hero__orbit--one {
    width: 900px;
    height: 370px;

    right: -20px;
    top: 250px;

    transform: rotate(-24deg);
}

.rok-hero__orbit--two {
    width: 1100px;
    height: 430px;

    right: -250px;
    top: 370px;

    transform: rotate(-27deg);

    opacity: 0.38;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.rok-hero__container {
    position: relative;

    width: min(1310px, calc(100% - 40px));

    min-height: 550px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.rok-hero__content {
    position: relative;

    z-index: 10;

    width: 48%;
    max-width: 760px;

    padding-top: 50px;
    padding-bottom: 50px;
}


/* =========================================================
   EYEBROW
========================================================= */

.rok-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

    font-size: 15px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.02em;

    text-transform: uppercase;
}

.rok-hero__eyebrow span {
    display: block;

    width: 36px;
    height: 2px;

    flex-shrink: 0;

    background: #ff6500;
}


/* =========================================================
   HEADING
========================================================= */

.rok-hero__heading {
    margin: 0;
    padding: 0;

    font-size: 62px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -0.035em;

    color: #ffffff;
}

.rok-hero__line {
    display: block;
}

.rok-hero__highlight {
    color: #ff6500;

    margin-left: 8px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.rok-hero__description {
    max-width: 720px;

    margin-top: 25px;

    font-size: 20px;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   BUTTONS
========================================================= */

.rok-hero__buttons {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 30px;
}

.rok-hero__button {
    min-height: 64px;

    padding: 0 30px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border-radius: 6px;

    font-size: 17px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.rok-hero__button strong {
    font-size: 23px;

    line-height: 1;
}

.rok-hero__button--primary {
    background: #ff6500;

    color: #ffffff;

    box-shadow:
        0 12px 35px rgba(255, 101, 0, 0.18);
}

.rok-hero__button--secondary {
    background: #ffffff;

    color: #ff6500;
}

.rok-hero__button:hover {
    transform: translateY(-3px);
}

.rok-hero__button--primary:hover {
    box-shadow:
        0 18px 45px rgba(255, 101, 0, 0.30);
}


/* =========================================================
   FEATURES
========================================================= */

.rok-hero__features {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 22px;
}

.rok-hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rok-hero__feature-icon {
    width: 48px;
    min-width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ff6500;

    font-size: 30px;
}

.rok-hero__feature strong,
.rok-hero__feature span {
    display: block;
}

.rok-hero__feature strong {
    font-size: 17px;

    line-height: 1.25;
}

.rok-hero__feature span {
    font-size: 17px;

    line-height: 1.25;
}


/* =========================================================
   RIGHT VISUAL
   IMPORTANT:
   THE IMAGE IS NOW BOTTOM-ALIGNED
========================================================= */

.rok-hero__visual {
    position: absolute;

    right: -30px;

    bottom: 0;

    top: auto;

    width: 62%;

    height: auto;

    min-height: 0;

    z-index: 4;

    pointer-events: none;
}


/* =========================================================
   IMAGE WRAPPER
========================================================= */

.rok-hero__image-wrap {
    position: relative;

    width: 100%;

    right: -5%;

    bottom: 0;

    top: auto;

    transform: none;
}


/* =========================================================
   IMAGE GLOW
========================================================= */

.rok-hero__image-glow {
    position: absolute;

    width: 70%;
    height: 70%;

    left: 15%;
    top: 15%;

    background: rgba(80, 30, 255, 0.24);

    filter: blur(75px);

    border-radius: 50%;

    z-index: -1;
}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.rok-hero__image {
    position: relative;

    display: block;

    width: 100%;

    height: auto;

    max-width: none;

    object-fit: contain;

    object-position: bottom center;
}


/* =========================================================
   FLOATING IDEAS / DESIGN / RESULTS
========================================================= */

.rok-hero__floating-text {
    position: absolute;

    top: 7%;

    right: -2%;

    display: flex;

    flex-direction: column;

    z-index: 8;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-size: 45px;

    line-height: 0.98;

    font-weight: 400;

    font-style: italic;

    color: #ffffff;
}

.rok-hero__floating-text span {
    display: block;
}

.rok-hero__floating-text span:nth-child(3) {
    color: #ff6500;
}

.rok-hero__floating-text i {
    display: block;

    width: 130px;

    height: 3px;

    margin-top: 15px;

    margin-left: 55px;

    background: #ff6500;

    transform: rotate(-18deg);
}


/* =========================================================
   PERFORMANCE BADGE
========================================================= */

.rok-hero__badge {
    position: absolute;

    right: 1%;

    bottom: 7%;

    width: 165px;

    height: 165px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border: 1.5px solid #ff6500;

    border-radius: 50%;

    background:
        rgba(3, 9, 27, 0.88);

    box-shadow:
        0 0 0 8px rgba(255, 101, 0, 0.035),
        0 0 35px rgba(255, 101, 0, 0.12);

    text-align: center;

    z-index: 10;
}

.rok-hero__badge-icon {
    margin-bottom: 8px;

    color: #ff6500;

    font-size: 25px;
}

.rok-hero__badge strong {
    display: block;

    font-size: 16px;

    line-height: 1.1;

    font-weight: 800;
}

.rok-hero__badge span {
    display: block;

    margin-top: 3px;

    font-size: 11px;

    line-height: 1.1;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.rok-hero-animate {
    opacity: 0;

    animation-fill-mode: forwards;
}


/* Eyebrow */

.rok-delay-1 {
    animation:
        rokFadeUp
        0.7s
        ease
        0.15s
        forwards;
}


/* ENTIRE HEADING */

.rok-delay-heading {
    animation:
        rokFadeUp
        0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.30s
        forwards;
}


/* Description */

.rok-delay-description {
    animation:
        rokFadeUp
        0.7s
        ease
        0.84s
        forwards;
}


/* Buttons */

.rok-delay-buttons {
    animation:
        rokFadeUp
        0.7s
        ease
        1.02s
        forwards;
}


/* RIGHT IMAGE */

.rok-delay-image {
    animation:
        rokImageIn
        1s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.05s
        forwards;
}


/* Features */

.rok-delay-feature-1 {
    animation:
        rokFadeUp
        0.7s
        ease
        1.20s
        forwards;
}

.rok-delay-feature-2 {
    animation:
        rokFadeUp
        0.7s
        ease
        1.38s
        forwards;
}

.rok-delay-feature-3 {
    animation:
        rokFadeUp
        0.7s
        ease
        1.56s
        forwards;
}


/* Badge */

.rok-delay-badge {
    animation:
        rokBadgeIn
        0.75s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.85s
        forwards;
}


/* Floating text */

.rok-delay-floating {
    animation:
        rokFloatingIn
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        2s
        forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes rokFadeUp {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/*
   IMAGE ENTERS FROM RIGHT
   WITHOUT VERTICAL CENTERING
*/

@keyframes rokImageIn {

    from {
        opacity: 0;

        transform:
            translateX(90px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


@keyframes rokBadgeIn {

    from {
        opacity: 0;

        transform:
            scale(0.65);
    }

    to {
        opacity: 1;

        transform:
            scale(1);
    }
}


@keyframes rokFloatingIn {

    from {
        opacity: 0;

        transform:
            translateX(40px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (max-width: 1400px) {

    .rok-hero__container {
        width:
            min(
                1320px,
                calc(100% - 60px)
            );
    }

    .rok-hero__heading {
        font-size: 56px;
    }

    .rok-hero__visual {
        right: -60px;

        width: 63%;
    }

    .rok-hero__features {
        gap: 38px;
    }

    .rok-hero__floating-text {
        right: 0;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rok-hero {
        min-height: auto;

        padding:
            90px
            0
            0;
    }

    .rok-hero__container {

        width:
            calc(100% - 50px);

        min-height: auto;

        flex-direction: column;

        align-items: center;
    }

    .rok-hero__content {

        width: 100%;

        max-width: 760px;

        padding:
            0
            0
            50px;

        text-align: center;
    }

    .rok-hero__eyebrow {
        justify-content: center;
    }

    .rok-hero__description {
        margin-left: auto;

        margin-right: auto;
    }

    .rok-hero__buttons {
        justify-content: center;
    }

    .rok-hero__features {
        justify-content: center;
    }


    /*
       On tablet the image becomes a normal
       block underneath the content.
    */

    .rok-hero__visual {

        position: relative;

        right: auto;

        bottom: auto;

        width: 100%;

        height: auto;

        min-height: 0;

        margin-top: 10px;

        transform: none;
    }

    .rok-hero__image-wrap {

        width: 100%;

        right: 0;

        bottom: auto;
    }

    .rok-hero__floating-text {

        top: 3%;

        right: 3%;
    }

    .rok-hero__badge {

        right: 4%;

        bottom: 4%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .rok-hero {

        padding:
            70px
            0
            0;
    }

    .rok-hero__container {

        width:
            calc(100% - 35px);
    }

    .rok-hero__heading {

        font-size: 43px;

        line-height: 1.08;
    }

    .rok-hero__description {

        font-size: 17px;
    }

    .rok-hero__buttons {

        flex-direction: column;

        width: 100%;
    }

    .rok-hero__button {

        width: 100%;
    }

    .rok-hero__features {

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        width: fit-content;

        margin-left: auto;

        margin-right: auto;
    }

    .rok-hero__visual {

        width: 115%;

        margin-left: -7.5%;
    }

    .rok-hero__floating-text {

        top: 2%;

        right: 0;

        font-size: 32px;
    }

    .rok-hero__floating-text i {

        width: 85px;

        margin-left: 30px;
    }

    .rok-hero__badge {

        width: 125px;

        height: 125px;

        right: 0;

        bottom: 3%;
    }

    .rok-hero__badge strong {

        font-size: 12px;
    }

    .rok-hero__badge span {

        font-size: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .rok-hero {

        padding-top: 60px;
    }

    .rok-hero__heading {

        font-size: 35px;
    }

    .rok-hero__eyebrow {

        font-size: 12px;
    }

    .rok-hero__eyebrow span {

        width: 25px;
    }

    .rok-hero__visual {

        width: 125%;

        margin-left: -12.5%;
    }

    .rok-hero__floating-text {

        font-size: 25px;
    }

    .rok-hero__badge {

        width: 100px;

        height: 100px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .rok-hero-animate {

        opacity: 1 !important;

        animation: none !important;
    }
}