/* ============================================================
   产品介绍页（about）
   ============================================================ */

/* ---------- 产品简介：左文案 + 右规格卡 ---------- */
.about-intro { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: start; }
.about-intro > .panel { align-self: stretch; display: flex; flex-direction: column; }
.about-intro .prose { flex: 1 1 auto; font-size: var(--fs-base); }
.about-intro .prose p { margin-bottom: 14px; }
.about-intro .prose p:last-child { margin-bottom: 0; }

/* 左卡片底部亮点标签，填补与右侧规格卡的高度差 */
.intro-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 28px; padding-top: 22px;
    border-top: 1px solid var(--line);
}
.intro-tags span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 999px;
    background: var(--brand-50); color: var(--brand-700);
    font-size: 12.5px; font-weight: 500; line-height: 1.4;
}
.intro-tags svg { width: 14px; height: 14px; flex: none; }

.spec-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 28px 26px;
    box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 20px);
}
.spec-card h3 {
    font-size: 15px; font-weight: 600; color: var(--ink-900);
    padding-bottom: 14px; margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 8px;
}
.spec-card h3 svg { color: var(--brand-600); }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 12px 0; border-bottom: 1px dashed var(--line);
    font-size: var(--fs-sm);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { color: var(--ink-500); flex: none; }
.spec-list .v { color: var(--ink-900); font-family: var(--font-mono); font-size: 12.5px; text-align: right; }
.spec-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.spec-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 500; color: var(--ink-800);
    background: #fff; transition: all .2s ease;
}
.spec-links a:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
.spec-links a svg { color: var(--ink-300); transition: transform .2s ease, color .2s ease; }
.spec-links a:hover svg { color: var(--brand-600); transform: translateX(3px); }

/* ---------- 后台界面预览（深色带） ---------- */
.ui-section { background: var(--ink-900); position: relative; overflow: hidden; }
.ui-section::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px; pointer-events: none;
}
.ui-section .container { position: relative; }
.ui-section .section-title { color: #fff; }
.ui-section .section-desc { color: rgba(255,255,255,.62); }
.ui-section .eyebrow { color: var(--brand-300); }
.ui-section .eyebrow::before { background: var(--brand-300); }

/* ---------- 后台截图轮播 ---------- */
.ui-gallery { max-width: 1080px; margin: 0 auto; }
.ui-stage { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.ui-track { display: flex; transition: transform .45s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.ui-slide { flex: 0 0 100%; min-width: 0; }
.ui-slide .ui-frame { border-radius: 0; }
.ui-slide:first-child .ui-frame { border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); }

.ui-frame {
    overflow: hidden;
    background: #0e2238; border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.ui-bar {
    height: 42px; background: #0b1c30;
    display: flex; align-items: center; gap: 7px; padding: 0 16px;
}
.ui-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ui-bar i:first-child { background: #ff6159; } .ui-bar i:nth-child(2) { background: #ffbd2e; } .ui-bar i:nth-child(3) { background: #28c940; }
.ui-bar .url-pill {
    margin-left: 14px; flex: 1; max-width: 360px;
    height: 24px; border-radius: 6px; background: rgba(255,255,255,.08);
    display: flex; align-items: center; padding: 0 12px;
    color: rgba(255,255,255,.5); font-size: 12px;
    font-family: var(--font-mono);
    white-space: nowrap; overflow: hidden;
}
.ui-frame img { display: block; width: 100%; height: auto; background: #f4f7fb; }
.ui-slide .ui-frame img { cursor: zoom-in; }

/* 左右切换箭头 */
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(11,28,48,.55);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: #fff; cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.gallery-arrow svg { width: 20px; height: 20px; }
.gallery-arrow:active { background: var(--brand-600); border-color: var(--brand-600); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

/* 图题 + 计数 + 圆点 */
.ui-gallery-foot { position: relative; max-width: 760px; margin: 22px auto 0; text-align: center; }
.ui-counter {
    position: absolute; right: 0; top: 3px;
    font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em;
    color: rgba(255,255,255,.4);
}
.ui-shot-title { margin: 0; color: #fff; font-size: 15.5px; font-weight: 600; }
.ui-shot-sub { display: block; margin-top: 5px; font-size: var(--fs-sm); color: rgba(255,255,255,.5); }
.ui-dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.ui-dot {
    width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
    background: rgba(255,255,255,.25); cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.ui-dot.is-active { width: 22px; background: var(--brand-400); }

.ui-zoom-hint {
    text-align: center; margin-top: 26px;
    color: rgba(255,255,255,.38); font-size: var(--fs-xs);
}
.ui-zoom-hint svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; }

/* ---------- 灯箱（JS 控制 is-open，不改 hash、不跳顶） ---------- */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(6, 16, 28, .9);
}
.lightbox.is-open { display: flex; align-items: center; justify-content: center; padding: 56px 90px; }
.lightbox-img {
    max-width: 100%; max-height: 84vh;
    border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox-close {
    position: absolute; top: 22px; right: 28px;
    width: 46px; height: 46px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; line-height: 1;
    transition: background .2s ease;
}
.lightbox-counter {
    position: absolute; top: 34px; left: 34px;
    color: rgba(255,255,255,.55);
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav:active { background: rgba(255,255,255,.32); }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .about-intro { grid-template-columns: 1fr; gap: 28px; }
    .spec-card { position: static; }
}
@media (max-width: 768px) {
    .ui-bar .url-pill { max-width: none; }
    .gallery-arrow { width: 40px; height: 40px; }
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    .ui-counter { position: static; display: block; margin-bottom: 8px; }
    .lightbox.is-open { padding: 52px 14px 16px; }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-counter { top: 18px; left: 18px; }
}
/* 悬停效果只在真正支持悬停的设备生效，避免触屏点击后颜色粘住 */
@media (hover: hover) {
    .gallery-arrow:hover { background: var(--brand-600); border-color: var(--brand-600); }
    .lightbox-close:hover { background: rgba(255,255,255,.25); }
    .lightbox-nav:hover { background: rgba(255,255,255,.26); }
}
@media (prefers-reduced-motion: reduce) {
    .ui-track { transition: none !important; }
}
