/* Responsive Design - Mobile First Approach */

/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: var(--spacing-md) 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: var(--spacing-xs) 0;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Steps Section */
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step.reverse {
        grid-template-columns: 1fr;
    }

    .step.reverse .step-content {
        order: 0;
    }

    .step.reverse .step-image {
        order: 0;
    }

    .step-number {
        margin: 0 auto var(--spacing-sm);
    }

    .step-image {
        margin-top: var(--spacing-md);
    }

    /* Languages Grid */
    .languages-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Page Hero */
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .subtitle {
        font-size: 1.1rem;
    }

    /* Roadmap */
    .roadmap-timeline {
        padding-left: 30px;
    }

    .roadmap-timeline::before {
        left: 10px;
    }

    .roadmap-item::before {
        left: -28px;
        width: 16px;
        height: 16px;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

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

    .feature-icon,
    .language-flag {
        font-size: 2.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Large Desktop (1400px and above) */
@media screen and (min-width: 1400px) {
    :root {
        --max-width: 1400px;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .page-hero h1 {
        font-size: 3.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-cta,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    .hero {
        background: white;
        color: black;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here in the future */
}
