/* 移动端适配样式 - 图片文字完全自适应 */
/* Mobile Responsive Styles with Image and Text Auto-Adaptation */

/* ========== 基础自适应规则 ========== */

/* 图片完全自适应 */
img, video, iframe, embed, object, canvas, svg {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* 图片容器优化 */
.image-zoom-container,
.image-container,
figure,
.picture {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.image-zoom-container img,
.image-container img,
figure img,
.picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 文字完全自适应 */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* 所有文字元素自适应 */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th, input, textarea, select {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto;
}

/* 防止内容溢出 */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* ========== 超小屏幕 (小于375px) ========== */
@media (max-width: 374px) {
    .container {
        width: 95%;
        padding: 0 8px;
    }

    /* Hero区域 */
    .hero h1 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 20px !important;
        padding: 0 5px;
    }

    .hero .stat-card {
        padding: 12px 8px;
    }

    .hero .stat-card strong {
        font-size: 1.1rem;
    }

    .hero .stat-card span {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    /* 卡片优化 */
    .card {
        padding: 15px 12px;
    }

    .section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-tag {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* 按钮 */
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
    }

    /* 导航 */
    .logo-text {
        font-size: 1rem;
    }

    .logo img {
        height: 30px;
    }

    /* 页脚 */
    .footer {
        padding: 20px 0;
        font-size: 12px;
    }

    /* 超小屏幕联系页面表单单列显示 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form {
        grid-template-columns: 1fr !important;
    }

    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form select,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form textarea,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form button {
        grid-column: 1 / -1 !important;
    }

    /* 超小屏幕等高图片调整 */
    .card [style*="align-items: stretch"] .image-zoom-container {
        height: auto !important;
        min-height: auto !important;
    }

    /* 超小屏幕会议图片优化 */
    .conference-images-grid {
        gap: 15px !important;
        margin: 15px 0 !important;
    }

    .conference-image {
        height: auto !important;
        min-height: auto !important;
        border-radius: 10px !important;
        box-shadow: 0 3px 10px rgba(107, 70, 193, 0.1) !important;
    }

    .conference-image img {
        border-radius: 10px !important;
        height: auto !important;
    }

    /* 超小屏幕会议信息优化 */
    .card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    .card > div[style*="margin-top: 20px"] {
        padding: 12px !important;
        font-size: 0.85rem !important;
    }

    .card > div[style*="margin-top: 20px"] p {
        font-size: 0.85rem !important;
        margin: 6px 0 !important;
    }
}

/* ========== 小屏幕手机 (375px - 480px) ========== */
@media (min-width: 375px) and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .hero .stat-card strong {
        font-size: 1.3rem;
    }

    .hero .stat-card span {
        font-size: 0.65rem;
    }

    /* 小屏幕手机联系页面表单保持两列 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form {
        grid-template-columns: 1fr 1fr !important;
    }

    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="text"],
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="tel"] {
        grid-column: span 1 !important;
    }

    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form select,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form textarea,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form button {
        grid-column: 1 / -1 !important;
    }

    /* 小屏幕手机等高图片调整 */
    .card [style*="align-items: stretch"] .image-zoom-container {
        height: auto !important;
        min-height: auto !important;
    }

    /* 小屏幕手机会议图片优化 */
    .conference-image {
        height: auto !important;
        min-height: auto !important;
    }
}

/* ========== 手机横屏 (481px - 767px) ========== */
@media (min-width: 481px) and (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero .stat-card strong {
        font-size: 1.5rem;
    }

    .hero .stat-card span {
        font-size: 0.75rem;
    }

    /* 手机横屏联系页面表单保持两列 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form {
        grid-template-columns: 1fr 1fr !important;
    }

    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="text"],
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="tel"] {
        grid-column: span 1 !important;
    }

    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form select,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form textarea,
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form button {
        grid-column: 1 / -1 !important;
    }

    /* 手机横屏等高图片调整 */
    .card [style*="align-items: stretch"] .image-zoom-container {
        height: auto !important;
        min-height: auto !important;
    }

    /* 手机横屏会议图片优化 */
    .conference-image {
        height: auto !important;
        min-height: auto !important;
    }
}

/* ========== 平板竖屏 (768px - 1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .header-top .container {
        font-size: 13px;
    }

    /* 确保平板也使用移动端菜单 */
    .nav {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    /* 平板等高图片调整 */
    .card [style*="align-items: stretch"] .image-zoom-container {
        height: auto !important;
        min-height: auto !important;
    }

    /* 平板会议图片优化 */
    .conference-image {
        height: auto !important;
        min-height: auto !important;
    }

    .conference-images-grid {
        gap: 18px !important;
    }
}

/* ========== 移动端通用优化 (最大1024px - 包含iPad) ========== */
/* ========== 中等屏幕PC导航优化 ========== */
@media (min-width: 1025px) and (max-width: 1360px) {
    .nav {
        gap: 10px;
    }
    .nav a {
        font-size: 12px;
        padding: 8px 2px;
        letter-spacing: -0.2px;
    }
    .header-main .container {
        gap: 10px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav {
        gap: 6px;
    }
    .nav a {
        font-size: 11px;
        padding: 8px 1px;
    }
    .logo img {
        height: 36px;
    }
    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    /* 确保所有电话链接在移动端显示为白色 */
    a[href^="tel:"] {
        color: white !important;
        text-decoration: none !important;
        pointer-events: auto !important;
    }

    /* 强制覆盖所有状态的电话链接颜色 */
    a[href^="tel:"]:link,
    a[href^="tel:"]:visited,
    a[href^="tel:"]:active,
    a[href^="tel:"]:hover,
    a[href^="tel:"]:focus {
        color: white !important;
        text-decoration: none !important;
    }

    /* 禁用移动浏览器自动为电话号码添加的颜色 */
    a[href^="tel:"]::-webkit-any-link {
        color: white !important;
    }

    a[href^="tel:"]:hover {
        text-decoration: underline !important;
    }

    /* 确保包含电话号码的span元素也是白色 */
    .header-top span,
    .footer span,
    .mobile-nav-footer span {
        color: inherit !important;
    }

    /* 防止浏览器自动识别并高亮电话号码 */
    .header-top,
    .footer,
    .mobile-nav-footer {
        -webkit-tap-highlight-color: transparent;
    }

    /* 禁用自动电话链接检测的颜色覆盖 */
    a[href^="tel:"] {
        -webkit-tap-highlight-color: transparent;
    }

    /* 确保没有样式的电话链接也是白色 */
    .header-top a:not([class]),
    .footer a:not([class]) {
        color: white !important;
    }
    /* 导航全屏显示 */
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        padding: 20px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 1.3rem;
        padding: 18px 25px;
        margin: 8px 0;
        border-radius: 12px;
        transition: all 0.3s;
        text-align: center;
    }

    .nav a:hover, .nav a:active {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }

    /* 汉堡菜单 */
    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
        padding: 12px;
        z-index: 10000;
        min-width: 44px;
        min-height: 44px;
    }

    /* 头部优化 */
    .header-top {
        font-size: 11px;
        padding: 6px 0;
    }

    .header-top .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .header-top a,
    .header-top a[href^="tel:"] {
        margin: 0;
        font-size: 11px;
        word-break: break-all;
        color: white !important;
        text-decoration: none;
    }

    .header-top span,
    .header-top .container span {
        color: white !important;
    }

    .header-top a:hover {
        text-decoration: underline;
    }

    .logo-text {
        font-size: 1.1rem;
        word-break: keep-all;
    }

    .logo img {
        height: 32px;
        max-width: 120px;
        width: auto;
        object-fit: contain;
    }

    /* Hero区域 */
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
        word-wrap: break-word;
    }

    /* 统计卡片 */
    .hero .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 30px !important;
        padding: 0 8px;
    }

    .hero .stat-card {
        padding: 18px 12px;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero .stat-card strong {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero .stat-card span {
        font-size: 0.7rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

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

    .section-header {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .section-tag {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 12px;
    }

    /* 卡片网格 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .card {
        padding: 25px 20px;
        word-wrap: break-word;
        overflow: hidden;
    }

    /* 卡片内的grid布局需要额外空间 */
    .card > div[style*="display: grid"] {
        overflow: hidden;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .card ul {
        padding-left: 20px;
        font-size: 0.9rem;
    }

    /* 按钮 */
    .btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        border-radius: 25px;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        margin: 8px 0;
    }

    /* 图片 */
    .image-zoom-container {
        border-radius: 8px;
        overflow: hidden;
        margin: 15px 0;
        background: transparent;
        padding: 0;
        border: none;
    }

    .image-zoom-container img {
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
    }

    .image-zoom-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* 公司介绍图片网格特殊处理 */
    .company-images-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .company-images-grid .image-zoom-container {
        margin: 0;
    }

    /* 技术原理图片网格特殊处理 */
    .technology-images-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .technology-images-grid .image-zoom-container {
        margin: 0;
    }

    /* 技术背书图片网格特殊处理 */
    .endorsement-images-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .endorsement-images-grid .image-zoom-container {
        margin: 0;
    }

    /* 合作模式图片网格特殊处理 */
    .cooperation-images-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .cooperation-images-grid .image-zoom-container {
        margin: 0;
    }

    /* 产品原理和详情图片网格特殊处理 */
    .product-principle-images,
    .product-details-images {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-principle-images .image-zoom-container,
    .product-details-images .image-zoom-container {
        margin: 0 !important;
    }

    /* 卡片内的图片网格居中处理 */
    .card .product-principle-images,
    .card .product-details-images {
        justify-content: center;
        align-items: center;
    }

    /* 产品展示图片居中处理 */
    .card .image-zoom-container {
        text-align: center;
        margin: 0 auto;
    }

    .card .image-zoom-container img {
        margin: 0 auto;
        display: block;
    }

    /* 确保产品展示grid居中 */
    .card [style*="grid-template-columns"] {
        justify-items: center;
        align-items: center;
    }

    /* 卡片内grid布局的额外优化 */
    .card > div[style*="display: grid"] {
        padding: 0;
        margin: 20px 0;
    }

    /* 确保卡片内的图片网格在移动端完全适配 */
    @media (max-width: 767px) {
        .card .product-principle-images,
        .card .product-details-images {
            gap: 10px !important;
            margin: 15px 0 !important;
        }

        .card .product-principle-images img,
        .card .product-details-images img {
            max-width: 100% !important;
            width: 100% !important;
        }
    }

    /* 会议图片网格移动端优化 */
    .conference-images-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 20px 0 !important;
    }

    .conference-image {
        position: relative !important;
        overflow: visible !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(107, 70, 193, 0.15) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: linear-gradient(135deg, rgba(107, 70, 193, 0.05) 0%, rgba(128, 90, 213, 0.05) 100%) !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .conference-image:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 30px rgba(107, 70, 193, 0.25) !important;
    }

    .conference-image img,
    .conference-image .conference-img {
        border-radius: 12px !important;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        object-fit: contain !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        display: block !important;
    }

    .conference-image:hover img,
    .conference-image:hover .conference-img {
        transform: scale(1.05) !important;
    }

    .conference-image .zoom-icon {
        opacity: 0 !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: rgba(107, 70, 193, 0.9) !important;
        backdrop-filter: blur(10px) !important;
    }

    .conference-image:hover .zoom-icon,
    .conference-image:active .zoom-icon {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.15) !important;
    }

    /* 会议信息部分移动端优化 */
    .card h3 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        margin-bottom: 18px !important;
    }

    .card > div[style*="margin-top: 20px"] {
        margin-top: 18px !important;
        padding: 15px !important;
        background: rgba(107, 70, 193, 0.05) !important;
        border-radius: 8px !important;
        border-left: 4px solid var(--primary) !important;
    }

    .card > div[style*="margin-top: 20px"] p {
        margin: 8px 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .card > div[style*="margin-top: 20px"] strong {
        color: var(--primary) !important;
        font-weight: 600 !important;
    }

    /* 表格 */
    table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* 表单 */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="url"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px;
        padding: 12px 15px;
        width: 100%;
        max-width: 100%;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-sizing: border-box;
    }

    /* 页脚 */
    .footer {
        padding: 30px 0;
        font-size: 13px;
        text-align: center;
    }

    .footer a {
        word-break: break-all;
    }

    /* 确保页脚中的所有文本都是白色 */
    .footer span,
    .footer li {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    /* 确保页脚中的电话链接是白色 */
    .footer a[href^="tel:"] {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    /* 认证标签 */
    .cert-badge {
        padding: 8px 15px;
        font-size: 12px;
        margin: 5px;
        display: inline-block;
    }

    /* 列表 */
    ul, ol {
        padding-left: 20px;
        font-size: 14px;
    }

    li {
        margin: 8px 0;
        line-height: 1.5;
    }

    /* 文字特殊处理 */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    a {
        word-break: break-all;
        overflow-wrap: break-word;
    }

    /* 代码块 */
    pre, code {
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
        font-size: 13px;
    }

    /* 特殊内容处理 */
    .long-text {
        word-break: break-all;
        overflow-wrap: break-word;
    }

    /* 防止水平滚动 */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* 联系页面布局调整 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* 等高图片网格移动端调整 */
    .card [style*="align-items: stretch"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        align-items: start !important;
    }

    .card [style*="align-items: stretch"] .image-zoom-container {
        height: auto !important;
        min-height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    .card [style*="align-items: stretch"] .image-zoom-container img {
        height: auto !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    /* 在线咨询表单卡片 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] > .card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 在线咨询表单输入优化显示 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 100% !important;
    }

    /* 第一行：姓名和电话 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="text"],
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="tel"] {
        grid-column: span 1 !important;
        width: 100% !important;
    }

    /* 第二行：合作类型全宽 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form select {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    /* 第三行：留言全宽 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form textarea {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    /* 提交按钮全宽 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form button {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    /* 确保隐藏字段不影响布局 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card form input[type="hidden"] {
        display: none !important;
        grid-column: 1 / -1 !important;
    }

    /* 表单状态消息全宽 */
    .section > .container > [style*="grid-template-columns: 1fr 1fr"] .card #formStatus {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

/* ========== 触摸设备优化 ========== */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果 */
    .card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    /* 增加触摸目标 */
    .card-icon,
    .btn,
    .nav a,
    input,
    select,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    /* 触摸反馈 */
    .card:active,
    .btn:active {
        transform: scale(0.98);
        opacity: 0.8;
    }

    .image-zoom-container {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* 会议图片触摸设备优化 */
    .conference-image {
        -webkit-tap-highlight-color: rgba(107, 70, 193, 0.2) !important;
    }

    .conference-image:active {
        transform: scale(0.98) !important;
        opacity: 0.9 !important;
    }

    .conference-image:active .zoom-icon {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.1) !important;
    }
}

/* ========== 横屏模式优化 ========== */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        padding: 25px 0;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero .hero-stats {
        margin-top: 15px !important;
        gap: 8px !important;
    }

    .section {
        padding: 25px 0;
    }
}

/* ========== iOS特殊优化 ========== */
@supports (-webkit-touch-callout: none) {
    .hero, .section {
        -webkit-overflow-scrolling: touch;
    }

    input, textarea, select {
        -webkit-appearance: none;
        border-radius: 8px;
    }

    /* 解决iOS输入框聚焦问题 */
    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: var(--accent);
    }
}

/* ========== Android优化 ========== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select {
        background-image: none;
        background-color: var(--bg-white);
    }

    /* 解决Android字体渲染问题 */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ========== 字体动态调整 ========== */
@media (max-width: 374px) {
    html {
        font-size: 13px;
    }
}

@media (min-width: 375px) and (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ========== 图片占位符优化 ========== */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-color) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== 内容适配优化 ========== */
.adaptive-content {
    max-width: 100%;
    overflow: hidden;
}

.adaptive-content img,
.adaptive-content video,
.adaptive-content iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* 长文本自动换行 */
.long-text-wrapper {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}