/* Tablet and below */
@media (max-width: 1024px) {
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-mockup {
        margin-top: 2rem;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        text-align: center;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(42, 36, 30, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Dark theme removed */
    
    .nav-link {
        padding: 1rem 0;
        display: block;
    }
    
    .download-nav {
        margin: 1rem 0;
    }
    
    .theme-toggle {
        margin: 1rem auto;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
        margin-top: 60px;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .download-button {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .download-button i {
        font-size: 1.25rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Showcase */
    .showcase-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .showcase-title {
        font-size: 1.75rem;
    }
    
    .showcase-text {
        font-size: 1.1rem;
    }
    
    /* Screenshots */
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Download Section */
    .download-visual {
        display: none;
    }
    
    /* Community */
    .community-links {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating button */
    .floating-download {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-button {
        padding: 0.75rem 1.25rem;
    }
    
    .floating-button span {
        display: none;
    }
    
    /* Section spacing */
    .features-section,
    .screenshots-section,
    .download-section,
    .community-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Hero adjustments */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .download-button {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .button-label,
    .button-store {
        text-align: center;
    }
    
    /* Features */
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Screenshots */
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    /* Download features */
    .download-features {
        align-items: flex-start;
        padding-left: 1rem;
    }
    
    .google-play-button img {
        height: 50px;
    }
    
    /* Logo */
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .download-button {
        font-size: 0.875rem;
    }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-stats {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background,
    .showcase-section,
    .screenshot-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .download-button,
    .community-link,
    .footer-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Dark mode support removed */

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .floating-download,
    .mobile-menu-toggle,
    .hero-scroll,
    .download-button,
    .community-section {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    .hero-background::after,
    .showcase-overlay {
        display: none;
    }
}