/* Mobile Responsive Fixes for Landing Page */

@media (max-width: 768px) {
    /* Hero Section - Stack content above visual */
    .hero {
        padding: 100px 0 40px !important;
        min-height: auto !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 20px !important;
    }
    
    /* Content comes first on mobile */
    .hero-content {
        order: 1;
        text-align: center;
        margin-bottom: 32px;
    }
    
    .hero-content h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-desc {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
    }
    
    /* Stats Grid */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    
    .stat-item {
        padding: 12px 8px !important;
    }
    
    .stat-val {
        font-size: 24px !important;
    }
    
    .stat-lbl {
        font-size: 11px !important;
    }
    
    /* CTA Buttons */
    .hero-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-cta .btn-lg {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
    
    /* Hero Note */
    .hero-note {
        font-size: 13px !important;
        margin-bottom: 32px !important;
    }
    
    /* Visual comes second on mobile */
    .hero-visual {
        order: 2;
        margin-top: 0 !important;
    }
    
    .dashboard-mock {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Mock tabs smaller on mobile */
    .mock-tab {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
    
    .mock-tab svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    /* Testimonials Mobile Fix */
    .testimonials {
        padding: 60px 16px !important;
    }
    
    .testimonials-carousel {
        padding: 0 40px !important;
    }
    
    .testimonial-card {
        width: calc(100vw - 100px) !important;
        max-width: 340px !important;
        padding: 20px !important;
        min-height: auto !important;
    }
    
    .testimonial-header {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }
    
    .testimonial-header img {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
    }
    
    .testimonial-header > div {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .testimonial-header h4 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .testimonial-header p {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .rating {
        font-size: 13px !important;
    }
    
    .testimonial-card > p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .testimonial-stats {
        gap: 12px !important;
        padding-top: 14px !important;
    }
    
    .t-val {
        font-size: 20px !important;
    }
    
    .t-lbl {
        font-size: 10px !important;
    }
    
    .carousel-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    
    .carousel-btn.prev {
        left: 5px !important;
    }
    
    .carousel-btn.next {
        right: 5px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .stat-val {
        font-size: 20px !important;
    }
    
    .stat-lbl {
        font-size: 10px !important;
    }
    
    /* Testimonials Extra Small Mobile */
    .testimonials-carousel {
        padding: 0 35px !important;
    }
    
    .testimonial-card {
        width: calc(100vw - 90px) !important;
        max-width: 300px !important;
        padding: 18px !important;
    }
    
    .testimonial-header h4 {
        font-size: 14px !important;
    }
    
    .testimonial-header p {
        font-size: 11px !important;
    }
    
    .testimonial-card > p {
        font-size: 12px !important;
    }
    
    .t-val {
        font-size: 18px !important;
    }
    
    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
}
