/* ========================================
   联诺融科 - 首页专用样式
   ======================================== */

/* Hero Banner */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.9) 0%, rgba(27, 67, 50, 0.8) 100%),
                url('../images/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(82, 183, 136, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    color: var(--cream-white);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--pale-green);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero .btn-primary {
    background: var(--light-green);
    border-color: var(--light-green);
}

.hero .btn-primary:hover {
    background: transparent;
    color: var(--light-green);
}

.hero .btn-outline-light {
    background: transparent;
    border-color: var(--cream-white);
    color: var(--cream-white);
}

.hero .btn-outline-light:hover {
    background: var(--cream-white);
    color: var(--primary-green);
}

/* 核心优势板块 */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--pale-green) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-cream);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--light-green);
    box-shadow: 0 20px 50px rgba(45, 106, 79, 0.25);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.7;
}

/* 快速入口 */
.quick-access {
    padding: 100px 0;
    background: var(--bg-cream);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.access-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.access-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.access-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(45, 106, 79, 0.95));
    color: var(--cream-white);
}

.access-card:hover img {
    transform: scale(1.1);
}

.access-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.access-overlay p {
    opacity: 0.9;
    font-size: 15px;
}

/* 资讯列表区块 */
.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #f0f7f4 100%);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background: var(--bg-cream);
    border: 2px solid var(--pale-green);
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
}

.news-tab.active,
.news-tab:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--cream-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(45, 106, 79, 0.2);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-date {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--light-green);
    font-weight: 600;
    font-size: 14px;
}

.news-card-link:hover {
    color: var(--primary-green);
}

/* CTA 区块 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1b4332 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    color: var(--cream-white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--pale-green);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-light {
    background: var(--cream-white);
    color: var(--primary-green);
}

.cta .btn-light:hover {
    background: var(--pale-green);
}

.cta .btn-border {
    background: transparent;
    border-color: var(--cream-white);
    color: var(--cream-white);
}

.cta .btn-border:hover {
    background: var(--cream-white);
    color: var(--primary-green);
}

/* 响应式 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .access-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
