@media (max-width: 768px) {

    /* Disable cursor on mobile */
    .cursor,
    .cursor-dot,
    .cursor-trail,
    .cursor-trail-particle,
    .cursor-wave {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }

    .tilt-instruction-overlay {
        display: flex;
    }

    /* Mobile Navigation Adjustments */
    nav {
        padding: 0.3rem 0;
        background: rgba(10, 14, 39, 0.9);
        backdrop-filter: blur(8px);
    }

    nav.scrolled {
        padding: 0.1rem 0;
        background: rgba(10, 14, 39, 0.95);
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Hero Section Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2.5rem;
    }

    .phone-mockup {
        transform: perspective(1000px) rotateY(0deg);
        margin: 0 auto;
        width: 220px;
        height: 440px;
        padding: 15px;
    }

    .phone-logo {
        width: 70px;
        height: 70px;
    }

    .flutter-logo {
        width: 70px;
        height: 70px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        padding: 1rem 1.8rem;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        width: calc(100% - 25px);
        margin-left: 25px !important;
        padding-left: 3rem !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        padding-right: 0 !important;
    }

    .timeline-marker {
        left: -11px !important;
        top: 5px;
    }

    /* Contact Mobile */
    .social-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-link {
        padding: 1.5rem;
    }

    .contact-cta {
        margin-top: 3rem;
    }

    .cta-message {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .floating-circle,
    .floating-square {
        display: none;
    }

    .hamburger {
        display: inline-block;
    }

    .nav-links {
        display: none;
    }

    /* Styles for the active mobile menu overlay */
    .nav-links.is-active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    /* Staggered animation for links appearing */
    .nav-links.is-active li {
        margin: 2rem 0;
        opacity: 0;
        animation: navLinkFade 0.5s ease forwards;
    }

    .nav-links.is-active li:nth-child(1) {
        animation-delay: 0.2s;
    }

    .nav-links.is-active li:nth-child(2) {
        animation-delay: 0.3s;
    }

    .nav-links.is-active li:nth-child(3) {
        animation-delay: 0.4s;
    }

    .nav-links.is-active li:nth-child(4) {
        animation-delay: 0.5s;
    }

    .nav-links.is-active li:nth-child(5) {
        animation-delay: 0.6s;
    }

    .nav-links.is-active a {
        font-size: 1.5rem;
        color: var(--light);
    }


    /* --- Finger Swipe Indicator for Mobile --- */
    .scroll-indicator {
        border: none;
        background: var(--primary);
        width: 25px;
        height: 40px;
        border-radius: 15px;
        animation: fingerSwipeAnimation 2.2s infinite ease-in-out;
    }


    .scroll-indicator::before,
    .scroll-indicator::after {
        display: none;
    }
}

.scroll-indicator.hidden {
    animation: none;
    opacity: 0 !important;
}

/* Keyframes for the finger swipe animation */
@keyframes fingerSwipeAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}