/* 全局样式 */
:root {
    --primary-color: #4269f5;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-bg: #ffffff;
    --footer-bg: #343a40;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 导航样式 */
.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.quick-nav {
    font-size: 0.9rem;
}

/* Banner区域样式 */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, #4269f5 0%, #2541b9 100%);
    padding: 80px 0;
    overflow: hidden;
    isolation: isolate;
}

.banner-features {
    border-radius: 8px;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

/* 服务统计样式 */
.stats-section {
    padding: 60px 0;
}

.stat-item {
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* 卡片样式 */
.card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(66, 105, 245, 0.1);
    margin-bottom: 20px;
}

.feature-icon i {
    color: var(--primary-color);
}

/* 流程时间线样式 */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: #e9ecef;
}

.process-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.process-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.process-content {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* 表格样式 */
.table {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

.table th, .table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* 产品卡片样式 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-icon {
    margin-bottom: 20px;
}

.icon-bg {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 100px;
    height: 100px;
    text-align: right;
}

.ribbon span {
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 25px;
    transform: rotate(45deg);
    width: 120px;
    display: block;
    background: var(--primary-color);
    position: absolute;
    top: 25px;
    right: -29px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid var(--primary-color);
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
}

/* 工具卡片样式 */
.tool-card {
    padding: 10px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 案例卡片样式 */
.case-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: rgba(66, 105, 245, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 联系方式样式 */
.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 功能按钮样式 */
.function-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.function-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.function-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.like-count {
    font-size: 0.7rem;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2541b9;
    color: white;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .banner-section {
        padding: 60px 0;
    }
    
    .function-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .process-item {
        padding-left: 50px;
    }
    
    .process-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .banner-section {
        padding: 40px 0;
    }
    
    .counter {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* 修改Banner区域按钮样式，确保按钮可点击 */
.banner-section .btn {
    position: relative;
    z-index: 10;
}

/* 确保按钮容器在正确的位置 */
.banner-section .d-flex {
    position: relative;
    z-index: 5;
} 