/*!
 * FastTrack Medical Billing - Hero Background Effects
 * Floating orbs and floating icon decorations
 * Extracted from nuclear-gradient.css (990 lines → ~150 lines)
 * Only the unique visual elements that main.css doesn't cover
 */

/* ===== FLOATING BACKGROUND ORBS ===== */
.hero__background-orbs .background-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: floatingOrb 15s ease-in-out infinite;
    pointer-events: none;
}

.hero__background-orbs .orb--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-400, #fbbf24), var(--gold-500, #f59e0b));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero__background-orbs .orb--2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--logo-gold-primary, #E9B537), var(--logo-gold-dark, #D4A42F));
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.hero__background-orbs .orb--3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--logo-gold-hover, #F5C757), var(--logo-gold-primary, #E9B537));
    bottom: 20%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes floatingOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.1) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(-10px, -60px) scale(0.9) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05) rotate(270deg);
        opacity: 0.35;
    }
}

/* ===== FLOATING ICONS ===== */
.hero__floating-icons .floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.9));
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floatingIconFloat 12s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.hero__floating-icons .floating-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
        var(--gold-400, #fbbf24),
        var(--brand-blue-500, #3b82f6),
        var(--green-500, #10b981),
        #a855f7,
        var(--gold-400, #fbbf24));
    background-size: 400% 400%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: iconBorderFlow 8s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.hero__floating-icons .floating-icon i {
    font-size: 1.5rem;
    color: #e2e8f0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

/* Icon positions */
.hero__floating-icons .floating-icon--1 { top: 15%; left: 10%; animation-delay: 0s; }
.hero__floating-icons .floating-icon--2 { top: 25%; right: 15%; animation-delay: 2s; }
.hero__floating-icons .floating-icon--3 { top: 60%; left: 8%; animation-delay: 4s; }
.hero__floating-icons .floating-icon--4 { bottom: 20%; right: 12%; animation-delay: 6s; }
.hero__floating-icons .floating-icon--5 { bottom: 35%; left: 15%; animation-delay: 8s; }
.hero__floating-icons .floating-icon--6 { top: 45%; right: 8%; animation-delay: 10s; }

@keyframes floatingIconFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translate(-15px, -20px) rotate(90deg);
        opacity: 0.9;
    }
    50% {
        transform: translate(10px, -35px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translate(20px, -10px) rotate(270deg);
        opacity: 0.8;
    }
}

@keyframes iconBorderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero__background-orbs .background-orb {
        filter: blur(20px);
        opacity: 0.2;
    }
    .hero__background-orbs .orb--1 { width: 150px; height: 150px; }
    .hero__background-orbs .orb--2 { width: 120px; height: 120px; }
    .hero__background-orbs .orb--3 { width: 100px; height: 100px; }

    .hero__floating-icons .floating-icon {
        width: 45px;
        height: 45px;
    }
    .hero__floating-icons .floating-icon i {
        font-size: 1.1rem;
    }
}
