/* ========================================
   首页专用样式
   ======================================== */

/* Hero Banner - 曲线分割设计 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #f5f5f5;
    clip-path: ellipse(70% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    color: #ff3b3b;
}

.hero-subtitle {
    font-size: 24px;
    color: #ccc;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 品牌定位板块 - 波浪曲线布局 */
.brand-section {
    position: relative;
    padding: 120px 0;
    background: #f5f5f5;
}

.brand-curve-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0a0a0a;
    clip-path: ellipse(70% 100% at 50% 0%);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.brand-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(255, 59, 59, 0.2);
}

.brand-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ff3b3b 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.brand-card h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.brand-card p {
    color: #666;
    line-height: 1.8;
}

/* 服务体系 - 交错曲线布局 */
.service-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
}

.service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 59, 59, 0.15);
}

.service-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.service-feature::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: #ff3b3b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 成功案例 - 曲线卡片网格 */
.case-section {
    position: relative;
    padding: 120px 0;
    background: #0a0a0a;
}

.case-section .section-title h2 {
    color: #fff;
}

.case-section .section-title p {
    color: #999;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    group: case;
}

.case-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.15);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 25px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

.case-category {
    font-size: 14px;
    color: #ff3b3b;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.case-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

/* 资讯列表板块 */
.news-section {
    position: relative;
    padding: 120px 0;
    background: #f5f5f5;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.news-tab {
    padding: 12px 30px;
    background: #fff;
    border-radius: 50px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-tab.active,
.news-tab:hover {
    background: #ff3b3b;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 59, 59, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 14px;
    color: #ff3b3b;
    margin-bottom: 15px;
    display: block;
}

.news-title {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #ff3b3b;
}

.news-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    color: #ff3b3b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(5px);
}

/* CTA 板块 */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #ff3b3b 0%, #ff6b6b 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-btn {
    background: #fff;
    color: #ff3b3b;
    padding: 18px 50px;
    font-size: 18px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image img {
        height: 250px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }

    .cta-title {
        font-size: 32px;
    }
}
