* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

*::-webkit-scrollbar { width: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

::selection { background: rgba(0, 240, 255, 0.2); color: #00f0ff; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover {
    transform: translateY(-4px);
}

.carousel-slide {
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, #00f0ff, #7b2ffc);
    transition: transform 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.service-card {
    backdrop-filter: blur(10px);
}

.message-toast {
    animation: slideInRight 0.4s ease-out;
    pointer-events: all;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-toast {
    animation: slideInRight 0.4s ease-out;
}

@media (max-width: 768px) {
    .carousel-title { font-size: 1.875rem; }
    .carousel-desc { font-size: 1rem; }
    .carousel-price { font-size: 1.5rem; }
}
