:root {
    --bb-blue: #0050BE;
    --bb-dark: #323332;
    --bb-light: #E3E2E2;
    --bb-white: #FFFFFF;
}

*,
::before,
::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: 'Pretendard', sans-serif;
    color: var(--bb-dark);
    background-color: var(--bb-white);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.elice-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-bb-blue {
    color: var(--bb-blue);
}

.bg-bb-blue {
    background-color: var(--bb-blue);
}

.elice-card {
    background: var(--bb-white);
    border: 1px solid var(--bb-light);
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.elice-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(0, 80, 190, 0.15);
    border-color: var(--bb-blue);
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -0.05em;
}

#main-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--bb-blue);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease;
}

.site-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.bg-soft {
    background-color: #F8FAFC;
}

.bg-hero-gradient {
    background: linear-gradient(135deg, #7C3AED 0%, #2563EB 50%, #0EA5E9 100%);
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.mobile-nav-link {
    transition: all 0.3s ease;
}

/* Hide scrollbar utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Menu Link Entrance Animations */
#mobile-nav:not(.translate-x-full) nav a {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

#mobile-nav:not(.translate-x-full) nav a:nth-child(1) {
    animation-delay: 0.1s;
}

#mobile-nav:not(.translate-x-full) nav a:nth-child(2) {
    animation-delay: 0.2s;
}

#mobile-nav:not(.translate-x-full) nav a:nth-child(3) {
    animation-delay: 0.3s;
}

#mobile-nav:not(.translate-x-full) nav a:nth-child(4) {
    animation-delay: 0.4s;
}

/* Accordion Smooth Transition */
.submenu-transition {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu-transition.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}