/* ============================================
   ZYLOFLO - Responsive Stylesheet
   ============================================ */

/* Tablet & Small Desktop (1200px and below) */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .process-step {
        grid-template-columns: 1fr;
    }

    .process-step:nth-child(even) .step-content,
    .process-step:nth-child(even) .step-visual {
        order: initial;
    }

    .process-timeline::before {
        display: none;
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Tablet (968px and below) */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(11, 14, 31, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

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

    .hero {
        padding: 6rem 2rem 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .section-header p {
        font-size: 1.15rem;
    }

    .stats {
        padding: 4rem 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services {
        padding: 6rem 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process {
        padding: 6rem 2rem;
    }

    .testimonials {
        padding: 6rem 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 6rem 2rem;
    }

    .cta-container {
        padding: 4rem 2rem;
    }

    .cta-container h2 {
        font-size: 3rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer {
        padding: 4rem 2rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .hero {
        padding: 5rem 1.5rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .visual-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .visual-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stats {
        padding: 3rem 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .services {
        padding: 5rem 1.5rem;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .process {
        padding: 5rem 1.5rem;
    }

    .process-timeline {
        margin-top: 3rem;
    }

    .process-step {
        margin-bottom: 3rem;
        gap: 2rem;
    }

    .step-content {
        padding: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .step-visual {
        padding: 2rem;
    }

    .step-icon {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .testimonials {
        padding: 5rem 1.5rem;
    }

    .testimonials-grid {
        margin-top: 3rem;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card::before {
        font-size: 5rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .stars {
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 5rem 1.5rem;
    }

    .cta-container {
        padding: 3rem 1.5rem;
    }

    .cta-container h2 {
        font-size: 2.2rem;
    }

    .cta-container p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-input {
        padding: 1.1rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-submit {
        padding: 1.1rem 2rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
    }

    .footer-brand p {
        font-size: 0.95rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .cta-container h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
