/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    /* background: url('../figs/title.png') center center / cover no-repeat;  */
    display: flex;
    align-items: center;
    justify-content: center; /* 水平居中内容 */
    position: relative;
    overflow: hidden;
    background-color: #FCF3E7; /* 增加统一背景底色，填补留白 */
    padding: 0; /* 移除内边距 */
}

/* 保证容器在遮罩层之上 */
.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;   /* 限制文字宽度 */
    padding: 0 1rem;
    display: none; /* 隐藏container因为不需要显示文字 */
}

.infographic-note {
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-style: italic;
    line-height: 1.6;
    color: #444;
  }

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: none; /* 移除最大宽度限制 */
    object-fit: contain; /* 保持图片比例 */
}
/* 主标题渐变文字动效 */
.hero-section h1 {
    margin-bottom: 1rem;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

/* 副标题 */
.hero-section .subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式处理 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh; /* 在移动设备上可以适当减小高度 */
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.5rem;
    }
}
