/* mobile.css — keep desktop layout on mobile */
@media (max-width: 768px){
    /* 基础布局 */
    body{min-width:auto!important;}
    html{font-size:16px!important;}
    header, .navbar, .header-area{height:80px!important;}
    main, .hero, .banner, .content-wrapper, .main-banner{margin-top:80px!important;}
    html,body{overflow-x:hidden;}

    /* 全局字体缩放规则 */
    .service-card h3,
    .reduce-card h3,
    .ai-reduce-page h3,
    [class*="card"] h3 {
        font-size:1.1rem!important;
    }

    .service-card,
    .reduce-card,
    .ai-reduce-page .card,
    [class*="card"] {
        font-size:0.85rem!important;
    }

    .price-amount,
    .reduce-price {
        font-size:1.8rem!important;
    }

    /* 导航栏特定调整 */
    .navbar{padding:0 2%;}
    .nav-links{flex-wrap:nowrap;gap:0.5rem;}
    .nav-links a{padding:0.4rem 0.6rem;font-size:0.95rem;}

    /* Turn网站特定头部样式 */
    .header-area{
        position:fixed!important;
        top:0!important;
        left:0!important;
        right:0!important;
        z-index:9999!important;
        background:#ffffff!important;
        box-shadow:0 2px 4px rgba(0,0,0,0.1)!important;
        margin-bottom:0!important;
    }
    
    .header-area .main-nav{
        padding:0 2%!important;
        height:80px!important;
        display:flex!important;
        align-items:center!important;
    }
    
    .header-area .main-nav .logo img,
    .header-area .c3489{
        height:50px!important;
        width:auto!important;
        margin:0!important;
    }
    
    .header-area .main-nav .nav{
        margin:0!important;
        height:auto!important;
        display:flex!important;
        gap:0.5rem!important;
    }
    
    .header-area .main-nav .nav li a{
        padding:0.4rem 0.6rem!important;
        font-size:0.9rem!important;
        white-space:nowrap!important;
    }

    /* Turn网站表单样式优化 */
    .ibox-form{
        margin-top:100px!important;
        padding:1rem!important;
    }
    
    .ibox-form-body{
        padding:1rem!important;
    }
    
    .form-group{
        margin-bottom:1rem!important;
    }
    
    .form-control{
        width:100%!important;
        padding:0.75rem!important;
        font-size:1rem!important;
    }
    
    .btn{
        width:100%!important;
        padding:0.75rem 1rem!important;
        font-size:1rem!important;
        margin:0.5rem 0!important;
    }

    /* Turn网站表格样式 */
    table{
        font-size:0.8rem!important;
        width:100%!important;
    }
    
    table th,
    table td{
        padding:0.5rem!important;
        word-wrap:break-word!important;
        max-width:120px!important;
    }

    /* Turn网站内容区域调整 */
    .container{
        padding:0 1rem!important;
        margin-top:0!important;
    }
    
    .main-banner .container{
        margin-top:80px!important;
    }
    
    /* Turn网站特定元素调整 */
    .mantine-Container-root{
        margin-top:100px!important;
        padding:1rem!important;
    }
    
    .mantine-Paper-root{
        padding:1rem!important;
        margin:0.5rem 0!important;
    }
    
    .mantine-InputWrapper-root{
        margin-bottom:1rem!important;
    }
    
    .mantine-Input-input{
        padding:0.75rem!important;
        font-size:1rem!important;
    }
    
    .mantine-Button-root{
        width:100%!important;
        padding:0.75rem!important;
        margin:0.5rem 0!important;
    }

    /* 确保内容不被遮挡 */
    #top,
    #submission-workflow,
    .main-banner{
        margin-top:90px!important;
        padding-top:1rem!important;
    }

    /* Footer adjustments - make homepage footer match simple-footer */
    .footer-main{display:none!important;}
    .footer-bottom{padding:1.5rem 1rem!important;margin-top:1rem!important;}
    .footer-bottom .footer-links{gap:0.25rem;}
    .footer-bottom .footer-links a{font-size:0.9rem!important;}
}

/* 移动辅助元素隐藏 */
.drawer-overlay,
.mobile-drawer,
.hamburger{display:none;}
