/* ============================================
   移动端响应式样式 - 增强版
   包含所有页面的详细移动端适配
   仅针对移动端（max-width: 768px）进行适配
   不影响桌面端代码
   ============================================ */

/* 桌面端隐藏移动端菜单 */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }
}

/* ============================================
   基础移动端设置 (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* 基础重置 */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        box-sizing: border-box;
    }
    
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        font-size: 14px;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
        width: 100%;
        word-wrap: break-word;
    }
    
    /* 文本换行优化 */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* ============================================
       主页 (index.html) - 移动端简单垂直滚动布局
       ============================================ */
    
    /* 禁用fullPage.js，改为正常滚动 */
    #mainpage,
    .fullpage-wrapper {
        height: auto !important;
        position: relative !important;
        overflow: visible !important;
        transform: none !important;
    }
    
    /* 允许页面正常滚动 */
    html, body {
        overflow: auto !important;
        height: auto !important;
        position: relative !important;
    }
    
    /* 所有section改为正常的块级元素，垂直排列 */
    #mainpage .section {
        padding: 50px 0 !important;
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    /* 首页section特殊处理：确保在导航栏下方 */
    #mainpage .section.page-home {
        padding-top: 80px !important; /* 导航栏56px + 额外间距24px，确保内容在导航栏下方 */
        margin-top: 0 !important;
    }
    
    /* 确保主内容容器没有额外空白 */
    #main-content-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .page-main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* 隐藏左侧白色竖线和logo区域 */
    .pane-when {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 隐藏fullPage导航点和滚动按钮 */
    #fp-nav,
    .p-footer,
    .p-scrolldown {
        display: none !important;
    }
    
    /* 移动端完全隐藏首页大图背景区域，不占用任何空间 */
    .page-cover {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: hidden !important;
    }
    .page-cover .cover-bg,
    .page-cover .cover-bg-mask {
        display: none !important;
    }
    
    /* ============================================
       1. 首页 - 公司名称和英文名称（移动端）
       说明：仅在移动端使用纯白背景和深色文字，不影响 PC 端
       ============================================ */
    .page-home {
        display: block !important;
        padding: 0 20px 40px 20px !important; /* 移除上边距，由section的padding-top控制 */
        margin-top: 0 !important;
        background: #ffffff !important; /* 移动端首页白色背景 */
        min-height: auto !important; /* 移除最小高度限制 */
    }
    
    .page-home .content {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .page-home .header {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }
    
    .page-home .header .h-left,
    .page-home .header .h-right {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 auto 20px auto !important; /* 水平居中 */
        text-align: center !important; /* 文字居中 */
        padding: 0 !important;
    }
    
    .page-home .header h2 {
        font-size: 26px !important;
        color: #000000 !important; /* 移动端首页主标题黑色字体 */
        margin: 0 auto 15px auto !important; /* 水平居中 */
        padding: 0 !important;
        text-align: center !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important; /* 确保占满宽度以便居中 */
    }
    
    .page-home .header h3 {
        font-size: 18px !important;
        color: #000000 !important; /* 移动端首页副标题改为黑色 */
        margin: 0 auto !important; /* 水平居中 */
        padding: 0 !important;
        text-align: center !important;
        border: none !important;
        font-weight: 300 !important;
        line-height: 1.5 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important; /* 确保占满宽度以便居中 */
    }
    
    /* 产品展示网格移动端优化 - 显示产品卡片（适配白底深色文字） */
    .product-showcase {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        margin-top: 24px !important;
        padding-top: 24px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .product-showcase-item {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        color: #111111 !important;
        text-decoration: none !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
    }
    
    .product-showcase-img {
        background: #f6f7f9 !important;
        height: 110px !important;
    }
    
    .product-showcase-info h4 {
        color: #111111 !important;
        font-size: 14px !important;
    }
    
    .product-showcase-info p {
        color: rgba(0, 0, 0, 0.7) !important;
        font-size: 12px !important;
    }
    
    /* 页面标题移动端优化 */
    .p-title {
        padding: 20px;
        text-align: center;
    }
    
    .p-title h3 {
        font-size: 24px;
        margin-bottom: 8px;
        color: #333;
    }
    
    .p-title h4 {
        font-size: 14px;
        opacity: 0.7;
        font-weight: normal;
    }
    
    /* ============================================
       3. 产品解决方案页面
       ============================================ */
    .page-register {
        display: block !important;
        padding: 60px 0 !important;
        background: #ffffff !important; /* 移动端白色背景 */
    }
    
    .page-register .content {
        display: block !important;
        padding: 0 20px !important;
        width: 100% !important;
    }
    
    .page-register .p-title {
        display: block !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
    }
    
    .page-register .p-title h3 {
        font-size: 24px !important;
        color: #000000 !important; /* 移动端黑色文字 */
        margin: 0 0 10px 0 !important;
        font-weight: 600 !important;
    }
    
    .page-register .p-title h4 {
        font-size: 14px !important;
        color: #333333 !important; /* 移动端深灰文字 */
        margin: 0 !important;
        font-weight: 300 !important;
    }
    
    .page-register .content > div {
        display: block !important;
    }
    
    .page-register .invite {
        display: block !important;
        font-size: 16px !important;
        color: #000000 !important; /* 移动端黑色文字 */
        padding: 15px 20px !important;
        margin: 0 0 12px 0 !important;
        background: #f5f5f5 !important; /* 浅灰背景 */
        border-left: 4px solid #333333 !important; /* 深灰边框 */
        border-radius: 4px !important;
        line-height: 1.5 !important;
    }
    
    /* ============================================
       2. 产品介绍页面
       ============================================ */
    .page-about {
        display: block !important;
        padding: 60px 0 !important;
        background: #ffffff !important; /* 移动端白色背景 */
    }
    
    .page-about .content {
        display: block !important;
        padding: 0 20px !important;
        width: 100% !important;
    }
    
    .page-about .p-title {
        display: block !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
    }
    
    .page-about .p-title h3 {
        font-size: 24px !important;
        color: #000000 !important; /* 移动端黑色文字 */
        margin: 0 0 10px 0 !important;
        font-weight: 600 !important;
    }
    
    .page-about .p-title h4 {
        font-size: 14px !important;
        color: #333333 !important; /* 移动端深灰文字 */
        margin: 0 !important;
        font-weight: 300 !important;
    }
    
    .page-about .text {
        display: block !important;
        background: #f5f5f5 !important; /* 浅灰背景 */
        padding: 20px !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
    
    .page-about .text p {
        font-size: 15px !important;
        line-height: 1.8 !important;
        color: #000000 !important; /* 移动端黑色文字 */
        margin: 0 !important;
    }
    
    .page-about .text p strong {
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 16px !important;
        color: #000000 !important; /* 移动端黑色文字 */
    }
    
    .page-about .product-showcase {
        display: grid !important;
    }
    
    /* ============================================
       联系我们页面
       ============================================ */
    .page-contact {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        background: #ffffff !important; /* 移动端白色背景 */
        padding: 60px 0 !important;
        min-height: auto !important;
    }
    
    /* 覆盖transition效果 */
    .page-contact.transition,
    .page-contact.transition .content,
    .page-contact.transition .slide {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .page-contact .slide {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: auto !important;
        height: auto !important;
        transform: none !important;
    }
    
    .page-contact .content {
        padding: 0 20px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .page-contact .p-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important; /* 确保标题居中 */
        margin: 0 auto 40px auto !important; /* 水平居中 */
        padding: 0 20px;
        width: 100% !important;
    }
    
    .page-contact .p-title h3 {
        font-size: 26px;
        color: #000000 !important; /* 移动端黑色文字 */
        display: block !important;
        visibility: visible !important;
        font-weight: 600;
        text-shadow: none !important; /* 移除文字阴影 */
        text-align: center !important; /* 确保文字居中 */
        margin: 0 auto !important; /* 水平居中 */
        width: 100% !important;
    }
    
    .page-contact .p-title h3 i {
        margin-left: 8px;
        font-size: 22px;
    }
    
    .contact {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .contact .row {
        flex-direction: column;
        gap: 20px;
        display: flex !important;
        visibility: visible !important;
        margin: 0;
    }
    
    .contact .medium-6 {
        width: 100% !important;
        display: block !important;
        visibility: visible !important;
        padding: 0;
    }
    
    .contact ul {
        display: block !important;
        visibility: visible !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .contact ul li {
        margin-bottom: 20px;
        padding: 20px;
        background: #f5f5f5 !important; /* 浅灰背景 */
        backdrop-filter: none !important;
        border-radius: 12px;
        border-left: 4px solid #333333 !important; /* 深灰边框 */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact ul li h4 {
        color: #000000 !important; /* 移动端黑色文字 */
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 600;
        display: block !important;
        visibility: visible !important;
    }
    
    .contact ul li p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        color: #333333 !important; /* 移动端深灰文字 */
        display: block !important;
        visibility: visible !important;
    }
    
    .contact ul li img.logo {
        height: 40px;
        width: auto;
        margin-bottom: 10px;
        opacity: 0.9;
    }
    
    /* 备案信息显示 - 放在页面内容底部 */
    .page-contact .site-footer-fixed {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: 10 !important;
        background: #f5f5f5 !important; /* 浅灰背景 */
        backdrop-filter: none !important;
        padding: 25px 20px !important;
        margin: 40px 20px 0 !important;
        width: auto !important;
        text-align: center !important;
        border-radius: 12px !important;
    }
    
    .page-contact .site-footer-fixed .footer-content {
        padding: 0 !important;
    }
    
    .page-contact .site-footer-fixed .footer-content p {
        margin: 6px 0 !important;
        color: #333333 !important; /* 移动端深灰文字 */
        font-size: 12px !important;
        line-height: 1.6;
    }
    
    .page-contact .site-footer-fixed .footer-content .icp-info a {
        color: #333333 !important; /* 移动端深灰文字 */
        text-decoration: none;
    }
    
    /* 时钟/倒计时移动端优化 */
    .pane-when {
        padding: 40px 20px;
    }
    
    .clock {
        padding: 20px;
        text-align: center;
    }
    
    .clock .logo img {
        height: 80px;
        margin-bottom: 20px;
    }
    
    .clock .elem-bottom {
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: 1px;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .clock .elem-bottom span {
        display: inline-block;
        margin: 0 2px;
        word-break: break-word;
    }
    
    /* 按钮移动端优化 */
    .p-footer {
        padding: 40px 20px 60px;
    }
    
    .p-footer .arrow-d {
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }
    
    .p-footer .arrow-d:active {
        transform: scale(0.85);
    }
    
    /* ============================================
       产品列表页 (product.html) 移动端优化
       ============================================ */
    .page-header {
        padding: 60px 20px 40px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
        margin: 0 0 16px;
    }
    
    .page-header p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .product-categories {
        padding: 0 15px;
    }
    
    .category-section {
        margin-bottom: 50px;
    }
    
    .category-title {
        font-size: 24px;
        margin-bottom: 24px;
        padding-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .category-title i {
        font-size: 28px;
    }
    
    .product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .product-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-card-img {
        height: 200px;
    }
    
    .product-card-content {
        padding: 20px;
    }
    
    .product-card h3 {
        font-size: 20px;
        margin: 0 0 12px;
    }
    
    .product-card p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* ============================================
       公司介绍页 (introduce.html) 移动端优化
       ============================================ */
    .company-intro-section {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
        margin: 20px auto 0 auto;
    }
    
    .intro-left {
        width: 100%;
    }
    
    .intro-left h1 {
        font-size: 28px;
        margin-bottom: 24px;
        text-align: center;
    }
    
    .intro-left p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 20px;
        text-align: justify;
    }
    
    .intro-right {
        width: 100%;
        min-width: auto;
        max-width: none;
    }
    
    .intro-right img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    
    /* 公司标签页移动端优化 */
    #company-tabs-wrapper {
        position: sticky;
        top: 56px;
        z-index: 100;
        background: #fff;
    }
    
    #company-tabs {
        flex-direction: row;
        height: auto;
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    #company-tabs::-webkit-scrollbar {
        display: none;
    }
    
    #company-tabs .tab {
        flex: 1;
        min-width: 80px;
        padding: 15px 8px;
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
        white-space: nowrap;
        text-align: center;
    }
    
    #company-tabs .tab:last-child {
        border-right: none;
    }
    
    .tab-underline {
        display: block;
        height: 3px;
    }
    
    /* 企业文化板块移动端优化 */
    .culture-section {
        min-height: 300px;
        margin-top: 40px;
    }
    
    .culture-content {
        padding: 40px 20px;
    }
    
    .culture-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .culture-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .culture-col {
        padding: 0 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }
    
    .culture-col:last-child {
        border-bottom: none;
    }
    
    .culture-col h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .culture-col p {
        font-size: 18px;
        line-height: 1.6;
    }
    
    /* 荣誉资质板块移动端优化 */
    .honor-section {
        padding: 0 15px;
        margin: 40px auto;
    }
    
    .honor-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .honor-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
    }
    
    .honor-item {
        width: 100%;
    }
    
    .honor-image-wrapper {
        padding-top: 70%;
    }
    
    .honor-view-btn {
        width: 40px;
        height: 40px;
        font-size: 12px;
        padding: 0;
    }
    
    .honor-view-btn i {
        font-size: 16px;
    }
    
    /* 证书弹窗移动端优化 */
    .certificate-modal {
        padding: 20px;
    }
    
    .certificate-modal-content {
        max-width: 95vw;
        max-height: 90vh;
    }
    
    .certificate-modal img {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
    }
    
    /* 招聘表格移动端优化 */
    .recruit-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .recruit-table {
        min-width: 600px;
        font-size: 14px;
    }
    
    .recruit-table th,
    .recruit-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    /* ============================================
       新闻页 (xinwen.html) 移动端优化
       ============================================ */
    .news-filters {
        flex-direction: column;
        gap: 16px;
        padding: 20px 15px;
        margin: 0 -15px 20px;
        background: #f8f9ff;
    }
    
    .news-filters select,
    .news-filters .search-box,
    .news-filters .items-select {
        width: 100%;
        max-width: none;
    }
    
    .news-list {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }
    
    .news-card {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .news-card img {
        height: 180px;
        object-fit: cover;
    }
    
    .news-card-content {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .news-card-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .news-card-more {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* 新闻详情页面移动端优化 */
    .news-article {
        padding: 20px 15px;
    }
    
    .news-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .news-content {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .news-content h2 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    
    .news-content h3 {
        font-size: 18px;
        margin: 20px 0 10px 0;
    }
    
    .specs-table {
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
        white-space: nowrap;
        font-size: 13px;
    }
    
    .back-link {
        font-size: 14px;
        padding: 10px 0;
    }
    
    /* ============================================
       产品详情页移动端优化
       ============================================ */
    .product-intro {
        padding: 0 15px;
        font-size: 15px;
        line-height: 1.7;
    }
    
    .specs-section,
    .install-section,
    .safety-section,
    .wiring-section {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .spec-table {
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .spec-table th,
    .spec-table td {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .spec-table th {
        min-width: 120px;
    }
    
    .bullets {
        margin: 10px 0 0 20px;
    }
    
    .bullets li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    .note {
        font-size: 13px;
        padding: 12px 15px;
        margin: 10px 0;
    }
    
    .tip {
        font-size: 13px;
        margin-top: 10px;
    }
    
    /* ============================================
       表单优化
       ============================================ */
    input, textarea, select {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid #ddd;
        transition: border-color 0.3s ease;
        width: 100%;
    }
    
    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* ============================================
       弹窗移动端优化
       ============================================ */
    .modal-content,
    .panelpc-content {
        width: 95vw;
        max-width: 500px;
        max-height: 85vh;
        margin: 10vh auto;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .modal-header,
    .panelpc-header {
        padding: 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .modal-close,
    .panelpc-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        font-size: 18px;
        color: white;
    }
    
    /* ============================================
       备案信息移动端优化
       ============================================ */
    .site-footer-fixed {
        font-size: 12px;
        padding: 12px 15px;
    }
    
    .site-footer-fixed .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .site-footer-fixed .footer-content p {
        margin: 0;
        font-size: 12px;
    }
    
    .site-footer-fixed .footer-content .icp-info a {
        font-size: 12px;
    }
}

/* ============================================
   小屏幕手机优化 (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .page-home .header h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .page-home .header h3 {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .page-home .header h4 {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .clock .logo img {
        height: 60px;
    }
    
    .clock .elem-bottom {
        font-size: 12px;
        line-height: 1.4;
        letter-spacing: 0.5px;
    }
    
    .product-showcase-img {
        height: 180px;
    }
    
    .product-card-img {
        height: 180px;
    }
    
    .honor-image-wrapper {
        padding-top: 60%;
    }
    
    .news-card img {
        height: 160px;
    }
    
    .news-title {
        font-size: 20px;
    }
    
    .news-content {
        font-size: 15px;
    }
}

/* ============================================
   超小屏幕优化 (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
    .page-home .header h2 {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .page-home .header h3 {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .page-home .header h4 {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .clock .elem-bottom {
        font-size: 11px;
        line-height: 1.3;
        letter-spacing: 0.3px;
    }
    
    .product-showcase-info h4 {
        font-size: 16px;
    }
    
    .product-showcase-info p {
        font-size: 13px;
    }
}

/* ============================================
   横屏模式优化
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .page-cover {
        height: 100vh;
    }
    
    .pane-when {
        padding: 20px;
    }
    
    .clock {
        padding: 10px;
    }
    
    .clock .logo img {
        height: 50px;
        margin-bottom: 10px;
    }
    
    .clock .elem-bottom {
        font-size: 14px;
    }
    
    .page-main .section .content {
        padding: 20px;
    }
    
    .page-home .header h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .page-home .header h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .page-home .header h4 {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* ============================================
   触摸设备优化
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .product-showcase-item:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .product-showcase-item:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .honor-item:hover {
        transform: none;
    }
    
    .honor-item:active {
        transform: scale(0.98);
    }
    
    /* 优化滚动 */
    .mobile-menu,
    .main-content,
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   减少动画模式支持
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
