@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }


.nav-item { display: flex; flex-direction: row; align-items: center; gap: 4px; cursor: pointer; height: 100%; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; text-decoration: none; }

/* ── Content ── */
.content-wrap { max-width: 960px; margin: 36px auto 80px; padding: 0 24px; animation: fadeInUp 0.6s ease 0.1s both; }

/* ── Intro ── */
.intro-section { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 40px; }
.intro-img { flex-shrink: 0; width: 300px; }
.intro-img img { width: 100%; height: auto; display: block; border-radius: 2px; }
.intro-img-placeholder { width: 300px; height: 380px; background: var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text-faint); font-size: 13px; border-radius: 2px; }
.intro-text { flex: 1; }
.intro-title { font-size: 18px; font-weight: 400; color: var(--color-brand); line-height: 1.7; margin-bottom: 16px; }
.intro-body { font-size: 14px; color: var(--color-text); line-height: 1.9; }
.intro-body p { margin-bottom: 0; }
.intro-hr { border: none; border-top: 1px dashed #c8c0b0; margin: 18px 0; }

/* ── Section divider ── */
.section-hr { border: none; border-top: 1px dashed #c8c0b0; margin: 40px 0; }

/* ── QR codes ── */
.qr-section { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }
.qr-group { display: flex; flex-direction: column; }
.qr-group-title { font-size: 16px; font-weight: 400; color: var(--color-brand); margin-bottom: 14px; }
.qr-list { display: flex; gap: 16px; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-item img { width: 110px; height: 110px; object-fit: cover; display: block; }
.qr-placeholder { width: 110px; height: 110px; background: var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-star-sub); font-size: 12px; }
.qr-label { font-size: 13px; color: var(--color-text-sec); text-align: center; }

/* ── Contact ── */
.contact-section { display: flex; align-items: flex-start; gap: 20px; padding: 8px 0; }
.contact-label { font-size: 14px; color: var(--color-text-sec); white-space: nowrap; padding-top: 3px; }
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-val { font-size: 18px; font-weight: 400; color: var(--color-brand); text-decoration: none; display: block; }
a.contact-val:hover { text-decoration: underline; }

/* ── App Download ── */
.qr-section .qr-group:last-child { align-items: center; }
.qr-section .qr-group:last-child .qr-group-title { text-align: center; }
.app-download-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-icon { width: 80px; height: 80px; border-radius: 18px; flex-shrink: 0; overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px; }
.app-info { text-align: center; }
.app-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.app-version { font-size: 12px; color: #999; margin-top: 2px; }
.app-dl-btn { display: inline-block; padding: 6px 18px; background: var(--color-brand); color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; text-align: center; }
.app-dl-btn:hover { opacity: 0.85; }

/* ── Loading ── */
.page-loading { text-align: center; padding: 80px; color: var(--color-text-faint); font-size: 14px; }

/* ========== 移动端响应式 ========== */
@media (max-width: 768px) {
    .content-wrap { padding: 0 16px; margin-top: 20px; }
    .intro-section { flex-direction: column; gap: 24px; align-items: center; }
    .intro-img { width: 100%; max-width: 300px; }
    .intro-img-placeholder { width: 100%; height: 280px; }
    .intro-title { font-size: 16px; }
    .intro-body { font-size: 13px; }
    .qr-section { gap: 28px; }
    .qr-list { flex-wrap: wrap; }
    .page-loading { padding: 40px; }
}
@media (max-width: 480px) {
    .nav-item .en { display: none; }
    .intro-img-placeholder { height: 220px; }
    .intro-title { font-size: 15px; }
    .qr-item img, .qr-placeholder { width: 90px; height: 90px; }
    .app-dl-btn { width: auto; }
}

/* 手动切换手机模式时（不依赖屏幕宽度） */
body.mode-mobile .content-wrap { padding: 0 16px; margin-top: 20px; }
body.mode-mobile .intro-section { flex-direction: column; gap: 16px; align-items: center; }
body.mode-mobile .intro-img { width: 100%; max-width: 320px; height: auto; flex-shrink: 0; }
body.mode-mobile .intro-img img { width: 100%; height: auto; object-fit: cover; border-radius: 6px; }
body.mode-mobile .intro-img-placeholder { width: 100%; height: 220px; }
body.mode-mobile .intro-title { font-size: 15px; }
body.mode-mobile .intro-body { font-size: 13px; }
body.mode-mobile .qr-section { gap: 28px; }
body.mode-mobile .qr-list { flex-wrap: wrap; }
body.mode-mobile .page-loading { padding: 40px; }
body.mode-mobile .nav-item .en { display: none; }
body.mode-mobile .qr-item img,
body.mode-mobile .qr-placeholder { width: 90px; height: 90px; }
body.mode-mobile .app-dl-btn { width: auto; }