/* 全局样式 */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #f5f7fa;
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 间距类 */
.py-8 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py-12 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.py-16 {
    padding-top: 160px;
    padding-bottom: 160px;
}

.py-20 {
    padding-top: 200px;
    padding-bottom: 200px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-8 {
    margin-bottom: 80px;
}

.mb-12 {
    margin-bottom: 120px;
}

/* 导航栏样式 */
.navbar {
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin-left: 20px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* 首屏Banner样式 */
.banner {
    height: 100vh;
    background: linear-gradient(135deg, #1e88e5, #1a202c);
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sub-title {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.banner-buttons .btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.banner-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.banner-buttons .btn-primary:hover {
    background-color: #1976d2;
    border-color: #1976d2;
    transform: translateY(-2px);
}

.banner-buttons .btn-outline-primary {
    color: var(--white);
    border-color: var(--white);
}

.banner-buttons .btn-outline-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 通用部分样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 核心能力速览样式 */
.capability-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.capability-card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.card-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.capability-card:hover .card-icon i {
    color: var(--white);
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.capability-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 标杆案例展示样式 */
.case-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.case-features {
    margin-bottom: 40px;
}

.case-features li {
    list-style: none;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.case-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 企业优势样式 */
.advantage-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.advantage-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon i {
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.advantage-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 快速联系入口样式 */
.contact-item {
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.contact-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #1a202c;
    color: var(--white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-nav li,
.footer-services li,
.footer-contact li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-nav a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* 页面标题样式 */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 服务卡片样式 */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.service-card-body {
    padding: 30px;
}

/* 案例卡片样式 */
.case-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-card-image {
    height: 200px;
    overflow: hidden;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-card-image img {
    transform: scale(1.05);
}

.case-card-content {
    padding: 20px;
}

.case-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-card-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.case-detail-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.case-detail-link:hover {
    text-decoration: underline;
}

/* 新闻卡片样式 */
.news-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-card-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-read-more:hover {
    text-decoration: underline;
}

/* 技术栈标签样式 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 案例标签样式 */
.case-tag {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

/* 服务流程样式 */
.service-process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.process-step {
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.process-arrow {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* 统计数字样式 */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-name {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 订阅表单样式 */
.subscribe-form .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form .form-control {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 4px 0 0 4px;
}

.subscribe-form .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

/* 合作洽谈按钮样式 */
.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

/* 团队卡片样式 */
.team-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-description {
    color: var(--light-text);
    line-height: 1.6;
}

/* 产品卡片样式 */
.product-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-card-body {
    padding: 30px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.product-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 服务步骤样式 */
.service-steps {
    padding-left: 0;
}

.service-steps li {
    list-style: none;
    margin-bottom: 10px;
}

/* 地图容器样式 */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 咨询表单样式 */
.consult-form .form-control {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 4px;
    margin-bottom: 15px;
}

.consult-form .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

/* 分页样式 */
.pagination .page-link {
    color: var(--text-color);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 0 5px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1976d2;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .case-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .sub-title {
        font-size: 1rem;
    }
    
    .banner-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .banner-buttons .btn-lg {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .py-16 {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .py-12 {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .py-20 {
        padding-top: 150px;
        padding-bottom: 150px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .service-process {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .service-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .capability-card,
    .advantage-card {
        padding: 30px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}