/* Crypto Ecosystem Section - Professional Design */
.ecosystem-section {
    position: relative;
    padding: 120px 0;
    background-color: rgba(15, 15, 25, 0.95);
    overflow: hidden;
    min-height: 800px;
}

.ecosystem-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.ecosystem-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(165, 255, 0, 0.08), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(165, 255, 0, 0.08), transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(100, 200, 255, 0.05), transparent 50%);
    z-index: 0;
    opacity: 0.8;
    animation: ambient-shift 20s ease-in-out infinite alternate;
}

@keyframes ambient-shift {
    0% {
        background:
            radial-gradient(circle at 30% 30%, rgba(165, 255, 0, 0.08), transparent 60%),
            radial-gradient(circle at 70% 70%, rgba(165, 255, 0, 0.08), transparent 60%),
            radial-gradient(circle at 20% 80%, rgba(100, 200, 255, 0.05), transparent 50%);
    }
    50% {
        background:
            radial-gradient(circle at 40% 40%, rgba(165, 255, 0, 0.06), transparent 65%),
            radial-gradient(circle at 60% 60%, rgba(165, 255, 0, 0.09), transparent 55%),
            radial-gradient(circle at 30% 70%, rgba(120, 180, 255, 0.07), transparent 55%);
    }
    100% {
        background:
            radial-gradient(circle at 35% 35%, rgba(165, 255, 0, 0.07), transparent 70%),
            radial-gradient(circle at 65% 65%, rgba(165, 255, 0, 0.07), transparent 65%),
            radial-gradient(circle at 25% 75%, rgba(80, 220, 255, 0.06), transparent 60%);
    }
}

.ecosystem-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(165, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.ecosystem-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.8), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.6), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.6), transparent),
                      radial-gradient(2px 2px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.6), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.6), transparent),
                      radial-gradient(3px 3px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.4), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.4), transparent),
                      radial-gradient(2px 2px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.3), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.3), transparent),
                      radial-gradient(3px 3px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.2), transparent),
                      radial-gradient(1px 1px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.2), transparent),
                      radial-gradient(2px 2px at calc(random() * 100%) calc(random() * 100%), rgba(255, 255, 255, 0.1), transparent);
    background-position: 0 0;
    background-size: 100% 100%;
    opacity: 0.3;
    z-index: 0;
}

.ecosystem-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(100, 200, 255, 0.05), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(165, 255, 0, 0.05), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(25, 25, 35, 0.8), transparent 100%);
    z-index: 0;
    opacity: 0.8;
}

.ecosystem-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Section */
.ecosystem-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.ecosystem-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(165, 255, 0, 0.1);
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(165, 255, 0, 0.2);
}

.ecosystem-badge i {
    font-size: 16px;
    color: #a8f340;
    margin-right: 8px;
}

.ecosystem-badge span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #a8f340;
    text-transform: uppercase;
}

.ecosystem-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ecosystem-header p {
    font-size: 20px;
    color: #a8a8a8;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.ecosystem-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.ecosystem-stat {
    flex: 1;
    max-width: 200px;
    text-align: center;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 16px;
    padding: 30px 20px;
    border: 1px solid rgba(165, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(165, 255, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(165, 255, 0, 0.3);
}

.ecosystem-stat:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 24px;
    color: #a8f340;
}

.ecosystem-stat:hover .stat-icon {
    background: rgba(165, 255, 0, 0.2);
    transform: scale(1.1);
}

.stat-value {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: #a8a8a8;
    font-weight: 500;
    background: linear-gradient(to right, #a8f340, #7ac70c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Showcase Section - Orbiting Elements */
.ecosystem-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto 60px;
}

.ecosystem-central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hub-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(165, 255, 0, 0.5));
}

.hub-logo::before,
.hub-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(165, 255, 0, 0.2);
    mask-image: url('./assets/guac_logo_box_trans.png');
    -webkit-mask-image: url('./assets/guac_logo_box_trans.png');
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    filter: blur(5px);
    z-index: 1;
    animation: glow 3s ease-in-out infinite alternate;
}

.hub-logo::after {
    width: 150%;
    height: 150%;
    background: rgba(165, 255, 0, 0.1);
    filter: blur(15px);
    animation-delay: 0.5s;
}

/* Additional background glow for the diamond */
.ecosystem-central-hub::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(165, 255, 0, 0.2) 0%, rgba(165, 255, 0, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
    animation: pulse-bg 4s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes glow {
    0% { opacity: 0.5; filter: blur(5px); }
    100% { opacity: 1; filter: blur(15px); }
}

.hub-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: transparent;
    z-index: 1;
}

.hub-pulse::before,
.hub-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(165, 255, 0, 0.15);
    mask-image: url('./assets/guac_logo_box_trans.png');
    -webkit-mask-image: url('./assets/guac_logo_box_trans.png');
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    animation: pulse 2s infinite;
}

.hub-pulse::after {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

.ecosystem-orbits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
}

.orbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(165, 255, 0, 0.2);
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: 0.8;
}

.orbit-inner {
    width: 250px;
    height: 250px;
    animation: rotate 20s linear infinite;
}

.orbit-middle {
    width: 350px;
    height: 350px;
    animation: rotate 30s linear infinite reverse;
}

.orbit-outer {
    width: 450px;
    height: 450px;
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Base styles for all orbit items */
.orbit-item {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Inner orbit items - 4 items */
.orbit-inner .orbit-item-1 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.orbit-inner .orbit-item-2 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-inner .orbit-item-3 {
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
}

.orbit-inner .orbit-item-4 {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Middle orbit items - 5 items */
.orbit-middle .orbit-item-1 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.orbit-middle .orbit-item-2 {
    top: 14.6%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.orbit-middle .orbit-item-3 {
    top: 14.6%;
    left: 75%;
    transform: translate(-50%, -50%);
}

.orbit-middle .orbit-item-4 {
    top: 85.4%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.orbit-middle .orbit-item-5 {
    top: 85.4%;
    left: 75%;
    transform: translate(-50%, -50%);
}

/* Outer orbit items - 6 items */
.orbit-outer .orbit-item-1 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.orbit-outer .orbit-item-2 {
    top: 13.4%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.orbit-outer .orbit-item-3 {
    top: 13.4%;
    left: 75%;
    transform: translate(-50%, -50%);
}

.orbit-outer .orbit-item-4 {
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
}

.orbit-outer .orbit-item-5 {
    top: 86.6%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.orbit-outer .orbit-item-6 {
    top: 86.6%;
    left: 75%;
    transform: translate(-50%, -50%);
}

/* Counter-rotation for items to keep them upright */
.orbit-inner .orbit-item {
    animation: counter-rotate 20s linear infinite;
}

.orbit-middle .orbit-item {
    animation: counter-rotate-reverse 30s linear infinite;
}

.orbit-outer .orbit-item {
    animation: counter-rotate 40s linear infinite;
}

@keyframes counter-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-reverse {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    position: relative;
    mix-blend-mode: screen;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    animation: micro-pulse 3s ease-in-out infinite;
    will-change: transform, filter;
}

/* Add variety to the micro-animations */
.orbit-inner .orbit-item:nth-child(odd) img {
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.orbit-middle .orbit-item:nth-child(even) img {
    animation-duration: 5s;
    animation-delay: 1s;
}

.orbit-outer .orbit-item:nth-child(3n) img {
    animation-duration: 6s;
    animation-delay: 1.5s;
}

@keyframes micro-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 15px rgba(165, 255, 0, 0.2));
    }
}

/* Optimize animations for mobile and low-power devices */
@media (prefers-reduced-motion: reduce) {
    .orbit-item img, .floating-icon img {
        animation: micro-pulse 6s ease-in-out infinite;
    }

    @keyframes micro-pulse {
        0%, 100% {
            transform: scale(1);
            filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
        }
        50% {
            transform: scale(1.04);
            filter: drop-shadow(0 0 12px rgba(165, 255, 0, 0.2));
        }
    }
}

/* Planet-like glow effect */
.orbit-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}

/* Planet shadow effect */
.orbit-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.orbit-item:hover {
    z-index: 20;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));
}

.orbit-item:hover img {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 15px rgba(165, 255, 0, 0.4));
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.orbit-item:hover::before {
    opacity: 0.9;
    background: radial-gradient(circle at 30% 30%, rgba(165, 255, 0, 0.3), transparent 60%);
}

.orbit-item:hover::after {
    opacity: 0.7;
    background: radial-gradient(circle at 70% 70%, transparent 40%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
}

/* Floating Icons Outside Orbits */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 4;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    mix-blend-mode: screen;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    animation: micro-pulse 4s ease-in-out infinite;
    will-change: transform, filter;
}

/* Add variety to the floating icon animations */
.floating-icon:nth-child(odd) img {
    animation-duration: 5s;
    animation-delay: 0.7s;
}

.floating-icon:nth-child(3n) img {
    animation-duration: 6s;
    animation-delay: 1.2s;
}

.floating-icon:nth-child(4n) img {
    animation-duration: 7s;
    animation-delay: 2s;
}

/* Planet-like glow effect for floating icons */
.floating-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}

/* Planet shadow effect for floating icons */
.floating-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.floating-icon:hover {
    z-index: 20;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));
}

.floating-icon:hover img {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 15px rgba(165, 255, 0, 0.4));
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.floating-icon:hover::before {
    opacity: 0.9;
    background: radial-gradient(circle at 30% 30%, rgba(165, 255, 0, 0.3), transparent 60%);
}

.floating-icon:hover::after {
    opacity: 0.7;
    background: radial-gradient(circle at 70% 70%, transparent 40%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
}

/* Add variety to the icons */
.orbit-inner .orbit-item:nth-child(odd)::after {
    background: radial-gradient(circle at 30% 70%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

.orbit-middle .orbit-item:nth-child(even)::after {
    background: radial-gradient(circle at 70% 30%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

.orbit-outer .orbit-item:nth-child(3n)::after {
    background: radial-gradient(circle at 30% 30%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

/* Add variety to the floating icons */
.floating-icon:nth-child(odd)::after {
    background: radial-gradient(circle at 20% 80%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

.floating-icon:nth-child(3n)::after {
    background: radial-gradient(circle at 80% 20%, transparent 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
}

.floating-icon:nth-child(4n)::after {
    opacity: 0.6;
}

/* Add color variety to the planets */
.orbit-item:nth-child(3n)::before {
    background: radial-gradient(circle at 30% 30%, rgba(100, 200, 255, 0.3), transparent 50%);
}

.orbit-item:nth-child(4n)::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 150, 100, 0.2), transparent 50%);
}

.floating-icon:nth-child(odd)::before {
    background: radial-gradient(circle at 30% 30%, rgba(200, 150, 255, 0.2), transparent 50%);
}

.floating-icon:nth-child(3n)::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 200, 100, 0.2), transparent 50%);
}

/* Position and animation for each floating icon */
.floating-icon-1 {
    top: 15%;
    left: 10%;
    animation-name: float1;
}

.floating-icon-2 {
    top: 75%;
    left: 15%;
    animation-name: float2;
}

.floating-icon-3 {
    top: 25%;
    left: 85%;
    animation-name: float3;
}

.floating-icon-4 {
    top: 65%;
    left: 90%;
    animation-name: float4;
}

.floating-icon-5 {
    top: 75%;
    left: 95%;
    animation-name: float5;
}

.floating-icon-6 {
    top: 95%;
    left: 40%;
    animation-name: float6;
}

.floating-icon-7 {
    top: 40%;
    left: 5%;
    animation-name: float7;
}

.floating-icon-8 {
    top: 30%;
    left: 92%;
    animation-name: float8;
}

/* Custom float animations for each icon */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, 15px) rotate(5deg); }
    50% { transform: translate(0, 25px) rotate(0deg); }
    75% { transform: translate(-15px, 10px) rotate(-5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -10px) rotate(-5deg); }
    50% { transform: translate(0, -20px) rotate(0deg); }
    75% { transform: translate(20px, -10px) rotate(5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, 10px) rotate(-3deg); }
    50% { transform: translate(-25px, 0) rotate(0deg); }
    75% { transform: translate(-10px, -15px) rotate(3deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -20px) rotate(5deg); }
    50% { transform: translate(25px, 0) rotate(0deg); }
    75% { transform: translate(15px, 15px) rotate(-5deg); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, -20px) rotate(0deg); }
    75% { transform: translate(10px, -5px) rotate(-5deg); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -15px) rotate(-5deg); }
    50% { transform: translate(-30px, -25px) rotate(0deg); }
    75% { transform: translate(-15px, -10px) rotate(5deg); }
}

@keyframes float7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -10px) rotate(5deg); }
    50% { transform: translate(25px, 0) rotate(0deg); }
    75% { transform: translate(10px, 15px) rotate(-5deg); }
}

@keyframes float8 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, 15px) rotate(-3deg); }
    50% { transform: translate(-15px, 25px) rotate(0deg); }
    75% { transform: translate(-5px, 10px) rotate(3deg); }
}

/* Features Section */
.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.ecosystem-feature {
    display: flex;
    align-items: flex-start;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(165, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(165, 255, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(165, 255, 0, 0.3);
}

.ecosystem-feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(165, 255, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 24px;
    color: #a8f340;
}

.ecosystem-feature:hover .feature-icon {
    background: rgba(165, 255, 0, 0.2);
    transform: scale(1.1);
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-content p {
    font-size: 16px;
    color: #a8a8a8;
    line-height: 1.5;
    margin: 0;
}

/* CTA Section */
.ecosystem-cta {
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 5;
}

.ecosystem-button {
    display: inline-block;
    padding: 16px 36px;
    background: rgba(165, 255, 0, 0.15);
    color: #a8f340;
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.ecosystem-button:hover {
    background: rgba(165, 255, 0, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ecosystem-button:hover::before {
    left: 100%;
}

.cta-note {
    font-size: 14px;
    color: #a8a8a8;
    margin-top: 15px;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .ecosystem-container {
        max-width: 960px;
    }

    .orbit-inner {
        width: 220px;
        height: 220px;
        transition: all 0.5s ease-out;
    }

    .orbit-middle {
        width: 320px;
        height: 320px;
        transition: all 0.5s ease-out;
    }

    .orbit-outer {
        width: 420px;
        height: 420px;
        transition: all 0.5s ease-out;
    }

    .orbit-item {
        width: 50px;
        height: 50px;
        transform-origin: 110px 0;
        transition: all 0.5s ease-out;
    }

    /* Optimize animations for performance */
    .orbit-item img, .floating-icon img {
        will-change: transform;
    }

    .orbit::before {
        filter: blur(0.3px);
    }

    .orbit-middle .orbit-item {
        transform-origin: 160px 0;
    }

    .orbit-outer .orbit-item {
        transform-origin: 210px 0;
    }
}

@media (max-width: 992px) {
    .ecosystem-section {
        padding: 80px 0;
    }

    .ecosystem-container {
        max-width: 720px;
    }

    .ecosystem-header h2 {
        font-size: 36px;
    }

    .ecosystem-header p {
        font-size: 18px;
    }

    .ecosystem-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ecosystem-stat {
        min-width: 200px;
    }

    .ecosystem-showcase {
        height: 400px;
        transition: height 0.5s ease-out;
    }

    /* Reduce animation complexity for better performance */
    .orbit-item img, .floating-icon img {
        animation-duration: 6s;
    }

    .orbit::before {
        opacity: 0.6;
    }

    .orbit-inner {
        width: 180px;
        height: 180px;
    }

    .orbit-middle {
        width: 260px;
        height: 260px;
    }

    .orbit-outer {
        width: 340px;
        height: 340px;
    }

    .orbit-item {
        width: 45px;
        height: 45px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
    }

    .ecosystem-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ecosystem-section {
        padding: 60px 0;
    }

    .ecosystem-container {
        max-width: 540px;
    }

    .ecosystem-header h2 {
        font-size: 32px;
    }

    .ecosystem-header p {
        font-size: 16px;
    }

    .ecosystem-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ecosystem-stat {
        flex: 0 1 auto;
        min-width: 100px;
        max-width: 150px;
        padding: 15px 10px;
    }

    .ecosystem-stat .stat-value {
        font-size: 24px;
    }

    .ecosystem-stat .stat-label {
        font-size: 14px;
    }

    .ecosystem-showcase {
        height: 350px;
    }

    .hub-logo {
        width: 60px;
        height: 60px;
    }

    .hub-pulse {
        width: 60px;
        height: 60px;
    }

    .orbit-inner {
        width: 160px;
        height: 160px;
    }

    .orbit-middle {
        width: 230px;
        height: 230px;
    }

    .orbit-outer {
        width: 300px;
        height: 300px;
    }

    .orbit-item {
        width: 40px;
        height: 40px;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
    }

    .ecosystem-feature {
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 20px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .ecosystem-section {
        padding: 50px 0;
    }

    .ecosystem-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .ecosystem-header h2 {
        font-size: 28px;
    }

    .ecosystem-stats {
        gap: 8px;
    }

    .ecosystem-stat {
        min-width: 90px;
        max-width: 110px;
        padding: 10px 5px;
    }

    .ecosystem-stat .stat-icon {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .ecosystem-stat .stat-value {
        font-size: 20px;
    }

    .ecosystem-stat .stat-label {
        font-size: 12px;
    }

    .ecosystem-showcase {
        height: 300px;
    }

    .hub-logo {
        width: 50px;
        height: 50px;
    }

    .hub-pulse {
        width: 50px;
        height: 50px;
    }

    .orbit-inner {
        width: 140px;
        height: 140px;
    }

    .orbit-middle {
        width: 200px;
        height: 200px;
    }

    .orbit-outer {
        width: 260px;
        height: 260px;
    }

    .orbit-item {
        width: 35px;
        height: 35px;
    }

    /* Further reduce animation complexity for mobile */
    .orbit-item img, .floating-icon img {
        animation: none; /* Disable animations on smallest screens for performance */
        will-change: auto; /* Remove will-change to save memory */
    }

    .orbit::before {
        opacity: 0.5;
        filter: blur(0.2px);
    }

    /* Reduce shadow complexity for better performance */
    .orbit-item::after, .floating-icon::after {
        box-shadow: none;
        background: radial-gradient(circle at 70% 70%, transparent 40%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    }

    .floating-icon {
        width: 25px;
        height: 25px;
    }

    .ecosystem-button {
        padding: 14px 28px;
        font-size: 16px;
    }
}
