/* public/css/home.css - Premium Overhaul */

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(var(--brand-color-rgb, 13, 110, 253), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--brand-color-rgb, 13, 110, 253), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--brand-color-rgb, 13, 110, 253), 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes slowPulse {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
    100% { transform: scale(1); opacity: 0.15; }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse {
    animation: slowPulse 8s infinite alternate ease-in-out;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Hero Section (Modern Mesh Gradient) */
.hero-section { 
    background-color: #0f172a;
    background-image: radial-gradient(at 0% 0%, rgba(var(--brand-color-rgb, 13, 110, 253), 0.3) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(var(--brand-color-rgb, 13, 110, 253), 0.2) 0px, transparent 50%);
    color: white; 
    padding: 120px 0 100px; 
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    height: 100px;
    background: #f8fafc;
    transform: skewY(-2deg);
    z-index: 1;
}

/* Glassmorphism Search Bar */
.search-wrapper { max-width: 800px; margin: 0 auto; position: relative; z-index: 10; }

.smart-search-bar { 
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 60px; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.smart-search-bar:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(var(--brand-color-rgb, 13, 110, 253), 0.3);
}

.smart-search-bar input { 
    border: none; 
    background: transparent;
    color: white;
    padding: 18px 25px; 
    font-size: 1.15rem; 
    flex: 1; 
    outline: none; 
    font-family: 'Inter', sans-serif;
}
.smart-search-bar input::placeholder { color: rgba(255, 255, 255, 0.6); }
.smart-search-bar button { 
    border-radius: 50px; 
    padding: 15px 40px; 
    font-weight: 700; 
    margin-left: 5px;
    letter-spacing: 0.5px;
    animation: pulseGlow 2s infinite;
}

/* Badges & Text Styling */
.badge-fomo { 
    font-size: 13px; 
    letter-spacing: 0.5px; 
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px);
}

/* Premium Product Cards */
.product-card { 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border-radius: 16px; 
    border: 1px solid rgba(0,0,0,0.05); 
    background: #ffffff;
}
.product-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; 
    border-color: rgba(var(--brand-color-rgb, 13, 110, 253), 0.2);
}

.product-card .icon-box {
    transition: all 0.3s ease;
}
.product-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand-color) !important;
    color: white !important;
}

.price-tag { font-size: 1.6rem; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }

/* Utility Classes */
.tracking-wider { letter-spacing: 2px; }
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.object-fit-cover { object-fit: cover; }

/* Glassmorphism Blog Teaser */
.blog-teaser-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.blog-teaser-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Premium UI Additions */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.fw-900 { font-weight: 900; }
.hover-scale { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(13,110,253, 0.2); }
.hover-lift { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hover-lift-sm { transition: transform 0.3s ease; }
.hover-lift-sm:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.hover-translate-x { transition: transform 0.3s ease; }
.hover-translate-x:hover { transform: translateX(5px); }
.hover-text-brand:hover { color: var(--brand-color) !important; }
.hover-text-warning:hover { color: #ffc107 !important; }
.hover-bg-brand:hover { background-color: var(--brand-color) !important; color: white !important; }
.hover-bg-light:hover { background-color: #f8f9fa !important; }
.hover-underline:hover { text-decoration: underline !important; }

.transition { transition: all 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-all { transition: all 0.3s ease; }

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

.product-img-wrapper { overflow: hidden; border-radius: 16px 16px 0 0; }
.product-img-wrapper:hover img { transform: scale(1.05); }

/* Marketing specific styles */
.marketing-hero { overflow: hidden; z-index: 1; }
.marketing-navbar { background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.bg-clip-text { background-clip: text; -webkit-background-clip: text; }
.grayscale-icons i { transition: 0.3s; }
.grayscale-icons i:hover { color: var(--brand-color); opacity: 1; transform: scale(1.1); }

.mkt-product-card { border: 1px solid rgba(0,0,0,0.05) !important; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.mkt-product-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1) !important; border-color: rgba(13,110,253, 0.3) !important; }
.mkt-img-wrapper { overflow: hidden; position: relative; }
.mkt-img-wrapper img { transition: transform 0.5s ease; }
.mkt-product-card:hover .mkt-img-wrapper img { transform: scale(1.08); }

.mkt-tool-card { border: 1px solid rgba(0,0,0,0.08) !important; transition: all 0.3s ease; }
.mkt-tool-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0,0,0,0.08) !important; border-color: var(--brand-color) !important; }