/* 首页样式 */

/* 全屏区块 */
.screen {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* ========== 第一屏：Banner ========== */
.screen-banner {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 顶部渐变阴影效果 */
.screen-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 5;
    pointer-events: none;
}

/* Banner 轮播容器 */
.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* 单个 Banner 幻灯片 */
.banner-slide {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Banner 指示器 */
.banner-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* Banner 左右箭头 */
.banner-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.banner-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
}

.banner-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.banner-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.banner-building {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: url('../images/building-silhouette.png') center bottom no-repeat;
    background-size: contain;
    opacity: 0.4;
    z-index: 2;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down img {
    width: 24px;
    height: 36px;
}

.scroll-down span {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== 第二屏：研究院头条 ========== */
.screen-news {
    background: url('../images/banner-bg2.png') center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.screen-news .screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 300px 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover img {
    transform: scale(1.08);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 85px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 12px;
    transition: background 0.4s ease;
}

.news-card:hover .news-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* 日期盒子 */
.news-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0, 115, 255, 0.9) 0%, rgba(170, 96, 234, 0.9) 100%);
    color: #fff;
    flex-shrink: 0;
}

.news-day {
    font-family: Arial;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
}

.news-divider {
    width: 12px;
    height: 1px;
    background: #FFFFFF;
    margin: 2px 0 4px;
}

.news-month {
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
} 

.news-title {
    flex: 1;
    font-family: "Microsoft YaHei UI";
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ========== 第三屏：研究院简介 ========== */
.screen-intro {
    background: url('../images/banner-bg3.png') center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.screen-intro .screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 300px 0;
}

.intro-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
    justify-content: space-between;
    margin-top: -100px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 25px;
}

.intro-text h2 span {
    color: #0073ff;
}

.intro-content {
    font-family: "Microsoft YaHei UI";
    font-weight: 400;
    font-size: 18px;
    color: #3B444E;
    line-height: 2;
    text-align: justify;
    width: 625px;
    margin-top: 67px;
    text-indent: 2em;
}

.intro-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 239px;
    height: 49px;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, #0272FF 0%, #8E3DF3 100%) 1;
    background: transparent;
    font-family: "Microsoft YaHei UI";
    font-weight: 400;
    font-size: 18px;
    color: #0073FF;
    text-decoration: none;
    cursor: pointer;
    margin-top: 60px;
    transition: all 0.3s ease;
}

.intro-detail-btn:hover {
    background: linear-gradient(90deg, #0272FF 0%, #8E3DF3 100%);
    color: #FFFFFF;
}

.intro-image {
    flex: 0 0 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.intro-image img {
    width: 600px;
    height: 350px;
    object-fit: cover;
}

/* ========== 第四屏：学科布局 ========== */
.screen-subjects {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 110px 0 0;
    height: 100vh;
    min-height: 800px;
}

.screen-subjects .container {
    padding: 0 300px;
}

.screen-subjects .screen-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.screen-subjects h2 {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
}

.screen-subjects h2 span {
    color: #0073ff;
}

.subjects-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 400px;
    padding: 0 50px;
    flex: 1;
}

.subjects-architecture {
    position: relative;
    width: 45%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 四层轮廓背景 */
.architecture-outline {
    position: absolute;
    width: 384px;
    height: 384px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 第1层 - 最外层，向外扩散消失 */
.outline-layer-1 {
    position: absolute;
    width: 384px;
    height: 384px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/outline1.png') center center no-repeat;
    background-size: contain;
    animation: ripple-out 2s ease-out infinite;
}

/* 第2层 */
.outline-layer-2 {
    position: absolute;
    width: 291.52px;
    height: 291.52px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/outline2.png') center center no-repeat;
    background-size: contain;
    animation: ripple-expand-2 2s ease-out infinite;
}

/* 第3层 */
.outline-layer-3 {
    position: absolute;
    width: 199.04px;
    height: 199.04px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/outline3.png') center center no-repeat;
    background-size: contain;
    animation: ripple-expand-3 2s ease-out infinite;
}

/* 第4层 - 最内层，新生成 */
.outline-layer-4 {
    position: absolute;
    width: 106.57px;
    height: 106.57px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/outline4.png') center center no-repeat;
    background-size: contain;
    animation: ripple-born 2s ease-out infinite;
}

/* 最外层向外扩散消失 */
@keyframes ripple-out {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* 第2层扩展到第1层位置 */
@keyframes ripple-expand-2 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.317);
    }
}

/* 第3层扩展到第2层位置 */
@keyframes ripple-expand-3 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.464);
    }
}

/* 第4层新生成 */
@keyframes ripple-born {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.866);
    }
}

/* 左侧图标 - 使用leftQuan.png，与最外层outline贴边 */
.architecture-icon {
    position: absolute;
    width: 46px;
    height: 46px;
    background: url('../images/leftQuan.png') center center no-repeat;
    background-size: contain;
    left: calc(50% - 192px - 0px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右侧图标 */
.architecture-icon.icon-right {
    left: auto;
    right: calc(50% - 192px - 10px);
}

.cpu-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 中心圆点 - 在网状结构最中心 */
.center-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    background: url('../images/centerQuan.png') center center no-repeat;
    background-size: contain;
    border-radius: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* 中心标题 - 在图标右侧水平排列 */
.architecture-center {
    position: absolute;
    display: flex;
    align-items: center;
    left: calc(50% + 16px);
    top: 50%;
    transform: translateY(-50%);
}

.center-text {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0073ff;
}

/* 学科节点 */
.subject-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-circle {
    width: 8px;
    height: 8px;
    background: #0073ff;
    border-radius: 50%;
}

.node-text {
    font-size: 14px;
    color: #0073ff;
    white-space: nowrap;
}

/* 学科节点容器 - 不参与波纹动画，排列在下方，上下交错 */
.subject-nodes-container {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 50px;
    bottom: 0px;
    left: 20px;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 只有左边布局的节点容器向下偏移 */
.architecture-left .subject-nodes-container {
    bottom: -50px;
}

/* 鼠标移入outline时节点淡入 */
.architecture-outline:hover~.subject-nodes-container,
.subjects-architecture:hover .subject-nodes-container {
    opacity: 1;
}



.subject-node:nth-child(even) {
    transform: translateY(0);
}

/* 学科节点样式 - 圆圈在上，竖线和文字并行 */
.subject-node {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.subject-node .node-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    transform: translateX(-50%);
}

.subject-node .node-text {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-left: 1px solid rgba(0, 115, 255, 0.5);
    padding-left: 12px;
    padding-top: 16px;
    padding-bottom: 20px;
    letter-spacing: 2px;
}

/* ========== 第五屏：页脚 ========== */
.screen-footer {
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: auto;
}

.screen-footer .nav-wrapper {
    position: relative;
}

.screen-footer .main-nav {
    background: #1a1a2e;
    box-shadow: none;
    border-bottom: 1px solid #333;
}

.screen-footer .institute-name {
    color: #fff;
}

/* ========== 响应式适配 ========== */

/* ==================== 1920px 以下适配 ==================== */
@media (max-width: 1920px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 110px 300px 0;
    }

    .screen-subjects .container {
        padding: 0 200px;
    }

    .intro-content {
        width: 580px;
    }

    .intro-image {
        flex: 0 0 550px;
    }

    .intro-image img {
        width: 550px;
        height: 320px;
    }
}

/* ==================== 1600px 以下适配 ==================== */
@media (max-width: 1600px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 100px 120px 0;
    }

    .screen-subjects .container {
        padding: 0 120px;
    }

    .banner-text h1 {
        font-size: 48px;
        margin-bottom: 25px;
    }

    .banner-text p {
        font-size: 18px;
        padding: 10px 35px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .news-title {
        font-size: 16px;
    }

    .intro-text h2 {
        font-size: 30px;
    }

    .intro-content {
        width: 520px;
        font-size: 16px;
        margin-top: 50px;
    }

    .intro-image {
        flex: 0 0 480px;
    }

    .intro-image img {
        width: 480px;
        height: 280px;
    }

    .intro-detail-btn {
        width: 220px;
        height: 46px;
        font-size: 16px;
        margin-top: 45px;
    }

    .screen-subjects h2 {
        font-size: 30px;
    }

    .subjects-wrapper {
        padding: 0 30px;
    }

    .architecture-outline {
        width: 340px;
        height: 340px;
    }

    .outline-layer-1 {
        width: 340px;
        height: 340px;
    }

    .outline-layer-2 {
        width: 258px;
        height: 258px;
    }

    .outline-layer-3 {
        width: 176px;
        height: 176px;
    }

    .outline-layer-4 {
        width: 94px;
        height: 94px;
    }

    .architecture-icon {
        left: calc(50% - 170px);
    }

    .architecture-icon.icon-right {
        right: calc(50% - 170px - 10px);
    }

    .center-text {
        font-size: 18px;
    }

    .subject-nodes-container {
        gap: 35px;
    }

    .subject-node .node-text {
        font-size: 14px;
    }

    .subjects-footer {
        padding: 0 120px;
    }
}

/* ==================== 1440px 以下适配 ==================== */
@media (max-width: 1440px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 90px 80px 0;
    }

    .screen-subjects .container {
        padding: 0 80px;
    }

    .banner-text h1 {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .banner-text p {
        font-size: 16px;
        padding: 10px 30px;
    }

    .section-header {
        margin-top: -40px;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .news-list {
        gap: 15px;
    }

    .news-title {
        font-size: 14px;
    }

    .intro-layout {
        gap: 40px;
    }

    .intro-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .intro-content {
        width: 480px;
        font-size: 15px;
        line-height: 1.8;
        margin-top: 40px;
    }

    .intro-image {
        flex: 0 0 420px;
    }

    .intro-image img {
        width: 420px;
        height: 245px;
    }

    .intro-detail-btn {
        width: 200px;
        height: 44px;
        font-size: 15px;
        margin-top: 35px;
    }

    .screen-subjects h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .subjects-wrapper {
        margin-top:-50px;
        padding: 0 20px;
        min-height: 350px;
    }

    .subjects-architecture {
        height: 350px;
    }

    .architecture-outline {
        width: 300px;
        height: 300px;
    }

    .outline-layer-1 {
        width: 300px;
        height: 300px;
    }

    .outline-layer-2 {
        width: 228px;
        height: 228px;
    }

    .outline-layer-3 {
        width: 155px;
        height: 155px;
    }

    .outline-layer-4 {
        width: 83px;
        height: 83px;
    }

    .architecture-icon {
        left: calc(50% - 150px);
        width: 40px;
        height: 40px;
    }

    .architecture-icon.icon-right {
        right: calc(50% - 150px - 10px);
    }

    .center-text {
        font-size: 16px;
    }

    .subject-nodes-container {
        gap: 25px;
        left: 10px;
    }

    .architecture-left .subject-nodes-container {
        bottom: -50px;
    }

  
    .subject-node .node-text {
        font-size: 13px;
        padding-left: 10px;
        padding-top: 12px;
        padding-bottom: 16px;
    }

    .subjects-footer {
        padding: 0 80px;
    }
}

/* ==================== 1366px 以下适配 ==================== */
@media (max-width: 1366px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 80px 60px 0;
    }

    .screen-subjects .container {
        padding: 0 60px;
    }

    .banner-text h1 {
        font-size: 38px;
    }

    .section-header {
        margin-top: -30px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .news-list {
        gap: 12px;
    }

    .news-date-box {
        width: 40px;
        height: 40px;
    }

    .news-day {
        font-size: 16px;
    }

    .news-title {
        font-size: 13px;
    }

    .intro-layout {
        gap: 30px;
        margin-top: -60px;
    }

    .intro-text h2 {
        font-size: 26px;
    }

    .intro-content {
        width: 420px;
        font-size: 14px;
        margin-top: 30px;
    }

    .intro-image {
        flex: 0 0 380px;
    }

    .intro-image img {
        width: 380px;
        height: 222px;
    }

    .intro-detail-btn {
        width: 180px;
        height: 42px;
        font-size: 14px;
        margin-top: 30px;
    }

    .screen-subjects h2 {
        font-size: 26px;
    }

    .subjects-wrapper {
        padding: 0 15px;
        min-height: 320px;
    }

    .subjects-architecture {
        height: 320px;
    }

    .architecture-outline {
        width: 280px;
        height: 280px;
    }

    .outline-layer-1 {
        width: 280px;
        height: 280px;
    }

    .outline-layer-2 {
        width: 213px;
        height: 213px;
    }

    .outline-layer-3 {
        width: 145px;
        height: 145px;
    }

    .outline-layer-4 {
        width: 78px;
        height: 78px;
    }

    .architecture-icon {
        left: calc(50% - 140px);
        width: 38px;
        height: 38px;
    }

    .architecture-icon.icon-right {
        right: calc(50% - 140px - 8px);
    }

    .center-text {
        font-size: 15px;
    }

    .subject-nodes-container {
        gap: 20px;
    }

    .subject-node .node-text {
        font-size: 12px;
        padding-left: 8px;
        padding-top: 10px;
        padding-bottom: 14px;
    }

    .subjects-footer {
        padding: 0 60px;
    }
}

/* ==================== 1280px 以下适配 ==================== */
@media (max-width: 1280px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 70px 40px 0;
    }

    .screen-subjects .container {
        padding: 0 40px;
    }

    .banner-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .banner-text p {
        font-size: 15px;
        padding: 8px 25px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .news-title {
        font-size: 12px;
    }

    .intro-layout {
        gap: 25px;
    }

    .intro-text h2 {
        font-size: 24px;
    }

    .intro-content {
        width: 380px;
        font-size: 13px;
        line-height: 1.7;
        margin-top: 25px;
    }

    .intro-image {
        flex: 0 0 340px;
    }

    .intro-image img {
        width: 340px;
        height: 198px;
    }

    .intro-detail-btn {
        width: 160px;
        height: 40px;
        font-size: 13px;
        margin-top: 25px;
    }

    .screen-subjects {
        min-height: 700px;
    }

    .screen-subjects h2 {
        font-size: 24px;
    }

    .subjects-wrapper {
        min-height: 300px;
    }

    .subjects-architecture {
        height: 300px;
    }

    .architecture-outline {
        width: 260px;
        height: 260px;
    }

    .outline-layer-1 {
        width: 260px;
        height: 260px;
    }

    .outline-layer-2 {
        width: 198px;
        height: 198px;
    }

    .outline-layer-3 {
        width: 135px;
        height: 135px;
    }

    .outline-layer-4 {
        width: 72px;
        height: 72px;
    }

    .architecture-icon {
        left: calc(50% - 130px);
        width: 36px;
        height: 36px;
    }

    .architecture-icon.icon-right {
        right: calc(50% - 130px - 8px);
    }

    .center-text {
        font-size: 14px;
    }

    .subject-nodes-container {
        gap: 18px;
    }

    .architecture-left .subject-nodes-container {
        bottom: -40px;
    }

    .subjects-footer {
        padding: 0 40px;
    }
}

/* ==================== 1024px 以下适配 (平板横屏) ==================== */
@media (max-width: 1024px) {

    .screen-news .screen-content,
    .screen-intro .screen-content {
        padding: 60px 30px 0;
    }

    .screen-subjects .container {
        padding: 0 30px;
    }

    .banner-text h1 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .banner-text p {
        font-size: 14px;
        padding: 8px 20px;
        letter-spacing: 2px;
    }

    .section-header {
        margin-top: 0;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .news-list {
        gap: 15px;
    }

    .news-title {
        font-size: 13px;
    }

    .intro-layout {
        flex-direction: column;
        gap: 20px;
        margin-top: 0;
        align-items: center;
    }

    .intro-text {
        display: contents;
    }

    .intro-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
        order: 1;
        text-align: center;
    }

    .intro-content {
        width: 100%;
        font-size: 14px;
        line-height: 1.8;
        margin-top: 0;
        order: 2;
    }

    .intro-image {
        flex: none;
        justify-content: center;
        margin: 15px 0;
        order: 3;
    }

    .intro-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .intro-detail-btn {
        width: 180px;
        height: 42px;
        font-size: 14px;
        margin: 0 auto;
        order: 4;
    }

    .screen-subjects {
        height: auto;
        min-height: auto;
        padding: 60px 0 0;
    }

    .screen-subjects h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .subjects-wrapper {
        flex-direction: column;
        gap: 60px;
        padding: 0;
        min-height: auto;
    }

    .subjects-architecture {
        width: 100%;
        height: 320px;
    }

    .architecture-outline {
        width: 280px;
        height: 280px;
    }

    .outline-layer-1 {
        width: 280px;
        height: 280px;
    }

    .outline-layer-2 {
        width: 213px;
        height: 213px;
    }

    .outline-layer-3 {
        width: 145px;
        height: 145px;
    }

    .outline-layer-4 {
        width: 78px;
        height: 78px;
    }

    .architecture-icon {
        left: calc(50% - 140px);
    }

    .architecture-icon.icon-right {
        right: calc(50% - 140px);
    }

    .subject-nodes-container {
        bottom: -40px;
        gap: 40px;
        opacity: 1;
    }

    .architecture-left .subject-nodes-container {
        bottom: -80px;
    }

 

    .subject-node .node-text {
        font-size: 14px;
    }

    .subjects-footer {
        padding: 0 30px;
        margin-top: 80px;
    }
}

/* ========== 首页底部栏在1600px以下按照1920px比例显示 ========== */
@media (max-width: 1600px) {
    .subjects-footer {
        padding: 0 150px;
    }
}

@media (max-width: 1200px) {
    .subjects-footer {
        padding: 0 50px;
    }
}

/* ==================== 移动端适配 (max-width: 768px) ==================== */
@media (max-width: 768px) {

    /* 允许页面滚动 */
    html,
    body {
        overflow: auto;
        height: auto;
    }

    /* ========== 首页导航栏移动端特殊样式 ========== */
    .main-nav.scrolled {
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .search-btn-nav {
        background-image: url('../images/search.png');
    }

    .main-nav.scrolled .search-btn-nav {
        background-image: url('../images/search-dark.png');
        filter: brightness(0) saturate(100%) invert(31%) sepia(97%) saturate(1620%) hue-rotate(198deg) brightness(97%) contrast(101%);
    }

    /* 首页汉堡菜单按钮颜色为白色（非首页在 common.css 中为 #0073ff） */
    .hamburger-btn span {
        background: #fff;
    }

    .main-nav.scrolled .hamburger-btn span {
        background: #0073ff;
    }

    /* ========== 全屏区块 ========== */
    .screen {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    /* ========== 第一屏：Banner ========== */
    .screen-banner {
        min-height: auto;
        height: 185.5px;
        padding: 80px 0 40px;
        background-size: 100% auto;
        background-position: center top;
    }

    .screen-banner .banner-content {
        padding-top: 20px;
    }

    .banner-text h1 {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .banner-text p {
        font-size: 14px;
        padding: 8px 20px;
        letter-spacing: 1px;
    }

    .banner-building {
        height: 25%;
    }

    .scroll-down {
        display: none;
    }

    /* ========== 第二屏：研究院头条 ========== */
    .screen-news .screen-content {
        padding: 40px 15px 40px;
    }

    .section-header {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header .more-btn {
        width: 80px;
        height: 28px;
        font-size: 12px;
    }

    .section-header .more-btn::after {
        width: 18px;
        height: 5px;
        margin-left: 4px;
    }

    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .news-overlay {
        min-height: 60px;
        padding: 8px;
        padding-bottom: 0px;
    }

    .news-date-box {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .news-day {
        font-size: 15px;
    }

    .news-divider {
        width: 7px;
        margin: 1px 0 2px;
    }

    .news-month {
        font-size: 10px;
    }

    .news-title {
        font-size: 14px;
        color: #fff;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }

    /* ========== 第三屏：研究院简介 ========== */
    .screen-intro .screen-content {
        padding: 40px 15px 40px;
    }

    .intro-layout {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
    }

    .intro-text {
        display: contents;
    }

    .intro-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
        order: 1;
    }

    .intro-content {
        width: 100%;
        font-size: 14px;
        line-height: 1.8;
        margin-top: 0;
        order: 2;
    }

    .intro-image {
        flex: none;
        justify-content: center;
        margin: 20px 0;
        order: 3;
    }

    .intro-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .intro-detail-btn {
        width: 180px;
        height: 42px;
        font-size: 16px;
        margin: 0 auto;
        order: 4;
    }

    /* ========== 第四屏：学科布局 ========== */
    .screen-subjects {
        height: auto;
        min-height: auto;
        padding: 40px 0 0;
    }

    .screen-subjects .container {
        padding: 0 15px;
    }

    .screen-subjects h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .subjects-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0;
        min-height: auto;
    }

    .subjects-architecture {
        width: 100%;
        height: 280px;
    }

    .architecture-outline {
        width: 220px;
        height: 220px;
    }

    .outline-layer-1 {
        width: 220px;
        height: 220px;
    }

    .outline-layer-2 {
        width: 167px;
        height: 167px;
    }

    .outline-layer-3 {
        width: 114px;
        height: 114px;
    }

    .outline-layer-4 {
        width: 61px;
        height: 61px;
    }

    .architecture-icon {
        left: calc(50% - 110px);
    }

    .architecture-icon.icon-right {
        right: calc(50% - 110px);
    }

    .center-text {
        font-size: 14px;
    }

    .subject-nodes-container {
        bottom: -50px;
        left: 10px;
        gap: 30px;
        opacity: 1;
    }

    .architecture-left .subject-nodes-container {
        bottom: -100px;
    }



    .subject-node .node-text {
        font-size: 13px;
        padding-left: 8px;
        padding-top: 12px;
        padding-bottom: 16px;
    }

    /* ========== 首页底部栏移动端全宽 ========== */
    .subjects-footer {
        padding: 0;
        margin-top: 100px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    /* ========== 右侧悬浮导航 ========== */
    .side-nav {
        display: none;
    }

    /* ========== 搜索弹窗 ========== */
    .search-modal-content {
        padding: 0 20px;
    }

    .search-modal-form {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .search-modal-form input {
        width: 100%;
        height: 48px;
        font-size: 16px;
    }

    .search-modal-btn {
        width: auto;
        height: auto;
        max-width: 24px;
        max-height: 24px;
        padding: 10px;
        flex-shrink: 0;
    }
}

.screen-subjects .screen-content {
    padding: 0;
}

/* ========== 滚动入场动画 ========== */

/* 初始状态：隐藏 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 已显示状态 */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 从左侧滑入 */
.animate-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* 从右侧滑入 */
.animate-from-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放淡入 */
.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* 延迟类 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* 移动端禁用滚动动画（避免影响体验） */
@media (max-width: 768px) {

    .animate-on-scroll,
    .animate-from-left,
    .animate-from-right,
    .animate-scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}