/* =============================================================
   延伸页面样式：申请开发者 / 关于我们 / 静态内容
   作用域：.gh-apply / .gh-about / .gh-doc
   依赖 nebula.css 的 CSS 变量
   ============================================================= */

/* ---------------- 通用：小标签 ---------------- */
.gh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .38rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--gh-border);
    background: rgba(168, 85, 247, .12);
    color: #d8b4fe;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gh-eyebrow i { font-size: .8rem; }

/* =============================================================
   申请开发者
   ============================================================= */
.gh-apply {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 5rem;
}
.gh-apply__shell {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.gh-apply__intro { padding-top: .5rem; }
.gh-apply__title {
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.16;
    margin: 1rem 0 .9rem;
    letter-spacing: -.02em;
}
.gh-apply__title span {
    background: var(--gh-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gh-apply__lead {
    color: var(--gh-muted);
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 34em;
    margin-bottom: 2rem;
}

.gh-apply__points {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}
.gh-apply__points li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    transition: border-color .25s ease, transform .25s ease;
}
.gh-apply__points li:hover {
    border-color: rgba(168, 85, 247, .5);
    transform: translateY(-2px);
}
.gh-apply__points i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, .3), rgba(34, 211, 238, .22));
    color: #e9d5ff;
    font-size: .95rem;
}
.gh-apply__points strong {
    display: block;
    color: var(--gh-text);
    font-size: .95rem;
    margin-bottom: .15rem;
}
.gh-apply__points small {
    display: block;
    color: var(--gh-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.gh-apply__flow {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.6rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1px dashed var(--gh-border);
    background: rgba(255, 255, 255, .02);
}
.gh-apply__flow span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--gh-muted);
}
.gh-apply__flow b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 211, 238, .16);
    color: #67e8f9;
    font-size: .72rem;
}

/* 右侧表单面板 */
.gh-apply__panel {
    position: sticky;
    top: 92px;
    padding: 2rem 1.75rem 1.85rem;
    border-radius: 22px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--gh-shadow);
}
.gh-apply__panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: var(--gh-gradient);
    opacity: .85;
}
.gh-apply__panel h2 {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: .35rem;
}
.gh-apply__panel-sub {
    color: var(--gh-muted);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.gh-apply__field { margin-bottom: 1.05rem; }
.gh-apply__field label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gh-text);
    margin-bottom: .4rem;
    letter-spacing: .02em;
}
.gh-apply__field label .required { color: var(--gh-pink); }
.gh-apply__field .form-control {
    height: calc(1.5em + 1rem + 2px);
    padding: .5rem .85rem;
    border-radius: 11px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface-2);
    color: var(--gh-text);
    font-size: .94rem;
}
.gh-apply__field .form-control::placeholder { color: var(--gh-muted); opacity: .65; }
.gh-apply__field .form-control:focus {
    border-color: var(--gh-violet);
    box-shadow: 0 0 0 .2rem rgba(168, 85, 247, .22);
    background: var(--gh-surface-2);
    color: var(--gh-text);
}
.gh-apply__field .form-hint {
    display: block;
    color: var(--gh-muted);
    font-size: .76rem;
    margin-top: .35rem;
}
.gh-apply__submit {
    width: 100%;
    padding: .85rem;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    font-size: .98rem;
    letter-spacing: .01em;
    color: #fff;
    background: var(--gh-gradient);
    box-shadow: 0 14px 34px -16px rgba(168, 85, 247, .9);
    transition: transform .2s ease, box-shadow .2s ease;
}
.gh-apply__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px -16px rgba(168, 85, 247, 1);
}
.gh-apply__note {
    color: var(--gh-muted);
    font-size: .76rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    text-align: center;
}
.gh-apply__note a { color: var(--gh-cyan); text-decoration: none; }

/* 已提交状态卡 */
.gh-apply__status {
    text-align: center;
    padding: .5rem 0 0;
}
.gh-apply__status-ico {
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, .55), rgba(34, 211, 238, .45));
}
.gh-apply__status h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.gh-apply__status > p {
    color: var(--gh-muted);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 1.35rem;
}
.gh-apply__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .34rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.gh-apply__badge--pending { background: rgba(250, 204, 21, .16); color: #fde047; }
.gh-apply__badge--approved { background: rgba(34, 197, 94, .16); color: #86efac; }
.gh-apply__badge--rejected { background: rgba(239, 68, 68, .16); color: #fca5a5; }

.gh-apply__facts {
    text-align: left;
    border-radius: 14px;
    border: 1px solid var(--gh-border);
    background: rgba(255, 255, 255, .02);
    padding: .25rem 1rem;
    margin-bottom: 1.25rem;
}
.gh-apply__facts div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
    font-size: .87rem;
    border-bottom: 1px solid var(--gh-border);
}
.gh-apply__facts div:last-child { border-bottom: 0; }
.gh-apply__facts span { color: var(--gh-muted); }
.gh-apply__facts b {
    color: var(--gh-text);
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}
.gh-apply__remark {
    text-align: left;
    padding: .75rem .9rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .3);
    color: #fca5a5;
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.gh-apply__cta {
    display: block;
    width: 100%;
    padding: .8rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, .45);
    background: rgba(34, 211, 238, .12);
    color: #a5f3fc;
    font-weight: 700;
    font-size: .94rem;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease;
}
.gh-apply__cta:hover { background: rgba(34, 211, 238, .2); color: #cffafe; }

/* =============================================================
   关于我们
   ============================================================= */
.gh-about {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 5rem;
}
.gh-about__hero {
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
}
.gh-about__hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -.025em;
    margin: 1.1rem 0 .9rem;
}
.gh-about__hero h1 span {
    background: var(--gh-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gh-about__hero p {
    color: var(--gh-muted);
    font-size: 1.04rem;
    line-height: 1.8;
    max-width: 44em;
    margin: 0 auto;
}
.gh-about__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.6rem;
}
.gh-about__chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    color: var(--gh-muted);
    font-size: .84rem;
}
.gh-about__chip i { color: #c4b5fd; }
.gh-about__chip b { color: var(--gh-text); font-weight: 600; }

.gh-about__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.gh-about__stat {
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    text-align: center;
}
.gh-about__stat b {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.1;
    background: var(--gh-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gh-about__stat span {
    display: block;
    color: var(--gh-muted);
    font-size: .82rem;
    margin-top: .35rem;
}

.gh-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 2rem;
    align-items: start;
}

/* 深色正文排版（关于我们 / 用户协议 / 隐私政策） */
.gh-doc {
    padding: 2rem 2rem 2.2rem;
    border-radius: 20px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.gh-doc h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gh-text);
    margin: 2rem 0 .9rem;
    padding-left: .8rem;
    border-left: 3px solid var(--gh-violet);
    line-height: 1.4;
}
.gh-doc h2:first-child { margin-top: 0; }
.gh-doc h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gh-text);
    margin: 1.5rem 0 .6rem;
}
.gh-doc p,
.gh-doc li {
    color: var(--gh-muted);
    line-height: 1.85;
    font-size: .95rem;
}
.gh-doc p { margin-bottom: 1rem; }
.gh-doc ul, .gh-doc ol { padding-left: 1.35rem; margin-bottom: 1.1rem; }
.gh-doc li { margin-bottom: .45rem; }
.gh-doc strong { color: var(--gh-text); }
.gh-doc a { color: var(--gh-cyan); text-decoration: none; }
.gh-doc a:hover { text-decoration: underline; }
.gh-doc hr { border-color: var(--gh-border); margin: 2rem 0; }

/* 公司信息卡 */
.gh-about__card {
    position: sticky;
    top: 92px;
    padding: 1.6rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    box-shadow: var(--gh-shadow);
}
.gh-about__card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    color: var(--gh-text);
}
.gh-about__card h3 i { color: #c4b5fd; margin-right: .45rem; }
.gh-about__row {
    display: flex;
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--gh-border);
    font-size: .88rem;
    line-height: 1.6;
}
.gh-about__row:last-of-type { border-bottom: 0; }
.gh-about__row > i {
    flex: 0 0 auto;
    width: 18px;
    color: #67e8f9;
    margin-top: .2rem;
}
.gh-about__row span { color: var(--gh-muted); display: block; font-size: .76rem; }
.gh-about__row b { color: var(--gh-text); font-weight: 600; word-break: break-word; }
.gh-about__card-cta {
    display: block;
    margin-top: 1.25rem;
    padding: .7rem;
    border-radius: 11px;
    text-align: center;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    background: var(--gh-gradient);
    text-decoration: none;
    transition: transform .2s ease;
}
.gh-about__card-cta:hover { transform: translateY(-1px); color: #fff; }

/* 静态文章页（协议 / 隐私） */
.gh-doc-page { position: relative; z-index: 1; padding: 3rem 0 5rem; }
.gh-doc-page__head {
    max-width: 820px;
    margin: 0 auto 1.75rem;
}
.gh-doc-page__head h1 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin: .9rem 0 .6rem;
}
.gh-doc-page__head p { color: var(--gh-muted); font-size: .92rem; }
.gh-doc-page__body { max-width: 820px; margin: 0 auto; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 991.98px) {
    .gh-apply__shell { grid-template-columns: 1fr; gap: 2.25rem; }
    .gh-apply__panel { position: static; }
    .gh-apply__points { grid-template-columns: 1fr; }
    .gh-about__grid { grid-template-columns: 1fr; }
    .gh-about__card { position: static; }
    .gh-about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .gh-apply { padding: 2.25rem 0 3.5rem; }
    .gh-apply__panel { padding: 1.6rem 1.2rem 1.5rem; }
    .gh-apply__flow { gap: .5rem .9rem; }
    .gh-doc { padding: 1.4rem 1.15rem; }
    .gh-about__stat b { font-size: 1.55rem; }
}

/* 价值观三卡 */
.gh-about__values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.gh-about__value {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    transition: border-color .25s ease, transform .25s ease;
}
.gh-about__value:hover {
    border-color: rgba(34, 211, 238, .45);
    transform: translateY(-2px);
}
.gh-about__value i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: .85rem;
    font-size: 1rem;
    color: #e9d5ff;
    background: linear-gradient(135deg, rgba(168, 85, 247, .32), rgba(34, 211, 238, .22));
}
.gh-about__value strong {
    display: block;
    color: var(--gh-text);
    font-size: 1rem;
    margin-bottom: .45rem;
}
.gh-about__value p {
    color: var(--gh-muted);
    font-size: .87rem;
    line-height: 1.7;
    margin: 0;
}

/* 底部 CTA */
.gh-about__cta {
    margin-top: 2.5rem;
    padding: 2.6rem 2rem;
    border-radius: 22px;
    text-align: center;
    border: 1px solid var(--gh-border);
    background:
        radial-gradient(600px 300px at 20% 0%, rgba(168, 85, 247, .28), transparent 65%),
        radial-gradient(520px 300px at 85% 100%, rgba(34, 211, 238, .22), transparent 65%),
        var(--gh-surface);
}
.gh-about__cta h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}
.gh-about__cta p {
    color: var(--gh-muted);
    margin-bottom: 1.5rem;
}
.gh-about__cta a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.7rem;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    background: var(--gh-gradient);
    box-shadow: 0 16px 38px -18px rgba(168, 85, 247, .95);
    transition: transform .2s ease;
}
.gh-about__cta a:hover { transform: translateY(-2px); color: #fff; }

@media (max-width: 991.98px) {
    .gh-about__values { grid-template-columns: 1fr; }
}

/* =============================================================
   新闻中心 / 新闻详情
   ============================================================= */
.gh-news-page { position: relative; z-index: 1; padding: 3rem 0 5rem; }
.gh-news-page__head { max-width: 760px; margin-bottom: 2.2rem; }
.gh-news-page__head h1 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin: .9rem 0 .6rem;
}
.gh-news-page__head p { color: var(--gh-muted); line-height: 1.75; margin: 0; }
.gh-news-page__count { display: inline-block; margin-top: .9rem; color: var(--gh-muted); font-size: .85rem; }
.gh-news-page__count b { color: var(--gh-text); }
.gh-news--page { row-gap: 24px; }

.gh-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.gh-pager__btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem 1.1rem; border-radius: 10px;
    border: 1px solid var(--gh-border-strong); background: var(--gh-surface);
    color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem;
    transition: background .2s ease, border-color .2s ease;
}
.gh-pager__btn:hover { background: var(--gh-surface-2); color: #fff; border-color: rgba(168, 85, 247, .5); }
.gh-pager__btn.is-disabled { opacity: .4; pointer-events: none; }
.gh-pager__info { color: var(--gh-muted); font-size: .88rem; font-variant-numeric: tabular-nums; }

/* 分页（深色星云主题）：与 .gh-pager 同一视觉语言，用于带页码的列表 */
.gh-pagination-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.gh-pagination {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .4rem; margin: 0; padding: .4rem; list-style: none;
    border: 1px solid var(--gh-border); border-radius: 14px;
    background: rgba(10, 15, 31, .6);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--gh-shadow);
}
.gh-pagination__item { display: flex; }
.gh-pagination__link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 .9rem; border-radius: 10px;
    border: 1px solid transparent; color: var(--gh-muted); background: transparent;
    font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums;
    text-decoration: none; white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.gh-pagination__link:hover {
    color: #fff; background: var(--gh-surface-2);
    border-color: rgba(168, 85, 247, .5); transform: translateY(-2px);
}
.gh-pagination__item.is-active .gh-pagination__link,
.gh-pagination__link.is-active {
    color: #fff; background: var(--gh-gradient); border-color: transparent;
    box-shadow: 0 10px 26px -12px rgba(168, 85, 247, .9);
}
.gh-pagination__item.is-active .gh-pagination__link:hover { transform: none; }
.gh-pagination__link--nav {
    padding: 0 1.05rem; color: #fff;
    background: var(--gh-surface); border-color: var(--gh-border-strong);
}
.gh-pagination__item.is-disabled .gh-pagination__link,
.gh-pagination__link.is-disabled { opacity: .38; pointer-events: none; }
@media (max-width: 480px) {
    .gh-pagination { gap: .25rem; padding: .3rem; }
    .gh-pagination__link { min-width: 34px; height: 34px; padding: 0 .65rem; font-size: .82rem; }
}

.gh-news-article { position: relative; z-index: 1; padding: 2.6rem 0 5rem; }
.gh-news-article__crumb { display: flex; align-items: center; gap: .5rem; color: var(--gh-muted); font-size: .85rem; margin-bottom: 1.4rem; }
.gh-news-article__crumb a { color: var(--gh-muted); text-decoration: none; }
.gh-news-article__crumb a:hover { color: #fff; }
.gh-news-article__crumb i { font-size: .7rem; opacity: .6; }
.gh-news-article__head { max-width: 860px; }
.gh-news-article__head h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900; line-height: 1.28; letter-spacing: -.02em;
    margin: 1rem 0 .9rem;
}
.gh-news-article__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--gh-muted); font-size: .86rem; }
.gh-news-article__meta i { color: #c4b5fd; margin-right: .35rem; }
.gh-news-article__hero {
    max-width: 860px;
    height: 220px; border-radius: 22px; margin: 1.8rem 0 2rem;
    display: grid; place-items: center; overflow: hidden;
    border: 1px solid var(--gh-border);
}
.gh-news-article__hero i { font-size: 4rem; color: rgba(255, 255, 255, .9); }
.gh-news-article__body { max-width: 860px; }
.gh-news-article__foot { max-width: 860px; margin-top: 2rem; }
.gh-news-article__related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--gh-border); }
.gh-news-article__related-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.4rem; }

@media (max-width: 991.98px) {
    .gh-news-article__hero { height: 170px; }
}
