body {
    background-color: #020617;
    color: #f8fafc;
    font-family: "Outfit", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-strong {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

.blob-cont {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #4f46e5;
    animation: blob-bounce 25s infinite ease-in-out alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #db2777;
    animation: blob-bounce 30s infinite ease-in-out alternate-reverse;
}

.blob-3 {
    top: 30%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: #7c3aed;
    animation: blob-pulse 20s infinite ease-in-out alternate;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(to right, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.perspective-1000 {
    perspective: 1000px;
}

.code-window {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 50px rgba(0, 0, 0, 0.5);
}

.scroll-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll 40s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite 2s;
}

.animate-spin-slow {
    animation: spin 12s linear infinite;
}

.fade-sides {
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes blob-pulse {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, 50px) scale(1.2);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.8);
    }
    100% {
        transform: translate(20px, -20px) scale(1);
    }
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
}

@media (max-width: 1024px) {
    .blob {
        filter: blur(100px);
        opacity: 0.4;
    }
}

@media (max-width: 640px) {
    .blob {
        width: 300px;
        height: 300px;
    }
    .scroll-track {
        animation-duration: 60s;
    }
}

/* Container */
.utils-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.utils-container-2 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .utils-container {
        max-width: 540px;
    }
    .utils-container-2 {
        max-width: 600px;
    }
}

@media (min-width: 768px) {
    .utils-container {
        max-width: 720px;
    }
    .utils-container-2 {
        max-width: 780px;
    }
}

@media (min-width: 992px) {
    .utils-container {
        max-width: 960px;
    }
    .utils-container-2 {
        max-width: 1020px;
    }
}

@media (min-width: 1280px) {
    .utils-container {
        max-width: 1200px;
    }
    .utils-container-2 {
        max-width: 1260px;
    }
}
@media (min-width: 1400px) {
    .utils-container {
        max-width: 1400px;
    }
    .utils-container-2 {
        max-width: 1460px;
    }
}
