@font-face {
    font-family: 'Nexa';
    src: url('https://fonts.cdnfonts.com/s/15385/Nexa-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('https://fonts.cdnfonts.com/s/15385/Nexa Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('https://fonts.cdnfonts.com/s/15385/Nexa-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('https://fonts.cdnfonts.com/s/15385/NexaRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('https://fonts.cdnfonts.com/s/15385/Nexa Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nexa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stat-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal {
    animation: modalIn 0.3s ease-out forwards;
}

#modal.active {
    display: block;
}

#modal:not(.active) {
    display: none;
}

section {
    position: relative;
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6100ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4d00cc;
}

::selection {
    background: rgba(97, 0, 255, 0.2);
    color: #6100ff;
}

a {
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
}

button:focus,
a:focus {
    outline: 2px solid #6100ff;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

