/* Responsive CSS - Mobile & Tablet Styles */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .stat-item .number {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo-section {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .language-selector {
        order: 2;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .language-button {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .language-dropdown {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .cta-button {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
    
    .hero {
        padding-top: 160px;
        min-height: calc(100vh + 60px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .dashboard-preview {
        transform: none;
        max-width: 320px;
        min-width: 280px;
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-image {
        height: 180px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 0.5rem;
    }
    
    .stat-item .number {
        font-size: 1.9rem !important;
        min-height: 50px;
    }
    
    .stat-item .label {
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Dashboard Preview Mobile */
    .stat-card {
        padding: 0.75rem;
        min-height: 60px;
    }
    
    .stat-card .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .dashboard-preview {
        max-width: 280px;
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .screenshot-info {
        padding: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 1rem 0.25rem;
    }
    
    .stat-item .number {
        font-size: 1.6rem !important;
        min-height: 45px;
        letter-spacing: -0.5px;
    }
    
    .stat-item .label {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .dashboard-preview {
        max-width: 250px;
        min-width: 220px;
        padding: 1rem;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item .number {
        font-size: 1.4rem !important;
    }
    
    .final-cta h2 {
        font-size: 1.75rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-preview {
        max-width: 350px;
        min-width: 320px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav-container,
    .hero-container,
    .features-container,
    .screenshots-container,
    .contact-container {
        max-width: 1400px;
    }
    
    .stats-container,
    .cta-container {
        max-width: 1000px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .logo,
    .dashboard-preview,
    .screenshot-placeholder {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduce Motion for Users */
@media (prefers-reduced-motion: reduce) {
    .dashboard-preview {
        animation: none;
    }
    
    .btn-primary {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .hero::before {
        background: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .language-selector,
    .cta-button,
    .contact-form,
    .final-cta {
        display: none;
    }
    
    .hero {
        padding-top: 0;
        page-break-after: always;
    }
    
    .section-title {
        color: #000;
        page-break-before: always;
    }
    
    .feature-card,
    .screenshot-card,
    .contact-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}