/* ===== RESPONSIVE STYLES ===== */

/* Large Screens (Desktops) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 4;
        margin-top: var(--spacing-lg);
    }
}

/* Medium Screens (Tablets) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-cta, .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: var(--spacing-xl);
        order: 2;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: var(--spacing-md);
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl) var(--spacing-lg);
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
}

/* Small Screens (Mobile Landscape) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow);
        padding: var(--spacing-md);
        z-index: 1000;
    }
    
    .nav-links.active ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links.active a {
        display: block;
        padding: var(--spacing-sm) 0;
    }
    
    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .testimonial-card {
        flex: 0 0 90%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* Extra Small Screens (Mobile Portrait) */
@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .cta-content {
        padding: var(--spacing-lg);
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--radius-md);
        margin-bottom: var(--spacing-sm);
    }
    
    .newsletter-form button {
        border-radius: var(--radius-md);
        width: 100%;
    }
}

/* Mobile Menu Animation */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.active, .nav-buttons.active {
    animation: menuFadeIn 0.3s forwards;
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}