/* Responsive Design */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header Mobile */
    .nav {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Grid Mobile */
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    /* Feature Mobile */
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Typography Mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .feature {
        gap: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* Large Desktop Styles (min-width: 1400px) */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}

/* High DPI Display Adjustments */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .feature-icon {
        border: 1px solid var(--color-border);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        background: none !important;
        color: var(--color-text) !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--color-border);
    }
    
    .btn {
        display: none;
    }
}

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