/* PC NINJA ONLINE - MOBILE OPTIMIZATION */
/* Optimized for phones and tablets (max-width: 768px) */

@media (max-width: 768px) {
    /* GLOBAL */
    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* HEADER */
    header {
        padding: 0.75rem 0;
    }

    .header-content {
        gap: 0.5rem;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text h1 {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .lang-toggle {
        padding: 0.25rem;
    }

    .lang-btn {
        padding: 0.5rem 0.625rem;
        font-size: 0.65rem;
    }

    .cta-btn {
        display: none !important;
    }

    .nav-scroll {
        margin-top: 0.5rem;
        padding-bottom: 0.25rem;
        gap: 0.375rem;
    }

    .nav-item {
        padding: 0.5rem 0.875rem;
        border-radius: 9999px;
        font-size: 0.65rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .nav-desktop {
        display: none !important;
    }

    /* HERO SECTION */
    #home {
        padding: 1.25rem 0;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    .eyebrow {
        padding: 0.375rem 0.875rem;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .hero-cards {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }

    .card {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .card-header {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .card-label {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }

    .card-icon {
        width: 1rem;
        height: 1rem;
    }

    .card-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .buttons-grid {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }

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

    .btn {
        padding: 1.25rem 1rem;
        border-radius: 9999px;
        font-size: 0.8rem;
        font-weight: 600;
        min-height: 3rem;
    }

    .quick-jump {
        gap: 0.625rem;
        grid-template-columns: 1fr;
    }

    .jump-card {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .jump-header {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .jump-tag {
        font-size: 0.6rem;
        letter-spacing: 0.18em;
    }

    .jump-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .hero-image {
        border-radius: 1.5rem;
    }

    .hero-overlay {
        padding: 0.875rem;
    }

    .overlay-cards {
        gap: 0.625rem;
    }

    .overlay-card {
        padding: 1rem;
        border-radius: 1rem;
    }

    .overlay-label {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        margin-bottom: 0.5rem;
    }

    .overlay-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* TRUST SECTION */
    .trust-section {
        padding: 1.5rem 0;
    }

    .trust-box {
        padding: 1rem;
    }

    .trust-grid {
        gap: 0.75rem;
    }

    .trust-title {
        font-size: 0.8rem;
        letter-spacing: 0.24em;
        margin-bottom: 0.5rem;
    }

    .trust-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .trust-items {
        gap: 0.625rem;
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 1rem;
        border-radius: 1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* SECTIONS */
    section {
        padding: 1.75rem 0;
    }

    h2 {
        font-size: 1.375rem;
        letter-spacing: -0.03em;
        margin-top: 0.75rem;
    }

    .section-intro {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 0.75rem;
        letter-spacing: 0.24em;
        margin-bottom: 0.75rem;
    }

    .services-grid {
        gap: 0.875rem;
    }

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

    .service-card {
        padding: 1.25rem;
        border-radius: 1.3rem;
    }

    .service-icon {
        width: 1.5rem;
        height: 1.5rem;
        padding: 0.75rem;
        border-radius: 0.625rem;
        margin-bottom: 1rem;
        font-size: 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }

    .service-desc {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* CONTACT SECTION */
    .contact-grid {
        gap: 1.25rem;
    }

    .contact-box {
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .contact-info {
        gap: 0.625rem;
        margin-top: 1.5rem;
    }

    .contact-link {
        padding: 0.875rem 1rem;
        border-radius: 0.75rem;
        font-size: 0.8rem;
        gap: 0.625rem;
    }

    .contact-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    .form-group {
        gap: 0.375rem;
        margin-bottom: 0.875rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 0.875rem 1rem;
        border-radius: 0.75rem;
        font-size: 1rem;
        min-height: 3rem;
    }

    textarea {
        min-height: 120px;
    }

    .form-row {
        gap: 0.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        gap: 0.625rem;
    }

    .form-buttons {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    footer {
        padding: 2rem 0;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-text h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .footer-text p {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .footer-text .copyright {
        font-size: 0.7rem;
    }

    .social-links {
        gap: 0.625rem;
    }

    .social-link {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }

    /* WHATSAPP BUTTON */
    .whatsapp-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem;
    }

    .whatsapp-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
    }

    .whatsapp-label {
        font-size: 0.6rem;
        letter-spacing: 0.18em;
    }

    .whatsapp-support {
        font-size: 0.8rem;
    }

    .whatsapp-text {
        display: block;
    }

    /* INPUT FOCUS - PREVENT ZOOM */
    input,
    textarea,
    select,
    button {
        font-size: 16px !important;
        min-height: 3rem !important;
    }

    /* ANIMATIONS - REDUCE ON MOBILE */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* TOUCH TARGETS */
    a, button, input, textarea, select {
        min-height: 44px;
        min-width: 44px;
    }

    /* RESPONSIVE IMAGES */
    img {
        max-width: 100%;
        height: auto;
    }

    /* PREVENT HORIZONTAL SCROLL */
    body, html {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* BETTER SPACING ON MOBILE */
    section {
        padding: 1.5rem 0;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .overlay-cards {
        grid-template-columns: 1fr;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

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

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

/* EXTRA SMALL DEVICES (< 360px) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    .btn {
        padding: 1rem 0.875rem;
        font-size: 0.75rem;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* TABLET OPTIMIZATION (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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