/* Tablet (Max 1024px) */
@media (max-width: 1024px) {
    :root {
        --padding-desktop: 24px;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    :root {
        --padding-desktop: 16px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-slow);
        z-index: 1000;
        gap: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-display);
    }
    
    .hero-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        aspect-ratio: 1/1;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 4rem 0;
    }
    
    .page-header {
        padding: 8rem 0 3rem;
    }
}