/* 轮播图 - PC端占满屏幕，移动端合理高度 */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh + 48px); /* 100vh + 卡片下部2/5高度（120px × 2/5 = 48px） */
    overflow: visible; /* 允许成就卡片显示在轮播图底部 */
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100vh; /* 轮播图可视内容只有100vh */
    opacity: 0;
    transition: opacity 1s;
    overflow: hidden; /* 裁剪每张轮播图，防止内容溢出 */
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1) saturate(1.05);
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.slider-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.slider-content p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.slider-content .btn {
    padding: 14px 40px;
    font-size: 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.35);
}

.slider-content .btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* 轮播箭头按钮 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

/* ==================== 数据成就展示 ==================== */
.achievements-section {
    position: relative;
    padding: 0 0 40px !important;
    background: transparent; /* section本身透明 */
    z-index: 100;
}

/* 使用伪元素创建白色背景，从卡片的3/5位置开始 */
.achievements-section::before {
    content: '';
    position: absolute;
    top: 72px; /* 卡片高度约120px，3/5 = 72px，所以白色背景从72px处开始 */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--section-bg-1);
    z-index: -1; /* 在卡片下方 */
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: -120px auto 0; /* 向上移动120px */
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 35px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.achievement-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.05);
}

.achievement-content {
    flex: 1;
    text-align: left;
}

.achievement-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.achievement-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.achievement-number {
    display: none;
}

/* 服务简介 */
.our-services-section {
    background: var(--section-bg-1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333333;  /* 固定颜色，不随主题变化 */
}

.service-card p {
    color: #666666;  /* 固定颜色，不随主题变化 */
    line-height: 1.8;
}

/* ==================== 服务流程横向时间线 ==================== */
.service-process-section {
    background: var(--section-bg-2);  /* 浅色背景（跟随主题变化） */
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    transition: background 0.3s ease;
}

.section-subtitle {
    text-align: center;
    color: #666666;  /* 固定颜色，不随主题变化 */
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 60px;
}

.process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.timeline-track {
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--gradient-blue);
    z-index: 1;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-green);
    animation: progressLine 3s ease-out forwards;
}

@keyframes progressLine {
    to {
        width: 100%;
    }
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-top: 100px;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.timeline-node {
    position: absolute;
    top: -50px;
    width: 20px;
    height: 20px;
    background: var(--white);  /* 白色，支持主题切换 */
    border: 4px solid var(--pure-blue);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s;
    box-shadow: 0 0 0 8px rgba(30, 136, 229, 0.1);
}

.timeline-step:hover .timeline-node {
    transform: scale(1.3);
    background: var(--pure-blue);
    box-shadow: 0 0 0 12px rgba(30, 136, 229, 0.2), 0 4px 12px rgba(30, 136, 229, 0.3);
}

.step-card {
    background: var(--card-bg);  /* 卡片背景色，支持主题切换 */
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
    width: 100%;
    min-height: 180px;
}

.timeline-step:hover .step-card {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.2);
}

.step-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--pure-blue);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.step-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.step-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==================== 我们的特色 ==================== */
.features {
    background: var(--section-bg-1);  /* 白色背景，支持主题切换 */
    padding: 80px 0;
    transition: background 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 35px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-lighter);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.15);
    border-color: rgba(30, 136, 229, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.feature-content h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-content p {
    color: #606f7b;
    line-height: 1.7;
    font-size: 14px;
}

/* ==================== 学科领域覆盖 ==================== */
.disciplines-section {
    background: var(--section-bg-2);  /* 浅主题色背景，支持主题切换 */
    transition: background 0.3s ease;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.discipline-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.discipline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.15);
    border-color: var(--primary-color);
}

.discipline-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.discipline-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.discipline-tags span {
    padding: 5px 12px;
    background: var(--bg-tertiary);  /* 三级背景色，支持主题切换 */
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.3s ease;
}

/* ==================== 合作期刊展示 ==================== */
.journals-section {
    background: var(--section-bg-1);  /* 白色背景，支持主题切换 */
    transition: background 0.3s ease;
}

.journals-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.journal-category {
    background: var(--card-bg);  /* 卡片背景色，支持主题切换 */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.category-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-badge.q1 {
    background: var(--gradient-red);
}

.category-badge.q2 {
    background: var(--gradient-cyan);
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.journal-item {
    background: var(--white);
    padding: 18px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.journal-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15);
}

.journal-name {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.journal-if {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.publication-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-box {
    background: var(--gradient-blue);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.35);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.45);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 用户评价 */
.testimonials {
    background: var(--primary-color);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.testimonials-track.no-transition {
    transition: none;
}

.testimonial-card {
    min-width: calc((100% - 60px) / 3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.testimonial-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 12px;
    opacity: 0.8;
}

.testimonial-content {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: #ffd700;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-arrow-prev {
    left: 0;
}

.carousel-arrow-next {
    right: 0;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* 资讯文章 */
.news-section {
    background: var(--section-bg-1);  /* 白色背景，与用户评价(深主题色)交替 */
    padding: 80px 0;
    transition: background 0.3s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    aspect-ratio: 5 / 3;  /* 5:3比例，更符合内容展示 */
    object-fit: cover;
    display: block;  /* 移除底部空隙 */
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-icon {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more-btn {
    text-align: center;
    margin-top: 40px;
}

.read-more-btn .btn {
    padding: 14px 40px;
    font-size: 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.read-more-btn .btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== 优化后的常见问题模块（紧凑版） ==================== */
.faq-section {
    background: var(--section-bg-2);  /* 浅主题色背景，与最新资讯(白色)交替 */
    position: relative;
    overflow: hidden;
    padding: 50px 0; /* 减小section的padding */
    transition: background 0.3s ease;
}

/* 简化背景装饰 */
.faq-section::before,
.faq-section::after {
    display: none; /* 移除背景装饰元素 */
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e8e8e8; /* 简化边框 */
    border-radius: 8px; /* 减小圆角 */
    margin-bottom: 12px; /* 减小间距 */
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* 减小阴影 */
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--pure-blue);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15);
}

.faq-question {
    padding: 16px 20px; /* 减小padding */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(30, 136, 229, 0.03);
}

.faq-question-text {
    font-size: 15px; /* 减小字体 */
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.faq-item.active .faq-question-text {
    color: var(--pure-blue);
}

.faq-icon {
    width: 28px; /* 减小图标尺寸 */
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* 调整字体大小 */
    font-weight: 300;
    line-height: 0;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(30, 136, 229, 0.3); /* 减小阴影 */
    padding-bottom: 2px; /* 微调垂直位置 */
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 20px 16px 20px; /* 减小padding */
}

.faq-answer-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    padding-top: 8px; /* 减小顶部padding */
    border-top: 1px solid rgba(30, 136, 229, 0.1);
}

.faq-answer-content ul {
    margin: 10px 0; /* 减小margin */
    padding-left: 0;
    list-style: none;
}

.faq-answer-content li {
    margin-bottom: 8px; /* 减小间距 */
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
    font-size: 14px;
}

.faq-answer-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px; /* 减小尺寸 */
    height: 16px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* ==================== 平板端响应式 (769px - 1024px) ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        height: 100vh; /* 平板端占满屏幕即可，不需要严格的满屏效果 */
    }

    .achievements-section {
        padding: 0 0 35px !important;
    }

    .achievements-section::before {
        top: 54px; /* 平板端卡片高度约90px，3/5 = 54px */
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: -90px auto 0; /* 平板端向上移动90px */
    }

    .achievement-item {
        padding: 25px;
    }

    .testimonial-card {
        min-width: calc((100% - 30px) / 2);
    }

    .journals-showcase {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        padding: 0 5px;
    }

    .step-card {
        padding: 20px 15px;
        min-height: 200px;
    }

    /* 平板端FAQ优化 */
    .faq-section {
        padding: 45px 0;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 14px 18px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer-content {
        font-size: 14px;
    }

    .faq-answer-content li {
        font-size: 13px;
    }
}

/* ==================== 移动端响应式 (最大 768px) ==================== */
@media (max-width: 768px) {
    /* 移动端轮播图容器高度 = 100vh + 卡片下部2/5 */
    .hero-slider {
        height: calc(100vh + 28px); /* 100vh + 卡片下部2/5（70px × 2/5 = 28px） */
        min-height: calc(500px + 28px);
        overflow: visible;
    }

    /* 移动端轮播图内容高度是100vh */
    .slider-item {
        height: 100vh;
        min-height: 500px;
    }

    /* 移动端轮播内容向上移动，居中偏上 */
    .slider-content {
        top: 40%; /* 从50%改为40%，让内容更靠上 */
    }

    /* 移动端轮播箭头调整 */
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .slider-arrow-next {
        right: 10px;
    }

    .slider-content h1 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .slider-content p {
        font-size: clamp(14px, 4vw, 16px);
        margin-bottom: 20px;
    }

    .slider-content .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .achievements-section {
        padding: 0 0 30px !important;
    }

    .achievements-section::before {
        top: 42px; /* 移动端卡片高度约70px，3/5 = 42px */
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: -70px auto 0; /* 移动端向上移动70px */
    }

    .achievement-item {
        padding: 20px;
        gap: 15px;
    }

    .achievement-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .achievement-label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .achievement-desc {
        font-size: 12px;
    }

    .services-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 移动端服务流程改为垂直布局 */
    .process-timeline {
        padding: 0 15px;
    }

    .timeline-track {
        display: none;
    }

    .process-steps {
        flex-direction: column;
        padding-top: 0;
        gap: 20px;
    }

    .timeline-step {
        width: 100%;
        padding: 0;
    }

    .timeline-node,
    .step-card::before {
        display: none;
    }

    .step-card {
        padding: 30px 25px;
        min-height: auto;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
        border-left: 4px solid var(--primary-color);
    }

    .step-number {
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .step-content {
        flex: 1;
    }

    .step-icon {
        display: none;
    }

    .step-card h4 {
        margin-top: 0;
        font-size: 17px;
        margin-bottom: 8px;
    }

    .step-card p {
        font-size: 14px;
    }

    .disciplines-grid {
        grid-template-columns: 1fr;
    }

    .journals-showcase {
        grid-template-columns: 1fr;
    }

    .publication-stats {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonials-container {
        padding: 0 50px;
    }

    .testimonials-track {
        gap: 0;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* 移动端FAQ优化 */
    .faq-section {
        padding: 40px 0;
    }

    .faq-item {
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question-text {
        font-size: 14px;
        padding-right: 12px;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }

    .faq-answer-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .faq-answer-content ul {
        margin: 8px 0;
    }

    .faq-answer-content li {
        margin-bottom: 6px;
        padding-left: 20px;
        font-size: 13px;
    }

    .faq-answer-content li::before {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .feature-item {
        padding: 25px;
        gap: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* ==================== 小屏手机优化 (最大 480px) ==================== */
@media (max-width: 480px) {
    /* 小屏手机轮播图高度 */
    .hero-slider {
        height: calc(100vh - 70px); /* 小屏手机减去导航栏高度 */
        min-height: 450px;
        max-height: 600px; /* 小屏手机限制最大高度，避免过长 */
    }

    /* 小屏手机轮播箭头进一步缩小 */
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .slider-arrow-prev {
        left: 8px;
    }

    .slider-arrow-next {
        right: 8px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .achievements-grid {
        gap: 10px;
    }

    .achievement-item {
        padding: 18px;
        gap: 12px;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .journals-showcase {
        gap: 20px;
    }

    /* 小屏手机FAQ优化 */
    .faq-section {
        padding: 35px 0;
    }

    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-question-text {
        font-size: 13px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer {
        padding: 0 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 14px 12px 14px;
    }

    .faq-answer-content {
        font-size: 13px;
    }

    .faq-answer-content li {
        font-size: 12px;
        padding-left: 18px;
    }
}

/* ==================== 图片遮罩层效果 ==================== */
[data-overlay] {
    position: relative;
}

[data-overlay]:before {
    position: absolute;
    content: '';
    background: #052044;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 不同透明度级别 */
[data-overlay="1"]:before {
    opacity: 0.1;
}

[data-overlay="2"]:before {
    opacity: 0.2;
}

[data-overlay="3"]:before {
    opacity: 0.3;
}

[data-overlay="4"]:before {
    opacity: 0.4;
}

[data-overlay="5"]:before {
    opacity: 0.5;
}

[data-overlay="6"]:before {
    opacity: 0.6;
}

/* ==================== 学科领域样式 ==================== */
.disciplines-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.discipline-card-compact {
    background: var(--white);
    padding: 12px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid transparent;
    text-align: center;
    cursor: pointer;
}

.discipline-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.15);
    border-color: var(--primary-color);
}

.discipline-card-compact h4 {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discipline-tags-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    min-height: 48px;
    align-items: center;
}

.discipline-tags-compact span {
    padding: 5px 10px;
    background: var(--bg-tertiary);  /* 三级背景色，支持主题切换 */
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.3s ease;
}

/* ==================== 统一所有学科卡片高度 ==================== */
.discipline-card-compact,
.discipline-card-other {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==================== 其他领域特殊样式（修改版） ==================== */
.discipline-card-other {
    background: var(--primary-color);
    padding: 12px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.discipline-card-other::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.discipline-card-other:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.discipline-card-other h4 {
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--white);
    font-weight: 600;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.discipline-desc-other {
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 6px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.discipline-contact {
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.discipline-contact span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* ==================== 合作期刊紧凑布局样式 ==================== */
.journals-showcase-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.journal-category-compact {
    background: var(--card-bg);  /* 卡片背景色，支持主题切换 */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.journal-category-compact:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.journal-category-compact .category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.journal-category-compact .category-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.journal-category-compact .category-badge.q1 {
    background: var(--gradient-red);
}

.journal-category-compact .category-badge.q2 {
    background: var(--gradient-cyan);
}

.journal-category-compact .category-badge.q3 {
    background: #9e9e9e;
}

.journal-category-compact .category-badge.q4 {
    background: var(--gradient-purple);
}

.journal-category-compact .category-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.journal-list-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.journal-item-compact {
    background: var(--white);
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.journal-item-compact:hover {
    transform: translateX(3px);
    border-left-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.15);
}

.journal-item-compact .journal-name {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
    padding-right: 8px;
}

.journal-item-compact .journal-if {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

/* 平板端学科领域响应式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .discipline-card-compact,
    .discipline-card-other {
        min-height: 85px;
    }

    .discipline-card-other {
        padding: 12px 10px;
    }

    .discipline-card-other h4 {
        font-size: 12px;
        min-height: 30px;
        margin-bottom: 5px;
    }

    .discipline-desc-other {
        font-size: 10px;
        min-height: auto;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .discipline-contact span {
        font-size: 10px;
        padding: 4px 8px;
    }

    .journals-showcase-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .journal-category-compact {
        padding: 18px;
    }

    .journal-list-compact {
        gap: 7px;
    }
}

/* 移动端学科领域响应式 */
@media (max-width: 768px) {
    .discipline-card-compact,
    .discipline-card-other {
        min-height: 80px;
    }

    .discipline-card-other {
        padding: 10px 8px;
    }

    .discipline-card-other h4 {
        font-size: 11px;
        min-height: 28px;
        margin-bottom: 4px;
    }

    .discipline-desc-other {
        font-size: 9px;
        min-height: auto;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .discipline-contact span {
        font-size: 9px;
        padding: 3px 6px;
    }

    .journals-showcase-compact {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .journal-category-compact {
        padding: 18px;
    }

    .journal-list-compact {
        gap: 7px;
    }

    .journal-item-compact {
        padding: 9px 11px;
    }

    .journal-item-compact .journal-name {
        font-size: 12px;
    }

    .journal-item-compact .journal-if {
        font-size: 11px;
    }
}

/* 小屏手机学科领域优化 */
@media (max-width: 480px) {
    .discipline-card-compact,
    .discipline-card-other {
        min-height: 75px;
    }

    .discipline-card-other {
        padding: 10px 8px;
    }

    .discipline-card-other h4 {
        font-size: 11px;
        min-height: 26px;
        margin-bottom: 3px;
    }

    .discipline-desc-other {
        font-size: 9px;
        min-height: auto;
        line-height: 1.3;
        margin-bottom: 3px;
    }

    .discipline-contact span {
        font-size: 9px;
        padding: 3px 6px;
    }

    .journal-category-compact {
        padding: 15px;
    }

    .journal-category-compact .category-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .journal-category-compact .category-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .journal-category-compact .category-title {
        font-size: 14px;
    }

    .journal-list-compact {
        gap: 6px;
    }

    .journal-item-compact {
        padding: 8px 10px;
    }
}
