html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bg-dark-theme {
    background-color: #0a0e17;
    color: #e2e8f0;
    position: relative;
    overflow-x: hidden;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.glass-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.3), inset 0 0 20px rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-8px);
}

.hidx-gradient {
    background: linear-gradient(90deg, #f97316, #ea580c, #c2410c);
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

span.hidx-gradient {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.5));
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.nav-link {
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #f97316;
}

.btn {
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(90deg, #f97316, #ea580c, #c2410c);
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #4b5563;
    color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    border-color: #f97316;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.animate-card:nth-child(1),
.animate-card:nth-of-type(1) {
    animation-delay: 0.1s;
}

.animate-card:nth-child(2),
.animate-card:nth-of-type(2) {
    animation-delay: 0.2s;
}

.animate-card:nth-child(3),
.animate-card:nth-of-type(3) {
    animation-delay: 0.3s;
}

.animate-card:nth-child(4),
.animate-card:nth-of-type(4) {
    animation-delay: 0.4s;
}

.animate-card:nth-child(5) {
    animation-delay: 0.5s;
}

.animate-card:nth-child(6) {
    animation-delay: 0.6s;
}

footer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

footer.animate-footer-visible {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background-color: #f97316;
}