/* Mobile Responsive CSS - Fresh Start */
/* Simple, minimal approach to prevent all mobile issues */

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2C3E50;
    margin: 5px 0;
    transition: 0.3s;
}

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

/* Mobile Responsive - 768px and below */
@media (max-width: 768px) {
    /* Show menu toggle */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    /* Hide nav links by default */
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Show nav links when active */
    .nav-links.active {
        display: flex;
    }

    /* Nav link styling */
    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #2C3E50;
    }

    /* Container adjustments */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Grid layouts - single column */
    .features-grid,
    .steps-grid,
    .testimonials-grid,
    .ai-discovery-grid,
    .review-process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Two-column layouts - single column */
    .about-content,
    .contact-content,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    /* Footer - single column */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Typography adjustments */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    /* Hero section */
    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Buttons - full width on mobile */
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    /* Forms */
    input,
    select,
    textarea {
        width: 100%;
        font-size: 16px;
    }

    /* Tables - horizontal scroll */
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Sidebar - hide on mobile */
    .sidebar {
        display: none;
    }

    /* Section padding */
    section {
        padding: 40px 0;
    }

    /* Cards */
    .feature-card,
    .step-card,
    .testimonial-card {
        padding: 20px;
    }
}

/* Tablet Responsive - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Grid layouts - two columns */
    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
