/* =========================================
   QUANTUM 3D PLATFORM EFFECT - HERO SECTION
   Inspirado em Qanapi + UniRenascer
   ========================================= */

/* Container principal */
.quantum-field {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* ===== PLATAFORMA CENTRAL 3D ===== */
.quantum-platform {
    position: absolute;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: platform-rotate 20s linear infinite;
}

.platform-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 153, 204, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.1);
    animation: platform-pulse 3s ease-in-out infinite;
}

.platform-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 20px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes platform-rotate {
    0% {
        transform: rotateX(20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(20deg) rotateY(360deg);
    }
}

@keyframes platform-pulse {

    0%,
    100% {
        transform: translateZ(0px);
    }

    50% {
        transform: translateZ(20px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ===== ÍCONES FLUTUANTES 3D ===== */
.security-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.security-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 153, 204, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: icon-float 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.security-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

/* Posições dos ícones */
.icon-lock {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.icon-shield {
    top: 25%;
    right: 5%;
    animation-delay: 0.8s;
}

.icon-key {
    bottom: 25%;
    right: 10%;
    animation-delay: 1.6s;
}

.icon-code {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.4s;
}

.icon-server {
    top: 25%;
    left: 5%;
    animation-delay: 3.2s;
}

.icon-database {
    bottom: 25%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0px) translateZ(0px);
    }

    50% {
        transform: translateY(-20px) translateZ(30px);
    }
}

/* ===== LINHAS DE CONEXÃO HOLOGRÁFICAS ===== */
.connection-network {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.holo-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 212, 255, 0.6) 50%,
            transparent 100%);
    transform-origin: left center;
    animation: line-scan 3s ease-in-out infinite;
}

.line-1 {
    top: 15%;
    left: 15%;
    width: 30%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.line-2 {
    top: 15%;
    right: 15%;
    width: 30%;
    transform: rotate(-45deg);
    animation-delay: 0.5s;
}

.line-3 {
    bottom: 15%;
    left: 15%;
    width: 30%;
    transform: rotate(-45deg);
    animation-delay: 1s;
}

.line-4 {
    bottom: 15%;
    right: 15%;
    width: 30%;
    transform: rotate(45deg);
    animation-delay: 1.5s;
}

.line-5 {
    top: 50%;
    left: 10%;
    width: 35%;
    animation-delay: 2s;
}

.line-6 {
    top: 50%;
    right: 10%;
    width: 35%;
    animation-delay: 2.5s;
}

@keyframes line-scan {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ===== PARTÍCULAS DE REDE ===== */
.network-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    animation: particle-drift 8s ease-in-out infinite;
}

/* Posições aleatórias das partículas */
.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.particle-3 {
    top: 35%;
    left: 8%;
    animation-delay: 2s;
}

.particle-4 {
    top: 50%;
    right: 12%;
    animation-delay: 3s;
}

.particle-5 {
    top: 65%;
    left: 15%;
    animation-delay: 4s;
}

.particle-6 {
    bottom: 10%;
    right: 20%;
    animation-delay: 5s;
}

.particle-7 {
    top: 15%;
    left: 50%;
    animation-delay: 6s;
}

.particle-8 {
    bottom: 20%;
    left: 25%;
    animation-delay: 7s;
}

@keyframes particle-drift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        opacity: 1;
    }

    50% {
        transform: translate(-15px, 15px);
        opacity: 0.6;
    }

    75% {
        opacity: 1;
    }
}

/* ===== ANÉIS ORBITAIS EXTERNOS ===== */
.orbital-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 50%;
}

.ring-outer-1 {
    width: 380px;
    height: 380px;
    animation: orbit-spin 15s linear infinite;
}

.ring-outer-2 {
    width: 450px;
    height: 450px;
    animation: orbit-spin 20s linear infinite reverse;
}

.ring-outer-3 {
    width: 500px;
    height: 500px;
    border-style: dashed;
    border-width: 1px;
    animation: orbit-spin 25s linear infinite;
}

@keyframes orbit-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== PULSOS DE ENERGIA ===== */
.energy-pulses {
    position: absolute;
    width: 100%;
    height: 100%;
}

.energy-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-expand 3s ease-out infinite;
}

.pulse-1 {
    animation-delay: 0s;
}

.pulse-2 {
    animation-delay: 1s;
}

.pulse-3 {
    animation-delay: 2s;
}

@keyframes pulse-expand {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    70% {
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* ===== TEXTO FLUTUANTE DE DADOS ===== */
.data-stream-text {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-primary);
    opacity: 0.5;
    white-space: nowrap;
    animation: text-flow 6s linear infinite;
}

.text-1 {
    top: 8%;
    left: 25%;
    animation-delay: 0s;
}

.text-2 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.text-3 {
    bottom: 25%;
    left: 12%;
    animation-delay: 4s;
}

@keyframes text-flow {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .quantum-field {
        width: 380px;
        height: 380px;
    }

    .quantum-platform {
        width: 160px;
        height: 160px;
    }

    .security-icon {
        width: 40px;
        height: 40px;
    }

    .ring-outer-1 {
        width: 280px;
        height: 280px;
    }

    .ring-outer-2 {
        width: 340px;
        height: 340px;
    }

    .ring-outer-3 {
        width: 380px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .quantum-field {
        width: 300px;
        height: 300px;
    }

    .quantum-platform {
        width: 120px;
        height: 120px;
    }

    .security-icon {
        width: 35px;
        height: 35px;
    }

    .security-icon svg {
        width: 18px;
        height: 18px;
    }

    .ring-outer-1 {
        width: 220px;
        height: 220px;
    }

    .ring-outer-2 {
        width: 260px;
        height: 260px;
    }

    .ring-outer-3 {
        width: 300px;
        height: 300px;
    }

    .data-stream-text {
        font-size: 8px;
    }
}