/* ========================================
   首页专用样式 - 十字分割非对称布局
   ======================================== */

/* Hero Banner - 全屏冰雪风格 */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, var(--ice-white) 0%, #e8f4fc 50%, var(--sky-blue) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 163, 223, 0.1), transparent);
    transform: rotate(30deg);
    animation: iceShine 8s infinite;
}

@keyframes iceShine {
    0%, 100% { transform: rotate(30deg) translateY(0); }
    50% { transform: rotate(30deg) translateY(-30px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    width: 100%;
    height: 100%;
    padding: 100px 50px 50px;
}

.hero-quadrant {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.hero-quadrant:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(13, 37, 56, 0.15);
}

.hero-q1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,251,255,0.8));
}

.hero-q2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--deep-blue), var(--navy-blue));
    color: white;
}

.hero-q2 h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-q2 p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-q3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    background: var(--sky-blue);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--deep-blue);
    transform: translateX(5px);
}

/* 核心服务板块 - 十字交叉布局 */
.services-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 25px;
    background: rgba(74, 163, 223, 0.1);
    color: var(--sky-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

.services-cross {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--ice-white);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sky-blue), var(--deep-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 37, 56, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--sky-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 45px;
    height: 45px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-card.large {
    grid-column: span 2;
}

/* 优势板块 - 非对称布局 */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--ice-white) 0%, #eef6fb 100%);
}

.advantages-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantages-content h2 {
    font-size: 40px;
    color: var(--deep-blue);
    margin-bottom: 25px;
}

.advantages-list {
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.advantage-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--sky-blue), var(--deep-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.advantage-text h4 {
    font-size: 18px;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.advantage-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.advantages-image {
    position: relative;
}

.advantages-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(13, 37, 56, 0.15);
}

/* 资讯列表板块 */
.news-section {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--ice-white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(13, 37, 56, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--sky-blue);
    margin-bottom: 10px;
}

.news-title {
    font-size: 16px;
    color: var(--deep-blue);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式 */
@media (max-width: 1200px) {
    .services-cross {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.large {
        grid-column: span 1;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 80px 20px 30px;
    }
    
    .hero-q2 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
    .hero-q1,
    .hero-q3 {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    
    .hero-q2 h1 {
        font-size: 32px;
    }
    
    .services-cross {
        grid-template-columns: 1fr;
    }
    
    .advantages-split {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
}
