/* ============================================
   内页通用样式
   ============================================ */

/* ========== Page Hero ========== */
.page-hero {
    position: relative;
    padding: 11rem 2rem 6rem;
    background: linear-gradient(135deg, #2a0808 0%, #4a0d0d 50%, #6b0f0f 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 201, 122, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 163, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    z-index: 1;
}

.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.page-hero__breadcrumb a:hover {
    color: var(--color-gold-bright);
}

.page-hero__breadcrumb svg {
    width: 12px;
    height: 12px;
}

.page-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.page-hero__title em {
    font-style: normal;
    color: var(--color-gold-bright);
}

.page-hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ========== 文字段落 ========== */
.content {
    padding: 6rem 2rem;
    background: var(--color-bg);
}

.content--alt {
    background: var(--color-bg-alt);
}

.content__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.content__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.content__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    bottom: 0.5em;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-gold) 100%);
    border-radius: 2px;
}

.content__text {
    font-size: 1rem;
    color: var(--color-text-soft);
    line-height: 2;
    margin-bottom: 1.5rem;
}

/* ========== 使命愿景 ========== */
.mv {
    padding: 6rem 2rem;
    background: var(--color-bg);
}

.mv__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    padding: 3rem 2.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mv-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-bright);
    margin-bottom: 1.5rem;
}

.mv-card__label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mv-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 500;
}

.mv-card__text {
    font-size: 0.95rem;
    color: var(--color-text-soft);
    line-height: 1.9;
}

/* ========== 时间线 ========== */
.timeline {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.timeline__inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
}

.timeline__inner::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--color-gold) 10%, var(--color-gold) 90%, transparent 100%);
}

/* 高亮生长线：进入视口后由顶端生长到底端（科技感进度） */
.timeline__inner::after {
    content: "";
    position: absolute;
    left: 99px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
    box-shadow: 0 0 12px rgba(244, 215, 122, 0.6);
    border-radius: 2px;
    transition: height 1.6s var(--ease);
    z-index: 0;
}

.timeline.in-view .timeline__inner::after {
    height: 100%;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 95px;
    top: 2.5rem;
    width: 11px;
    height: 11px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s var(--ease);
}

.timeline-item:hover::before {
    background: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(201, 163, 94, 0.2);
}

.timeline-item__year {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-align: right;
    padding-right: 1.5rem;
    padding-top: 0.3rem;
}

.timeline-item__content {
    background: var(--color-bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
}

.timeline-item:hover .timeline-item__content {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

/* 科技感：历程进入视口后节点依次点亮（带柔和光晕） */
.timeline.in-view .timeline-item::before {
    background: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 163, 94, 0.16), 0 0 16px rgba(244, 215, 122, 0.55);
    transition-delay: calc(var(--i, 0) * 0.22s);
}

/* 卡片入场：自左侧轻滑入 + 淡入（覆盖默认 .fade-in 的纵向位移） */
.timeline .timeline-item.fade-in {
    transform: translateX(-28px);
}
.timeline .timeline-item.fade-in.visible {
    transform: translateX(0);
}

.timeline-item__title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* ========== 团队 ========== */
.team {
    padding: 6rem 2rem;
    background: var(--color-bg);
}

.team__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(107, 15, 15, 0.2);
}

.team-card__name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
}

.team-card__desc {
    font-size: 0.88rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

@media (max-width: 960px) {
    .mv__inner {
        grid-template-columns: 1fr;
    }
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline__inner::before {
        left: 20px;
    }
    .timeline__inner::after {
        left: 19px;
    }
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }
    .timeline-item::before {
        left: 15px;
    }
    .timeline-item__year {
        font-size: 1.1rem;
        text-align: left;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .team__grid {
        grid-template-columns: 1fr;
    }
    .page-hero {
        padding: 9rem 1.5rem 4.5rem;
    }
}
