/* Enhanced Mobile Responsiveness Styles */

/* Improved Media Queries for Better Mobile Experience */
@media (max-width: 1023px) {
    .product-grid,
    .testimonials-grid,
    .pricing-grid,
    .platforms-grid,
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 767px) {
    .product-grid,
    .testimonials-grid,
    .pricing-grid,
    .platforms-grid,
    .bonus-grid,
    .journey-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .guarantee-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .main-nav {
        display: none;
    }
    
    .header-actions {
        gap: var(--spacing-xs);
    }
    
    .currency-selector {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .login-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--color-text);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Mobile navigation */
    .mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-background);
        z-index: 200;
        padding: var(--spacing-lg);
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .mobile-nav-close {
        background: transparent;
        border: none;
        color: var(--color-text);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .mobile-nav a {
        font-size: 1.25rem;
        font-weight: 500;
        padding: var(--spacing-sm) 0;
        display: block;
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .notification-bar {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .product-content h3 {
        font-size: 1.125rem;
    }
    
    .product-content p {
        font-size: 0.75rem;
    }
    
    .testimonial-content {
        font-size: 0.75rem;
    }
    
    .pricing-price h2 {
        font-size: 2.5rem;
    }
    
    .pricing-header h3 {
        font-size: 1.25rem;
    }
    
    .platform-card h3 {
        font-size: 1.125rem;
    }
    
    .bonus-content h3 {
        font-size: 1.125rem;
    }
}

/* Image optimization for different devices */
@media (max-width: 767px) {
    .product-image,
    .bonus-image,
    .step-image,
    .banner-image {
        content: url('');
    }
    
    /* Use mobile-optimized images */
    .product-card:nth-child(1) .product-image { content: url('images/mobile/mobile_canva_templates.jpeg'); }
    .product-card:nth-child(2) .product-image { content: url('images/mobile/mobile_notion_templates.jpeg'); }
    .product-card:nth-child(3) .product-image { content: url('images/mobile/mobile_video_courses.jpeg'); }
    .product-card:nth-child(4) .product-image { content: url('images/mobile/mobile_website_templates.jpeg'); }
    .product-card:nth-child(5) .product-image { content: url('images/mobile/mobile_reels.jpeg'); }
    .product-card:nth-child(6) .product-image { content: url('images/mobile/mobile_social_media_posts.jpeg'); }
    .product-card:nth-child(7) .product-image { content: url('images/mobile/mobile_chatgpt_prompts.jpeg'); }
    .product-card:nth-child(8) .product-image { content: url('images/mobile/mobile_sales_funnels.jpeg'); }
    .product-card:nth-child(9) .product-image { content: url('images/mobile/mobile_tshirt_designs.jpeg'); }
    .product-card:nth-child(10) .product-image { content: url('images/mobile/mobile_ebooks.jpeg'); }
    .product-card:nth-child(11) .product-image { content: url('images/mobile/mobile_royalty_free_music.jpeg'); }
    .product-card:nth-child(12) .product-image { content: url('images/mobile/mobile_hd_stock_videos.jpeg'); }
    .product-card:nth-child(13) .product-image { content: url('images/mobile/mobile_excel_templates.jpeg'); }
    .product-card:nth-child(14) .product-image { content: url('images/mobile/mobile_presentations_pack.jpeg'); }
    .product-card:nth-child(15) .product-image { content: url('images/mobile/mobile_kids_coloring_books.jpeg'); }
    .product-card:nth-child(16) .product-image { content: url('images/mobile/mobile_adobe_suite_assets.jpeg'); }
    .product-card:nth-child(17) .product-image { content: url('images/mobile/mobile_automations.jpeg'); }
    .product-card:nth-child(18) .product-image { content: url('images/mobile/mobile_faceless_blueprints.jpeg'); }
    
    .journey-step:nth-child(1) .step-image { content: url('images/mobile/mobile_journey_icon_1.jpeg'); }
    .journey-step:nth-child(2) .step-image { content: url('images/mobile/mobile_journey_icon_2.jpeg'); }
    .journey-step:nth-child(3) .step-image { content: url('images/mobile/mobile_journey_icon_3.jpeg'); }
    
    .bonus-card:nth-child(1) .bonus-image { content: url('images/mobile/mobile_sales_funnels.jpeg'); }
    .bonus-card:nth-child(2) .bonus-image { content: url('images/mobile/mobile_automations.jpeg'); }
    .bonus-card:nth-child(3) .bonus-image { content: url('images/mobile/mobile_social_media_posts.jpeg'); }
    
    .banner-image { content: url('images/mobile/mobile_hero_banner.jpeg'); }
}

/* Touch-friendly improvements */
@media (max-width: 767px) {
    /* Increase touch target sizes */
    .btn, 
    .product-link,
    .read-more,
    .follow-btn,
    .footer-column a {
        padding: 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Add more spacing between clickable elements */
    .product-link,
    .footer-column li,
    .pricing-features li {
        margin-bottom: 1rem;
    }
    
    /* Make cards more touch-friendly */
    .product-card,
    .testimonial-card,
    .pricing-card,
    .platform-card,
    .bonus-card {
        padding: var(--spacing-md);
    }
    
    /* Improve form elements for touch */
    input, 
    select, 
    textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 0.75rem;
        min-height: 44px;
    }
}

/* Fix for fixed header on mobile */
@media (max-width: 767px) {
    .header {
        position: fixed;
        width: 100%;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Improved scrolling experience */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 70px; /* Accounts for fixed header */
    }
    
    .smooth-scroll {
        -webkit-overflow-scrolling: touch;
    }
}
