﻿/* ==========================================
   About 页样式
   ========================================== */

/* ---------- Hero ---------- */
.ab-hero { position: relative; min-height: 620px; display: flex; align-items: center; padding: 100px 20px; overflow: hidden; color: #fff; }
.ab-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,74,0.92) 0%, rgba(15,42,74,0.6) 55%, rgba(15,42,74,0.35) 100%); z-index: 1; }
.ab-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.ab-hero-label { display: inline-block; background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.4); color: var(--c-primary-light); padding: 6px 16px; border-radius: 4px; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 22px; font-weight: 600; }
.ab-hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin: 0 0 20px; max-width: 820px; letter-spacing: -0.5px; }
.ab-hero-highlight { background: linear-gradient(90deg, var(--c-primary-light) 0%, var(--c-primary) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ab-hero-sub { font-size: 17px; color: #cbd5e1; line-height: 1.7; max-width: 680px; margin: 0 0 28px; }
.ab-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ab-hero-btn { display: inline-block; background: var(--c-primary); color: #fff; padding: 14px 30px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 600; transition: background 0.25s; }
.ab-hero-btn:hover { background: var(--c-primary-hover); }
.ab-hero-btn-outline { display: inline-block; background: transparent; color: #fff; padding: 14px 30px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,0.4); transition: all 0.25s; }
.ab-hero-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.ab-hero-trust { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.ab-hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-border); font-weight: 500; letter-spacing: 0.3px; }
.ab-hero-trust i { color: var(--c-primary-light); font-size: 12px; }

/* ---------- 通用 label ---------- */
.ab-label { font-size: 13px; color: var(--c-primary); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.ab-label::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--c-primary); vertical-align: middle; margin-right: 10px; }
.ab-label-light { font-size: 13px; color: var(--c-primary-light); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.ab-label-light::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--c-primary-light); vertical-align: middle; margin-right: 10px; }

/* ---------- Stats ---------- */
.stats-section { background: #ffffff; padding: 60px 20px; border-bottom: 1px solid #f1f5f9; }
.stats-bar { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.stats-item { flex: 1; text-align: center; padding: 10px 20px; position: relative; min-width: 140px; }
.stats-item + .stats-item::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--c-border); }
.stats-num { font-size: 40px; font-weight: 800; color: var(--c-text); line-height: 1.1; margin-bottom: 6px; letter-spacing: -0.5px; }
.stats-label { font-size: 12px; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ---------- Who We Are ---------- */
.ab-what { padding: 90px 20px; background: #ffffff; }
.ab-what-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ab-what-text h2 { font-size: 40px; font-weight: 800; color: var(--c-text); line-height: 1.2; margin: 0 0 22px; }
.ab-what-text p { font-size: 15px; color: #475569; line-height: 1.8; margin: 0 0 18px; }
.ab-what-points { list-style: none; padding: 0; margin: 12px 0 0; }
.ab-what-points li { position: relative; padding: 10px 0 10px 30px; font-size: 14.5px; color: #334155; line-height: 1.6; border-bottom: 1px solid #f1f5f9; }
.ab-what-points li:last-child { border-bottom: none; }
.ab-what-points li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; background: #e0f2fe; color: var(--c-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ab-what-points strong { color: var(--c-text); font-weight: 700; }
.ab-what-img img { width: 100%; height: 460px; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px -15px rgba(15,42,74,0.3); }

/* ---------- Why Choose Us ---------- */
.why-section { padding: 90px 20px; background: var(--c-bg-soft); }
.why-header { max-width: 1200px; margin: 0 auto 50px; text-align: center; }
.why-header .ab-label { display: inline-block; }
.why-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.why-header p { font-size: 15px; color: var(--c-text-muted); margin: 0 auto; line-height: 1.6; max-width: 680px; }
.why-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #ffffff; border: 1px solid var(--c-border); border-radius: 14px; padding: 32px 28px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.why-card:hover { transform: translateY(-6px); border-color: #bfdbfe; box-shadow: 0 20px 40px -16px rgba(29, 111, 232, 0.18); }
.why-icon { width: 56px; height: 56px; background: #e0f2fe; color: var(--c-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.why-card h3 { font-size: 17px; color: var(--c-text); margin: 0 0 8px; font-weight: 700; }
.why-card p { font-size: 14px; color: var(--c-text-muted); margin: 0; line-height: 1.6; }

/* ---------- Deep Processing ---------- */
.adv-process-section { background: #090d16; padding: 90px 0 80px; margin: 0; color: #ffffff; }
.adv-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.adv-header { margin-bottom: 50px; text-align: left; }
.adv-header h2 { font-size: 40px; font-weight: 800; color: #ffffff; margin: 0 0 14px; line-height: 1.2; }
.adv-header p { font-size: 15px; color: #94a3b8; margin: 0; line-height: 1.6; max-width: 720px; }
.adv-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.adv-preview-box { position: relative; height: 480px; background: #1e293b; border-radius: 16px; overflow: hidden; border: 1px solid #334155; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5); }
.adv-preview-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.6s ease; }
.adv-preview-box:hover .adv-preview-img { transform: scale(1.03); }
.adv-preview-badge { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(15,23,42,0.65); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); padding: 16px 20px; border-radius: 10px; }
.adv-badge-num { font-size: 12px; font-weight: 700; color: #00e5ff; letter-spacing: 1px; margin-bottom: 2px; }
.adv-badge-title { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.adv-badge-desc { font-size: 12px; color: #cbd5e1; margin: 0; line-height: 1.4; }

/* 步骤列表容器 */
.adv-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}
.adv-steps-list::-webkit-scrollbar { width: 4px; }
.adv-steps-list::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

/* 步骤按钮（含 button 重置） */
.adv-step-item {
    background: #111827;
    border: 1px solid #1f2937;
    padding: 16px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    text-align: left;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.adv-step-item:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 2px;
}
.adv-step-item:hover { border-color: #475569; background: #1e293b; }
.adv-step-item.active {
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0,229,255,0.1);
}
.adv-step-left { display: flex; align-items: center; gap: 16px; }
.adv-step-idx { font-size: 14px; font-weight: 700; color: #64748b; transition: color 0.3s ease; }
.adv-step-item.active .adv-step-idx { color: #00e5ff; }
.adv-step-name { font-size: 15px; font-weight: 600; color: #cbd5e1; transition: color 0.3s ease; }
.adv-step-item.active .adv-step-name { color: #ffffff; }
.adv-step-arrow { color: #475569; font-size: 14px; transition: transform 0.3s ease, color 0.3s ease; }
.adv-step-item.active .adv-step-arrow { color: #00e5ff; transform: translateX(4px); }

/* ---------- Factory Video ---------- */
.ab-factory { padding: 90px 0; background: var(--c-dark); }
.ab-factory-header { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; text-align: left; }
.ab-factory-header h2 { font-size: 40px; font-weight: 800; color: #ffffff; margin: 0; line-height: 1.2; }
.ab-factory-inner { position: relative; width: 100%; max-width: 1400px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ab-factory-inner iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Inside Our Factory ---------- */
.ab-team-section { padding: 90px 0 80px; background: #ffffff; overflow: hidden; }
.ab-team-header { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; text-align: center; }
.ab-team-header .ab-label { display: inline-block; }
.ab-team-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.ab-team-header p { font-size: 15px; color: var(--c-text-muted); margin: 0 auto; line-height: 1.6; max-width: 680px; }
.ab-team-carousel { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 60px; }
.ab-team-viewport { overflow: hidden; }
.ab-team-track { display: flex; gap: 24px; transition: transform 0.5s ease; will-change: transform; }
.team-card { flex: 0 0 calc((100% - 72px) / 4); background: #ffffff; border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.team-card:hover { transform: translateY(-6px); border-color: #bfdbfe; box-shadow: 0 20px 40px -16px rgba(29, 111, 232, 0.18); }
.team-photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f5f9; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 16px 18px 20px; }
.team-info h4 { font-size: 15px; color: var(--c-text); margin: 0 0 6px; font-weight: 700; }
.team-info p { font-size: 12.5px; color: var(--c-text-muted); margin: 0; line-height: 1.5; }
.ab-team-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cbd5e1; background: #ffffff; color: var(--c-text); cursor: pointer; font-size: 16px; z-index: 3; display: flex; align-items: center; justify-content: center; transition: background 0.25s, color 0.25s, border-color 0.25s; box-shadow: 0 8px 20px -10px rgba(15,23,42,0.2); }
.ab-team-arrow:hover { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.ab-team-prev { left: 0; }
.ab-team-next { right: 0; }
.ab-team-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; padding: 0 20px; }
.ab-team-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: background 0.2s, width 0.2s; }
.ab-team-dots .dot.active { background: var(--c-primary); width: 24px; border-radius: 4px; }

/* ---------- Certificates (美化版 · 3 列) ---------- */
.ab-trust { padding: 100px 20px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.ab-trust-header { max-width: 1200px; margin: 0 auto 60px; text-align: center; }
.ab-trust-header .ab-label { display: inline-block; }
.ab-trust-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.ab-trust-header p { font-size: 15px; color: var(--c-text-muted); margin: 0 auto; max-width: 640px; line-height: 1.65; }

.ab-trust-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.trust-badge { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; outline: none; box-shadow: 0 4px 14px rgba(15, 42, 74, 0.05); display: flex; flex-direction: column; }
.trust-badge:hover, .trust-badge:focus-visible { transform: translateY(-8px); border-color: #93c5fd; box-shadow: 0 24px 48px -18px rgba(29, 111, 232, 0.35); }

.trust-thumb { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #f8fafc; overflow: hidden; border-bottom: 1px solid #e2e8f0; padding: 24px 24px 0; display: flex; align-items: center; justify-content: center; }
.trust-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.5s ease; background: #ffffff; border-radius: 4px 4px 0 0; box-shadow: 0 4px 12px rgba(15, 42, 74, 0.08); }
.trust-badge:hover .trust-thumb img { transform: scale(1.03); }

.trust-zoom { position: absolute; top: 24px; left: 24px; right: 24px; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 42, 74, 0.55); color: #fff; font-size: 28px; opacity: 0; transition: opacity 0.3s ease; border-radius: 4px 4px 0 0; }
.trust-badge:hover .trust-zoom { opacity: 1; }

.trust-meta { padding: 18px 20px 22px; text-align: center; background: #ffffff; }
.trust-meta h4 { font-size: 15px; color: var(--c-text); margin: 0 0 6px; font-weight: 700; line-height: 1.35; }
.trust-meta p { font-size: 12.5px; color: var(--c-text-muted); margin: 0; line-height: 1.4; }

/* 证书弹窗 */
.cert-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 20, 35, 0.9); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 40px 20px; opacity: 0; transition: opacity 0.3s ease; }
.cert-lightbox.open { display: flex; opacity: 1; }
.cert-lightbox-inner { max-width: 900px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; transform: scale(0.94); transition: transform 0.3s ease; }
.cert-lightbox.open .cert-lightbox-inner { transform: scale(1); }
.cert-lightbox-inner img { width: 100%; height: auto; max-height: calc(90vh - 70px); object-fit: contain; background: var(--c-bg-soft); display: block; }
.cert-lightbox-caption { padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--c-text); background: var(--c-bg-soft); border-top: 1px solid var(--c-border); text-align: center; }
.cert-lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 10000; transition: background 0.2s; }
.cert-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ---------- Timeline ---------- */
.sh-timeline-wrapper { background: #ffffff; padding: 90px 0 80px 0; position: relative; font-family: 'Montserrat', sans-serif; box-sizing: border-box; width: 100%; overflow: hidden; }
.sh-timeline-header { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; text-align: left; }
.sh-timeline-header .ab-label-light { color: var(--c-primary); }
.sh-timeline-header .ab-label-light::before { background: var(--c-primary); }
.sh-timeline-main-title { color: var(--c-text); font-size: 40px; font-weight: 800; margin: 0; line-height: 1.2; }
.sh-timeline-track-container { position: relative; width: 100%; }
.sh-timeline-line { position: absolute; top: 36px; left: 0; width: 100%; height: 1px; background: rgba(15, 42, 74, 0.25); z-index: 1; }
.sh-timeline-scroll { display: flex; overflow-x: auto; gap: 30px; padding-top: 60px; padding-bottom: 20px; padding-left: 10px; scrollbar-width: none; cursor: grab; scroll-behavior: smooth; }
.sh-timeline-scroll:active { cursor: grabbing; }
.sh-timeline-scroll::-webkit-scrollbar { display: none; }
.sh-timeline-card { flex: 0 0 320px; background: #ffffff; padding: 25px; position: relative; display: flex; flex-direction: column; gap: 15px; box-sizing: border-box; user-select: none; border: 1px solid #dbe3ee; border-radius: 8px; box-shadow: 0 8px 20px rgba(15, 42, 74, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.sh-timeline-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 42, 74, 0.15); }
.sh-timeline-card::before { content: ''; position: absolute; top: -31px; left: 30px; width: 14px; height: 14px; background: var(--c-primary); border-radius: 50%; z-index: 2; box-shadow: 0 0 0 4px #ffffff; }
.sh-timeline-card::after { content: ''; position: absolute; top: -15px; left: 27px; border-width: 0 10px 15px 10px; border-style: solid; border-color: transparent transparent #ffffff transparent; z-index: 10; filter: drop-shadow(0 -1px 0 #dbe3ee); }
.sh-timeline-year { font-size: 28px; font-weight: 800; color: var(--c-dark); margin: 0; }
.sh-timeline-title { font-size: 16px; font-weight: 700; color: #333; margin: 0; }
.sh-timeline-desc { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }
.sh-timeline-img { width: 100%; height: 150px; object-fit: cover; pointer-events: none; margin-top: auto; border-radius: 6px; }
.sh-timeline-spacer { flex: 0 0 10px; }
.sh-timeline-arrow { position: absolute; top: 55%; transform: translateY(-50%); width: 50px; height: 50px; background-color: var(--c-primary); color: #ffffff; border: none; border-radius: 50%; font-size: 20px; font-weight: bold; cursor: pointer; z-index: 999; box-shadow: 0 4px 15px rgba(29, 111, 232, 0.3); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.sh-timeline-arrow:hover { background-color: var(--c-dark); color: #ffffff; }
.sh-arrow-left { left: 10px; }
.sh-arrow-right { right: 10px; }

/* ---------- Global ---------- */
.ab-global { padding: 90px 20px; background: #ffffff; }
.ab-global-header { max-width: 1200px; margin: 0 auto 50px; }
.ab-global-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.ab-global-header p { font-size: 15px; color: var(--c-text-muted); margin: 0; line-height: 1.6; max-width: 680px; }
.ab-global-map-vector { max-width: 1200px; margin: 0 auto; width: 100%; height: 520px; }
.ab-global-legend { max-width: 1200px; margin: 12px auto 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-muted); padding-left: 4px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(29, 111, 232, 0.18); }

/* 折叠面板 */
.ab-trade-accordion { max-width: 1200px; margin: 40px auto 0; border: 1px solid var(--c-border); border-radius: 12px; background: #ffffff; overflow: hidden; }
.ab-trade-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; background: var(--c-bg-soft); border: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--c-text); font-family: inherit; transition: background 0.2s; }
.ab-trade-toggle:hover { background: #f1f5f9; }
.ab-trade-toggle-label { display: flex; align-items: center; gap: 10px; }
.ab-trade-toggle-label i { color: var(--c-primary); font-size: 16px; }
.ab-trade-toggle-icon { width: 28px; height: 28px; border-radius: 50%; background: #e0f2fe; color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; transition: transform 0.3s ease, background 0.3s ease; }
.ab-trade-accordion.open .ab-trade-toggle-icon { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.ab-trade-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.ab-trade-accordion.open .ab-trade-panel { max-height: 1400px; }
.ab-trade-panel > * { padding-left: 26px; padding-right: 26px; }
.ab-trade-panel > *:first-child { padding-top: 26px; }
.ab-trade-panel > *:last-child { padding-bottom: 26px; }
.ab-trade-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.ab-trade-meta-card { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 10px; padding: 18px 20px; }
.ab-trade-meta-label { font-size: 12px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; font-weight: 600; }
.ab-trade-meta-value { font-size: 16px; color: var(--c-text); font-weight: 700; }

/* 表格 */
.ab-trade-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.ab-trade-table thead th { background: #f1f5f9; color: var(--c-text); font-weight: 700; text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--c-border); }
.ab-trade-table tbody td { padding: 14px 20px; border-bottom: 1px solid var(--c-border); color: #334155; }
.ab-trade-table tbody tr:hover { background: var(--c-bg-soft); }
.ab-trade-table-bar tbody td:nth-child(2) { display: flex; align-items: center; gap: 14px; }
.trade-bar { flex: 1; height: 8px; background: var(--c-border); border-radius: 4px; overflow: hidden; max-width: 260px; }
.trade-bar-fill { height: 100%; background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light)); border-radius: 4px; transition: width 0.8s ease; }
.trade-bar-num { font-size: 13px; font-weight: 700; color: var(--c-primary); min-width: 52px; text-align: right; }
.trade-flag-cell { display: inline-flex; align-items: center; gap: 10px; }
.trade-flag { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(15, 42, 74, 0.15); flex-shrink: 0; display: block; }

/* ---------- Clients ---------- */
.ab-clients { padding: 90px 0 80px; background: #ffffff; overflow: hidden; }
.ab-clients-header { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; text-align: left; }
.ab-clients-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.ab-clients-header p { font-size: 15px; color: var(--c-text-muted); margin: 0; line-height: 1.6; max-width: 680px; }
.ab-clients-marquee { position: relative; width: 100%; overflow: hidden; padding: 20px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%); }
.ab-clients-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: abClientsScroll 120s linear infinite; will-change: transform; }
.ab-clients-marquee:hover .ab-clients-track { animation-play-state: paused; }
.ab-client-logo { flex-shrink: 0; width: 320px; height: 200px; background: var(--c-bg-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease; box-shadow: 0 10px 24px -14px rgba(15, 42, 74, 0.18); }
.ab-client-logo:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 40px -16px rgba(29, 111, 232, 0.35); }
.ab-client-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes abClientsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.ab-faq { padding: 90px 20px; background: var(--c-bg-soft); }
.ab-faq-header { max-width: 1200px; margin: 0 auto 50px; text-align: center; }
.ab-faq-header .ab-label { display: inline-block; }
.ab-faq-header h2 { font-size: 40px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.2; }
.ab-faq-header p { font-size: 15px; color: var(--c-text-muted); margin: 0 auto; max-width: 620px; }
.ab-faq-list { max-width: 900px; margin: 0 auto; }
.ab-faq-item { background: #ffffff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.ab-faq-item.open { border-color: #bfdbfe; box-shadow: 0 12px 24px -14px rgba(29, 111, 232, 0.25); }
.ab-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--c-text); cursor: pointer; user-select: none; }
.ab-faq-icon { font-size: 20px; color: var(--c-primary); transition: transform 0.3s; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ab-faq-item.open .ab-faq-icon { transform: rotate(45deg); }
.ab-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.ab-faq-item.open .ab-faq-a { max-height: 400px; }
.ab-faq-a p { padding: 0 24px 20px; margin: 0; font-size: 14.5px; color: #475569; line-height: 1.75; }

/* ---------- Final CTA ---------- */
.ab-final-cta { padding: 90px 20px; background: linear-gradient(135deg, #0a2540 0%, #1e3c72 100%); color: #fff; text-align: center; }
.ab-final-cta h2 { font-size: 36px; font-weight: 800; margin: 0 0 16px; }
.ab-final-cta p { font-size: 16px; color: #cbd5e1; margin: 0 auto 32px; max-width: 620px; line-height: 1.6; }
.ab-final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ab-final-cta-primary { background: var(--c-primary); color: #fff; padding: 14px 32px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 600; transition: background 0.25s; }
.ab-final-cta-primary:hover { background: var(--c-primary-hover); }
.ab-final-cta-secondary { background: transparent; color: #fff; padding: 14px 32px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,0.4); transition: all 0.25s; }
.ab-final-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- 通用按钮 ---------- */
.ab-section-btn-wrap { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.ab-section-btn-wrap-center { justify-content: center; }
.ab-section-btn { display: inline-block; background: var(--c-primary); color: #fff; padding: 12px 26px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.25s, transform 0.25s; border: 1px solid var(--c-primary); }
.ab-section-btn:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); transform: translateY(-2px); }
.ab-section-btn-outline { display: inline-block; background: transparent; color: var(--c-primary); padding: 12px 26px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--c-primary); transition: all 0.25s; }
.ab-section-btn-outline:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.ab-section-btn-on-dark { background: #00e5ff; color: var(--c-text); border-color: #00e5ff; }
.ab-section-btn-on-dark:hover { background: var(--c-primary-light); border-color: var(--c-primary-light); color: var(--c-text); }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .team-card { flex: 0 0 calc((100% - 48px) / 3); }
}
@media (max-width: 1100px) {
    .ab-hero h1 { font-size: 38px; }
    .ab-what-inner { grid-template-columns: 1fr; gap: 40px; }
    .ab-what-img img { height: 340px; }
    .stats-bar { flex-wrap: wrap; }
    .stats-item { flex: 1 1 30%; }
    .stats-item + .stats-item::before { display: none; }
    .stats-num { font-size: 32px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-clients-track { gap: 24px; animation-duration: 90s; }
    .ab-client-logo { width: 260px; height: 165px; }
    .adv-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .adv-preview-box { height: 350px; }
    .adv-steps-list { max-height: none; }
}
@media (max-width: 1024px) {
    .team-card { flex: 0 0 calc((100% - 24px) / 2); }
    .ab-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
    .ab-trade-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sh-timeline-header { padding: 0 20px; margin-bottom: 30px; }
    .sh-timeline-main-title { font-size: 28px; }
    .sh-timeline-arrow { display: none; }
    .why-grid { grid-template-columns: 1fr; gap: 18px; }
    .ab-hero h1 { font-size: 32px; }
    .ab-hero-sub { font-size: 15px; }

    .sh-timeline-wrapper { padding: 60px 0; }
    .sh-timeline-track-container { padding: 0; }
    .sh-timeline-line { display: none; }
    .sh-timeline-scroll { flex-direction: column; overflow-x: visible; gap: 20px; padding: 20px 20px 20px 30px; position: relative; cursor: default; }
    .sh-timeline-scroll::before { content: ""; position: absolute; left: 22px; top: 30px; bottom: 30px; width: 2px; background: #dbe3ee; border-radius: 2px; }
    .sh-timeline-card { flex: 0 0 auto; width: 100%; padding: 20px; margin-left: 0; position: relative; }
    .sh-timeline-card::before { left: -22px; top: 28px; box-shadow: 0 0 0 4px #ffffff; }
    .sh-timeline-card::after { display: none; }
    .sh-timeline-img { height: 180px; }
}
@media (max-width: 700px) {
    .ab-team-section { padding: 60px 0; }
    .ab-team-header h2 { font-size: 28px; }
    .ab-team-carousel { padding: 0 50px; }
    .team-card { flex: 0 0 100%; }
    .ab-team-arrow { width: 40px; height: 40px; font-size: 14px; }
    .ab-trade-table-bar tbody td:nth-child(2) { flex-direction: column; align-items: stretch; gap: 6px; }
    .trade-bar { max-width: 100%; }
    .trade-bar-num { text-align: left; }
}
@media (max-width: 640px) {
    .ab-trust-grid { grid-template-columns: 1fr; gap: 20px; }
    .ab-trust { padding: 70px 20px; }
    .ab-trust-header h2 { font-size: 28px; }
    .trust-thumb { aspect-ratio: 4 / 5; padding: 16px 16px 0; }
    .trust-zoom { top: 16px; left: 16px; right: 16px; }
    .trust-meta { padding: 16px 18px 20px; }
    .trust-meta h4 { font-size: 14px; }
    .trust-meta p { font-size: 12px; }
}
@media (max-width: 600px) {
    .ab-hero { min-height: 520px; padding: 70px 20px; }
    .ab-hero h1 { font-size: 28px; }
    .ab-hero p { font-size: 14px; }
    .ab-hero-cta { flex-direction: column; align-items: stretch; }
    .ab-hero-btn, .ab-hero-btn-outline { text-align: center; }
    .ab-hero-trust { gap: 14px; margin-top: 22px; padding-top: 18px; }
    .ab-hero-trust li { font-size: 12px; }
    .cert-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
    .cert-lightbox { padding: 60px 14px 20px; }

    .ab-factory { padding: 60px 0; }
    .ab-factory-header h2 { font-size: 28px; margin-bottom: 24px; }
    .ab-factory-inner { max-width: 100%; }
    .ab-trade-panel > * { padding-left: 18px; padding-right: 18px; }
    .ab-trade-table { font-size: 13px; }
    .ab-trade-table thead th, .ab-trade-table tbody td { padding: 10px 12px; }

    .ab-clients { padding: 60px 0; }
    .ab-clients-header h2 { font-size: 28px; }
    .ab-clients-track { gap: 16px; animation-duration: 90s; }
    .ab-client-logo { width: 220px; height: 140px; border-radius: 10px; }

    .ab-what-text h2,
    .why-header h2,
    .ab-team-header h2,
    .ab-trust-header h2,
    .ab-global-header h2,
    .ab-clients-header h2,
    .ab-faq-header h2 { font-size: 28px; }

    .adv-process-section { padding: 60px 0; }
    .adv-header h2 { font-size: 28px; }
    .adv-preview-box { height: 260px; }
    .adv-step-item { padding: 12px 16px; }
    .adv-step-name { font-size: 14px; }

    .stats-item { flex: 1 1 100%; }
    .stats-num { font-size: 30px; }
    .stats-label { font-size: 11px; letter-spacing: 1px; }

    .ab-final-cta h2 { font-size: 26px; }
    .ab-final-cta-buttons { flex-direction: column; align-items: stretch; }
    .ab-faq-q { padding: 16px 18px; font-size: 15px; }
    .ab-faq-a p { padding: 0 18px 18px; font-size: 13.5px; }

    .trade-flag { width: 18px; height: 12px; }
    .trade-flag-cell { gap: 8px; }
    .ab-section-btn-wrap { flex-direction: column; align-items: stretch; }
    .ab-section-btn, .ab-section-btn-outline { text-align: center; }
}



/* ============================================================
   侧边悬浮导航
   ============================================================ */

.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;

    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 42, 74, 0.12);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.side-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.side-nav-item:hover {
    background: #f1f5f9;
    color: var(--c-dark);
}
.side-nav-item.active {
    background: #eff6ff;
    color: var(--c-primary);
}

.side-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: background 0.25s, box-shadow 0.25s;
}
.side-nav-item.active .side-nav-dot {
    background: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(29, 111, 232, 0.15);
}

@media (max-width: 900px) {
    .side-nav {
        right: 10px;
        padding: 10px 8px;
        border-radius: 999px;
    }

    .side-nav-item {
        padding: 4px;
        width: 28px;
        height: 28px;
        justify-content: center;
        border-radius: 50%;
        gap: 0;
    }

    .side-nav-text {
        display: none;
    }

    .side-nav-dot {
        width: 12px;
        height: 12px;
    }
    .side-nav-item.active .side-nav-dot {
        box-shadow: 0 0 0 5px rgba(29, 111, 232, 0.18);
        transform: scale(1.15);
    }
}

@media (max-width: 900px) {
    .back-to-top,
    .to-top,
    [class*="back-to-top"] {
        bottom: 90px !important;
    }
}

.side-nav-tip {
    position: fixed;
    z-index: 100;
    padding: 8px 14px;
    background: var(--c-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
}
.side-nav-tip.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.side-nav-tip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--c-dark);
    border-right: 0;
}

@media (max-width: 900px) {
    .side-nav-tip {
        display: block;
    }
}

.side-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 35, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.side-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.side-nav-menu {
    position: fixed;
    top: 50%;
    right: 90px;
    transform: translateY(-50%) translateX(12px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.side-nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.side-nav-menu-panel {
    background: var(--c-dark);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(15, 42, 74, 0.35);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-nav-menu-item {
    display: block;
    padding: 12px 16px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.side-nav-menu-item:hover,
.side-nav-menu-item:active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--c-primary-light);
}
.side-nav-menu-item.active {
    background: var(--c-primary);
    color: #fff;
}

.side-nav-menu-panel::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: var(--c-dark);
    border-right: 0;
}

@media (min-width: 901px) {
    .side-nav-menu,
    .side-nav-overlay {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .side-nav-menu {
        right: 70px;
    }
    .side-nav-menu-panel {
        min-width: 180px;
        padding: 6px;
    }
    .side-nav-menu-item {
        padding: 11px 14px;
        font-size: 13px;
    }
}