/* Mobile First Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--white);
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .illustration-container {
        padding: 2rem;
    }

    .document-upload {
        width: 250px;
        height: 350px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Workflow Steps */
    .workflow-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .workflow-steps::before {
        display: none;
    }

    .step-arrow {
        display: none;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Modals */
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 90%;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-content {
        max-width: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-steps {
        flex-wrap: nowrap;
    }

    .step {
        min-width: 150px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex !important;
    }

    .nav-actions {
        display: flex;
    }
}