/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 新配色方案 - 浅灰色、淡紫色、淡蓝色、白色 */
    --primary-blue: #7ec8e3; /* 淡蓝色 */
    --dark-blue: #5bb3d1;
    --deep-blue: #003380; /* 深蓝色 - 与logo一致 */
    --light-blue: #e6f3f8;
    --accent-blue: #9dd5eb;
    --light-purple: #f0e6f8; /* 淡紫色 */
    --light-purple-dark: #e0d0ed;
    --light-gray: #f8f8f8; /* 浅灰色 */
    --light-gray-dark: #f0f0f0;
    --white: #ffffff; /* 白色 */

    /* 保留原有变量以兼容 */
    --accent-blue-original: #80c1ff;
    --gray-100: #f5f7fa;
    --gray-200: #e4e7ed;
    --gray-300: #dcdfe6;
    --gray-400: #909399;
    --gray-500: #606266;
    --gray-600: #303133;
    --text-color: #303133;
    --border-radius: 8px;
    --shadow: 0 2px 12px rgba(126, 200, 227, 0.15);
    --shadow-hover: 0 4px 20px rgba(126, 200, 227, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 50%, var(--light-purple) 100%);
    position: relative;
    overflow-x: hidden;
}

/* 科技感背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, position 0.3s ease;
}

/* 向下滚动时隐藏导航栏 */
.navbar.scroll-down {
    transform: translateY(-100%);
}

/* 向上滚动时固定导航栏在顶部 */
.navbar.scroll-up {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    color: var(--deep-blue);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: var(--gray-500);
    font-size: 8px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--tech-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--tech-cyan);
    padding-left: 25px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* 下拉菜单箭头 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: rgba(10, 14, 39, 0.98);
    border-left: 1px solid rgba(6, 182, 212, 0.3);
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    transform: rotate(45deg);
}

/* 移动端下拉菜单 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(6, 182, 212, 0.05);
        border: none;
        box-shadow: none;
        margin-top: 10px;
        padding: 0;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    }

    .dropdown-menu a:hover {
        background: rgba(6, 182, 212, 0.1);
        padding-left: 20px;
    }

    .page-header {
        padding: 15px 0;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .page-header p {
        font-size: 14px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.3s;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--deep-blue);
}

/* 行业故事板块 */
.industry-stories {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--deep-blue);
    margin-bottom: 50px;
    font-weight: 700;
}

/* 企业案例板块 */
.enterprise-cases {
    padding: 30px 0;
    background: #ffffff;
}

.enterprise-cases .section-title {
    margin-bottom: 20px;
}

.cases-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.cases-track {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    align-items: flex-start;
}

.case-item {
    flex: 1;
    transition: flex 0.3s ease;
}

.case-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.case-link:hover {
    transform: translateY(-8px);
}

.case-image {
    width: 100%;
    height: 420px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 企业案例背景色 - 浅灰色 */
.case-item-odd .case-image,
.case-item-odd.case-item-full .case-image,
.case-item-even .case-image,
.case-item-even.case-item-full .case-image {
    background: #f5f5f5;
}

.case-item:hover {
    flex: 1.5;
}

.case-link:hover .case-image {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* 企业Logo区域 */
.case-logo {
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.case-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.case-link:hover .case-logo img {
    transform: scale(1.1);
}

/* 内容区域 */
.case-content {
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.case-content h3 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.case-content p {
    color: #000000;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.95;
}

/* 案例图片区域 */
.case-display-image {
    flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.case-display-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-link:hover .case-display-image img {
    transform: scale(1.05);
}

/* 视频容器样式 */
.case-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.case-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-link:hover .case-video {
    transform: scale(1.05);
}

/* 视频播放按钮 */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 93, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-button:hover {
    background: rgba(26, 54, 93, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    width: 30px;
    height: 30px;
}

/* 全屏视频播放器样式 */
.video-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-overlay.active {
    opacity: 1;
}

.video-player-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.video-player-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-player-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-player-close svg {
    width: 24px;
    height: 24px;
}

.video-player-title {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-player-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cases-track {
        flex-wrap: wrap;
    }

    .case-item {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .cases-track {
        flex-direction: column;
    }

    .case-item {
        width: 100%;
        min-width: auto;
    }
}

/* 查看更多按钮 */
.cases-more-button {
    text-align: center;
    margin-top: 5px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background: var(--deep-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    min-width: 120px;
    min-height: 50px;
    overflow: hidden;
}

.btn-more-arrow {
    font-size: 20px;
    font-weight: 100;
    color: var(--white);
    line-height: 1.25;
    display: block;
    transform: scaleX(3) scaleY(5);
    letter-spacing: -5px;
    margin-top: -24px;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* 主要能力板块 */
.capabilities {
    padding: 30px 0;
    background: var(--white);
}

.capabilities .section-title {
    margin-bottom: 25px;
    text-align: center;
}

/* 页签容器 */
.capabilities-tabs {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 页签头部 */
.tabs-header {
    display: flex;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
}

/* 页签按钮 */
.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn:hover {
    color: var(--deep-blue);
    background: var(--light-blue);
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--deep-blue);
}

/* 页签内容 */
.tabs-content {
    padding: 20px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

/* 能力内容区域 */
.capability-content {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* 左侧文字区域 */
.capability-text {
    flex: 1;
}

.capability-text h3 {
    color: var(--deep-blue);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.capability-text > p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 功能特性列表 */
.capability-features {
    list-style: none;
    padding: 0;
}

.capability-features li {
    padding: 12px 0;
    color: var(--gray-500);
    font-size: 13px;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.capability-features li:last-child {
    border-bottom: none;
}

.capability-features li:before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--deep-blue);
    font-size: 10px;
}

/* 右侧图片区域 */
.capability-image {
    flex: 0 0 45%;
    height: 400px;
    background: #f5f5f5;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.capability-image:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .capability-content {
        flex-direction: column;
    }

    .capability-image {
        flex: 0 0 300px;
        width: 100%;
    }

    .tab-btn {
        padding: 15px 20px;
        font-size: 16px;
    }

    .capability-text h3 {
        font-size: 24px;
    }
}

/* 客户Logo板块 */
.clients {
    padding: 30px 0;
    background: var(--white);
}

.clients .section-title {
    margin-bottom: 25px;
    font-size: 24px;
}

.clients-carousel {
    overflow: visible;
    position: relative;
}

.clients-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 5px 0;
}

.client-logo {
    width: 180px;
    height: 100px;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    margin: 0 auto;
}

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

.client-logo-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo:hover .client-logo-img {
    transform: scale(1.1);
}

.logo-placeholder {
    color: var(--deep-blue);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    line-height: 1.4;
}

/* 页面头部 */
.page-header {
    background: var(--deep-blue);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 5px 0 0;
}

/* 产品页面 */
.products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f5f5f5;
    border: 1px solid var(--light-blue);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.product-image {
    background: #f5f5f5;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-icon {
    font-size: 64px;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    color: var(--deep-blue);
    font-size: 20px;
    margin-bottom: 15px;
}

.product-content > p {
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 8px 0;
    color: var(--gray-500);
    position: relative;
    padding-left: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--deep-blue);
    font-weight: bold;
}

/* 解决方案页面 */
.solutions {
    padding: 80px 0;
}

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

.solution-item {
    display: flex;
    gap: 50px;
    align-items: center;
    background: #f5f5f5;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.solution-item:nth-child(even) {
    flex-direction: row-reverse;
}

.solution-content {
    flex: 1;
}

.solution-content h3 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 15px;
}

.solution-content > p {
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.solution-features {
    list-style: none;
    margin-bottom: 25px;
}

.solution-features li {
    padding: 8px 0;
    color: var(--gray-500);
    position: relative;
    padding-left: 25px;
}

.solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--deep-blue);
    font-weight: bold;
}

.solution-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-icon {
    font-size: 120px;
}

/* 服务流程 */
.process {
    padding: 80px 0;
    background: var(--gray-100);
}

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

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray-500);
    font-size: 12px;
}

/* 服务支持页面 */
.support-services {
    padding: 30px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.service-card h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 15px;
}

.contact-info {
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 16px;
}

/* 常见问题 */
.faq {
    padding: 30px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.faq-item h3 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* 在线工单板块 */
.online-ticket {
    padding: 30px 0;
    background: var(--white);
}

.ticket-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.ticket-intro {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.ticket-intro p {
    font-size: 16px;
    color: var(--gray-500);
}

.ticket-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-blue);
}

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

.ticket-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.ticket-form .form-group input,
.ticket-form .form-group select,
.ticket-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 12px;
    transition: border-color 0.3s ease;
}

.ticket-form .form-group input:focus,
.ticket-form .form-group select:focus,
.ticket-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.ticket-form .upload-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 5px;
}

.ticket-status {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-blue);
}

.ticket-status h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-blue);
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ticket-item {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

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

.ticket-info h4 {
    color: var(--deep-blue);
    font-size: 14px;
    margin-bottom: 8px;
}

.ticket-desc {
    color: var(--gray-500);
    font-size: 12px;
    margin-bottom: 10px;
}

.ticket-id {
    display: block;
    color: var(--gray-400);
    font-size: 12px;
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.ticket-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-processing {
    background: var(--light-blue);
    color: var(--deep-blue);
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-resolved {
    background: #d4edda;
    color: #155724;
}

.ticket-date {
    color: var(--gray-400);
    font-size: 12px;
}

/* 资源下载中心 */
.resource-download {
    padding: 80px 0;
    background: var(--gray-100);
}

.resource-categories {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 25px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--light-blue);
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.category-btn.active {
    background: var(--deep-blue);
    color: var(--white);
    border-color: var(--deep-blue);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.resource-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-blue);
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.resource-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.resource-item h3 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.resource-desc {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.resource-size,
.resource-date {
    font-size: 12px;
    color: var(--gray-400);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* 关于我们页面 */
.company-intro {
    padding: 30px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 30px;
}

.intro-content p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-vision {
    padding: 30px 0;
    background: var(--gray-100);
}

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

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.mv-card h3 {
    color: var(--deep-blue);
    font-size: 20px;
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* 时间线 */
.timeline {
    padding: 30px 0;
}

.timeline-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-list:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--deep-blue);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* 团队 */
.team {
    padding: 30px 0;
    background: var(--gray-100);
}

/* 最新资讯板块 */
.news {
    padding: 80px 0;
    background: var(--white);
}

.news-container {
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.news-track {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: scrollNews 30s linear infinite;
}

.news-track:hover {
    animation-play-state: paused;
}

@keyframes scrollNews {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.news-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.news-date {
    flex: 0 0 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-content > p {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: var(--deep-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--dark-blue);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.team-avatar {
    font-size: 64px;
    margin-bottom: 15px;
}

.team-card h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.team-title {
    color: var(--accent-blue);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-card p:last-child {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 30px 0;
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--deep-blue);
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

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

.contact-info li {
    padding: 10px 0;
    color: var(--gray-500);
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 12px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

/* CTA区域 */
.cta {
    background: var(--white);
    color: var(--text-color);
    padding: 30px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--deep-blue);
}

.cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 页脚 */
footer {
    background: #E6EEFF;
    color: var(--gray-600);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section p {
    color: var(--gray-500);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--deep-blue);
}

/* 二维码样式 */
.qr-codes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.qr-code-item {
    text-align: center;
    cursor: pointer;
    position: relative;
}

.qr-code-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--light-blue);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.qr-code-item p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: var(--text-dark);
}

.qr-code-placeholder {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 2px solid var(--light-blue);
}

/* 二维码弹窗样式 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.qr-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
}

.qr-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    color: #333;
    transition: transform 0.2s ease;
}

.qr-modal-close:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.qr-code-placeholder span {
    color: var(--deep-blue);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-500);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo {
        gap: 10px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 9px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .ticket-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .resource-categories {
        gap: 10px;
    }

    .category-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .client-logo {
        width: 140px;
        height: 80px;
    }

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

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

    .solution-item:nth-child(even) {
        flex-direction: column;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .timeline-list:before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-year {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 20px;
    }

    .timeline-content {
        width: 100%;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

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

    .news-date {
        flex: 0 0 auto;
        width: 100%;
    }

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

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

    .qr-codes {
        justify-content: center;
    }

    .qr-code-placeholder {
        width: 100px;
        height: 100px;
    }

    .qr-code-placeholder span {
        font-size: 12px;
    }

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

    .page-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .client-logo {
        width: 120px;
        height: 70px;
    }

    .logo-placeholder {
        font-size: 14px;
        padding: 10px;
    }

    .news-container {
        max-height: 500px;
    }

    .news-content h3 {
        font-size: 16px;
    }

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

/* 企业案例全量展示页面 */
.page-header {
    padding: 20px 0;
    background: var(--deep-blue);
    text-align: center;
    margin-top: 60px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--white);
    opacity: 0.9;
}

.enterprise-cases-full {
    padding: 80px 0;
    background: var(--white);
}

.cases-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-item-full {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cases-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cases-grid-full {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }
}

/* 案例详情页样式 */
.case-detail {
    padding: 80px 0;
}

.case-header {
    text-align: center;
    margin-bottom: 60px;
}

.case-client-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.case-header h2 {
    color: var(--deep-blue);
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.case-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-section {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.case-section h3 {
    color: var(--deep-blue);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.case-section p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 15px;
}

.case-section ul {
    list-style: none;
    padding-left: 0;
}

.case-section ul li {
    color: var(--gray-500);
    line-height: 1.8;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.case-section ul li:before {
    content: "✓";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.case-quote {
    color: var(--primary-blue);
    font-style: italic;
    font-weight: 600;
    margin-top: 10px;
}

.case-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-blue);
}

.case-footer .btn {
    margin: 0 10px;
}

/* 浮动在线客服组件 */
.floating-chat-widget {
    position: fixed;
    right: 30px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 客服按钮 */
.chat-button {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(26, 54, 93, 0.5);
    }
}

.chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(26, 54, 93, 0.4);
}

.chat-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-icon svg {
    width: 24px;
    height: 24px;
}

.chat-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* 未读消息指示器 */
.unread-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    animation: bounce 1s infinite;
}

.unread-badge {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.5);
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* 对话框 */
.chat-dialog {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--light-blue);
}

.chat-dialog.active {
    opacity: 1;
    visibility: visible;
}

/* 对话框头部 */
.chat-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.chat-status {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.chat-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-close svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* 消息区域 */
.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: var(--gray-100);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

/* 消息气泡 */
.chat-message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.system {
    justify-content: flex-start;
}

.chat-message > div:not(.chat-icon) {
    flex: 0 0 auto;
    max-width: 75%;
    min-width: 0;
}

.chat-message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
}

.chat-message.system .chat-message-content {
    background: var(--white);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-message.user .chat-message-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-message-time {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 5px;
}

.chat-message.user .chat-message-time {
    text-align: right;
}

/* 消息内容包装器 */
.chat-message-content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    min-width: 100px;
}

/* 消息发送者 */
.chat-message-sender {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
    font-weight: 500;
}

.chat-message.user .chat-message-sender {
    text-align: right;
}

.chat-message.system .chat-message-sender {
    text-align: left;
}

/* 正在输入提示 */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 20px !important;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* 输入区域 */
.chat-input-area {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 25px;
    font-size: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.chat-input-wrapper input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.1);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-chat-widget {
        right: 15px;
        top: 50%;
    }

    .chat-button {
        padding: 12px 20px;
    }

    .chat-text {
        display: none;
    }

    .chat-dialog {
        right: 0;
        width: 320px;
        transform: translateY(-50%) translateX(100%);
    }

    .chat-dialog.active {
        transform: translateY(-50%) translateX(0);
    }

    .chat-messages {
        height: 300px;
    }

    .floating-wechat-widget {
        right: 15px;
        top: calc(50% + 70px);
    }
}

@media (max-width: 480px) {
    .chat-dialog {
        width: 280px;
    }

    .chat-message-content {
        font-size: 13px;
    }
}

/* ==================== 浮动视频号二维码样式 ==================== */

.floating-wechat-widget {
    position: fixed;
    top: calc(55% + 80px);
    right: 30px;
    transform: translateY(-50%);
    z-index: 999;
}

.wechat-button {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
    transition: all 0.3s ease;
}

.wechat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(26, 54, 93, 0.4);
}

.wechat-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-icon svg {
    width: 24px;
    height: 24px;
}

.wechat-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* 二维码弹窗 */
.wechat-popup {
    position: absolute;
    bottom: -420px;
    right: 130px;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.wechat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wechat-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wechat-popup-header h4 {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.wechat-close {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.wechat-close:hover {
    color: var(--text-color);
}

.wechat-close svg {
    width: 16px;
    height: 16px;
}

.wechat-qr-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.wechat-qr-container img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.wechat-description {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* 二维码列表 */
.wechat-qr-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.wechat-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wechat-qr-item:hover {
    background: var(--gray-100);
}

.wechat-qr-item-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.wechat-qr-item-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: contain;
    margin-bottom: 10px;
}

.wechat-qr-item-desc {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-wechat-widget {
        right: 15px;
        top: calc(50% + 70px);
    }

    .wechat-button {
        padding: 10px 16px;
    }

    .wechat-text {
        display: none;
    }

    .wechat-popup {
        right: 0;
        width: 260px;
    }

    .wechat-qr-container img {
        width: 180px;
        height: 180px;
    }
}
