/* 全局样式 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --body-font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --heading-font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--body-font);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004494;
}

.btn {
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-heading {
    position: relative;
    margin-bottom: 3rem;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 导航栏 */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f1f8ff;
    color: var(--primary-color);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e7eaf0 100%);
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* 特性卡片 */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 86, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    color: var(--primary-color);
}

/* 时间线 */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background-color: #e9ecef;
}

.timeline-item.right:before {
    right: -20px;
}

.timeline-item.left:before {
    left: -20px;
}

.timeline-item:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item.right:after {
    right: -29px;
}

.timeline-item.left:after {
    left: -29px;
}

.timeline-content {
    position: relative;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* 客户案例轮播 */
.testimonial-item {
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-name {
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

/* 解决方案卡片 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    
    .timeline:before {
        left: 40px;
    }
    
    .timeline-item {
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    
    .timeline-item:before {
        left: -20px;
    }
    
    .timeline-item:after {
        left: -29px;
    }
    
    .timeline-item.right,
    .timeline-item.left {
        margin-left: 60px;
    }
    
    .timeline-item.right:before,
    .timeline-item.left:before {
        left: -20px;
        right: auto;
    }
    
    .timeline-item.right:after,
    .timeline-item.left:after {
        left: -29px;
        right: auto;
    }
}

/* 内页样式 */
.page-header {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    color: #fff;
    padding: 7rem 0 4rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
} 