/* ================================
   Mobile Styles - All Media Queries
   ================================ */

@media (max-width: 768px) {
    /* Header */
    .header-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay.open {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-content {
        padding: 0 15px;
    }

    header {
        padding: 20px 0;
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero .subheadline {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-cta {
        font-size: 16px;
        padding: 14px 40px;
    }

    /* Section Titles */
    .section-title {
        font-size: 28px;
        padding: 0 10px;
    }

    /* ICP Content */
    .icp-content {
        padding: 30px 20px !important;
    }
    
    .icp-content h2 {
        font-size: 28px;
    }

    .icp-content > div:last-of-type {
        grid-template-columns: 1fr !important;
    }

    .icp-explanation {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Bio Section */
    .bio-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 30px 20px !important;
    }

    .bio-content h2 {
        font-size: 28px;
    }

    .bio-image img {
        width: 200px;
        height: 200px;
    }
    
    .bio-flex-container {
        flex-direction: column !important;
        text-align: center;
        gap: 30px !important;
    }
    
    .bio-flex-container .bio-image {
        margin: 0 auto;
    }
    
    .bio-flex-container .bio-text-container {
        text-align: left !important;
    }
    
    .bio-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .bio-image img {
        width: 180px;
        height: 180px;
    }

    .logo-flex-container {
        gap: 20px !important;
    }

    /* Trust Section */
    .trust-section {
        padding: 20px 0 15px 0;
        margin-top: -20px;
    }

    .logos-track {
        gap: 30px;
    }

    .logo-item span {
        font-size: 13px !important;
    }

    /* Mobile ticker CSS animation */
    .logos-wrapper {
        /* Use CSS animation instead of JavaScript on mobile */
        animation: scroll-ticker 40s linear infinite !important;
        -webkit-animation: scroll-ticker 40s linear infinite !important;
        
        /* Ensure smooth animation */
        will-change: transform;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* What is ICP */
    .what-is-icp {
        padding: 40px 0 30px 0;
    }

    /* Pain Points */
    .pain-item {
        width: 100%;
        margin-top: 10px !important;
    }
    
    .pain-quote {
        font-size: 14px;
        padding: 8px 10px;
    }

    .pain-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 5px;
    }

    .two-column-pain-points {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .two-column-pain-points > div {
        min-height: 80px !important;
    }

    /* Pricing */
    .pricing {
        padding: 20px 0 20px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Show mobile package navigation on small screens */
    .mobile-package-nav {
        display: flex !important;
    }
    
    .package-nav-btn:hover {
        transform: translateY(-2px);
    }
    
    /* Add scroll margin for anchor links */
    #professional-services-package,
    #saas-startup-package {
        scroll-margin-top: 100px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .tier-features li {
        padding-left: 45px;
        position: relative;
    }
    
    .tier-features li:before {
        left: 20px;
    }

    .tier-price {
        font-size: 32px;
    }
    
    .tier-name {
        font-size: 22px;
    }

    /* Process Section */
    .process-step ul {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 15px;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        max-width: 300px;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 12px !important;
        text-align: center !important;
    }
    
    .process-step ul li {
        text-align: left;
        display: inline-block;
        max-width: 280px;
    }
    
    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .timeline-line {
        display: none;
    }
    
    .process-step {
        position: relative;
    }
    
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -40px;
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #14B8A6, #8B5CF6);
        transform: translateX(-50%);
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }
    
    .footer-cta h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .footer-button {
        font-size: 16px;
        padding: 14px 40px;
    }

    /* Logo */
    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    /* General Mobile Adjustments */
    .container {
        padding: 0 15px;
    }

    .logos-grid {
        gap: 30px;
    }
}

/* Additional breakpoint for very small devices */
@media (max-width: 480px) {
    .pricing-grid {
        max-width: 350px;
    }
}
