/* 首页广告部分 */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero .btn-group {
    display: flex;
    gap: 20px;
}

/* 核心服务部分 */
.core-services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

/* 核心服务标题样式 */
.core-services h2 {
    text-align: center;
    color: var(--white);
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.core-services h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--white);
}

.core-services .section-title p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* 核心服务卡片样式 */
.core-services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.core-services .service-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.core-services .service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.core-services .service-icon {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
}

.core-services .service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.core-services .service-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 20px;
}

.core-services .service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
}

/* 为什么选择我们 */
.advantages {
    padding: 80px 0;
    background: var(--light-gray);
}

.advantages h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
}

.advantages h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.3;
}

/* 优势卡片网格 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* 复用 style.css 中的优势卡片样式 */
.advantage-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(8, 66, 138, 0.08);
    border: 1px solid rgba(8, 66, 138, 0.05);
}

/* 添加数字装饰 */
.advantage-card:nth-child(1)::after {
    content: '01';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 120px;
    font-weight: bold;
    color: rgba(8, 66, 138, 0.03);
    line-height: 1;
}

.advantage-card:nth-child(2)::after {
    content: '02';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 120px;
    font-weight: bold;
    color: rgba(8, 66, 138, 0.03);
    line-height: 1;
}

.advantage-card:nth-child(3)::after {
    content: '03';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 120px;
    font-weight: bold;
    color: rgba(8, 66, 138, 0.03);
    line-height: 1;
}

/* 添加顶部渐变条 */
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: all 0.3s ease;
}

/* 标题样式 */
.advantage-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

/* 文字样式 */
.advantage-card p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* 悬停效果 */
.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(8, 66, 138, 0.12);
}

.advantage-card:hover::before {
    opacity: 1;
}

/* 成功案例展示 */
.latest-cases {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

.latest-cases h2 {
    text-align: center;
    margin-bottom: 50px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-image {
    height: 300px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

/* 新闻动态部分 */
.latest-news {
    padding: 80px 0;
    background: var(--light-gray);
}

/* 标题样式统一 */
.latest-news h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.latest-news h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.3;
}

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* 主要新闻卡片 */
.news-card.featured {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(8, 66, 138, 0.08);
    height: 100%;
    transition: all 0.4s ease;
}

.news-card.featured .news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-card.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card.featured:hover img {
    transform: scale(1.1);
}

.news-card.featured .news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.news-card.featured .news-content {
    padding: 30px;
}

/* 次要新闻部分 */
.news-secondary {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-secondary .news-card {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(8, 66, 138, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.news-secondary .news-date {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* 通用新闻样式 */
.news-card h3 {
    color: var(--dark-color);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* 悬停效果 */
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 66, 138, 0.12);
}

/* 查看更多按钮 */
.center {
    text-align: center;
    margin-top: 40px;
}

.btn.primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 66, 138, 0.2);
}

/* 响应式调整 */
@media screen and (max-width: 991px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured .news-image {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .news-secondary {
        gap: 20px;
    }
    
    .news-card.featured .news-image {
        height: 200px;
    }
}

/* 客户群体部分 */
.client-types {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

.client-types h2 {
    text-align: center;
    color: var(--white);
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.client-types h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--white);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* 全新设计的客户卡片 */
.client-card {
    position: relative;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* 背景装饰 */
.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s ease-out;
}

.client-card:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 图标样式 */
.client-icon {
    position: relative;
    font-size: 40px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.client-icon span {
    display: block;
    transform: rotate(-45deg);
}

.client-card:hover .client-icon {
    transform: rotate(0deg);
    background: rgba(255, 255, 255, 0.2);
}

/* 标题样式 */
.client-card h3 {
    position: relative;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* 描述文字样式 */
.client-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* 悬停效果 */
.client-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 响应式调整 */
@media screen and (max-width: 991px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
} 