@layer base {
    html {
        scroll-behavior: smooth;
    }
    body {
        overflow-x: hidden;
    }
}

/* Liquid glass effect */
.liquid-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-water {
    background: linear-gradient(135deg, #002855 0%, #001233 100%);
}

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Float animation for promo */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

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

/* Scroll indicator bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-bounce-slow {
    animation: bounce 2s ease-in-out infinite;
}

/* FAQ transition */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.open {
    max-height: 500px;
}

/* Header transition */
.header-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-scrolled .nav-link {
    color: #003170 !important;
}

.header-scrolled .logo-text {
    color: #001233 !important;
}

.header-scrolled .logo-icon {
    color: #0057B8 !important;
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

.mobile-menu.open {
    display: block;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 87, 184, 0.3);
}

/* Card hover effects */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-card:hover .card-icon-wrap {
    background: #0057B8;
    transform: scale(1.1);
}

.benefit-card:hover .card-icon {
    color: white;
}

/* Gallery hover */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-label {
    opacity: 1;
    transform: translateY(0);
}

/* Process timeline */
.timeline-line {
    transform-origin: top;
}

/* Product thumbnail active */
.thumb-active {
    ring: 2px solid #0057B8;
    --tw-ring-offset-width: 2px;
    transform: scale(1.05);
    opacity: 1 !important;
}
