/* Hero Graphics */
.hero-graphics {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.graphics-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.tech-orbit {
    position: absolute;
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1200px;
    transform-style: preserve-3d;
}

.orbit-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    box-shadow: 
        0 0 30px rgba(var(--primary-rgb), 0.1),
        inset 0 0 30px rgba(var(--primary-rgb), 0.1);
    transform-style: preserve-3d;
    transform: rotateX(75deg) rotateY(15deg);
}

.orbit-line::before,
.orbit-line::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border: 1px dashed rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    animation: pulseOrbit 4s ease-in-out infinite;
}

.orbit-line::after {
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    animation-delay: -2s;
}

.tech-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
}

.tech-item i {
    font-size: 1.4rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.5));
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.8));
}

.tech-item {
    position: absolute;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transform-origin: 225px;
    animation: orbit 20s linear infinite;
    box-shadow: 
        0 0 20px rgba(var(--primary-rgb), 0.2),
        inset 0 0 15px rgba(var(--primary-rgb), 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 
        0 0 30px rgba(var(--primary-rgb), 0.4),
        inset 0 0 20px rgba(var(--primary-rgb), 0.4);
    transform: scale(1.25) translateZ(20px);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item:nth-child(2) { animation-delay: -16s; }
.tech-item:nth-child(3) { animation-delay: -12s; }
.tech-item:nth-child(4) { animation-delay: -8s; }
.tech-item:nth-child(5) { animation-delay: -4s; }

.image-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: float 3s ease-in-out infinite;
}

.float-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.aws-icon {
    top: 20%;
    left: 10%;
    animation-delay: 0.5s;
}

.cloud-icon {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.security-icon {
    bottom: 15%;
    left: 20%;
    animation-delay: 1.5s;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(225px) rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: rotate(180deg) translateX(225px) rotate(-180deg) scale(1.1);
        filter: hue-rotate(180deg);
    }
    100% {
        transform: rotate(360deg) translateX(225px) rotate(-360deg) scale(1);
        filter: hue-rotate(360deg);
    }
}

@keyframes pulseOrbit {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .tech-orbit {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-graphics {
        width: 100%;
    }

    .image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .floating-elements {
        display: none;
    }
}
