/* ===== us.css (模块样式，保留卡片、时间轴等，移除粘性相关) ===== */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary-color: #34a853;
    --card-bg: rgba(30, 30, 30, 0.85);
    --card-hover: rgba(40, 40, 50, 0.9);
    --border-radius: 16px;
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ---------- 简介卡片 ---------- */
.about-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0 20px;
}
.intro-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 40px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}
.intro-card:hover {
    background: var(--card-hover);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-hover);
}
.intro-icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 115, 232, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--primary-color);
    border: 1px solid rgba(26, 115, 232, 0.4);
}
.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}
.intro-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ===== 发展历程 - 水平时间轴自动滚动 ===== */
.timeline-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px 0 30px;
    position: relative;
}

.timeline-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 40px 0 20px;
    position: relative;
    width: max-content;
    animation: timelineScroll 25s linear infinite;
}

.timeline-grid:hover {
    animation-play-state: paused;
}

@keyframes timelineScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 水平轴线（贯穿所有条目） */
.timeline-grid::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(26,115,232,0.2) 0%, var(--primary-color) 50%, rgba(26,115,232,0.2) 100%);
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    flex: 0 0 260px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* 年份样式 */
.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    background: transparent;
}

/* 年份下方的圆点（节点） */
.timeline-year::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.3);
    z-index: 2;
}

/* 内容卡片（无背景，仅文字） */
.timeline-content {
    margin-top: 20px;
    padding: 1rem 0.5rem;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.4;
}

.timeline-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .timeline-item {
        flex: 0 0 200px;
    }
    .timeline-year {
        font-size: 1.5rem;
    }
    .timeline-content h4 {
        font-size: 1.05rem;
    }
}
/* ===== 发展历程样式结束 ===== */

/* ---------- 团队卡片 ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}
.team-card:hover {
    background: var(--card-hover);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
}
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(26, 115, 232, 0.5);
    transition: all 0.4s ease;
}
.team-card:hover .team-avatar {
    border-color: var(--primary-color);
    transform: scale(1.03);
}
.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
}
.team-title {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}
.team-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ---------- 核心特色（引用块风格） ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.feature-item {
    background: rgba(10, 20, 35, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}
.feature-item:hover {
    background: rgba(20, 30, 50, 0.8);
    border-color: rgba(26, 115, 232, 0.5);
}
.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(26, 115, 232, 0.2);
    padding: 12px;
    border-radius: 18px;
}
.feature-quote {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    padding-left: 8px;
    border-left: 4px solid var(--primary-color);
}

/* ===== 战略合作双行横向自动滚动 ===== */
.partners-scroll-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-scroll-row {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

/* 第一行：从左往右 */
.row-1 .partners-track {
    animation: scrollRight 40s linear infinite;
}

/* 第二行：从右往左（反向） */
.row-2 .partners-track {
    animation: scrollLeft 40s linear infinite;
}

.partners-scroll-wrapper:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scrollRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollLeft {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.partner-item {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 20px 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: all 0.4s ease;
    cursor: pointer;
}

.partner-item:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.5);
    color: #00d4aa;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

/* 响应式 */
@media (max-width: 768px) {
    .partner-item {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .partners-track {
        gap: 20px;
    }
    
    .row-1 .partners-track,
    .row-2 .partners-track {
        animation-duration: 30s;
    }
}

/* ---------- 新闻动态 ---------- */
.news-list {
    background: rgba(20, 25, 40, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.news-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.4s ease;
    color: white;
    flex-wrap: wrap;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 10px;
    border-radius: 12px;
}
.news-date {
    min-width: 110px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}
.news-title {
    flex: 1;
    font-weight: 500;
    margin: 0 20px;
    color: white;
}
.news-source {
    font-size: 0.85rem;
    color: var(--secondary-color);
    background: rgba(52, 168, 83, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(52, 168, 83, 0.25);
}
.news-more { text-align: center; margin-top: 40px; }

/* 响应式调整 */
@media (max-width: 992px) {
    .about-intro, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .about-intro, .team-grid, .timeline-grid { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .news-date { min-width: auto; }
    .news-title { margin: 5px 0; }
}
@media (max-width: 480px) {
    .intro-card, .team-card, .timeline-item { padding: 25px 18px; }
    .timeline-number { font-size: 3rem; }
}

/* ===== 关于我们主页面 ===== */
.about-main-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.about-main-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa 0%, #00a8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 1.2rem;
    font-weight: 500;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-main-title {
        font-size: 2.2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== Galbot 风格团队介绍 ===== */
.team-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

/* 左侧列表 */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4aa 0%, #00a8e8 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.team-list-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
}

.team-list-item.active::before {
    opacity: 1;
}

.team-list-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.team-list-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.team-list-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.team-list-item.active .team-list-arrow {
    color: #00d4aa;
    transform: translateX(4px);
}

/* 右侧详情 */
.team-detail {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.team-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.3), transparent);
}

.team-detail-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.team-detail-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.team-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.team-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.1);
    flex-shrink: 0;
}

.team-detail-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa 0%, #00a8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.team-detail-position {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.team-detail-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.9;
}

.team-detail-desc p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 响应式 */
@media (max-width: 992px) {
    .team-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
    }
    
    .team-list-item {
        min-width: 220px;
        flex-shrink: 0;
    }
    
    .team-list-item::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }
    
    .team-detail {
        min-height: auto;
        padding: 28px;
    }
    
    .team-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .team-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .team-detail-name {
        font-size: 1.6rem;
    }
}

/* ===== 政策特色横向滚动卡片 (自动滚动) ===== */
.policy-scroll-wrapper {
    margin-top: 50px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.policy-scroll-container {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: policyAutoScroll 40s linear infinite;
    padding: 20px 0 40px;
}

.policy-scroll-wrapper:hover .policy-scroll-container {
    animation-play-state: paused;
}

@keyframes policyAutoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.policy-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.policy-card:hover {
    transform: translateY(-8px);
}

.policy-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.policy-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.policy-card:hover .policy-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.policy-card:hover .policy-image::after {
    opacity: 1;
}

.policy-content {
    margin-top: 20px;
    padding: 0 5px;
}

.policy-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.policy-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .policy-card {
        flex: 0 0 300px;
    }
    
    .policy-image {
        height: 220px;
    }
    
    .policy-title {
        font-size: 1.2rem;
    }
    
    .policy-desc {
        font-size: 0.9rem;
    }
}