/* 关于我们 - 视觉升级 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.about-img {
    height: 440px;
    background: linear-gradient(145deg, #0f2027 0%, #1a3a3a 50%, #0f2027 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.about-img::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
    animation: imgGlow 8s ease-in-out infinite;
}
@keyframes imgGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}
.about-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-text p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 20px;
    font-size: 15px;
}
.about-text p:last-child {
    margin-bottom: 0;
}

/* === 横向时间线（桌面） === */
.timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 70px 20px 0;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light) 5%, var(--accent) 15%, var(--accent) 85%, var(--border-light) 95%, transparent);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.3);
}
.timeline-item {
    flex: 1;
    min-width: 130px;
    position: relative;
    text-align: center;
    padding: 0 8px;
    cursor: default;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.15), 0 0 12px rgba(0, 212, 170, 0.25);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item:hover::before {
    box-shadow: 0 0 0 6px rgba(0, 212, 170, 0.25), 0 0 24px rgba(0, 212, 170, 0.4);
    border-color: #fff;
}
.timeline-item:hover::after {
    background: #fff;
    box-shadow: 0 0 10px var(--accent);
}
.timeline-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 14px;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    transition: all 0.4s ease;
}
.timeline-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 150px;
    margin: 0 auto;
    transition: all 0.4s ease;
}
.timeline-item:hover .timeline-year {
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}
.timeline-item:hover .timeline-text {
    color: var(--text-primary);
}
.timeline-item:hover {
    background: rgba(0, 212, 170, 0.04);
    border-radius: 12px;
}

/* === 数字指标区 === */
.about-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px 0 100px;
}
.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.metric-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 170, 0.08);
}
.metric-card:hover::before {
    opacity: 1;
}
.metric-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.metric-num .metric-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-dark);
}
.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Mobile 768px ===== */
@media (max-width: 768px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }
    .about-img { height: 220px; font-size: 60px; border-radius: 12px; }
    .about-text h2 { font-size: 24px; margin-bottom: 16px; }
    .about-text p { font-size: 14px; line-height: 1.8; margin-bottom: 14px; }

    .about-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 48px; }
    .metric-card { padding: 20px 16px; }
    .metric-num { font-size: 28px; }
    .metric-num .metric-unit { font-size: 14px; }
    .metric-label { font-size: 13px; }
    .metric-card:hover { transform: none; }

    /* 时间线改为竖排 */
    .timeline {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 0 32px;
        overflow-x: visible;
    }
    /* 覆盖桌面横向线 → 改为左侧竖线 */
    .timeline::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--accent), var(--accent) 90%, transparent);
        box-shadow: 0 0 8px rgba(0, 212, 170, 0.3);
    }
    .timeline-item {
        position: relative;
        text-align: left;
        padding: 0 0 24px 24px;
        margin-bottom: 0;
        min-width: auto;
    }
    /* 覆盖桌面圆点 → 移到左侧线上 */
    .timeline-item::before {
        top: 6px;
        left: -32px;
        width: 14px;
        height: 14px;
        transform: none;
    }
    .timeline-item::after {
        top: 9px;
        left: -29px;
        width: 8px;
        height: 8px;
        transform: none;
    }
    .timeline-year { font-size: 18px; margin-bottom: 6px; letter-spacing: 1px; }
    .timeline-text { max-width: none; font-size: 14px; color: var(--text-secondary); }
    .timeline-item:hover { background: none; }
}

/* ===== Small Mobile 480px ===== */
@media (max-width: 480px) {
    .about-intro { gap: 24px; margin-bottom: 36px; }
    .about-img { height: 180px; font-size: 48px; }
    .about-text h2 { font-size: 20px; }
    .about-text p { font-size: 13px; margin-bottom: 12px; }

    .about-metrics { gap: 10px; margin: 24px 0 36px; }
    .metric-card { padding: 16px 12px; border-radius: 8px; }
    .metric-num { font-size: 24px; }
    .metric-num .metric-unit { font-size: 12px; }
    .metric-label { font-size: 12px; }

    .timeline { padding-left: 28px; }
    .timeline::before { left: 5px; }
    .timeline-item { padding-left: 20px; padding-bottom: 20px; }
    .timeline-item::before { left: -28px; width: 12px; height: 12px; }
    .timeline-item::after { left: -25px; top: 8px; width: 6px; height: 6px; }
    .timeline-year { font-size: 16px; }
    .timeline-text { font-size: 13px; }
}
