@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ai-badge-border {
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 9999px;
}

.ai-badge-inner {
    background: #dbeafe;
    border-radius: 9999px;
}

/* Hero Animation Styles */
.orbit-container {
    position: relative;
    width: 100%;
    height: 440px;
    max-width: 440px;
    margin: 0 auto;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105px;
    height: 105px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4);
    z-index: 10;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
    color: white;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.2);
}

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

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

.orbit-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    animation: float-icon 3s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: transform 0.3s ease;
    background: white;
    border-radius: 11px;
    padding: 9px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.orbit-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.orbit-icon svg,
.orbit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbit-1 .icon-1 { top: -2%; left: 50%; transform: translateX(-50%); }
.orbit-1 .icon-2 { top: 50%; right: -2%; transform: translateY(-50%); }
.orbit-1 .icon-3 { bottom: -2%; left: 50%; transform: translateX(-50%); }
.orbit-1 .icon-4 { top: 50%; left: -2%; transform: translateY(-50%); }

.orbit-2 .icon-5 { top: 5%; left: 50%; transform: translateX(-50%); }
.orbit-2 .icon-6 { top: 50%; right: 5%; transform: translateY(-50%); }
.orbit-2 .icon-7 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.orbit-2 .icon-8 { top: 50%; left: 5%; transform: translateY(-50%); }

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 115px;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.3), transparent);
    transform-origin: top center;
    animation: rotate-line 4s linear infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 1.33s; }
.line-3 { animation-delay: 2.66s; }

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    animation: pulse-expand 3s ease-out infinite;
}

.pulse-1 {
    width: 105px;
    height: 105px;
}

.pulse-2 {
    width: 105px;
    height: 105px;
    animation-delay: 1.5s;
}

/* Animations */
@keyframes rotate-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float-icon {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-8px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 20px 80px rgba(37, 99, 235, 0.6);
    }
}

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

@keyframes pulse-expand {
    0% {
        width: 105px;
        height: 105px;
        opacity: 1;
    }
    100% {
        width: 360px;
        height: 360px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .orbit-container {
        height: 360px;
        max-width: 360px;
    }
    .orbit-1 {
        width: 200px;
        height: 200px;
    }
    .orbit-2 {
        width: 330px;
        height: 330px;
    }
    .center-logo {
        width: 85px;
        height: 85px;
    }
    .logo-text {
        font-size: 0.85rem;
    }
    .orbit-icon {
        width: 38px;
        height: 38px;
        padding: 7px;
    }
}
