/* ============================================================
   MODERN SAAS ANIMATIONS
   Includes: Floating Icons, Parallax Shapes, Glassmorphism
   ============================================================ */

/* ---------- 3D FLOATING ICONS ---------- */
@keyframes float-3d {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-15px) rotateX(10deg) rotateY(5deg);
    }

    50% {
        transform: translateY(0) rotateX(0deg) rotateY(10deg);
    }

    75% {
        transform: translateY(15px) rotateX(-10deg) rotateY(5deg);
    }
}

.hero-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float-3d 6s ease-in-out infinite;
    transition: transform 0.2s ease-out;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.5));
}

/* ---------- PARALLAX SHAPES ---------- */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-dim), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: -5%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 60%;
}

/* ---------- GLASSMORPHISM UTILITIES ---------- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}