/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.quick-nav {
    font-size: 0.9rem;
}

.quick-nav a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.quick-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 5rem 0;
}

.banner h1 {
    font-weight: 700;
}

.detection-btn, .reduction-btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.detection-btn:hover, .reduction-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 服务卡片样式 */
.service-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* 图标方块样式 */
.icon-square {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-square i {
    font-size: 1.5rem;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 比较表格样式 */
.comparison-table th, .comparison-table td {
    vertical-align: middle;
    padding: 1rem;
}

/* 技术架构图样式 */
.tech-image {
    background-color: #f8f9fa;
    border-radius: 1rem;
}

.tech-node {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.tech-node-large {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

.tech-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* 评分徽章样式 */
.score-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* 常见问题样式 */
.accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s;
    color: #fff;
    text-decoration: none;
}

.back-to-top:hover {
    background: #0a58ca;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top i {
    font-size: 24px;
    line-height: 0;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .banner {
        padding: 3rem 0;
    }
    
    .stats {
        flex-wrap: wrap;
    }
    
    .stats > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    .banner {
        padding: 2rem 0;
    }
    
    .detection-btn, .reduction-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* 动画效果 */
.service-card, .icon-square, .tech-image, .accordion-item {
    transition: all 0.3s ease;
}

/* 段落增强 */
p {
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* 标题样式 */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 评级星星 */
.rating i {
    font-size: 1rem;
} 