/* Mobile Optimization & Touch-Friendly Design */

/* Touch-friendly interactions */
@media (max-width: 768px) {
    /* Disable custom cursor on mobile */
    .cursor {
        display: none !important;
    }
    
    /* Improve touch targets */
    .nav-link,
    .btn,
    .social-link,
    .platform-link,
    .service-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile header adjustments */
    .header {
        padding: 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-container {
        height: 70px;
        padding: 0 var(--space-4);
    }
    
    .brand-text {
        font-size: var(--font-size-lg);
    }
    
    .brand-logo {
        width: 35px;
        height: 35px;
    }
    
    /* Mobile navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: var(--space-6);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .nav-link {
        justify-content: flex-start;
        padding: var(--space-4);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        background: var(--bg-glass);
        backdrop-filter: blur(10px);
        font-size: var(--font-size-base);
    }
    
    .nav-icon {
        font-size: var(--font-size-base);
        margin-right: var(--space-2);
    }
    
    .nav-controls {
        gap: var(--space-2);
    }
    
    .theme-toggle,
    .lang-btn {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    
    .lang-btn span {
        font-size: var(--font-size-xs);
    }
    
    /* Mobile hero section */
    .hero-section {
        min-height: 100vh;
        padding: var(--space-16) 0 var(--space-8);
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-2) var(--space-3);
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: var(--space-4);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-6);
        padding: 0 var(--space-2);
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: var(--space-4);
        margin-bottom: var(--space-6);
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-size-base);
    }
    
    /* Mobile sections */
    .services-section,
    .tools-section,
    .community-section,
    .contact-section {
        padding: var(--space-16) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-12);
        padding: 0 var(--space-2);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .section-description {
        font-size: var(--font-size-base);
    }
    
    /* Mobile services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        margin-top: var(--space-12);
    }
    
    .service-card {
        padding: var(--space-6);
        margin: 0 var(--space-2);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-4);
    }
    
    .service-icon i {
        font-size: var(--font-size-xl);
    }
    
    .service-title {
        font-size: var(--font-size-lg);
    }
    
    .service-features {
        gap: var(--space-1);
        margin-bottom: var(--space-4);
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: var(--space-1) var(--space-2);
    }
    
    /* Mobile tools grid */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-12);
    }
    
    .tool-card {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
    }
    
    .tool-header h3 {
        margin: 0;
        font-size: var(--font-size-base);
    }
    
    .tool-icon {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    .tool-stats {
        justify-content: space-around;
        margin-bottom: var(--space-3);
    }
    
    .tool-actions {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .btn-sm {
        width: 100%;
        padding: var(--space-3);
        font-size: var(--font-size-sm);
    }
    
    /* Mobile community section */
    .community-stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-bottom: var(--space-12);
    }
    
    .community-stat {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-base);
    }
    
    .community-platforms {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .platform-card {
        padding: var(--space-6);
        margin: 0 var(--space-2);
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
    
    /* Mobile contact section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .contact-info {
        order: 2;
        text-align: center;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .contact-form {
        padding: var(--space-6);
        margin: 0 var(--space-2);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-methods {
        gap: var(--space-4);
    }
    
    .contact-method {
        padding: var(--space-3);
        margin: 0 var(--space-2);
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    /* Mobile footer */
    .footer {
        padding: var(--space-12) 0 var(--space-6);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Mobile scroll indicator */
    .scroll-indicator {
        bottom: var(--space-4);
    }
    
    .scroll-text {
        font-size: var(--font-size-xs);
    }
    
    /* Mobile floating cards - hide on small screens */
    .floating-card {
        display: none;
    }
    
    /* Improve mobile performance */
    .particles-container {
        display: none;
    }
    
    /* Mobile-specific animations */
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-stats,
    .hero-actions {
        animation-duration: 0.6s;
    }
    
    /* Touch feedback */
    .btn:active,
    .nav-link:active,
    .platform-link:active,
    .service-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }
    
    .service-card,
    .tool-card,
    .platform-card,
    .contact-form,
    .community-stat,
    .contact-method {
        margin: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .stat-item {
        padding: var(--space-2);
        background: var(--bg-glass);
        border-radius: var(--radius-lg);
        backdrop-filter: blur(10px);
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: var(--space-8) 0;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--space-3);
    }
    
    .hero-description {
        margin-bottom: var(--space-4);
    }
    
    .hero-stats {
        margin-bottom: var(--space-4);
    }
    
    .hero-actions {
        flex-direction: row;
        gap: var(--space-3);
    }
    
    .btn {
        width: auto;
        flex: 1;
    }
}
