/* SECTION LAYOUT */

.technology {
    padding: 200px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;

    max-width: 1200px;
    margin: auto;
}

/* HEADER */

.tech-header {
    max-width: 500px;
    text-align: left;
}

.tech-header h2 {
    font-size: 52px;
    margin: 20px 0;
    line-height: 1.1;
}

.tech-header p {
    opacity: .7;
}

/* ORBIT SYSTEM */

.tech-orbit {
    position: relative;
    width: 540px;
    height: 540px;

    transform: translateZ(0);
}

/* CORE */

.tech-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);

    animation: corePulse 3s infinite alternate;

    will-change: opacity;
}

.tech-core i {
    font-size: 30px;
    color: #7c8cff;
}

/* ORBIT RINGS */

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .15);

    will-change: transform;
}

/* FIRST ORBIT */

.orbit-1 {
    width: 300px;
    height: 300px;

    animation: rotateOrbit 20s linear infinite;
}

/* SECOND ORBIT */

.orbit-2 {
    width: 440px;
    height: 440px;

    animation: rotateOrbit 28s linear infinite reverse;
}

/* NODE BASE */

.tech-node {
    position: absolute;

    width: 80px;
    height: 80px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    transition: .3s;

    will-change: transform;

    animation: rotateReverse 20s linear infinite;
}

.orbit-2 .tech-node {
    animation: rotateReverse 28s linear infinite reverse;
}

/* ICON */

.tech-node i {
    font-size: 18px;
    color: #7c8cff;
}

/* LABEL */

.tech-node span {
    font-size: 11px;
    opacity: .7;
}

/* POSITIONS ORBIT 1 */

.orbit-1 .tech-node:nth-child(1) {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-1 .tech-node:nth-child(2) {
    bottom: -40px;
    left: 15%;
}

.orbit-1 .tech-node:nth-child(3) {
    bottom: -40px;
    right: 15%;
}

/* POSITIONS ORBIT 2 */

.orbit-2 .tech-node:nth-child(1) {
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
}

.orbit-2 .tech-node:nth-child(2) {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}

.orbit-2 .tech-node:nth-child(3) {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* HOVER */

.tech-node:hover {
    transform: scale(1.12);
}

/* ORBIT ROTATION */

@keyframes rotateOrbit {

    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }

}

/* KEEP NODE STRAIGHT */

@keyframes rotateReverse {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }

}

/* LIGHT CORE PULSE (no box-shadow animation) */

@keyframes corePulse {

    from {
        opacity: .7;
    }

    to {
        opacity: 1;
    }

}