/*
 * hero-common.css — 全站子页面通用 Hero 区样式
 * 适用页面：about、learn-more、news、support、partners、works
 * 不适用：首页（独立设计）、join-us（背景图方案）
 */

/* ── 容器 ── */
.page-hero {
    padding: 70px 0 0;
    background: linear-gradient(180deg,
            #3d82e8 0%,
            #5b9cf6 25%,
            #a8c8ff 60%,
            #daeaff 80%,
            #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 底部融入内容区 */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    z-index: 1;
}

/* ── 内容包裹层 ── */
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 100px;
    animation: heroFadeUp 0.7s ease-out forwards;
}

/* ── 主标题 ── */
.page-hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(0, 50, 140, 0.2);
}

/* ── 副标题 ── */
.page-hero-content .page-hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 auto 28px;
    text-shadow: 0 1px 6px rgba(0, 40, 120, 0.15);
}

/* ── 底部关键词标签组 ── */
.page-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.page-hero-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #2563c8;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 100px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(30, 80, 180, 0.12);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.page-hero-tags .tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5b9cf6;
    flex-shrink: 0;
}

.page-hero-tags .tag:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30, 80, 180, 0.18);
}

/* ── 入场动画 ── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── 响应式 ── */
@media (max-width: 992px) {
    .page-hero-content h1 {
        font-size: 44px;
    }

    .page-hero-content .page-hero-desc {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 60px;
    }

    .page-hero-content {
        padding: 48px 20px 88px;
    }

    .page-hero-content h1 {
        font-size: 34px;
    }

    .page-hero-content .page-hero-desc {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .page-hero-content h1 {
        font-size: 28px;
    }

    .page-hero-tags .tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .page-hero-tags .tag::before {
        width: 5px;
        height: 5px;
    }
}