/**
 * cymount-php 前台样式
 */

/* ========== 基础重置 ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #002052;
    --primary-light: #004080;
    --primary-dark: #001538;
    --secondary-color: #f5f5f5;
    --accent-color: #ff6b35;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #fff;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 布局 ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 头部 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 12px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    margin-left: 60px;
}

.nav-item a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary-color);
    background: rgba(0, 32, 82, 0.05);
}

.header-contact {
    display: flex;
    align-items: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
}

.contact-phone:hover {
    background: var(--primary-light);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ========== 主内容区 ========== */
.main {
    padding-top: 70px;
    min-height: calc(100vh - 200px);
}

/* ========== 幻灯片区域 ========== */
.hero-section {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #0066cc 100%);
}

.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 32, 82, 0.9) 0%,
        rgba(0, 32, 82, 0.7) 50%,
        rgba(0, 64, 128, 0.6) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.slide-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease;
}

.slide-desc {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease 0.15s both;
}

.slide-content .btn {
    animation: slideInUp 0.8s ease 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.slider-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 科技感装饰线 */
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    z-index: 5;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ========== 区域标题 ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 0;
}

.section-title-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.section-more:hover {
    gap: 12px;
}

/* ========== 核心优势 ========== */
.features-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== 产品区域 ========== */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.product-card .product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
}

.product-card .product-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.product-card .product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card .product-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========== 解决方案 ========== */
.solutions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.solutions-section .section-title {
    color: var(--white);
}

.solutions-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.solution-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 32, 82, 0.1);
}

.solution-card .solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
}

.solution-card .solution-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.solution-card .solution-icon i {
    color: var(--white);
    font-size: 32px;
}

.solution-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.4;
}

.solution-card .solution-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.solution-card .solution-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-card .solution-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--secondary-color);
    padding: 8px 12px;
    border-radius: var(--radius);
    flex: 1 1 auto;
    min-width: calc(50% - 4px);
    max-width: 100%;
    transition: all 0.3s ease;
}

.solution-card .solution-features li i {
    color: var(--primary-color);
    font-size: 12px;
    flex-shrink: 0;
}

.solution-card-link:hover .solution-card .solution-features li {
    background: rgba(0, 102, 204, 0.1);
    color: var(--text-color);
}

/* 移动端解决方案卡片左右分列布局 */
@media (max-width: 767px) {
    .solution-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
        height: auto;
    }

    .solution-card .solution-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .solution-card .solution-icon img {
        width: 36px;
        height: 36px;
    }

    .solution-card .solution-content {
        flex: 1;
        min-width: 0;
    }

    .solution-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .solution-card .solution-features {
        margin-top: 12px;
        gap: 6px;
    }

    .solution-card .solution-features li {
        font-size: 12px;
        padding: 6px 10px;
        min-width: calc(50% - 3px);
    }
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-features li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
}

/* ========== 设计方案列表页 ========== */
.solutions-list-section,
.products-list-section,
.news-list-section {
    padding: 60px 0;
}

.solutions-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.solution-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.solution-item .solution-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    font-size: 40px;
    color: var(--white);
}

.solution-item .solution-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.solution-item .solution-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.solution-item .solution-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.solution-item .solution-title a {
    color: var(--text-color);
}

.solution-item .solution-title a:hover {
    color: var(--primary-color);
}

.solution-item .solution-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(0, 32, 82, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.solution-item .solution-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-item .solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    list-style: none;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    justify-content: space-between;
}

.solution-item .solution-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--secondary-color);
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    flex: 1 1 auto;
    min-width: calc(50% - 6px);
    max-width: 100%;
}

.solution-item .solution-features li i {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.solution-card-link:hover .solution-item .solution-features li {
    background: rgba(0, 102, 204, 0.1);
    color: var(--text-color);
}

.solution-item .btn {
    align-self: flex-start;
}

/* ========== 新闻区域 ========== */
.news-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-card .news-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
}

.news-card .news-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* 移动端左右分列布局 */
@media (max-width: 767px) {
    .news-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }

    .news-card .news-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .news-card .news-icon img {
        width: 36px;
        height: 36px;
    }

    .news-card .news-content {
        flex: 1;
        min-width: 0;
    }
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.news-category {
    color: var(--primary-color);
    font-weight: 500;
}

.news-date {
    color: var(--text-muted);
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-color);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* ========== 联系我们 ========== */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
}

.contact-list li span,
.contact-list li a {
    color: var(--text-color);
}

/* 首页分享按钮 */
.contact-list .share-buttons {
    justify-content: center;
    gap: 16px;
}

.contact-list .share-buttons .share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-list .share-buttons .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-list .share-buttons .share-btn.weixin {
    background: #07c160;
}

.contact-list .share-buttons .share-btn.qq {
    background: #12b7f5;
}

.contact-list .share-buttons .share-btn.weibo {
    background: #e6162d;
}

.contact-form-wrapper {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 32, 82, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 28px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-title {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-right: 16px;
}

.footer-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--white);
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--white);
}

.service-btn.qq { background: #12b7f5; }
.service-btn.wechat { background: #07c160; }
.service-btn.taobao { background: #ff5000; }

.service-btn:hover {
    opacity: 0.9;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 当没有友情链接时，隐藏 footer-bottom 的 border-top */
.footer > .container > .footer-bottom:only-child {
    border-top: none;
}

.copyright {
    font-size: 14px;
    margin-bottom: 8px;
}

.icp a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.icp a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== 页面头部 ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header-hidden {
    display: none !important;
}

.hidden {
    display: none !important;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.page-filter .filter-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-filter .filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.page-filter .filter-btn.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== 产品/新闻列表页 ========== */
.products-layout,
.news-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.products-sidebar,
.news-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 12px 0;
    color: var(--text-color);
    transition: var(--transition);
}

.category-list a:hover,
.category-list li.active a {
    color: var(--primary-color);
    padding-left: 8px;
}

.products-toolbar,
.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-box input {
    padding: 12px 16px;
    border: none;
    background: transparent;
    width: 200px;
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    padding: 12px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-light);
}

.results-info {
    color: var(--text-light);
    font-size: 14px;
}

.products-grid-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-item:hover {
    box-shadow: var(--shadow-lg);
}

.product-item .product-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    font-size: 40px;
    color: var(--white);
}

.product-item .product-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.product-item .product-info {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-item .product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-item .product-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.news-item .news-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
}

.news-item .news-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.news-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item .news-content {
    flex: 1;
}

.news-item .news-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.top-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--warning-color);
    color: #856404;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
}

.news-item .news-excerpt {
    margin-bottom: 12px;
}

/* ========== 详情页 ========== */
.product-detail-section,
.news-detail-section,
.solution-detail-section {
    padding: 60px 0;
}

.product-detail {
    position: relative;
    margin: 0 auto 40px;
}

.news-detail {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.product-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    z-index: 10;
}

.product-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.news-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    z-index: 10;
}

.news-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.product-detail {
    text-align: center;
}

.gallery-main {
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.product-icon-large {
    font-size: 120px;
}

.product-meta {
    margin-bottom: 16px;
}

.product-meta p {
    margin-bottom: 8px;
    color: var(--text-light);
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-description {
    padding: 20px;
    background: var(--secondary-color);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.product-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

/* 文档下载区域 */
.documents-section {
    margin-top: 30px;
    padding: 24px;
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    text-align: left;
}

.documents-section .section-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.documents-section .section-title i {
    color: var(--primary-color);
}

.doc-category {
    margin-bottom: 20px;
}

.doc-category:last-child {
    margin-bottom: 0;
}

.doc-category-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.doc-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.doc-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.doc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: var(--radius);
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2px;
}

.doc-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.doc-download {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.doc-item:hover .doc-download {
    color: var(--primary-color);
}

.product-content {
    margin-top: 40px;
}

.content-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.markdown-content {
    line-height: 1.8;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin-top: 24px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.markdown-content h2 {
    font-size: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.markdown-content p {
    margin-bottom: 16px;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.markdown-content li {
    margin-bottom: 8px;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    background: var(--white);
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    text-align: left;
}

.markdown-content table th {
    background: var(--secondary-color);
    font-weight: 600;
    color: var(--text-color);
}

.markdown-content table tr:nth-child(even) {
    background: var(--secondary-color);
}

.markdown-content table tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

/* ========== 详情页导航 ========== */
.news-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.news-pagination a {
    color: var(--text-color);
}

.news-pagination a:hover {
    color: var(--primary-color);
}

.prev-news,
.next-news {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prev-news span,
.next-news span {
    font-size: 13px;
    color: var(--text-muted);
}

.prev-news strong,
.next-news strong {
    font-size: 15px;
}

.prev-news.disabled,
.next-news.disabled {
    color: var(--text-muted);
    pointer-events: none;
}

/* ========== 方案详情 ========== */
.solution-detail {
    max-width: 900px;
    margin: 0 auto;
}

.solution-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    padding-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.solution-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.solution-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.solution-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.solution-icon-large img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.solution-header .solution-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.solution-header .solution-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--white);
}

.solution-header .solution-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.solution-features-list {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.solution-features-list h3 {
    margin-bottom: 20px;
}

.solution-features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.solution-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.solution-features-list li i {
    color: var(--success-color);
    font-size: 20px;
}

.solution-actions {
    text-align: center;
    margin-top: 40px;
}

.solution-content {
    margin-top: 40px;
}

/* ========== 产品详情 ========== */
.product-header {
    position: relative;
    margin-bottom: 40px;
    padding: 30px;
    padding-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.product-header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-image-wrap {
    flex-shrink: 0;
}

.product-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
}

.product-icon-large img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 12px 0;
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 15px;
    font-size: 13px;
}

.product-actions {
    text-align: center;
    margin-top: 30px;
}

/* 移动端响应式 */
@media (max-width: 640px) {
    .product-header {
        padding: 20px;
    }

    .product-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .product-icon-large {
        width: 80px;
        height: 80px;
    }

    .product-icon-large img {
        width: 50px;
        height: 50px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-meta {
        justify-content: center;
    }
}

/* ========== 新闻详情 ========== */
.news-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    padding-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.news-header .news-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
}

.news-header .news-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.news-header .news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.news-cover {
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.news-body {
    line-height: 1.8;
}

.news-excerpt {
    font-size: 18px;
    color: var(--text-light);
    padding: 20px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.news-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* ========== 关于我们 ========== */
.about-section {
    padding: 60px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-logo {
    text-align: center;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 64px;
    font-weight: 700;
    border-radius: var(--radius-lg);
}

.about-info h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about-slogan {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-description {
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-features .feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-features .feature-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.about-features h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.about-features p {
    font-size: 14px;
    color: var(--text-light);
}

.about-contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.contact-card h4 {
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    color: var(--text-light);
}

/* ========== 分页 ========== */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
    transition: var(--transition);
}

.pagination li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination li.disabled span {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* ========== 模态框 ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.modal-lg {
    max-width: 900px;
}

.modal-content {
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ========== 微信二维码弹窗 ========== */
#wechatModal .modal-content {
    text-align: center;
    padding: 20px;
    background: transparent;
    box-shadow: none;
}

#wechatModal h3 {
    display: none;
}

#wechatModal .modal-close {
    display: none;
}

#wechatModal img {
    max-width: 280px;
    max-height: 280px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid,
    .solutions-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features,
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-list.show {
        display: flex;
    }

    .header-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section {
        height: 400px;
    }

    .slide-title {
        font-size: 32px;
    }

    .features-grid,
    .products-grid,
    .solutions-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .products-grid-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-layout,
    .news-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar,
    .news-sidebar {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer {
        display: none;
    }

    .back-to-top {
        display: none;
    }

    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .solution-features-list ul {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 200px;
    }

    /* 产品列表：移动端水平布局 */
    .product-item {
        flex-direction: row;
        align-items: center;
        padding: 16px;
        gap: 16px;
    }

    .product-item .product-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .product-item .product-icon img {
        width: 40px;
        height: 40px;
    }

    .product-item .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .product-item .product-name {
        font-size: 16px;
        margin-bottom: 0;
    }

    .product-item .product-desc {
        margin-bottom: 0;
        line-height: 1.3;
    }

    /* 产品卡片 */
    .product-card {
        padding: 20px;
    }

    /* 产品详情页图片调整 */
    .gallery-main {
        padding: 24px;
    }

    .product-icon-large {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

    .product-icon-large img {
        width: 56px;
        height: 56px;
        object-fit: contain;
    }

    .product-title {
        font-size: 22px;
    }
}

/* ========== 分割线 ========== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px 0;
    padding: 0 40px;
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.divider-line:first-child {
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.divider-line:last-child {
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* ========== 卡片链接样式 ========== */
.product-card-link,
.solution-card-link,
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link .product-card,
.product-card-link .product-item,
.solution-card-link .solution-card,
.solution-card-link .solution-item,
.news-card-link .news-card,
.news-card-link .news-item {
    height: 100%;
    transition: all 0.3s ease;
}

.product-card-link:hover .product-card,
.product-card-link:hover .product-item,
.solution-card-link:hover .solution-card,
.solution-card-link:hover .solution-item,
.news-card-link:hover .news-card,
.news-card-link:hover .news-item {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.news-card-link .news-card {
    transition: all 0.3s ease;
}

.news-card-link:hover .news-card {
    border-color: var(--primary-color);
}

.related-news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-news-link:last-child {
    border-bottom: none;
}

.related-news-link:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.related-news-link .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 16px;
}

.related-news-link .date {
    color: var(--text-light);
    font-size: 14px;
    flex-shrink: 0;
}

/* ========== 移动端导航栏 ========== */
@media (max-width: 768px) {
    .header {
        transition: all 0.3s ease;
    }

    .header.mobile-open {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-list.show {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item a {
        padding: 16px 20px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-item a::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: var(--text-muted);
    }

    .nav-item.active a {
        color: var(--primary-color);
        background: rgba(0, 32, 82, 0.05);
    }

    .header-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .header-overlay.show {
        display: block;
    }
}

/* ========== 悬浮客服气泡 ========== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.contact-trigger {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 32, 82, 0.4);
    transition: all 0.3s ease;
}

.contact-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 32, 82, 0.5);
}

.contact-trigger svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.contact-dropdown {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    min-width: 200px;
    overflow: hidden;
}

.floating-contact.active .contact-dropdown {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-color);
}

.contact-item:hover {
    background: var(--secondary-color);
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item .text {
    display: flex;
    flex-direction: column;
}

.contact-item .label {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-item .value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-item.qq .icon {
    background: #12b7f5;
    color: var(--white);
}

/* ========== 新闻分享功能 ========== */
.news-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--secondary-color);
    border-radius: var(--radius);
}

.news-share span {
    font-size: 14px;
    color: var(--text-muted);
}

.news-share .share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.news-share .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.news-share .share-btn.weixin {
    background: #07c160;
}

.news-share .share-btn.qq {
    background: #12b7f5;
}

.news-share .share-btn.weibo {
    background: #e6162d;
}

.contact-item.wechat .icon {
    background: #07c160;
    color: var(--white);
}

.contact-item.taobao .icon {
    background: #ff5000;
    color: var(--white);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 90px;
        left: 20px;
    }

    .contact-trigger {
        width: 48px;
        height: 48px;
    }

    .contact-trigger svg {
        width: 24px;
        height: 24px;
    }

    .contact-dropdown {
        left: 0;
        right: auto;
        bottom: 60px;
        min-width: 170px;
    }
}

/* ========== 移动端底部导航栏 ========== */
.mobile-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 8px 0;
    safe-area-padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 768px) {
    .mobile-navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    /* 底部导航显示时隐藏左上角菜单按钮 */
    body:has(.mobile-navbar) .mobile-menu-btn {
        display: none !important;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 16px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 10px;
        transition: all 0.2s ease;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
    }

    .mobile-nav-item i {
        font-size: 20px;
    }

    .mobile-nav-item span {
        font-size: 10px;
    }

    .main {
        padding-bottom: 70px;
    }
}
