
.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: currentColor;
    transition: 0.2s;
}

.mobile-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

@media (max-width: 900px) {

    header .nav-links,
    header .nav {
        display: none !important;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: var(--background, var(--bg));
        border-top: 1px solid var(--border);
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .mobile-menu.open {
        max-height: 520px;
        opacity: 1;
    }

    .mobile-menu-inner {
        display: grid;
        gap: 5px;
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 15px;
        border-radius: 12px;
        font-weight: 700;
    }

    .mobile-menu a:hover {
        background: var(--surface);
        color: var(--purple);
    }

    .mobile-menu-cta {
        justify-content: center;
        margin-top: 7px;
        background: var(--purple) !important;
        color: white !important;
    }

    .hero {
        padding-top: 55px !important;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 28px), 1180px) !important;
    }

    .navbar {
        min-height: 64px !important;
    }

    .logo {
        font-size: 27px !important;
    }

    .hero {
        padding-top: 42px !important;
        padding-bottom: 55px !important;
    }

    .hero h1 {
        font-size: 42px !important;
        line-height: 1.04 !important;
        letter-spacing: -2px !important;
    }

    .hero-description,
    .hero p {
        font-size: 16px !important;
    }

    .hero-buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .hero-buttons .button {
        width: 100% !important;
    }

    .phone {
        width: min(275px, 86vw) !important;
        transform: none !important;
    }

    .phone-screen {
        min-height: 490px !important;
    }

    section {
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    .section-heading {
        margin-bottom: 34px !important;
    }

    .section-heading h2 {
        font-size: 32px !important;
    }

    .driver-box {
        padding: 38px 22px !important;
    }

    .driver-box .button {
        width: 100% !important;
    }

    .actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .actions .button {
        width: 100% !important;
    }
}
