:root {
    --primary: #2F80ED;
    --secondary: #56CCF2;
    --accent: #F2C94C;
    --background: #FFFFFF;
    --text: #333333;
    --dark-footer: #111827;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    padding-bottom: 70px;
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }
}

.slider-container {
    perspective: 1000px;
}

.slide {
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(8px);
    pointer-events: none;
    will-change: opacity, transform;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 10;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.hero-slide-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 16% 84%, rgba(255, 255, 255, 0.08), transparent 24%);
    pointer-events: none;
}

.hero-figure {
    filter: drop-shadow(0 28px 40px rgb(15 23 42 / 0.18));
    display: block;
}

.banner-carousel > .absolute.inset-0 {
    overflow: hidden;
}

.hero-figure-wrap {
    overflow: visible;
}

.hero-slider-dots .active-dot {
    background-color: rgba(255, 255, 255, 0.96) !important;
}

.hero-sparkles {
    position: absolute;
    right: 18%;
    top: 18%;
    z-index: 12;
    pointer-events: none;
}

.hero-sparkles span {
    position: absolute;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 9999px;
}

.hero-sparkles span::before,
.hero-sparkles span::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: #FFD60A;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
}

.hero-sparkles span::before {
    width: 3px;
    height: 18px;
}

.hero-sparkles span::after {
    width: 18px;
    height: 3px;
}

.hero-sparkles span:nth-child(1) {
    top: 0;
    left: 0;
    transform: scale(1.1);
}

.hero-sparkles span:nth-child(2) {
    top: 28px;
    left: 28px;
    transform: scale(0.8);
}

.hero-sparkles span:nth-child(3) {
    top: 42px;
    left: -14px;
    transform: scale(0.6);
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transform: translateX(24px) scale(0.985);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.promo-slide.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.active-dot {
    background-color: var(--primary) !important;
    width: 2.5rem !important;
    border-radius: 9999px;
}

.promo-slider {
    min-height: 270px;
    background: linear-gradient(90deg, #40b8f9 0%, #1d91df 100%);
}

.promo-slide-image {
    filter: drop-shadow(0 24px 40px rgb(15 23 42 / 0.16));
}

@media (min-width: 640px) {
    .promo-slider {
        min-height: 330px;
    }
}

@media (min-width: 1024px) {
    .promo-slider {
        min-height: 420px;
    }
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide img {
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

@media (max-width: 639px) {
    .hero-slide-card {
        padding-right: 0.75rem;
    }

    .hero-figure-wrap {
        width: 40%;
        top: -1.25rem;
        right: 0.5rem;
        height: 108%;
    }

    .hero-figure {
        height: 100%;
    }

    .hero-sparkles {
        right: 21%;
        top: 13%;
        transform: scale(0.72);
        transform-origin: top right;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .hero-figure-wrap {
        top: -1.75rem;
        right: 1rem;
        height: 110%;
    }

    .hero-figure {
        height: 102%;
    }

    .hero-sparkles {
        right: 20%;
        top: 18%;
        transform: scale(0.9);
        transform-origin: top right;
    }
}

.popular-card img {
    transition: transform 0.3s ease;
}

.popular-card:hover img {
    transform: scale(1.05);
}

.expert-card {
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.procurement-card {
    transition: transform 0.3s ease;
}

.procurement-card:hover {
    transform: scale(1.02);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 10));
    }
}

.logo-slider-track {
    display: flex;
    width: calc(200px * 20);
    animation: scroll 40s linear infinite;
}

.logo-item {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-item-active {
    color: var(--primary);
    font-weight: 700;
}
