/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a86b;
    --primary-dark: #008f5a;
    --primary-light: #e6f7f1;
    --secondary-color: #1a1a2e;
    --accent-color: #ffc107;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #00a86b 0%, #00c4a7 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

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

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

.btn-training {
    background: var(--gradient);
    color: var(--white);
    width: 100%;
    margin-top: 20px;
}

.btn-training:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

.btn-submit {
    background: var(--gradient);
    color: var(--white);
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

/* ==================== 导航栏 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00a86b 0%, #00c4a7 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 16px;
    height: 20px;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 35%, 55% 35%, 70% 100%, 0% 55%, 45% 55%);
}

.logo-icon-text {
    display: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== 首页横幅 ==================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(0,168,107,0.1)" stroke-width="0.5"/></svg>') repeat;
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #00a86b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 40px !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== 通用段落标题 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 智能化解决方案 ==================== */
.solutions {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.solution-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.solution-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.solution-card > p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.card-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
    gap: 5px;
}

/* 智能平台介绍 */
.platform-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: var(--shadow);
}

.platform-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.platform-content > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.platform-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.platform-feature:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.platform-feature .feature-icon {
    font-size: 24px;
}

/* Mock Dashboard */
.mock-dashboard {
    background: var(--gradient-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    font-weight: 500;
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
}

.dashboard-dots span:first-child { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-dots span:last-child { background: #28ca42; }

.dashboard-content {
    padding: 30px;
}

.mini-chart {
    height: 120px;
    background: linear-gradient(to top, rgba(0, 168, 107, 0.3), transparent);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.mini-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.mini-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-stat {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* ==================== 维修服务 ==================== */
.repair {
    padding: 100px 0;
    background: var(--white);
}

.repair-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.repair-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.repair-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.repair-item:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.repair-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.repair-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.repair-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 服务流程 */
.repair-process {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 40px 30px;
}

.repair-process h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 5px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 保障 */
.repair-guarantee {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    background: var(--primary-light);
    border-radius: 15px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--secondary-color);
}

.guarantee-icon {
    font-size: 24px;
}

/* ==================== 技术培训 ==================== */
.training {
    padding: 100px 0;
    background: var(--gradient-dark);
}

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

.training-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.training-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.training-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.training-duration {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.training-card > p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.training-outline {
    margin-bottom: 20px;
}

.training-outline li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 13px;
    position: relative;
    padding-left: 18px;
}

.training-outline li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.training-cert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary-light);
    border-radius: 10px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* 培训特色 */
.training-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.training-features .feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.training-features .feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.training-features h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.training-features p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ==================== 产品中心 ==================== */
.products {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.product-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 80px;
    opacity: 0.9;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.product-specs span {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-features span {
    font-size: 12px;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 5px 12px;
    border-radius: 15px;
}

/* ==================== 智能化急停按钮 ==================== */
.emergency-stop-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 25px;
    padding: 60px;
    overflow: hidden;
    position: relative;
}

.emergency-stop-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.emergency-stop-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.emergency-stop-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stop-button-visual {
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #ff4444, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 40px rgba(255, 68, 68, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.3),
        inset 0 5px 20px rgba(255, 255, 255, 0.2);
    position: relative;
    animation: emergencyPulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.stop-button-visual:hover {
    transform: scale(1.05);
}

.stop-button-visual::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.stop-button-visual::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px dashed rgba(255, 68, 68, 0.5);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes emergencyPulse {
    0%, 100% {
        box-shadow:
            0 10px 40px rgba(255, 68, 68, 0.4),
            inset 0 -5px 20px rgba(0, 0, 0, 0.3),
            inset 0 5px 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 10px 60px rgba(255, 68, 68, 0.6),
            inset 0 -5px 20px rgba(0, 0, 0, 0.3),
            inset 0 5px 20px rgba(255, 255, 255, 0.2);
    }
}

.stop-inner {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.emergency-stop-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.emergency-intro {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.emergency-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.emergency-feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.emergency-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.ef-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.ef-text h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ef-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.emergency-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.highlight-tag {
    padding: 8px 16px;
    background: rgba(255, 68, 68, 0.2);
    color: #ff6b6b;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.emergency-btn {
    display: inline-block;
}

/* 急停按钮响应式 */
@media (max-width: 992px) {
    .emergency-stop-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .emergency-stop-icon {
        order: -1;
        margin-bottom: 20px;
    }

    .stop-button-visual {
        width: 160px;
        height: 160px;
    }

    .stop-inner {
        font-size: 26px;
    }

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

    .emergency-stop-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .stop-button-visual {
        width: 140px;
        height: 140px;
    }

    .stop-inner {
        font-size: 22px;
    }

    .emergency-stop-info h3 {
        font-size: 24px;
    }

    .emergency-intro {
        font-size: 15px;
    }
}

/* ==================== 知识库预览 (首页) ==================== */
.knowledge-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.knowledge-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.knowledge-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.knowledge-empty .empty-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

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

.article-cover {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-cover.install { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.article-cover.repair { background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%); }
.article-cover.tech { background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%); }
.article-cover.news { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

.article-cover .cover-icon {
    font-size: 50px;
    opacity: 0.9;
}

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.article-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.article-summary {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.knowledge-more {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    padding: 14px 40px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-filter {
        gap: 10px;
    }

    .knowledge-filter .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* ==================== 在线工具 - 线径计算器 ==================== */
.tools {
    padding: 100px 0;
    background: var(--white);
}

.calculator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calculator-card {
    background: var(--bg-light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calculator-header {
    background: var(--gradient);
    padding: 30px 40px;
    text-align: center;
}

.calc-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.calculator-header h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.calculator-body {
    padding: 40px;
}

.calc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.calc-form-group {
    display: flex;
    flex-direction: column;
}

.calc-form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.calc-form-group input,
.calc-form-group select {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
}

.calc-form-group input:focus,
.calc-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.1);
}

.btn-calculate {
    width: 100%;
    padding: 16px 30px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.4);
}

/* 计算结果 */
.calc-result {
    margin-top: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    animation: slideUp 0.4s ease;
}

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

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.result-header span {
    font-size: 24px;
}

.result-header h4 {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

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

.result-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.result-item.main-result {
    background: var(--gradient);
}

.result-item.main-result .result-label,
.result-item.main-result .result-value,
.result-item.main-result .result-unit {
    color: var(--white);
}

.result-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.result-unit {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

.result-details {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.result-details h5 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.cable-spec .spec-main {
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.cable-spec .spec-note {
    font-size: 14px;
    color: var(--text-light);
}

.result-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-warning span {
    font-size: 20px;
}

.result-warning p {
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

.result-tips {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
}

.result-tips h5 {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.result-tips ul {
    list-style: none;
}

.result-tips li {
    font-size: 13px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.result-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 参考表格 */
.cable-reference {
    background: var(--gradient-dark);
    border-radius: 25px;
    padding: 40px;
}

.cable-reference h4 {
    color: var(--white);
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.reference-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.reference-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.reference-table th,
.reference-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-table th {
    background: rgba(0, 168, 107, 0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.reference-table td {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.reference-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.reference-table tbody tr:last-child td {
    border-bottom: none;
}

.table-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 20px;
}

/* 线径计算器响应式 */
@media (max-width: 992px) {
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calc-form-row {
        grid-template-columns: 1fr;
    }

    .calculator-body {
        padding: 25px;
    }

    .calculator-header {
        padding: 25px;
    }

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

    .cable-reference {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 28px;
    }

    .calculator-header h3 {
        font-size: 22px;
    }
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-intro {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border-radius: 15px;
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.about-placeholder {
    height: 400px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-visual {
    text-align: center;
    color: var(--white);
}

.company-visual span {
    font-size: 80px;
    display: block;
    margin-bottom: 20px;
}

.company-visual p {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

/* 资质认证 */
.certifications {
    text-align: center;
}

.certifications h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.cert-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cert-item {
    padding: 15px 30px;
    background: var(--bg-light);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ==================== 合作伙伴 ==================== */
.partners {
    padding: 60px 0;
    background: var(--bg-light);
}

.partners h3 {
    text-align: center;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.partners-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-item {
    padding: 20px 40px;
    background: var(--white);
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-item:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--primary-light);
}

.info-icon {
    font-size: 28px;
}

.info-item h4 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 15px;
}

.sub-info {
    font-size: 13px !important;
    color: var(--text-muted) !important;
}

/* 表单样式 */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.1);
}

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

/* ==================== 页脚 ==================== */
.footer {
    background: var(--gradient-dark);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section:first-child .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-section:first-child .logo-img {
    max-height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-section:first-child .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-section:first-child .logo-icon::before {
    width: 20px;
    height: 25px;
}

.footer-section:first-child .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-section:first-child > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section .contact-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:last-child {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .platform-intro {
        grid-template-columns: 1fr;
    }

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

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

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

    .about-image {
        order: -1;
    }

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

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

    /* 服务流程在移动端居中 */
    .repair-process {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* 通用间距调整 */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    /* Hero区域 */
    .hero {
        padding: 100px 15px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 30px !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .stat-item {
        padding: 15px 0;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* 解决方案网格 */
    .solutions-grid,
    .training-grid,
    .products-grid,
    .training-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card,
    .training-card {
        padding: 25px 20px;
    }

    .card-icon {
        font-size: 40px;
    }

    .solution-card h3,
    .training-card h3 {
        font-size: 20px;
    }

    /* 平台介绍 */
    .platform-intro {
        padding: 25px;
        gap: 30px;
    }

    .platform-content h3 {
        font-size: 24px;
    }

    .platform-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .platform-feature {
        padding: 12px;
    }

    /* 维修服务 */
    .repair-services {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .repair-item {
        padding: 20px;
    }

    .repair-icon {
        font-size: 30px;
    }

    .repair-info h4 {
        font-size: 16px;
    }

    .repair-process {
        padding: 30px 20px;
    }

    .repair-process h3 {
        font-size: 20px;
    }

    .repair-guarantee {
        flex-direction: column;
        gap: 15px;
        padding: 25px 20px;
        text-align: center;
    }

    .guarantee-item {
        justify-content: center;
    }

    /* 培训卡片 */
    .training-badge {
        padding: 4px 30px;
        font-size: 11px;
    }

    .training-duration {
        font-size: 13px;
    }

    .training-outline li {
        font-size: 12px;
    }

    .training-features .feature-item {
        padding: 20px;
    }

    .training-features .feature-icon {
        font-size: 36px;
    }

    .training-features h4 {
        font-size: 16px;
    }

    /* 知识库网格 */
    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-cover {
        height: 160px;
    }

    .article-body {
        padding: 20px;
    }

    .article-title {
        font-size: 16px;
    }

    /* 在线工具 */
    .calculator-header {
        padding: 25px 20px;
    }

    .calculator-header h3 {
        font-size: 22px;
    }

    .calculator-body {
        padding: 25px 20px;
    }

    .calc-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .result-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .result-value {
        font-size: 26px;
    }

    .cable-reference {
        padding: 25px 15px;
    }

    .cable-reference h4 {
        font-size: 20px;
    }

    /* 关于我们 */
    .about-text h2 {
        font-size: 28px;
    }

    .about-intro {
        font-size: 16px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .value-item {
        padding: 20px;
    }

    .about-placeholder {
        height: 280px;
    }

    .company-visual span {
        font-size: 60px;
    }

    .company-visual p {
        font-size: 24px;
    }

    /* 认证与合作伙伴 */
    .certifications h3,
    .partners h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .cert-list {
        gap: 12px;
    }

    .cert-item {
        padding: 12px 20px;
        font-size: 14px;
    }

    .partners-list {
        gap: 15px;
    }

    .partner-item {
        padding: 15px 25px;
        font-size: 14px;
    }

    /* 联系我们 */
    .contact-info {
        gap: 20px;
    }

    .info-item {
        padding: 20px;
    }

    .info-icon {
        font-size: 24px;
    }

    .info-item h4 {
        font-size: 15px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* 页脚 */
    .footer {
        padding: 50px 0 20px;
    }

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

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    .footer-section ul li a {
        font-size: 14px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* 返回顶部 */
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 50px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .section-header h2 {
        font-size: 24px;
    }

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

    .solution-card,
    .training-card,
    .product-card {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .platform-intro {
        padding: 20px 15px;
    }

    /* 计算结果 */
    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 28px;
    }

    /* 按钮 */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-calculate {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* 表格滚动 */
    .reference-table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }
}

/* ==================== 在线客服系统 ==================== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 客服悬浮按钮 */
.chat-button {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 168, 107, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 168, 107, 0.5);
}

.chat-icon {
    font-size: 28px;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 168, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 168, 107, 0.6);
    }
}

/* 聊天窗口 */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 聊天头部 */
.chat-header {
    background: var(--gradient);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-text h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* 聊天内容区 */
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

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

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* 聊天消息 */
.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

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

.chat-message.bot {
    flex-direction: row;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-message.bot .message-avatar {
    background: var(--primary-light);
}

.chat-message.user .message-avatar {
    background: var(--gradient);
}

.message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

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

.chat-message.user .message-content {
    background: var(--gradient);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.message-time {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.6;
}

/* 快捷问题 */
.quick-questions {
    margin-top: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-questions > p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-btn {
    padding: 8px 14px;
    background: var(--primary-light);
    color: var(--primary-color);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 留言表单 */
.chat-leave-message {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    overflow-y: auto;
}

.leave-message-header {
    text-align: center;
    margin-bottom: 20px;
}

.leave-message-header h5 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.leave-message-header p {
    font-size: 13px;
    color: var(--text-light);
}

.chat-leave-message .form-group {
    margin-bottom: 12px;
}

.chat-leave-message input,
.chat-leave-message textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.chat-leave-message input:focus,
.chat-leave-message textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-leave-message textarea {
    resize: none;
}

.btn-leave-message {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-leave-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
}

/* 聊天底部 */
.chat-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-send {
    padding: 12px 24px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    background: var(--bg-light);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

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

/* 客服响应式 */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 80px;
        right: 15px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
    }

    .chat-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 180px);
        right: -15px;
        bottom: 70px;
        border-radius: 15px;
    }

    .chat-header {
        padding: 15px;
    }

    .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .message-content {
        max-width: 85%;
    }
}