﻿body, nav a, footer, .footer-contact {
    font-family: -apple-system, BlinkMacSystemFont, 
                 "Segoe UI", "PingFang SC", "Microsoft YaHei", 
                 sans-serif;
}
body {
    background: #F5F5F5;
    color: #1A1A1A;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0; /* 确保footer贴底 */
    display: flex;
    flex-direction: column;
}

/* 正文段落样式 */
.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #333;
    text-align: justify;
}

/* 修改header文字颜色为黑色 */
nav a {
    color: #000000 !important;
}
nav a:hover {
    color: #000000 !important;
}
main { 
    flex: 1;
}

nav { background: #f9f9f9; color: #000000; font-weight: 600; }
footer { 
    background: #000000; 
    color: #FFFFFF; 
    padding: 30px 40px;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-logo img { 
    max-width: 150px; 
    height: auto; 
}
.footer-contact {
    display: flex;
    gap: 30px;
    font-size: 14px;
}
.footer-contact span {
    color: #FFFFFF;
    white-space: nowrap;
}
.contact-info {
    color: #FFFFFF;
}
.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    margin: 15px 0;
}
.footer-legal {
    text-align: center;
    font-size: 12px;
    color: #939393;
}
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
.legal-links a {
    color: #939393;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.legal-links a:hover {
    color: #FFFFFF;
}
.copyright {
    color: #939393;
}
@media (max-width: 768px) {
    /* 增大基础字体尺寸 */
    body {
        font-size: 17px; /* 移动端最佳可读尺寸 */
        line-height: 1.6; /* 增加行高提高可读性 */
    }
    
    /* 导航链接优化 */
    nav a {
        font-size: 1rem; /* 确保点击区域足够 */
        padding: 0.75rem; /* 增加触摸区域 */
    }
    
    /* 页脚内容优化 */
    .footer-contact {
        font-size: 15px; /* 稍大字号 */
        line-height: 1.8; /* 增加行间距 */
    }
    footer { 
        padding: 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-contact {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .footer-logo {
        margin-bottom: 15px;
    }
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    nav {
        flex-direction: column;
        padding: 1rem;
        align-items: flex-start;
        gap: 2rem;
    }
    nav > .flex {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    nav .space-x-8, .sub-nav ul {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    nav .space-x-8 a, .sub-nav a {
        font-size: 1rem;
        padding: 0.5rem;
    }
    .sub-nav ul li:first-child {
        margin-left: 2rem;
    }

    /* 移动端图片布局调整 */
    .flex.items-center.justify-center {
        flex-direction: column;
        padding: 1rem;
    }
    .flex.items-center.justify-center img {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    .flex.items-center.justify-center .max-w-2xl {
        width: 100%;
    }
    img.mx-auto.max-w-4xl {
        max-width: 100% !important;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    /* 产品介绍移动端样式 */
    .card p {
        word-break: normal;
        white-space: normal;
    }
    .card li {
        word-break: normal;
        white-space: normal;
    }
    
    /* 表格移动端样式 */
    .card table {
        width: 100%;
    }
    .card th, .card td {
        padding: 0.5rem;
        font-size: 0.9rem;
        word-break: keep-all;
        white-space: nowrap;
    }
    .card .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
}

/* PPT样式背景 */
.ppt-background {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF7F00; /* 橙色 */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.back-to-top:hover {
    background: #FF9E40; /* 浅橙色 */
}

.back-to-top.visible {
    opacity: 1;
}

/* 统一表格表头样式 */
.table-header-blue {
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    color: #0369a1;
    font-weight: 600;
}

/* 图片模态框样式 */
#imageModal {
    transition: opacity 0.3s ease;
}
#imageModal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}
#closeModal {
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    transition: transform 0.2s;
}
#closeModal:hover {
    transform: scale(1.2);
}

/* 圆形卡片样式 */
.circle-card {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.circle-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.circle-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.circle-desc {
    font-size: 0.9rem;
    color: #4b5563;
}

/* 圆形卡片动画 */
@keyframes circleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.circle-card {
    animation: circleFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.circle-card:nth-child(1) { animation-delay: 0.1s; }
.circle-card:nth-child(2) { animation-delay: 0.2s; }
.circle-card:nth-child(3) { animation-delay: 0.3s; }
.circle-card:nth-child(4) { animation-delay: 0.4s; }
.circle-card:nth-child(5) { animation-delay: 0.5s; }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .circle-card {
            width: 150px;
            height: 150px;
            padding: 15px;
        }
        .circle-icon {
            width: 50px;
            height: 50px;
            margin-bottom: 10px;
        }
        .circle-title {
            font-size: 1rem;
        }
        .circle-desc {
            font-size: 0.8rem;
        }
    }

    /* 发展历程移动端优化 */
    @media (max-width: 768px) {
        .timeline::after {
            left: 15px;
        }
        .timeline-item {
            width: calc(100% - 30px);
            padding-left: 30px;
            padding-right: 0;
        }
        .timeline-item:nth-child(even) {
            left: 0;
        }
        .timeline-dot {
            left: 3px;
        }
        .timeline-content {
            word-break: keep-all;
            white-space: normal;
            overflow-wrap: break-word;
            padding: 10px 15px;
        }
        .timeline-content li {
            word-break: keep-all;
            white-space: normal;
        }
    }
