/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimSun', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部信息栏 */
.top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-phone::before { content: "📞"; }

/* 大尺寸微信二维码样式 */
.large-qr-code {
    margin-top: 10px;
    text-align: center;
}

.large-qr-code img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.large-qr-code img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 单页应用section切换样式 */
.section-content {
    display: none;
    min-height: calc(100vh - 200px);
    padding: 80px 0;
}

.section-content.active {
    display: block;
}

.nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #004499;
}

.nav-link.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
}

/* 头部 */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #0066cc;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.stock-code {
    font-size: 12px;
    color: #666;
    font-weight: bold;
    margin-top: 5px;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
}

.logo-text h1 {
    font-size: 28px;
    color: #0066cc;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* 响应式Logo */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    width: 200px;
    outline: none;
}

.search-box button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #0052a3;
}

/* 导航栏 */
.main-nav {
    background: linear-gradient(135deg, #0066cc, #004d99);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 4px;
    margin: 2px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #ffffff;
    color: #000000;
    font-weight: 600;
}

/* 轮播图 */
.banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #0066cc, #004d99);
    overflow: hidden;
}

.banner-slider {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6600;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}







/* 产品系统 */
.product-system {
    padding: 60px 0;
    background: #f9f9f9;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.system-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid #0066cc;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    justify-content: flex-start;
}

.system-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,102,204,0.25);
    border-color: #ff6600;
}

.system-item .single-product-image:hover,
.system-item .fullscreen-product-image:hover {
    cursor: pointer;
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.system-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
    display: block;
}

.system-item h3 {
    font-size: 20px !important;
    color: #0066cc !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.system-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    flex-grow: 1;
}

.system-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.system-features li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px dotted #ddd;
    position: relative;
    padding-left: 15px;
}

.system-features li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.system-features li:last-child {
    border-bottom: none;
}

/* 产品卡片图片居中对齐 */
.system-item .single-product-image,
.system-item .fullscreen-product-image {
    margin: 0 auto 20px auto;
    display: block;
}

/* 产品卡片内容布局 */
.system-item h3 {
    order: 1;
}

.system-item .single-product-image,
.system-item .fullscreen-product-image {
    order: 2;
}

.system-item .system-icon {
    order: 2;
}

.system-item p {
    order: 3;
}

.system-item .system-features {
    order: 4;
    margin-top: auto;
}

.system-advantages {
    margin-top: 60px;
    text-align: center;
}

.system-advantages h3 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 40px;
    font-weight: bold;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.advantage-point {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.advantage-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.advantage-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.advantage-point h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.advantage-point p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 关于我们 */
.about {
    padding: 60px 0;
    background: #f9f9f9;
}

.about-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 22px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #e6f2ff;
    padding-bottom: 10px;
}

.about-description {
    text-align: justify;
}

.about-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.stats-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.videos-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.certificate-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-text h3 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: #0066cc;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.stat h4 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat p {
    font-size: 14px;
    margin: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.video-item {
    text-align: center;
}

.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item video:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}

.video-item video:fullscreen {
    transform: none;
    z-index: auto;
    position: static;
}

.fullscreen-video {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.fullscreen-video .video-item {
    width: 100%;
    max-width: 1200px;
}

.fullscreen-video video {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    object-fit: contain;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.video-item p {
    margin-top: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.certificate-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.certificate-info p {
    color: #555;
    margin-bottom: 0;
    font-size: 15px;
    padding: 10px 15px;
    background: #f8f9ff;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-info p:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,102,204,0.15);
}

/* 联系我们 */
.contact {
    padding: 60px 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: bold;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-item strong {
    color: #333;
    min-width: 100px;
    font-weight: normal;
}

.contact-item span {
    color: #666;
    flex: 1;
}



/* 侧边栏 */
.sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    width: 50px;
    height: 50px;
    background: #0066cc;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    font-size: 20px;
}

.sidebar-item:hover {
    background: #0052a3;
    transform: scale(1.1);
}

.sidebar-item span {
    font-size: 10px;
    margin-top: 2px;
}

.sidebar-item.phone { background: #28a745; }


.sidebar-item.top { background: #666; }

.icon-phone::before { content: "📞"; }


.icon-top::before { content: "↑"; }

/* 页脚 */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-logo {
    margin-bottom: 15px;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
}

.inline-logo {
    vertical-align: middle;
    margin-left: 10px;
    max-height: 24px;
    width: auto;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.footer-section ul li::before {
    content: "•";
    color: #0066cc;
    position: absolute;
    left: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0066cc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .system-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .system-item {
        min-height: auto;
        padding: 20px;
    }
    
    .system-item img {
        height: 180px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .top-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: none;
        overflow: visible;
    }
    
    .nav-menu a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px;
        text-align: center;
    }
    
    .main-nav {
        position: relative;
    }
    

    
    .banner {
        height: 250px;
    }
    
    .video-banner-player {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .fullscreen-video {
        min-height: 50vh;
    }
    
    .fullscreen-video video {
        height: 40vh;
        min-height: 300px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .system-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    

    

    
    .about-section,
    .stats-section,
    .videos-section,
    .certificate-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item video {
        height: 180px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        width: 100%;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    
    .large-qr-code img {
        width: 150px;
        height: 150px;
    }
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .sidebar {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        top: auto;
        flex-direction: row;
        gap: 5px;
    }
    
    .sidebar-item {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .sidebar-item span {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .banner {
        height: 250px;
    }
    
    .stat h4 {
        font-size: 24px;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    /* 产品详情页面移动端优化 */
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 20px;
    }
    
    .detail-main-image {
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .product-info h4 {
        font-size: 16px;
        margin: 15px 0 10px 0;
    }
    
    .product-info p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .contact-info-detail {
        text-align: left;
    }
    
    .back-button {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 22px;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.system-item {
    animation: fadeInUp 0.6s ease-out;
}

.advantage-point {
    animation: fadeInUp 0.6s ease-out;
}

.category-card,


/* Banner视频样式 - 无文字覆盖 */
.banner-content {
    width: 100%;
    height: 100%;
}

.video-banner-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-banner-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 600px;
    display: block;
}

/* 表单提交提示样式 */
.message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 10000;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}