/* ByteStore Custom Premium Animations & Styles */

/* Modern Card Lift & Hover Effects */
.product-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-radius: 8px !important;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Smooth Image Scale on Hover */
.img-container {
    overflow: hidden;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.img-container img {
    transition: transform 0.6s ease;
}

.product-card:hover .img-container img {
    transform: scale(1.06);
}

/* Premium Tech Badges */
.badge-tech {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 4px 8px;
    margin-right: 4px;
    margin-bottom: 6px;
    display: inline-block;
}

/* Glassmorphism Badges for Hero/Header */
.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Premium Overlay on Carousel Images */
.carousel-inner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    background: transparent !important;
}

/* Category Filter Buttons in Shop/Home */
.filter-btn {
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 24px;
    transition: all 0.3s ease;
}

/* Rating Text */
.rating-text {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Footer & Button Micro-animations */
.btn-primary, .btn-outline-primary {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 111, 34, 0.4);
}

/* Compact Single-Row Navbar Styles */
.navbar-brand h1 {
    font-size: 28px !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #444444 !important;
    padding: 24px 14px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ff6f22 !important;
}

body {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important; /* Fully off-screen */
        width: 290px !important;
        height: 100vh !important;
        background: #ffffff !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15) !important;
        z-index: 99999 !important;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.4s !important;
        padding: 30px 20px !important;
        display: block !important; /* Prevent collapse height toggling */
        visibility: hidden !important;
        overflow-y: auto !important; /* Allow scroll on long vertical menus */
    }
    
    .navbar-collapse.show {
        left: 0 !important; /* Slide in smoothly */
        visibility: visible !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 10px !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-size: 15px !important;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Style for close button inside drawer */
    .navbar-collapse .close {
        color: #333333;
        opacity: 0.8;
        outline: none;
    }
    .navbar-collapse .close:hover {
        opacity: 1;
        color: #ff6f22;
    }
}

/* Nav Item Divider */
.nav-divider {
    color: rgba(0, 0, 0, 0.15) !important;
    font-size: 14px;
    font-weight: 300;
    align-self: center;
    padding: 0 4px;
}

/* Premium Desktop Hover Dropdowns & Animations */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .navbar-nav .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        background: #ffffff !important;
        padding: 10px 0 !important;
        margin-top: 0 !important;
    }
    
    .dropdown-item {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #444444 !important;
        padding: 10px 20px !important;
        transition: all 0.2s ease !important;
    }
    
    .dropdown-item:hover {
        background-color: rgba(255, 111, 34, 0.06) !important;
        color: #ff6f22 !important;
        padding-left: 24px !important; /* Premium slide-right on hover */
    }
    
    /* Remove default bootstrap arrow indicator on hover menu parent */
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    .navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Premium Mobile Drawer Dropdown Layouts */
@media (max-width: 991.98px) {
    .navbar-collapse .dropdown-menu {
        background: #f8f9fa !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 15px !important;
        margin: 5px 0 !important;
        border-left: 2px solid rgba(255, 111, 34, 0.3) !important;
    }
    
    .navbar-collapse .dropdown-item {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #555555 !important;
        padding: 8px 15px !important;
    }
    
    .navbar-collapse .dropdown-item:hover {
        color: #ff6f22 !important;
        background: transparent !important;
    }
}

/* ==========================================================================
   ByteStore Global Minimal Gaps & Compact Hero Heights Overrides
   ========================================================================== */

/* 1. Global Padding & Spacing Utility Overrides (Scale down py-5, pt-5, pb-5, mb-5, etc.) */
.py-5 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
}
.pt-5 {
    padding-top: 1.75rem !important;
}
.pb-5 {
    padding-bottom: 1.75rem !important;
}
.my-5 {
    margin-top: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}
.mt-5 {
    margin-top: 1.75rem !important;
}
.mb-5 {
    margin-bottom: 1.75rem !important;
}

/* 2. Compact Page Headers (Sub-page Hero Sections) */
.page-header {
    margin-bottom: 1.5rem !important;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url(../img/developer-banner.png) no-repeat center center !important;
    background-size: cover !important;
}
.page-header .container > div {
    min-height: 250px !important;
    height: 250px !important;
}
.page-header h3.display-4 {
    font-size: 32px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}
.page-header .d-inline-flex {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65) !important;
    font-weight: 500 !important;
}

/* 3. Compact Main Home Page Hero Carousel (Carousel Items) */
.carousel-item {
    min-height: 480px !important;
    height: 480px !important;
}
.carousel-item img {
    min-height: 480px !important;
    height: 480px !important;
}
.carousel-caption {
    padding: 20px !important;
}
.carousel-caption .p-3.p-md-5 {
    padding: 20px !important;
}
.carousel-caption h1.display-3 {
    font-size: 42px !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}
.carousel-caption p {
    font-size: 16px !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}
.carousel-caption .btn {
    padding: 10px 24px !important;
    font-size: 15px !important;
}
.carousel-caption .badge {
    font-size: 12px !important;
    padding: 6px 12px !important;
    margin-bottom: 8px !important;
}


/* ==========================================================================
   ByteStore Premium Glassmorphic Login & Register Portals
   ========================================================================== */
.auth-portal-wrapper {
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 1) 90%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/* Glowing mesh background blobs */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}
.auth-blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #ff6f22;
}
.auth-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: #7c3aed;
}

/* Glassmorphism Card Container */
.auth-glass-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    z-index: 10;
    position: relative;
    overflow: hidden;
}

/* Premium Visual Sidebar inside Portal */
.auth-sidebar {
    background: linear-gradient(135deg, rgba(255, 111, 34, 0.12) 0%, rgba(124, 58, 237, 0.06) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem !important;
}

/* Dark mode inputs */
.auth-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.auth-input-group i {
    position: absolute;
    top: 17px;
    left: 18px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 10;
}
.auth-input-field {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    height: 52px !important;
    padding-left: 50px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}
.auth-input-field::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
.auth-input-field:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: #ff6f22 !important;
    box-shadow: 0 0 15px rgba(255, 111, 34, 0.25) !important;
    outline: none !important;
}
.auth-input-field:focus + i {
    color: #ff6f22 !important;
}

/* Premium Divider line */
.auth-or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1.5rem 0;
}
.auth-or-divider::before,
.auth-or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-or-divider:not(:empty)::before {
    margin-right: .75em;
}
.auth-or-divider:not(:empty)::after {
    margin-left: .75em;
}

/* Social Buttons */
.btn-social-auth {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 10px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}
.btn-social-auth:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}
.btn-social-auth i {
    font-size: 16px;
}

/* ── Pricing Card Enhancements ── */
.pricing-card {
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.pricing-card:hover {
    transform: translateY(-8px) !important;
}
.pricing-card:not(.featured-pricing-card):hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(255, 111, 34, 0.25) !important;
}
.featured-pricing-card:hover {
    box-shadow: 0 22px 50px rgba(255, 111, 34, 0.4) !important;
}
.pricing-card .feature-section {
    transition: background 0.25s ease;
}
.pricing-card .feature-section:hover {
    filter: brightness(0.96);
}
.pricing-card .feature-highlight {
    transition: background 0.25s ease, border-color 0.25s ease;
}
.pricing-card .feature-section-title {
    opacity: 0.9;
}
.pricing-card .fa-check-circle {
    animation: none;
}
.pricing-card .checkout-link {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pricing-card .checkout-link:hover {
    transform: translateY(-2px);
}
.pricing-card:not(.featured-pricing-card) .checkout-link:hover {
    background: #ff6f22 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 111, 34, 0.3);
}
.featured-pricing-card .checkout-link:hover {
    box-shadow: 0 6px 22px rgba(255, 111, 34, 0.5) !important;
    filter: brightness(1.1);
}
.pricing-carousel .owl-stage-outer {
    padding: 25px 0 20px 0;
}

/* Pricing card top icon area */
.pricing-card-top {
    position: relative;
}

/* Animate savings badges */
.savings-badge {
    animation: fadeInUp 0.35s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Additional Premium UI Redesign Styles ── */
/* Modern button glows & scales */
.btn-hero-primary {
    background: linear-gradient(135deg, #ff6f22 0%, #f97316 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(255, 111, 34, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 111, 34, 0.5) !important;
    color: #ffffff !important;
}
.btn-hero-light {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.btn-hero-light:hover {
    background: #ffffff !important;
    color: #0f172a !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
    text-decoration: none !important;
}

/* Glassmorphism search panels */
.glass-search-panel {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06) !important;
}

/* Glowing text gradients */
.gradient-text-primary {
    background: linear-gradient(135deg, #ff6f22 0%, #f97316 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent;
}
.gradient-text-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent;
}

/* Modern Card Layouts */
.modern-layout-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border-radius: 16px !important;
}
.modern-layout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(255, 111, 34, 0.15) !important;
}

/* Auth responsive container fixes */
@media (max-width: 575.98px) {
    .auth-glass-card {
        padding: 25px 15px !important;
    }
}

/* Domain Checker & Glass Panel Responsive Adjustments */
@media (max-width: 767.98px) {
    .glass-search-panel {
        padding: 20px 15px !important;
    }
    .glass-search-panel .input-group-text,
    .glass-search-panel .form-control,
    .glass-search-panel select,
    .glass-search-panel button {
        height: 48px !important;
        font-size: 14px !important;
    }
    .glass-search-panel .input-group-text {
        padding: 10px 12px !important;
    }
    .glass-search-panel input {
        padding-left: 10px !important;
    }
}




