/* Responsive Design */

/* Mobile Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for mobile */
    .cta-button {
        min-height: 48px;
        padding: 1.25rem 2rem;
    }
    
    .faq-question {
        padding: 1.75rem 1.5rem;
    }
    
    .footer-link {
        padding: 0.5rem 0;
        display: inline-block;
    }
    
    /* Smooth scrolling for iOS */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet Styles (768px - 1299px) */
@media (max-width: 1299px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .screenshot-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-max-width: 100%;
        --section-padding: 3rem 0;
        --card-padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .section-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Stack Problem/Solution vertically on mobile */
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .problem-side {
        order: 2;
    }
    
    .solution-side {
        order: 1;
    }
    
    /* Stack features vertically on mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Stack screenshots vertically on mobile */
    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Reset to single column for mobile */
    .screenshot-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        gap: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
    
    /* Improve mobile spacing */
    .hero-cta {
        width: 100%;
    }
    
    /* Better mobile contact form */
    .contact-content {
        gap: 2rem;
    }
    
    /* Testimonials stacked on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Styles (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .problem-item {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .feature-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .problem-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .problem-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Mobile-friendly pricing card */
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile FAQ improvements */
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Large Desktop Styles (1400px+) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid,
    .screenshot-grid {
        gap: 3rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .hero-background,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title,
    .hero-title {
        color: black;
        background: none;
        -webkit-text-fill-color: initial;
    }
}