﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 亮色主题（默认） */
.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-accent: #0066cc;
    --border-color: rgba(0, 102, 204, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --timeline-line: #0066cc;
}

/* 深色主题 */
.dark-theme {
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --text-accent: #64ffda;
    --border-color: rgba(100, 255, 218, 0.2);
    --shadow-color: rgba(100, 255, 218, 0.2);
    --timeline-line: #64ffda;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    /*background: var(--bg-primary);*/
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-accent);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    padding: 0px 0 0px;
    /*background: var(--bg-secondary);*/
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 10px;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-accent);
}

.subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    letter-spacing: 3px;
}

.intro-section {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.content-box p.intro-text {
    font-size: 17px;
    /* color: var(--text-primary); */
    color: #0f070b;
    line-height: 1.8;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/* 荣誉展示 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    /* grid-template-columns: repeat(2, 1fr); 田丰修改也可以*/
    gap: 40px;
    margin-bottom: 40px;
}

.honor-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 55px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;

}

.honor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.honor-image {
    width: 100%;
    height: 380px;
    /* object-fit: contain; */
    object-fit: cover;
    /* background: #ffffff; */
    border-radius: 10px;
    /* box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 20px; */
    box-shadow: 0 10px 30px rgba(184, 148, 241, 0.7);
}

.honor-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-accent);
    margin-bottom: 15px;
    text-align: center;
}

.honor-desc {
    font-size: 16px;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.8;
}

/* 核心优势 */
.feature-section {
    background: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 20px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.feature-title {
    text-align: center;
    font-size: 36px;
    color: var(--text-accent);
    margin-bottom: 40px;
    font-weight: bold;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.feature-item h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-item p {
    /* font-size: 16px;
    color: var(--text-secondary); */

    font-size: 17px;
    color: #472335;
    line-height: 1.7;
}

/* ============================================== */
/*                 左右交替 时间轴（含首尾箭头+无白边）                 */
/* ============================================== */
.timeline-section {
    margin: 10px 0;
    position: relative;
}

.timeline-title {
    text-align: center;
    font-size: 36px;
    color: var(--text-accent);
    margin-bottom: 60px;
    font-weight: bold;
}

.timeline {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    /* padding: 40px 0; */
    padding: 40px 0 200px;
}

/* 时间轴主线 */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--timeline-line);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 顶端箭头 */
.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--timeline-line);
}

/* 底端箭头 */
.timeline-end::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--timeline-line);
}

/* 首尾标注 */
.timeline-start-label {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: var(--text-accent);
}

.timeline-end-label {
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: var(--text-accent);
}

.timeline-item {
    position: relative;
    /* margin-bottom: 20px; */
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--timeline-line);
    box-shadow: 0 0 10px var(--timeline-line);
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* 左侧节点 */
.timeline-item.left .timeline-content {
    margin-right: calc(50% + 5px);
    text-align: right;
    flex-direction: row-reverse;
}

/* 右侧节点 */
.timeline-item.right .timeline-content {
    margin-left: calc(50% + 5px);
    text-align: left;
}

.timeline-content {
    width: 42%;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.timeline-year {

    font-size: 28px;
    font-weight: bold;
    color: var(--text-accent);
    white-space: nowrap;
}

/* 图标更小，图片更大+无白边 */
.ver-icon {
    width: 20px;
    height: auto;
    object-fit: contain;

    flex-shrink: 0;
}

/* 核心修改：用容器+cover彻底消除白边 */
.ver-image-container {
    flex: 1;
    /* height: 160px; */
    border-radius: 8px;
    overflow: hidden;
    /* background: #fff; */
}

.ver-image {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    display: block;
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .honor-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline::after,
    .timeline-end::after {
        left: 30px;
    }

    .timeline-start-label,
    .timeline-end-label {
        left: 30px;
        transform: none;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        width: auto;
        text-align: left;
        flex-direction: row;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleGlow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 600% 0;
    }
}

.honor-card.honor-card-magin {
    margin-bottom: 40px;
    position: relative;
    top: -20px;
    padding: 30px 30px;
}

.honor-card-magin p {
    text-align: center;
}

.honor-image.honor-image-height {
    width: 85%;
    height: auto !important;
    margin-bottom: 10px;
}

.content-box p.intro-text.indent {
    text-indent: 2em;
}