/* Mobile Landing Page Optimizations */
@media (max-width: 768px) {

    /* 1. Reduce Font Sizes */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
    }

    /* 2. Improve Spacing - Compact Layout */
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        align-items: flex-start !important;
        display: flex !important;
    }

    .hero-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        width: 100% !important;
    }

    .hero-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: auto !important;
    }

    /* 3. Optimize Buttons */
    .hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0 2rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0 !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.8rem !important;
        font-size: 1rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* 4. Fix Header Elements */
    .landing-header .brand-text {
        font-size: 1.4rem !important;
    }

    .landing-header .shop-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* Transform Login Button to Avatar Circle on Mobile */
    .landing-header .login-btn {
        padding: 0 !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .landing-header .login-btn .btn-text {
        display: none !important;
    }

    .landing-header .login-btn .btn-icon {
        display: block !important;
        margin: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }

    .landing-header .header-content {
        padding: 0.5rem 0 !important;
    }

    /* 5. Stats Section Optimization */
    .stats-section {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: -1px !important;
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
    }

    .stat-item {
        padding: 1rem !important;
        min-height: auto !important;
    }

    .stat-number {
        font-size: 2rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    /* 6. Product Showcase Optimization */
    .product-showcase {
        padding: 2rem 0 !important;
    }

    .showcase-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .showcase-subtitle {
        font-size: 0.95rem !important;
        padding: 0 1rem;
    }

    .purity-ring {
        width: 100px !important;
        height: 100px !important;
        margin: 1rem auto !important;
    }

    .purity-ring::before {
        width: 75px !important;
        height: 75px !important;
    }

    .purity-percentage {
        font-size: 1.25rem !important;
    }

    /* 7. Category Cards - Maximized Width Carousel */
    .product-categories {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem 1.5rem 0.75rem !important;
        margin: 0 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .product-categories::-webkit-scrollbar {
        display: none !important;
    }

    .category-card {
        flex: 0 0 44% !important;
        min-width: 44% !important;
        scroll-snap-align: center !important;
        padding: 0.75rem !important;
        border-radius: 12px !important;
        min-height: auto !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;

        /* Force Visibility Overrides for AOS/Animations */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .category-visual {
        height: 70px !important;
        margin-bottom: 0.25rem !important;
    }

    .category-visual svg {
        width: 40px !important;
        height: 40px !important;
    }

    .category-content h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.2rem !important;
    }

    .category-content p {
        font-size: 0.7rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 2;
    }

    .quality-badge {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.65rem !important;
        margin-top: auto !important;
    }

    /* 8. Features Section ("Why Choose eirthum") */
    .features-section {
        padding: 2rem 0 !important;
    }

    .features-section .section-header {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem !important;
    }

    .features-section .section-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        color: #333 !important;
    }

    .features-section .section-subtitle {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        line-height: 1.5 !important;
        color: #666 !important;
    }

    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }

    .feature-card {
        text-align: center !important;
        padding: 1rem !important;
        background: #fff !important;
        border-radius: 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        height: 100% !important;
    }

    .feature-icon {
        margin: 0 auto 0.5rem auto !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 212, 170, 0.1) !important;
        border-radius: 50% !important;
        color: #00d4aa !important;
    }

    .feature-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .feature-title {
        font-size: 0.95rem !important;
        padding-bottom: 0.25rem !important;
        margin-top: 0.25rem !important;
        color: #333 !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .feature-description {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        color: #777 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
    }

    /* 9. Testimonials Section ("What Our Customers Say") */
    .testimonials-section {
        padding: 2rem 0 !important;
    }

    .testimonials-section .section-header {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
    }

    .testimonials-section .section-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
        width: 100% !important;
        line-height: 1.2 !important;
    }

    .testimonials-section .section-subtitle {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .testimonials-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding: 0 1rem 1.5rem 1rem !important;
        grid-template-columns: none !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none !important;
    }

    .testimonial-card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        background: #1a1a1a !important;
        border-radius: 16px !important;
        height: auto !important;
    }

    .testimonial-video {
        height: 160px !important;
    }

    .testimonial-content {
        padding: 0.75rem !important;
    }

    .testimonial-text {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }

    .author-avatar {
        width: 28px !important;
        height: 28px !important;
    }

    .author-info h4 {
        font-size: 0.85rem !important;
    }

    /* 10. CTA (Footer) Section */
    .cta-section {
        padding: 3rem 0 !important;
    }

    .cta-content {
        padding: 0 1rem !important;
        text-align: center !important;
    }

    .cta-title {
        font-size: 1.8rem !important;
        /* Optimized from huge size */
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
    }

    .cta-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        /* Stack buttons */
        gap: 0.75rem !important;
        padding: 0 2rem !important;
        align-items: center !important;
        margin-bottom: 4rem !important;
        /* Clear bottom/chat widget */
    }

    .cta-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
}