/* =================================
   Reshop Landing Page - Responsive Styles
   Mobile-First Approach
   ================================= */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: var(--spacing-xl);
    }
    
    .app-icon-hero {
        margin: 0 auto var(--spacing-xl);
    }
    
    .download-section {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        margin-top: var(--spacing-xl);
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Typography adjustments */
    .hero-title {
        font-size: var(--font-size-xxl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    /* Navigation */
    .navbar {
        padding: var(--spacing-md) 0;
    }
    
    .nav-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
        gap: var(--spacing-md);
    }
    
    .nav-links a {
        font-size: var(--font-size-sm);
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-xl) 0;
        min-height: auto;
    }
    
    .app-icon-hero {
        width: 100px;
        height: 100px;
    }
    
    .download-section {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .app-store-badge img {
        height: 50px;
    }
    
    .phone-mockup {
        max-width: 300px;
    }
    
    /* Features */
    .features {
        padding: var(--spacing-xxl) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    /* Screenshots */
    .screenshots {
        padding: var(--spacing-xxl) 0;
    }
    
    .screenshots-carousel {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .screenshot-item img {
        max-width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: left;
    }
    
    .footer-column {
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .nav-links {
        font-size: var(--font-size-xs);
        gap: var(--spacing-sm);
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    /* Adjust neumorphic shadows for mobile */
    .neu-raised {
        box-shadow: 
            6px 6px 12px var(--shadow-dark),
            -6px -6px 12px var(--shadow-light);
    }
    
    .neu-inset {
        box-shadow: 
            inset 6px 6px 12px var(--shadow-dark),
            inset -6px -6px 12px var(--shadow-light);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-card h3 {
        font-size: var(--font-size-base);
    }
    
    .feature-card p {
        font-size: var(--font-size-xs);
    }
}

/* Large Desktop (min-width: 1440px) */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .phone-mockup {
        max-width: 500px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .download-section,
    .screenshots,
    .footer-links {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .neu-raised,
    .neu-inset,
    .neu-flat {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .hero,
    .features,
    .footer {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Dark mode variables can be added here when needed */
}