/* ===== RESPONSIVE.CSS - Breakpoints & Media Queries ===== */

/* ===== BREAKPOINTS ===== */
/* Mobile: 320px - 767px */
/* Tablet: 768px - 1023px */
/* Laptop: 1024px - 1439px */
/* Desktop: 1440px - 1919px */
/* Ultra-wide: 1920px+ */

/* ===== TABLET & BELOW ===== */
@media (max-width: 1023px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-8);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-slow);
        overflow-y: auto;
        gap: var(--space-4);
    }

    [data-theme="dark"] .navbar-menu {
        background: var(--neutral-100);
    }

    .navbar-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: var(--space-2);
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links>li>a {
        padding: var(--space-3) var(--space-4);
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: var(--space-4);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--neutral-100);
    }

    [data-theme="dark"] .dropdown-menu {
        background: var(--neutral-200);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: var(--space-2) var(--space-4);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: calc(var(--space-16) + var(--space-8)) 0 var(--space-12);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Why Choose */
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Case Studies */
    .case-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 calc(50% - var(--space-3));
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    /* Lead Magnet */
    .lead-magnet-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lead-magnet-form .form-group {
        flex-direction: column;
    }

    .lead-magnet-visual {
        order: -1;
    }

    .floating-badge {
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Chat */
    .chat-box {
        width: 300px;
        height: 400px;
        right: -20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--space-4);
    }

    /* Typography */
    h1 {
        font-size: var(--font-size-3xl);
    }
    h2 {
        font-size: var(--font-size-2xl);
    }
    h3 {
        font-size: var(--font-size-xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
    .section-subtitle {
        font-size: var(--font-size-base);
    }

    /* Hero */
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-3);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Case Studies */
    .case-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 100%;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-sm);
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Why Choose */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
    }

    .stat-card {
        padding: var(--space-4);
    }

    .stat-card .stat-number {
        font-size: var(--font-size-2xl);
    }

    /* Lead Magnet */
    .lead-magnet-form .btn {
        width: 100%;
    }

    /* FAQ */
    .faq-question {
        font-size: var(--font-size-sm);
        padding: var(--space-3) var(--space-4);
    }

    .faq-answer p {
        padding: 0 var(--space-4) var(--space-3);
        font-size: var(--font-size-sm);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    /* Client Logos */
    .client-logos {
        gap: var(--space-6);
    }

    .client-logos img {
        height: 30px;
    }

    /* Chat */
    .chat-box {
        width: 280px;
        height: 380px;
        right: 0;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
}

/* ===== LAPTOP & DESKTOP ===== */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(33.333% - var(--space-4));
    }
}

/* ===== ULTRA-WIDE ===== */
@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }

    .hero-title {
        font-size: var(--font-size-6xl);
    }

    .hero-grid {
        gap: var(--space-16);
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(25% - var(--space-4));
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .chat-widget,
    .hero-wave,
    .footer-newsletter,
    .social-links {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .btn {
        border: 1px solid var(--neutral-300) !important;
        background: none !important;
        color: var(--black) !important;
    }

    .pricing-card.featured {
        border: 2px solid var(--secondary);
    }

    .footer {
        background: var(--neutral-100) !important;
        color: var(--black) !important;
    }

    .footer a {
        color: var(--black) !important;
    }
}