html { scroll-behavior: smooth; }

.hero-gradient {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 20%, #2563eb 45%, #14b8a6 80%, #2dd4bf 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15); }

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

@keyframes bubble-rise {
    0% { transform: translateY(0) scale(0.4); opacity: 0; }
    10% { opacity: 0.7; transform: translateY(-10vh) scale(0.8); }
    50% { opacity: 0.4; }
    100% { transform: translateY(-105vh) scale(1); opacity: 0; }
}

.bubble {
    position: absolute;
    bottom: -5%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0.15));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 -2px 6px rgba(255,255,255,0.1);
    animation: bubble-rise linear infinite;
}

/* Navbar scroll transitions */
.nav-scrolled { background: rgba(255,255,255,0.88) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border-bottom: 1px solid rgba(255,255,255,0.2); }
.nav-scrolled .nav-hero-text { color: #1e40af !important; }
.nav-scrolled .nav-hero-sub { color: #d97706 !important; }
.nav-scrolled .nav-hero-icon { color: #f59e0b !important; }
.nav-scrolled .nav-hero-link { color: #374151 !important; }
.nav-scrolled .nav-hero-link:hover { color: #2563eb !important; }
.nav-scrolled .nav-hero-cart { color: #1d4ed8 !important; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.5s ease-out; }
