/* 页面头部样式 */
.page-header {
    height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 80px;
    background: #fff;
    width: 100%;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5),
        rgba(0,102,204,0.4)
    );
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: #fff;
    text-align: center;
}

.header-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 解决方案导航 */
.solution-nav {
    position: sticky;
    top: 90px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 99;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.solution-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0;
}

.solution-nav .nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1.2rem 3rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.solution-nav .nav-item.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.solution-nav .nav-item:hover {
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-item:not(:last-child)::before {
        display: none;
    }
}

/* 行业特点样式 */
.industry-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* 方案优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

/* 核心功能样式 */
.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    color: var(--primary-color);
}

/* 常见痛点样式 */
.pain-points-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pain-point-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pain-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pain-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.solution-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.pain-content ul {
    list-style: none;
    padding-left: 1rem;
}

.pain-content ul li {
    position: relative;
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.pain-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

/* 方案架构样式 */
.architecture-diagram {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
}

.arch-layer {
    background: #fff;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.arch-layer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.layer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.layer-content span {
    background: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* 方案功能样式 */
.functions-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.function-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding-bottom: 1rem;
}

.function-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.function-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.function-content {
    padding: 1rem 1.2rem;
}

.function-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.function-content ul {
    list-style: none;
    padding-left: 0;
}

.function-content ul li {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* 其他部分的样式可以继续补充... */

/* 调整左侧悬浮工具栏 */
.float-toolbar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none; /* 初始隐藏 */
}

/* 当页面滚动时显示悬浮工具栏 */
.float-toolbar.show {
    display: block;
}

/* 优化页面整体布局 */
section {
    padding: 0 0 3rem 0; /* 移除顶部内边距，保留底部内边距 */
    background: #f8f9fa;
    scroll-margin-top: 150px; /* 适当调整这个值，确保标题完全可见 */
}

section:nth-child(even) {
    background: #fff;
}

/* 调整标题区域样式 */
.section-header {
    margin: 0 0 2rem 0; /* 移除顶部外边距 */
    padding: 2rem 0; /* 添加适当的内边距 */
    background: #fff; /* 可以给标题区域添加背景色 */
    border-bottom: 1px solid rgba(0,0,0,0.05); /* 可选：添加底部分隔线 */
}

.section-title {
    margin: 0; /* 移除标题的默认外边距 */
    color: var(--text-primary);
    font-size: 1.8rem;
}

.section-subtitle {
    margin: 0.5rem 0 0 0; /* 只保留顶部间距 */
    color: var(--text-secondary);
}

/* 优化section间距 */
.industry-section,
.pain-points-section,
.architecture-section,
.functions-section {
    padding: 0 0 3rem 0; /* 移除顶部内边距 */
}

/* 内容区域容器通用样式 */
.industry-features,
.pain-points-container,
.architecture-diagram,
.functions-grid {
    padding-top: 2rem; /* 为内容区域添加适当的顶部间距 */
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 添加渐变背景效果 */
.solution-header .overlay {
    background: linear-gradient(
        45deg,
        rgba(0,0,0,0.7),
        rgba(0,102,204,0.7)
    );
} 