/* Tablet Adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .dash-sidebar {
        display: none; /* Hide sidebar on tablet, rely on top nav */
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 40px 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 24px;
        backdrop-filter: blur(16px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .header .btn-primary {
        display: none; /* Hide top CTA on mobile */
    }
    
    .nav-links .btn-primary {
        display: flex;
        width: 100%;
        margin-top: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero .grid-2 {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .dash-table-wrapper {
        overflow-x: auto;
    }
    
    .dash-table {
        min-width: 600px;
    }
}