/* =========================================================
   HT MOTOR 3D SECTION
========================================================= */

.cem-ht3d-section {

    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background:
      radial-gradient(
            circle at 8% 20%,
            rgba(
                53,
                189,
                246,
                0.18
            ),
            transparent 32%
        ),

        radial-gradient(
            circle at 95% 85%,
            rgba(
                22,
                143,
                232,
                0.12
            ),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fdff 30%,
            #e9f8ff 65%,
            #ffffff 100%
        );

    color: #fff;

    font-family:
        "Inter",
        Arial,
        sans-serif;

}


/* GRID */

.cem-ht3d-grid {

    position: absolute;
    inset: 0;

    opacity: .15;

    background-image:
        linear-gradient(
            rgba(255,255,255,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.05) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform:
        perspective(700px)
        rotateX(55deg)
        scale(1.5);

    transform-origin: center bottom;

}


/* GLOW */

.cem-ht3d-glow {

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

}

.glow-one {

    background: rgba(0,168,255,.13);

    top: 10%;
    left: -180px;

}

.glow-two {

    background: rgba(0,91,255,.10);

    bottom: 0;
    right: -180px;

}


/* CONTAINER */

.cem-ht3d-container {

    position: relative;

    width: min(1280px, 92%);

    margin: auto;

}


/* =========================================================
   HEADING
========================================================= */

.cem-ht3d-heading {

    max-width: 850px;

    margin-bottom: 75px;

}

.cem-ht3d-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 12px;

    letter-spacing: 3px;

    color: #45c7ff;

    font-weight: 700;

}

.cem-ht3d-label::before {

    content: "";

    width: 30px;
    height: 2px;

    background: #45c7ff;

}


.cem-ht3d-heading h2 {

    margin: 20px 0 20px;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 800;

}

.cem-ht3d-heading h2 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #000,
            #38c7ff
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}


.cem-ht3d-heading p {

    max-width: 680px;

    color: #9eb1c3;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   MAIN
========================================================= */

.cem-ht3d-main {

    display: grid;

    grid-template-columns:
        .95fr
        1.05fr;

    gap: 70px;

    align-items: center;

}


/* =========================================================
   LEFT CONTENT
========================================================= */

.cem-ht3d-small-title {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 11px;

    letter-spacing: 2px;

    color: #4acbff;

    font-weight: 700;

}

.cem-ht3d-small-title span {

    width: 35px;
    height: 1px;

    background: #4acbff;

}


.cem-ht3d-content h3 {

    font-size: 42px;

    line-height: 1.12;

    margin: 20px 0;

}

.cem-ht3d-content h3 strong {

    display: block;

    color: #42c9ff;

}


.cem-ht3d-content > p {

    color: #94a9bc;

    line-height: 1.8;

    font-size: 15px;

    max-width: 620px;

}


/* FEATURES */

.cem-ht3d-features {

    margin-top: 35px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}


.cem-ht3d-feature {

    position: relative;

    display: flex;

    gap: 15px;

    padding: 18px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(12px);

    transition:
        transform .35s ease,
        border .35s ease,
        background .35s ease;

    transform-style: preserve-3d;

}


.cem-ht3d-feature:hover {

    transform:
        perspective(700px)
        rotateX(5deg)
        rotateY(-5deg)
        translateY(-5px);

    border-color:
        rgba(63,199,255,.45);

}


.cem-feature-icon {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(61,202,255,.35);

    color: #42caff;

    font-size: 12px;

    background:
        rgba(36,181,255,.08);

}


.cem-feature-icon i {

    font-style: normal;

}


.cem-ht3d-feature h4 {

    margin: 0 0 6px;

    font-size: 14px;

}


.cem-ht3d-feature p {

    margin: 0;

    color: #8196aa;

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   3D MOTOR STAGE
========================================================= */

.cem-motor-stage {

    position: relative;

    height: 590px;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 1200px;

}


/* FLOOR */

.cem-motor-shadow {

    position: absolute;

    width: 430px;
    height: 100px;

    border-radius: 50%;

    bottom: 90px;

    background:
        radial-gradient(
            ellipse,
            rgba(0,174,255,.25),
            transparent 70%
        );

    filter: blur(20px);

}


/* =========================================================
   ORBITS
========================================================= */

.cem-orbit {

    position: absolute;

    width: 430px;
    height: 170px;

    border: 1px solid
        rgba(53,195,255,.28);

    border-radius: 50%;

    transform:
        rotateX(65deg)
        rotateZ(25deg);

    animation:
        orbitRotate 8s linear infinite;

}


.orbit-2 {

    width: 500px;
    height: 190px;

    transform:
        rotateX(65deg)
        rotateZ(-30deg);

    animation-duration: 11s;

}


.orbit-3 {

    width: 360px;
    height: 140px;

    transform:
        rotateX(65deg)
        rotateZ(90deg);

    animation-duration: 6s;

}


@keyframes orbitRotate {

    from {
        transform:
            rotateX(65deg)
            rotateZ(0deg);
    }

    to {
        transform:
            rotateX(65deg)
            rotateZ(360deg);
    }

}


/* =========================================================
   MOTOR
========================================================= */

.cem-motor {

    position: relative;

    width: 390px;
    height: 270px;

    transform-style: preserve-3d;

    transform:
        rotateX(5deg)
        rotateY(-18deg)
        rotateZ(-3deg);

    animation:
        motorFloat 5s ease-in-out infinite;

    z-index: 5;

}


@keyframes motorFloat {

    0%,100% {
        transform:
            rotateX(5deg)
            rotateY(-18deg)
            translateY(0);
    }

    50% {
        transform:
            rotateX(8deg)
            rotateY(-13deg)
            translateY(-13px);
    }

}


/* BODY */

.motor-body {

    position: absolute;

    width: 330px;
    height: 240px;

    left: 30px;
    top: 15px;

    border-radius: 35px;

    background:
        linear-gradient(
            90deg,
            #162b3e,
            #2d475c 45%,
            #101e2c
        );

    box-shadow:
        inset 10px 0 20px rgba(255,255,255,.05),
        inset -15px 0 30px rgba(0,0,0,.45),
        20px 30px 50px rgba(0,0,0,.5);

    transform-style: preserve-3d;

}


/* MOTOR RIBS */

.motor-ribs {

    position: absolute;

    inset: 20px 0;

    display: flex;

    justify-content: space-evenly;

}


.motor-ribs span {

    width: 9px;
    height: 200px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #0b1824,
            #557087,
            #0b1824
        );

    box-shadow:
        3px 0 4px rgba(0,0,0,.5);

}


/* TOP */

.motor-top {

    position: absolute;

    width: 90px;
    height: 35px;

    left: 110px;
    top: -18px;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #466175,
            #162b3c
        );

    transform:
        translateZ(5px);

}


/* FRONT */

.motor-front {

    position: absolute;

    width: 245px;
    height: 245px;

    right: -100px;
    top: -3px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #536e82 0%,
            #1e3548 45%,
            #091722 47%,
            #213b4e 62%,
            #091522 64%,
            #314d61 100%
        );

    border: 8px solid #0b1824;

    box-shadow:
        0 0 30px rgba(0,0,0,.5);

}


/* RINGS */

.motor-ring {

    position: absolute;

    border-radius: 50%;

    border: 4px solid rgba(68,204,255,.35);

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

}


.ring-one {

    width: 160px;
    height: 160px;

}


.ring-two {

    width: 115px;
    height: 115px;

    border-color:
        rgba(255,255,255,.12);

}


/* CORE */

.motor-core {

    position: absolute;

    width: 82px;
    height: 82px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #0a1a29,
            #132f44
        );

    box-shadow:
        0 0 30px
        rgba(42,198,255,.22);

}


/* SPOKES */

.core-spokes span {

    position: absolute;

    width: 3px;
    height: 75px;

    left: 39px;
    top: 3px;

    background:
        linear-gradient(
            transparent,
            #48ccff,
            transparent
        );

    transform-origin:
        center 38px;

}


.core-spokes span:nth-child(1) {
    transform: rotate(0deg);
}

.core-spokes span:nth-child(2) {
    transform: rotate(30deg);
}

.core-spokes span:nth-child(3) {
    transform: rotate(60deg);
}

.core-spokes span:nth-child(4) {
    transform: rotate(90deg);
}

.core-spokes span:nth-child(5) {
    transform: rotate(120deg);
}

.core-spokes span:nth-child(6) {
    transform: rotate(150deg);
}


/* CENTER */

.core-center {

    position: absolute;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #55d8ff,
            #0a3045
        );

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

    box-shadow:
        0 0 25px
        rgba(48,205,255,.6);

}


/* SHAFT */

.motor-shaft {

    position: absolute;

    width: 90px;
    height: 38px;

    right: -155px;
    top: 102px;

    background:
        linear-gradient(
            90deg,
            #8197a7,
            #d7e0e5,
            #526878
        );

    border-radius: 4px;

    box-shadow:
        0 10px 15px rgba(0,0,0,.3);

}


/* =========================================================
   FLOATING DATA CARDS
========================================================= */

.cem-data-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 18px;

    min-width: 155px;

    background:
        rgba(6,23,37,.85);

    border:
        1px solid rgba(72,205,255,.25);

    backdrop-filter:
        blur(15px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

    z-index: 10;

    animation:
        dataFloat 4s ease-in-out infinite;

}


.cem-data-card small {

    display: block;

    font-size: 8px;

    color: #7590a4;

    letter-spacing: 1px;

}


.cem-data-card strong {

    display: block;

    font-size: 12px;

    margin-top: 4px;

    color: #fff;

}


.data-icon {

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    color: #42caff;

    border:
        1px solid
        rgba(66,202,255,.3);

}


.data-testing {

    top: 80px;
    right: 20px;

}


.data-capacity {

    bottom: 110px;
    left: 10px;

    animation-delay: -1s;

}


.data-precision {

    top: 200px;
    left: -20px;

    animation-delay: -2s;

}


@keyframes dataFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================================================
   TESTING PANEL
========================================================= */

.cem-testing-panel {

    margin-top: 100px;

    padding: 60px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.015)
        );

    backdrop-filter:
        blur(20px);

}


.cem-testing-heading {

    max-width: 600px;

    margin-bottom: 45px;

}


.cem-testing-heading > span {

    color: #42caff;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;

}


.cem-testing-heading h3 {

    margin: 12px 0;

    font-size: 38px;

}


.cem-testing-heading h3 b {

    color: #43caff;

}


.cem-testing-heading p {

    color: #879daf;

    line-height: 1.7;

}


/* TEST GRID */

.cem-testing-grid {

    display: grid;

    grid-template-columns:
        repeat(5,1fr);

    gap: 15px;

}


.cem-test-card {

    position: relative;

    min-height: 240px;

    padding: 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(11,34,51,.9),
            rgba(5,18,29,.8)
        );

    border:
        1px solid rgba(255,255,255,.07);

    transform-style: preserve-3d;

    transition:
        transform .4s ease,
        border-color .4s ease;

}


.cem-test-card:hover {

    border-color:
        rgba(61,202,255,.4);

    transform:
        perspective(700px)
        rotateX(5deg)
        rotateY(-5deg)
        translateY(-8px);

}


.cem-test-number {

    position: absolute;

    top: 18px;
    right: 20px;

    color: rgba(255,255,255,.12);

    font-size: 30px;

    font-weight: 800;

}


.cem-test-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(62,202,255,.35);

    color: #45cbff;

    font-size: 24px;

    margin-bottom: 35px;

}


.cem-test-card h4 {

    font-size: 16px;

    margin-bottom: 12px;

}


.cem-test-card p {

    color: #8095a8;

    font-size: 12px;

    line-height: 1.7;

}


.cem-test-line {

    position: absolute;

    bottom: 0;
    left: 0;

    height: 2px;
    width: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            #38c8ff,
            transparent
        );

    transform:
        translateX(-100%);

    transition:
        transform .7s ease;

}


.cem-test-card:hover .cem-test-line {

    transform:
        translateX(100%);

}


/* =========================================================
   REWINDING BANNER
========================================================= */

.cem-rewind-banner {

    position: relative;

    margin-top: 25px;

    min-height: 280px;

    padding: 50px;

    display: grid;

    grid-template-columns:
        180px
        1fr
        300px;

    gap: 40px;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #0b2c43,
            #071b2d
        );

    border:
        1px solid rgba(63,200,255,.15);

}


.cem-rewind-banner::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    right: -100px;
    bottom: -150px;

    background:
        rgba(36,182,255,.12);

    filter: blur(50px);

}


/* REWIND ORB */

.rewind-orb {

    position: relative;

    width: 150px;
    height: 150px;

    display: grid;
    place-items: center;

}


.rewind-coil {

    position: absolute;

    width: 125px;
    height: 125px;

    border-radius: 50%;

    border:
        4px solid transparent;

    border-top-color: #47ccff;
    border-bottom-color: #47ccff;

    animation:
        coilSpin 4s linear infinite;

}


.coil-two {

    width: 105px;
    height: 105px;

    border-left-color:
        #2589b7;

    animation-duration: 3s;

}


.coil-three {

    width: 80px;
    height: 80px;

    border-right-color:
        #79ddff;

    animation-duration: 2s;

}


.rewind-center {

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #65dcff,
            #0c4968
        );

    box-shadow:
        0 0 30px
        rgba(58,205,255,.7);

}


@keyframes coilSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* CONTENT */

.rewind-content span {

    color: #46cbff;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;

}


.rewind-content h3 {

    font-size: 35px;

    margin: 12px 0;

}


.rewind-content h3 strong {

    color: #48ccff;

}


.rewind-content p {

    color: #91a7b8;

    line-height: 1.7;

    font-size: 13px;

    max-width: 650px;

}


/* SPECS */

.rewind-specs {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


.rewind-specs div {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        14px 18px;

    border:
        1px solid
        rgba(255,255,255,.08);

    background:
        rgba(255,255,255,.03);

}


.rewind-specs strong {

    color: #4bcaff;

    font-size: 17px;

}


.rewind-specs span {

    color: #758b9d;

    font-size: 10px;

    text-transform: uppercase;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .cem-ht3d-main {

        grid-template-columns: 1fr;

    }

    .cem-motor-stage {

        order: -1;

        height: 550px;

    }

    .cem-testing-grid {

        grid-template-columns:
            repeat(3,1fr);

    }

    .cem-rewind-banner {

        grid-template-columns:
            150px
            1fr;

    }

    .rewind-specs {

        grid-column: 1 / -1;

        flex-direction: row;

    }

    .rewind-specs div {

        flex: 1;

    }

}


@media (max-width: 700px) {

    .cem-ht3d-section {

        padding: 75px 0;

    }

    .cem-ht3d-heading {

        margin-bottom: 40px;

    }

    .cem-ht3d-heading h2 {

        font-size: 42px;

    }

    .cem-ht3d-content h3 {

        font-size: 32px;

    }

    .cem-ht3d-features {

        grid-template-columns: 1fr;

    }

    .cem-motor-stage {

        transform:
            scale(.72);

        margin:
            -60px 0;

    }

    .cem-testing-panel {

        padding: 30px 20px;

    }

    .cem-testing-grid {

        grid-template-columns:
            1fr;

    }

    .cem-rewind-banner {

        padding: 35px 25px;

        grid-template-columns:
            1fr;

        text-align: center;

    }

    .rewind-orb {

        margin: auto;

    }

    .rewind-content p {

        margin-left: auto;
        margin-right: auto;

    }

    .rewind-specs {

        flex-direction: column;

    }

}


@media (max-width: 430px) {

    .cem-motor-stage {

        transform:
            scale(.58);

        margin:
            -100px 0;

    }

    .cem-ht3d-heading h2 {

        font-size: 36px;

    }

}