@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.gradient-text {
    background: linear-gradient(90deg, #0B63E5, #FF7A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient {
    background: linear-gradient(135deg, #0A1930 0%, #0B2447 100%);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #FF7A00;
}

.stats-container {
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 99, 229, 0.1) 0%, rgba(255, 122, 0, 0.1) 100%);
    z-index: -1;
}

.data-card {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.marquee-content {
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container:hover {
    animation-play-state: paused;
}

/* 3D Scene Container */
#scene-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0B63E5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58cc;
}

/* Mobile Menu */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Loading Animation */
.loading-animation {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-animation div {
    position: absolute;
    border: 4px solid #0B63E5;
    opacity: 1;
    border-radius: 50%;
    animation: loading-animation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loading-animation div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loading-animation {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    #scene-container {
        height: 300px;
    }
}
