/* --- PREMIUM UI ENHANCEMENTS --- */

/* 1. Subtle Floating Animation for Bento Cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.bento-card {
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(145deg, rgba(25, 26, 28, 0.9), rgba(10, 11, 12, 0.9));
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.bento-card:nth-child(even) {
    animation-delay: 2s; /* Alada shomoye move korbe */
}

/* 2. Glassmorphism Pulsing Glow for Icons/Stats */
.trust-item span {
    display: inline-block;
    padding: 10px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 10px;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 122, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

/* 3. Smooth Gradient Text for Headings */
.hero-v2 h1 {
    background: linear-gradient(to right, #ffffff, #88888b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. Button Shine Effect */
.btn-main {
    position: relative;
    overflow: hidden;
}

.btn-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-main:hover::after {
    left: 120%;
}

/* 5. Footer Signature Highlight */
footer p:last-child {
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* 6. Advanced Scroll Indicator (Optional logic support) */
::selection {
    background: var(--accent);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
/* --- ADVANCED FUTURISTIC UI --- */

/* 1. Animated Mesh Gradient Background for Hero Section */
.hero-v2 {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 122, 255, 0.05) 0%, transparent 80%);
    overflow: hidden;
}

/* 2. Glassmorphism Card Hover Effect */
.spec-card, .bento-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.spec-card:hover::before {
    left: 100%;
}

/* 3. Advanced Floating & Magnetic Feeling */
@keyframes float-complex {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

.banner-wrapper {
    animation: float-complex 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 50px rgba(0, 122, 255, 0.2));
}

/* 4. Glowing Border for Product Cards */
.bento-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 122, 255, 0.15), 
                inset 0 0 20px rgba(0, 122, 255, 0.05);
}

/* 5. Typography: Smooth Letter Spacing Animation */
.hero-v2 h1 {
    transition: letter-spacing 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-v2 h1:hover {
    letter-spacing: 2px;
}

/* 6. Mobile Optimization: Tap Feedback */
@media (max-width: 768px) {
    .btn-main:active {
        transform: scale(0.92);
        background: var(--accent);
        color: #fff;
    }
}

/* 7. Image Tilt/Zoom Effect */
.image-container img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .image-container img {
    transform: scale(1.15) rotate(2deg);
}

/* 8. Navbar Glass Blur Update */
.navbar {
    background: rgba(8, 9, 10, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
/* --- ULTIMATE UI/UX ENHANCEMENTS --- */

/* 1. Neumorphic Glow for Contact Section */
.btn-wa {
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
    transition: all 0.4s ease;
}

.btn-wa:hover {
    background: #25D366;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

/* 2. Magnetic Text Hover for Brand Name */
.navbar div:first-child {
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

.navbar div:first-child:hover {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

/* 3. Skeleton Loading Shine (Smooth Appearance) */
.active {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 4. Product Card Glass Border Shine */
.bento-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg, transparent, rgba(0, 122, 255, 0.3), transparent);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: 0.5s;
}

.bento-card:hover::after {
    opacity: 1;
}

/* 5. Footer Signature UI Update */
footer p.interactable {
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 10px 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    border-radius: 10px;
    transition: 0.5s;
}

footer p.interactable:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold) !important;
}

/* 6. Dynamic Scroll Progress Bar */
@keyframes scrollProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scrollProgress linear;
    animation-timeline: scroll();
}
