/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Ultra Wide (1440px and up) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* Laptop / Small Desktop (1024px to 1279px) */
@media (max-width: 1279px) {
    .hero-container {
        gap: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-normal);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .floating-badge {
        display: none;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

/* Mobile Portrait (up to 767px) */
@media (max-width: 767px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        padding-left: 2rem;
    }
    
    .timeline-line {
        width: 4px;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
    }
    
    .timeline-progress {
        width: 100%;
        height: 0;
        background: linear-gradient(180deg, var(--primary), var(--accent));
        transition: height 1.5s ease-out;
    }
    
    .timeline-nodes {
        flex-direction: column;
        height: 500px;
        align-items: flex-start;
        margin-left: -12px;
    }
    
    .timeline-node::after {
        top: 0;
        left: 30px;
        transform: translateY(-20%);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .f-timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .f-icon {
        margin-left: -24px;
        background: var(--bg-light);
    }
    
    .features-timeline::before {
        left: 24px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .testimonial-card {
        min-width: 100%;
        padding: 1.5rem;
    }
    
    .contact-wrapper {
        padding: 1.5rem 1rem;
    }
}
