/* ========== MOBILE RESPONSIVE CSS ========== */

/* MENU HAMBURGER */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* MOBILE (max 768px) */
@media (max-width: 768px) {
    /* Header */
    .mobile-menu-btn { display: block; }
    .nav { display: none; }
    .header-inner { padding: 12px 16px; }
    .logo-text { font-size: 1.2rem; }
    
    /* Hero */
    .hero { padding: 60px 16px 40px; }
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    
    /* Sections */
    .section-title { font-size: 1.6rem; }
    .section-desc { font-size: 0.95rem; }
    
    /* Grids */
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .how-steps { flex-direction: column; }
    
    /* Cards */
    .feature-card, .pricing-card, .testimonial-card { padding: 20px; }
    .pricing-card.featured { transform: none; }
    
    /* FAQ */
    .faq-question { font-size: 1rem; padding: 16px; }
    .faq-answer { padding: 0 16px 16px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .footer-links { justify-content: center; }
    
    /* Trust section */
    .trust-items { flex-wrap: wrap; justify-content: center; }
    .trust-item { flex: 0 0 45%; }
    
    /* Buttons */
    .btn { padding: 14px 24px; font-size: 1rem; width: 100%; }
    .btn-primary { margin-bottom: 12px; }
    
    /* Language selector */
    #site-lang-select { 
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 100;
        padding: 10px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

/* SMALL MOBILE (max 480px) */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .section-title { font-size: 1.4rem; }
    .pricing-price { font-size: 2rem; }
    .stat-value { font-size: 1.8rem; }
    
    /* Smaller padding */
    section { padding: 50px 16px; }
    .feature-card { padding: 16px; }
    .feature-icon { font-size: 2rem; }
    
    /* Trust items stack */
    .trust-item { flex: 0 0 100%; }
}

/* TOUCH IMPROVEMENTS */
@media (hover: none) {
    .btn:hover { transform: none; }
    .feature-card:hover { transform: none; }
    .pricing-card:hover { transform: none; }
    
    /* Larger touch targets */
    .nav-link, .btn, .faq-question {
        min-height: 44px;
        min-width: 44px;
    }
}

/* LANDSCAPE MOBILE */
@media (max-width: 900px) and (orientation: landscape) {
    .hero { padding: 40px 16px; min-height: auto; }
    .hero h1 { font-size: 1.8rem; }
}

/* FIX OVERFLOW */
html, body {
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* BETTER SCROLL ON IOS */
body {
    -webkit-overflow-scrolling: touch;
}
