/* Custom CSS for Citisync Wholesale - Futuristic Ecommerce Experience */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1E1E1E 0%, #000000 100%);
    color: white;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1E1E1E;
}

::-webkit-scrollbar-thumb {
    background: #F5A623;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d8941a;
}

/* Navigation Styles */
.nav-link {
    @apply text-gray-300 hover:text-citi-orange transition-colors duration-300 relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5A623;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    @apply block px-3 py-2 text-gray-300 hover:text-citi-orange hover:bg-citi-orange/10 transition-all duration-300;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.2);
    transform: translateY(-5px);
}

/* CTA Buttons */
.cta-button {
    @apply inline-flex items-center justify-center px-6 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-offset-2 no-underline;
    background: linear-gradient(135deg, #F5A623 0%, #d8941a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    border: none;
}

.cta-button:hover {
    background: linear-gradient(135deg, #d8941a 0%, #F5A623 100%);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.6);
    transform: translateY(-2px);
    color: white;
}

.cta-button.border-2 {
    background: transparent;
    color: #F5A623;
    border: 2px solid #F5A623;
}

.cta-button.border-2:hover {
    background: #F5A623;
    color: white;
    border-color: #F5A623;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

/* Floating Business Icons */
.floating-business-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-business-icon:hover {
    transform: scale(1.2);
    background: rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.6);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}

.floating-business-icon i {
    color: #F5A623;
    transition: all 0.3s ease;
}

.floating-business-icon:hover i {
    transform: scale(1.1);
}

/* Floating Product Cards */
.floating-product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 15px;
    padding: 1rem;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-product-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.5);
}

.product-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-info {
    flex: 1;
}

.product-info .text-sm {
    margin-bottom: 0.25rem;
}

.product-info .text-xs {
    opacity: 0.8;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.product-card:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(20px);
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.3);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5A623;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #F5A623 0%, #d8941a 100%);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

/* Category Cards */
.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

/* Category Filter Tabs */
.category-tab {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.4);
    color: #F5A623;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, #F5A623 0%, #d8941a 100%);
    border-color: #F5A623;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.category-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

/* Bestseller Categories */
.bestseller-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bestseller-category:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: translateY(-2px);
}

.bestseller-category.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.bestseller-category.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.category-card:hover {
    transform: rotateY(15deg) rotateX(10deg) translateZ(30px);
    box-shadow: 0 25px 50px rgba(245, 166, 35, 0.3);
}

.category-content {
    position: relative;
    z-index: 1;
}

.category-card i {
    color: #F5A623;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.category-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Enhanced Category Card Elements */
.category-icon {
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.stat-label {
    color: #9ca3af;
    font-weight: 500;
}

.stat-value {
    color: #F5A623;
    font-weight: 600;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(245, 166, 35, 0.1);
    color: #F5A623;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(245, 166, 35, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.4);
    transform: translateY(-1px);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F5A623, #d8941a, #F5A623);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(245, 166, 35, 0.2);
    border-color: rgba(245, 166, 35, 0.4);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(245, 166, 35, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: rgba(245, 166, 35, 0.6);
    transform: scale(1.1);
}

.testimonial-info {
    flex: 1;
    text-align: left;
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.testimonial-info p {
    margin: 0;
    line-height: 1.4;
}

.testimonial-rating {
    flex-shrink: 0;
}

.testimonial-content {
    text-align: left;
}

.testimonial-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.testimonial-stats span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid currentColor;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-stats span:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* FAQ Accordion */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(245, 166, 35, 0.1);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #d1d5db;
    line-height: 1.6;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-toggle {
    color: #F5A623;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* Footer Styles */
.footer-link {
    @apply text-gray-300 hover:text-citi-orange transition-colors duration-300;
}

.social-icon {
    @apply w-10 h-10 bg-citi-orange/20 border border-citi-orange/30 rounded-full flex items-center justify-center text-citi-orange hover:bg-citi-orange hover:text-white transition-all duration-300;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.4);
}

/* Modal Styles */
.auth-input {
    @apply w-full bg-white/10 border border-citi-orange/30 rounded-lg px-4 py-3 text-white placeholder-gray-300 focus:outline-none focus:border-citi-orange focus:ring-2 focus:ring-citi-orange/50 transition-all duration-300;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.2), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Neon Glow Effects */
.neon-glow {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.neon-glow:hover {
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.8);
}

/* Search Results Styles */
.search-result-item {
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(245, 166, 35, 0.1) !important;
    transform: translateX(5px);
}

#search-results,
#shop-search-results {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#search-results::-webkit-scrollbar,
#shop-search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track,
#shop-search-results::-webkit-scrollbar-track {
    background: rgba(245, 166, 35, 0.1);
    border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb,
#shop-search-results::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.5);
    border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb:hover,
#shop-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.7);
}

/* Magnetic Effect */
.magnetic {
    transition: transform 0.3s ease;
}

/* Responsive Design - Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Navigation */
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero Section */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    /* Search Bar */
    #search-input {
        width: 200px;
        font-size: 0.875rem;
    }
    
    /* Product Grids */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Cards */
    .glass-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* CTA Buttons */
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Floating Elements */
    .floating-element,
    .floating-business-icon,
    .floating-product-card {
        display: none;
    }
    
    /* Statistics Grids */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Category Tabs */
    .category-tabs-container {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .category-tab {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* About page specific responsive styles */
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-item .glass-card {
        max-width: 100%;
        margin: 0;
    }
    
    .team-member-card {
        text-align: center;
    }
    
    .values-card {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline responsive adjustments */
.timeline-item.left,
.timeline-item.right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.timeline-item .glass-card {
    margin-left: 0;
    margin-right: 0;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item.left {
    text-align: left;
}

.timeline-item.right {
    text-align: right;
}

.timeline-item.right .glass-card {
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .timeline-item.left,
    .timeline-item.right {
        text-align: center;
    }
    
    .timeline-item.right .glass-card {
        margin-left: 0;
    }
}
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    h1 {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem !important;
    }
    
    /* Product Grids */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Search Bar */
    #search-input {
        width: 250px;
    }
    
    /* Statistics Grids */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    h1 {
        font-size: 4rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
    
    /* Product Grids */
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Search Bar */
    #search-input {
        width: 300px;
    }
    
    /* Statistics Grids */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Floating Elements - Reduced */
    .floating-element {
        width: 60px;
        height: 60px;
    }
    
    .floating-business-icon {
        width: 60px;
        height: 60px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    h1 {
        font-size: 5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
    }
    
    /* Product Grids */
    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Search Bar */
    #search-input {
        width: 350px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section */
    h1 {
        font-size: 6rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.75rem !important;
    }
    
    /* Product Grids */
    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    /* Search Bar */
    #search-input {
        width: 400px;
    }
}

/* Mobile Menu Enhancements */
@media (max-width: 767.98px) {
    /* Mobile Navigation */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    
    #mobile-menu.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mobile-nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(245, 166, 35, 0.1);
        font-size: 1rem;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link:hover {
        background: rgba(245, 166, 35, 0.1);
        color: #F5A623;
        padding-left: 2rem;
    }
    
                /* Mobile Search - Hidden on mobile */
            #search-input,
            #shop-search-input {
                display: none;
            }
            
            /* Show search on tablet and desktop */
            @media (min-width: 768px) {
                #search-input,
                #shop-search-input {
                    display: block;
                }
            }
    
    /* Mobile Product Cards */
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    /* Mobile Category Cards */
    .category-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Testimonials */
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile FAQ */
    .faq-question {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Mobile Footer */
    .footer-link {
        padding: 0.5rem 0;
        font-size: 0.875rem;
    }
    
    /* Mobile CTA Buttons */
    .cta-button {
        margin-bottom: 1rem;
    }
    
    /* Mobile Modals */
    .glass-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    /* Mobile Statistics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mobile Category Tabs */
    .category-tabs-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet Hero */
    .hero-content {
        padding: 2rem 1rem;
    }
    
    /* Tablet Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Floating Elements */
    .floating-element,
    .floating-business-icon {
        display: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper images and icons */
    .product-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .floating-business-icon,
    .floating-product-card {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Already dark theme, no changes needed */
}

/* Custom Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section Animations */
.hero-content {
    opacity: 1;
    animation: fadeInUp 1.2s ease-out 0.5s;
}

.hero-title {
    position: relative;
    overflow: hidden;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.3), transparent);
    animation: typing 3s steps(20) 1s forwards;
}

.stat-card {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.stat-card.animate-stat-card {
    animation: statCardSlide 0.8s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.6s; }
.stat-card:nth-child(4) { animation-delay: 0.8s; }

.trust-item {
    opacity: 1;
    transform: translateY(0);
}

.trust-item.animate-trust-item {
    animation: trustItemSlide 0.6s ease-out;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

/* Button Hover Effects */
.animate-button-hover:hover {
    animation: buttonHover 0.3s ease-out;
}

.animate-button-hover:hover .animate-arrow {
    animation: arrowBounce 2s ease-in-out infinite;
}

.animate-button-hover:hover .animate-handshake {
    animation: handshakeWave 2s ease-in-out infinite;
}

/* Number Counter Animation */
.stat-number {
    transition: all 0.3s ease;
}

/* Floating Elements Enhanced */
.floating-element {
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
}

.floating-business-icon {
    animation: float 8s ease-in-out infinite, pulseGlow 4s ease-in-out infinite alternate;
}

/* Particle Effects Enhanced */
.particle {
    animation: particleFloat 8s infinite linear, pulseSlow 4s ease-in-out infinite;
}

/* Text Highlight Animation */
.animate-highlight {
    position: relative;
    display: inline-block;
}

.animate-highlight::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5A623;
    animation: highlightUnderline 2s ease-out 1s forwards;
}

@keyframes highlightUnderline {
    to {
        width: 100%;
    }
}

.slide-in {
    animation: slideInFromBottom 0.6s ease-out;
}

.fade-in-scale {
    animation: fadeInScale 0.5s ease-out;
}

/* Particle Effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #F5A623;
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Sticky Navigation */
.navbar-scrolled {
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Cart Badge Animation */
@keyframes cartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.cart-pulse {
    animation: cartPulse 0.6s ease-in-out;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #F5A623 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch {
    animation: glitch 0.3s ease-in-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #F5A623;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .glass-card,
    .floating-element,
    .particles {
        display: none !important;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 480px) {
    /* Extra Small Devices */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    .glass-card {
        padding: 1rem !important;
        margin: 0.5rem 0;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }
    
    .stat-card {
        padding: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .product-card {
        margin: 0.5rem 0;
    }
    
    .category-card {
        padding: 1rem !important;
    }
    
    .testimonial-card {
        padding: 1rem !important;
    }
    
    .faq-question {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Mobile Search Improvements */
    #mobile-search-input {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Mobile Menu Improvements */
    .mobile-nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Form Improvements */
    input, select, textarea {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Button Improvements */
    button {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    /* Small Devices */
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 2fr 2fr !important;
        gap: 1rem !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .faq-grid {
        gap: 1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Medium Devices */
    .hero-title {
        font-size: 4rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    /* Large Devices */
    .hero-title {
        font-size: 5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 2rem !important;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 2rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (min-width: 1440px) {
    /* Extra Large Devices */
    .hero-title {
        font-size: 6rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.75rem !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
        gap: 2.5rem !important;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
        gap: 2.5rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 2.5rem !important;
    }
}

/* Landscape Mobile Improvements */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh !important;
        padding: 2rem 0 !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 2fr 2fr 2fr 2fr !important;
        gap: 0.5rem !important;
    }
    
    .stat-card {
        padding: 0.5rem !important;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
}

/* High DPI Display Improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-card img,
    .category-card img,
    .testimonial-avatar img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .particle,
    .animate-highlight {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(30, 30, 30, 0.8) !important;
    }
}

/* Focus Improvements for Accessibility */
button:focus-visible,
input:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #F5A623 !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .nav-link,
    .mobile-nav-link,
    .product-card,
    .category-card,
    .testimonial-card {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    .cta-button {
        padding: 1rem 2rem !important;
    }
    
    .nav-link,
    .mobile-nav-link {
        padding: 1rem !important;
    }
} 