/* ── 内页通用（关于、错误页等）──────────────────────────────── */

.page-shell {
    min-height: 100vh;
    background: var(--color-bg);
}

.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + 48px) 0 72px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% -5%, rgba(26, 86, 219, 0.1) 0%, transparent 58%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(26, 86, 219, 0.08);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

/* ── 关于我们 ───────────────────────────────────────────────── */

.about-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 30% 30%, rgba(26, 86, 219, 0.12), transparent 55%),
        linear-gradient(145deg, #f8fafc, #eef2ff);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.about-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.about-brand-lockup .brand-mark {
    width: 88px;
    height: 88px;
    font-size: 1.375rem;
    border-radius: 22px;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.about-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.about-brand-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.about-intro-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.about-intro-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-value-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-value-icon.blue { background: rgba(26, 86, 219, 0.1); color: #1a56db; }
.about-value-icon.green { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.about-value-icon.cyan { background: rgba(14, 165, 233, 0.1); color: #0284c7; }

.about-value-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-value-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.about-timeline {
    display: grid;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 24px;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border-light);
}

.about-timeline-year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}

.about-timeline-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-timeline-item p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.about-contact-card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #0ea5e9 100%);
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.about-contact-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-contact-card p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.about-contact-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.about-contact-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.about-contact-card .btn-ghost {
    color: rgba(255, 255, 255, 0.88);
}

.about-contact-card .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── 错误页 ─────────────────────────────────────────────────── */

.error-page {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 32px) 0 80px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26, 86, 219, 0.08), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.error-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.error-code {
    font-size: clamp(4rem, 12vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1a56db 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 86, 219, 0.08);
    color: var(--color-primary);
}

.error-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.error-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.nav-link-item.active {
    color: var(--color-primary);
}

.nav-link-item.active .nav-link-icon {
    opacity: 1;
}

@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .error-card {
        padding: 40px 24px;
    }

    .about-contact-card {
        padding: 36px 24px;
    }

    .help-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* ── 帮助中心 ───────────────────────────────────────────────── */

.container--narrow {
    max-width: 800px;
}

.page-hero--compact {
    padding-bottom: 48px;
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.help-quick-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.help-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 86, 219, 0.2);
}

.help-quick-card strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.help-quick-card span:last-child {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.help-quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.help-quick-icon.blue { background: rgba(26, 86, 219, 0.1); color: #1a56db; }
.help-quick-icon.green { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.help-quick-icon.cyan { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.help-quick-icon.purple { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }

.help-section-head {
    margin-bottom: 32px;
}

.help-section-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.help-section-head p {
    color: var(--color-text-secondary);
}

.help-steps {
    display: grid;
    gap: 16px;
}

.help-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border-light);
}

.help-step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 86, 219, 0.1);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.0625rem;
}

.help-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.help-step p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.help-faq-group {
    margin-bottom: 36px;
}

.help-faq-group-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border-light);
}

.help-faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.help-faq-item summary {
    padding: 16px 20px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background var(--transition);
}

.help-faq-item summary::-webkit-details-marker {
    display: none;
}

.help-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.help-faq-item[open] summary::after {
    content: '−';
}

.help-faq-item summary:hover {
    background: var(--color-bg-subtle);
}

.help-faq-item p {
    padding: 0 20px 16px;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.help-faq-item p a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-cta {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.help-cta-brand {
    margin-bottom: 12px;
}

.help-cta h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.help-cta p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.help-cta p a {
    color: var(--color-primary);
}

.help-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ── 隐私政策 ───────────────────────────────────────────────── */

.legal-updated {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.legal-doc {
    padding: 40px 44px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.legal-block {
    margin-bottom: 32px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.legal-block p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    margin: 0 0 12px 1.25em;
    padding: 0;
}

.legal-block li {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-block a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1024px) {
    .help-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .legal-doc {
        padding: 28px 20px;
    }
}
