/* ============================================
   组件：关于我们页
   ============================================ */

/* ---------- 内容宽度 ----------
   与广告投放页 / 申请收录页保持一致：内容 880px 居中
   （880px 内容 + 左右各 1rem 内边距 = 912px 容器宽度）
   -------------------------------------------- */
.main-wrap .container-xl {
    max-width: calc(880px + 2rem);
}

/* ---------- 通用标题 ---------- */
.section-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-head__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--app-text);
    margin: 0 0 .3rem;
}

.section-head__desc {
    font-size: .88rem;
    color: var(--app-text-muted);
    margin: 0;
}

/* ---------- ① Hero ---------- */
.about-hero {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
}

.about-hero__title {
    font-size: var(--app-page-title-size);   /* 全站页头统一尺寸 */
    font-weight: 700;
    margin: 0 0 .4rem;
    color: var(--app-text);
}

/* 标题下方装饰条（纯色，无渐变） */
.about-hero__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin: .7rem auto 0;
    border-radius: 999px;
    background: var(--app-accent);
}

.about-hero__subtitle {
    font-size: .95rem;
    color: var(--app-accent);
    font-weight: 500;
    margin: 0 0 .5rem;
}

.about-hero__intro {
    max-width: 500px;
    margin: 0 auto;
    color: var(--app-text-muted);
    font-size: .88rem;
    line-height: 1.7;
}

/* ---------- ② 数据统计 ---------- */
.about-stats {
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .65rem;
}

.stat-card {
    padding: .85rem .75rem;
    text-align: center;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 10px;
}

.stat-card__num {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--app-accent);
    font-variant-numeric: tabular-nums;
    margin-bottom: .1rem;
}

.stat-card__label {
    font-size: .72rem;
    color: var(--app-text-muted);
}

/* ---------- ③ 联系我们 ---------- */
.about-contact {
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* 最后一行不足两个时居中对齐（如 QQ 单独一行） */
    gap: .65rem;
}

.contact-card {
    flex: 0 0 calc(50% - .325rem);   /* 每行两个，间距 .65rem */
    max-width: calc(50% - .325rem);
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 10px;
    transition: border-color .15s ease;
}

.contact-card:hover {
    border-color: var(--app-accent);
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--app-accent-soft);
    color: var(--app-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-card__info {
    flex: 1;
    min-width: 0;
}

.contact-card__label {
    font-size: .7rem;
    color: var(--app-text-muted);
}

.contact-card__value {
    font-size: .82rem;
    font-weight: 500;
    color: var(--app-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-card__copy {
    width: 32px;
    height: 32px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
    flex-shrink: 0;
}

.contact-card__copy:hover {
    border-color: var(--app-accent);
    color: var(--app-accent);
    background: var(--app-accent-soft);
}

.contact-card__copy.copied {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, .1);
}

/* ---------- ⑦ CTA ---------- */
.about-cta {
    margin-bottom: 1rem;
}

.cta-box {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 14px;
}

.cta-box__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--app-text);
    margin: 0 0 .35rem;
}

.cta-box__desc {
    font-size: .85rem;
    color: var(--app-text-muted);
    margin: 0 0 1.1rem;
}

.cta-box__actions {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box__actions .btn {
    border-radius: 8px;
    padding: .5rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .contact-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: .65rem .5rem;
    }

    .stat-card__num {
        font-size: 1.15rem;
    }
}
