/* Mobile-friendly styles for Cyber Tech Agent website */

/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 2rem 1.5rem;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
    color: #00d4ff;
}

.mobile-cta {
    margin-top: 2rem;
}

.mobile-cta .cta-button {
    width: 100%;
    text-align: center;
    display: block;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links, .cta-button {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

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

    /* Improved touch targets */
    button, 
    .cta-button, 
    .btn-secondary, 
    .btn-primary,
    .nav-button,
    .submit-button {
        min-height: 44px;
        min-width: 44px;
        padding: 0.8rem 1.2rem;
    }

    /* Form elements */
    input, 
    select, 
    textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 44px;
    }

    /* Improved spacing for mobile */
    .container {
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1,
    .page-hero h1,
    .section-title h2,
    .final-cta h2 {
        font-size: 1.8rem;
    }

    .hero-text p,
    .page-hero p,
    .section-title p,
    .final-cta p {
        font-size: 1rem;
    }

    /* Improved spacing for small screens */
    .services,
    .process,
    .contact,
    .benefits,
    .how-it-works,
    .detailed-services,
    .pricing,
    .final-cta {
        padding: 3rem 0;
    }

    /* Stack buttons on small screens */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a,
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}
