/* 
 * CoreUI.cn - 首页特定样式
 */

/* Hero Banner */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 50%, #FDF5D6 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-dark-gray);
}

.hero-text .highlight {
    color: var(--color-accent);
    position: relative;
}

.hero-text p {
    font-size: 18px;
    color: var(--color-medium-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-medium-gray);
}

/* 核心优势板块 */
.features {
    background: var(--color-white);
    position: relative;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--color-light-yellow);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.feature-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark-gray);
}

.feature-desc {
    font-size: 15px;
    color: var(--color-medium-gray);
    line-height: 1.7;
}

/* 快速入口 */
.quick-access {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, #3a3a3a 100%);
    color: var(--color-white);
    padding: 80px 0;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.access-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.access-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.access-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

/* 资讯列表区块 */
.news-section {
    background: var(--color-light-yellow);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--color-white);
    color: var(--color-dark-gray);
    border: 2px solid transparent;
}

.news-tab:hover,
.news-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CTA 区块 */
.cta-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #FDF5D6 100%);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-dark-gray);
}

.cta-desc {
    font-size: 18px;
    color: var(--color-medium-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .news-tabs {
        gap: 10px;
    }

    .news-tab {
        padding: 8px 18px;
        font-size: 14px;
    }
}
