/*!
 * Theme Name: Zhongba v3
 * Theme URI: https://abc.huhuhuhu.cc.cd
 * Author: Zhongba Team
 * Description: China-Brazil trade & logistics, one-stop platform. Modern deep-space + neon orange design.
 * Version: 3.0.0
 * Tested up to: 6.8
 * Requires PHP: 8.0
 * License: Proprietary
 * Text Domain: zhongba
 */

/* ==========================================================================
   1. DESIGN TOKENS — v3.2.1 (简化版 — 7 个颜色)
   黄 + 深空蓝 + 巴西绿 + 白 + 黑 + 灰 + 线
   ========================================================================== */
:root {
    /* Colors — 7 个核心 */
    --bg:          #FFFFFF;   /* 背景 */
    --bg-dark:     #0F2245;   /* 深空蓝 (Hero / Form / Footer) */
    --accent:      #FFC107;   /* 主黄 (CTA / 高亮) */
    --brazil:      #009C3B;   /* 巴西绿 (Ready 中段 / 国旗元素) */
    --text:        #1A1A1A;   /* 文字 */
    --text-mute:   #6B6B6B;   /* 次要文字 */
    --line:        #E5E7EB;   /* 分割线 (浅) */
    --line-dark:   rgba(255,255,255,0.12); /* 深底分割线 */

    /* Shadows — 轻阴影 (3 档) */
    --shadow-sm:   0 2px 8px rgba(15,34,69,0.06);
    --shadow-md:   0 8px 24px rgba(15,34,69,0.10);
    --shadow-lg:   0 16px 48px rgba(15,34,69,0.15);

    /* Radius — 圆角 (4 档) */
    --radius-sm:   8px;
    --radius:      12px;
    --radius-lg:   20px;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    --font-cn:      'Noto Serif SC', 'PingFang SC', serif;
    --font-body:    'Inter', 'Noto Sans SC', -apple-system, sans-serif;

    /* Spacing */
    --max-width:    1240px;
    --pad-x:        24px;
    --section-pad:  100px;

    /* Motion */
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --dur:          0.3s;
}

    /* Motion */
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --dur:          0.3s;
    --dur-slow:     0.6s;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad-x); }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-dark .section-title { color: var(--bg); }
.section-sub {
    font-size: 18px;
    color: var(--text-mute);
    line-height: 1.6;
    max-width: 720px;
}
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* Section head with prefix line + dot */
.section-head {
    text-align: center;
    margin-bottom: 64px;
}
.section-head .section-sub { margin: 0 auto; }
.section-head-left { text-align: left; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text) !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    transition: all var(--dur) var(--ease);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255,193,7,0.55);
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta-lg { padding: 18px 36px; font-size: 16px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text) !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    border: 2px solid var(--line);
    transition: all var(--dur) var(--ease);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}
.btn-green {
    background: #25D366;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
    transition: all var(--dur) var(--ease);
}
.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}
.btn-green-lg { padding: 18px 36px; font-size: 16px; }

/* ==========================================================================
   6. HEADER (single-line nav)
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 11, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark);
    transition: all var(--dur) var(--ease);
}
.site-header.scrolled {
    background: rgba(5, 11, 26, 0.95);
    border-bottom-color: rgba(255,107,26,0.2);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px var(--pad-x);
    gap: 24px;
}
.logo {
    display: flex; flex-direction: column; line-height: 1.1;
    transition: transform var(--dur) var(--ease);
}
.logo:hover { transform: scale(1.02); }
.logo-zh {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    color: var(--bg);
    letter-spacing: 0.02em;
}
.logo-en {
    font-size: 9px;
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 2px;
}
.main-nav { display: flex; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 6px 0;
    transition: color var(--dur) var(--ease);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--accent); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

.nav-tools {
    display: flex; align-items: center; gap: 12px;
}
.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.nav-lang-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}
.nav-lang-toggle a.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,107,26,0.4);
}
.nav-lang-sep { color: rgba(255,255,255,0.3); padding: 0 2px; }

.nav-search-btn {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--bg);
    transition: all var(--dur) var(--ease);
}
.nav-search-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.06);
}

.nav-cta {
    padding: 10px 22px !important;
    font-size: 14px !important;
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    width: 36px; height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--bg);
    transition: all var(--dur) var(--ease);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Push body content below fixed header */
.site-main { margin-top: 0; }

/* ==========================================================================
   7. HERO — 100vh 冲击力开场
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
    padding: 120px 24px 80px;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%; right: 5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,26,0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(40px);
    animation: heroGlow 8s ease-in-out infinite;
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 5%; left: 5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(42,91,168,0.20) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(40px);
    animation: heroGlow 10s ease-in-out infinite reverse;
    z-index: -1;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,107,26,0.15);
    border: 1px solid rgba(255,107,26,0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeUp 0.8s var(--ease-out) both;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeUp 1s 0.1s var(--ease-out) both;
}
.hero h1 .accent {
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero h1 .sub {
    display: block;
    font-size: 0.5em;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.05em;
}
.hero-desc {
    font-size: clamp(16px, 1.6vw, 20px);
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeUp 1s 0.2s var(--ease-out) both;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s 0.3s var(--ease-out) both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s 0.6s var(--ease-out) both;
}
.hero-scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Glass-morphism stat card */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 920px;
    margin: 60px auto 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    animation: fadeUp 1s 0.4s var(--ease-out) both;
}
.stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    position: relative;
}
.stat-item:last-child { border-right: 0; }
.stat-num {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    display: inline-block;
}
.stat-item:nth-child(odd) .stat-num { color: var(--accent); }
.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
    white-space: nowrap;
    display: inline-block;
}

/* ==========================================================================
   8. SECTION VARIANTS
   ========================================================================== */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}
.section-light { background: var(--bg); }
.section-dark {
    background: var(--bg-dark);
    color: var(--bg);
}
.section-cta {
    background: var(--accent);
    color: #fff;
    padding: 80px 0;
}
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    pointer-events: none;
}

/* ==========================================================================
   9. TRUST BAR
   ========================================================================== */
.trust-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 32px 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.trust-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   10. SERVICES (6-card grid)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: svc;
}
.service-card {
    background: var(--bg);
    padding: 40px 32px 36px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    counter-increment: svc;
    content: counter(svc, decimal-leading-zero);
    position: absolute;
    top: 24px; right: 28px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    font-style: italic;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-slow) var(--ease);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, var(--bg) 0%, #fff 100%);
    border: 1px solid var(--accent);
    border-radius: 14px;
    margin-bottom: 24px;
    position: relative;
}
.service-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-mute);
    margin-bottom: 20px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap var(--dur) var(--ease);
}
.service-link:hover { gap: 12px; }

/* ==========================================================================
   11. PROCESS (6-step — v3.2.0 国际化轻阴影版)
   ========================================================================== */
.process-section {
    background: var(--bg);
    color: var(--text);
    position: relative;
}
.process-section .section-title { color: var(--text); }
.process-section .section-eyebrow {
    color: var(--accent);
    background: rgba(255,107,26,0.08);
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
}
.process-section .section-sub { color: var(--text-mute); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
    counter-reset: step;
}
.process-step {
    text-align: left;
    position: relative;
    z-index: 1;
    counter-increment: step;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    border: 1px solid var(--line);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.process-num {
    width: 36px; height: 36px;
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
}
.process-num::after { display: none; }
.process-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}
.process-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.3;
    font-family: var(--font-body);
}
.process-desc {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.55;
    font-weight: 400;
}
.process-step::after {
    content: '→';
    position: absolute;
    right: 18px;
    top: 28px;
    color: var(--text-mute);
    font-size: 18px;
    opacity: 0;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.process-step:hover::after {
    opacity: 1;
    transform: translateX(4px);
    color: var(--accent);
}
/* 最后一步不要箭头 */
.process-step:last-child::after { display: none; }

/* ==========================================================================
   12. WHY US (4 advantages)
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.why-card {
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--dur) var(--ease);
}
.why-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.why-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    color: #fff;
    font-size: 22px;
    border-radius: 12px;
}
.why-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.why-text p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.6;
}

/* ==========================================================================
   13. CTA SECTION
   ========================================================================== */
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}
.cta-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
}
.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btns .btn-ghost {
    border-color: rgba(255,255,255,0.4);
    color: #fff !important;
}
.cta-btns .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

/* ==========================================================================
   13.5 v3.1.0 CTA-BAR — 「一站通」 黑色底栏 (参考 Mercado Livre)
   ========================================================================== */
.cta-bar {
    background: var(--bg-dark);
    color: var(--bg);
    padding: 80px var(--pad-x);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--text);
    border-bottom: 3px solid var(--text);
}
.cta-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(37,211,102,0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(255,230,0,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.cta-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-bar-eyebrow {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 6px 18px;
    border: 2px solid var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}
.cta-bar-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--bg);
    margin-bottom: 16px;
}
.cta-bar-title em {
    font-style: normal;
    color: var(--accent);
    text-decoration: underline wavy var(--accent);
    text-underline-offset: 6px;
}
.cta-bar-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-bar-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 36px;
}
.cta-bar-contact {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
}
.cta-bar-contact-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.cta-bar-contact-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #25D366;       /* Mercado Livre 风格的绿色联系方式 */
    word-break: break-all;
}
.cta-bar-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-bar-btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--accent);
    color: var(--text) !important;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--text);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    transition: transform var(--dur) var(--ease);
}
.cta-bar-btn-yellow:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--text);
    color: var(--text) !important;
}
.cta-bar-btn-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: #25D366;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--text);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--text);
    transition: transform var(--dur) var(--ease);
}
.cta-bar-btn-green:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text);
    color: #fff !important;
}

/* ==========================================================================
   14. SOURCING FORM — v3.2.0 采购咨询表单 (深底)
   ========================================================================== */
.inquiry-section { background: var(--bg-dark); color: var(--bg); }
.inquiry-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}
.inquiry-info h2 {
    font-size: 36px;
    color: var(--bg);
    margin-bottom: 16px;
    line-height: 1.15;
    font-weight: 700;
}
.inquiry-info p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.inquiry-list { margin-top: 20px; }
.inquiry-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.inquiry-list svg { color: var(--accent); flex-shrink: 0; }

/* 表单卡片 — 白底 (深色背景上突出) */
.inquiry-form {
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.form-group label,
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.form-group label .req,
.form-row label .req {
    color: var(--accent);
    margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea,
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 16px;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--dur) var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(26,26,26,0.4);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #FFFEF0;
    box-shadow: 0 0 0 3px rgba(255,230,0,0.25);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; }

/* Chip 选择器 (Product Name + Quantity 示例) */
.form-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.form-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    text-transform: capitalize;
}
.form-chip:hover {
    border-color: var(--accent);
    background: rgba(255,107,26,0.05);
}
.form-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
    font-weight: 700;
}

/* Yes/No 双按钮 (Inspection / Shipping / Customs) */
.form-yesno {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}
.form-yesno-btn {
    padding: 14px;
    background: #FAFAFA;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}
.form-yesno-btn:hover {
    border-color: var(--accent);
    background: rgba(255,107,26,0.05);
}
.form-yesno-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* 3x Yes/No 行 (Inspection + Shipping + Customs) */
.form-yesno-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}
.form-yesno-row .form-group { margin-bottom: 0; }

/* ==========================================================================
   14.5 v3.2.0 FORM QUESTION LIST — 询问清单 (浅黄底)
   ========================================================================== */
.form-question-list {
    margin: 0 0 14px;
    padding: 16px 18px;
    background: var(--bg);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    list-style: none;
}
.form-question-list li {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    padding: 2px 0;
    display: flex;
    gap: 8px;
}
.form-question-list li::before {
    content: '?';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: var(--accent);
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
}
.form-question-list li b {
    font-weight: 700;
    color: var(--text);
}

/* ==========================================================================
   15. CATEGORIES GRID — v3.2.0 8 类目入口
   ========================================================================== */
.section-categories { background: var(--bg); }
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    z-index: -1;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.category-card:hover::before {
    opacity: 0.05;
}
.category-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.category-card:hover .category-icon {
    background: var(--accent);
}
.category-name-en {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.category-name-cn {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.3;
}
.category-arrow {
    margin-top: 16px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-card:hover .category-arrow { color: var(--accent); }

/* ==========================================================================
   16. WHY US GRID — v3.2.0 4 个 USP
   ========================================================================== */
.section-why-us { background: var(--bg); }
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-us-card {
    padding: 32px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all var(--dur) var(--ease);
}
.why-us-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.why-us-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 22px;
    margin-bottom: 16px;
}
.why-us-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}
.why-us-desc {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.6;
}

/* ==========================================================================
   17. CUSTOMER CASES — v3.2.0 案例区
   ========================================================================== */
.section-cases { background: var(--bg); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    padding: 28px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.case-tag {
    display: inline-block;
    background: var(--bg);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    align-self: flex-start;
}
.case-quote {
    font-size: 15px;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}
.case-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.case-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.case-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.case-role {
    font-size: 12px;
    color: var(--text-mute);
}

/* ==========================================================================
   18. READY TO IMPORT — v3.2.0 中段 email 留资 (巴西绿)
   ========================================================================== */
.section-ready {
    background: var(--brazil);
    color: var(--bg);
    padding: 80px var(--pad-x);
    position: relative;
    overflow: hidden;
}
.section-ready::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(254,223,0,0.10) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(0,39,118,0.15) 0%, transparent 40%);
    pointer-events: none;
}
.section-ready::after {
    content: '🇧🇷';
    position: absolute;
    font-size: 320px;
    bottom: -100px;
    right: -40px;
    opacity: 0.06;
    pointer-events: none;
}
.ready-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}
.ready-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254,223,0,0.20);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.ready-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 12px;
    line-height: 1.15;
}
.ready-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}
.ready-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
.ready-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text);
}
.ready-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(254,223,0,0.5);
}
.ready-form button {
    padding: 16px 28px;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--dur) var(--ease);
}
.ready-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ready-note {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
}

/* ==========================================================================
   19. FOOTER v3.2.0 — 国际化
   ========================================================================== */
.section-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px var(--pad-x) 24px;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand {
    font-size: 20px;
    color: var(--bg);
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-brand span {
    display: block;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}
.footer-about {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bg);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}
.footer-contact-item strong {
    display: block;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-weight: 700;
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   X. v3.1.0 HERO ANIMATED SVG PLACEHOLDER
   ========================================================================== */
.hero-anim {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}
.hero-anim svg {
    width: 100%;
    height: 100%;
    max-width: 720px;
}
.hero-anim-placeholder-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--text);
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

/* 动画：航路线从中国划到巴西 + 货船移动 */
@keyframes routeDash {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}
@keyframes shipMove {
    0%   { transform: translateX(-10%); }
    50%  { transform: translateX(60%); }
    100% { transform: translateX(110%); }
}
@keyframes shipBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
@keyframes pulseRing {
    0%, 100% { opacity: 0.3; r: 8; }
    50%      { opacity: 0.8; r: 14; }
}
.hero-anim-route {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: routeDash 4s ease-in-out infinite;
}
.hero-anim-ship-wrap {
    animation: shipMove 6s ease-in-out infinite;
}
.hero-anim-ship {
    animation: shipBob 2.5s ease-in-out infinite;
}
.hero-anim-pin {
    animation: pulseRing 2s ease-in-out infinite;
    transform-origin: center;
}

@media (max-width: 1024px) {
    .hero-anim { width: 100%; opacity: 0.18; }
}
@media (max-width: 768px) {
    .hero-anim { display: none; }
    .cta-bar-contacts { grid-template-columns: 1fr; }
    .cta-bar-btn-yellow, .cta-bar-btn-green { padding: 16px 24px; font-size: 15px; }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
    background: #020610;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--bg);
    margin-bottom: 16px;
}
.footer-brand span {
    display: block;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 4px;
}
.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    transition: all var(--dur) var(--ease);
}
.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   16. FLOATING CONTACT
   ========================================================================== */
.floating-group {
    position: fixed;
    right: 24px; bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 90;
}
.floating-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(5,11,26,0.25);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid var(--accent);
}
.floating-btn:hover { transform: scale(1.08); }
.floating-btn:active { transform: scale(0.92); }
.floating-top { background: var(--bg-dark); color: var(--accent); }
.floating-phone { background: var(--bg-dark); color: var(--accent); }
.floating-wechat { background: #07C160; color: #fff; border-color: #07C160; }
.floating-wa { background: #25D366; color: #fff; border-color: #25D366; }
.floating-wa::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
    animation: waPulse 2s infinite;
}
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* WeChat Modal */
.wechat-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5,11,26,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.wechat-modal.open { display: flex; }
.wechat-modal-content {
    background: var(--bg);
    color: var(--text);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
}
.wechat-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
}
.wechat-modal h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 8px;
}
.wechat-modal p { font-size: 14px; color: var(--text-mute); margin-bottom: 20px; }
.wechat-qr {
    width: 200px; height: 200px;
    margin: 0 auto 16px;
    background: var(--bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mute);
    font-size: 12px;
    border: 1px solid var(--line);
}
.wechat-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg);
    border-radius: 999px;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}
.wechat-id-copy { color: var(--accent); font-weight: 600; }

/* Search overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    background: rgba(5,11,26,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: flex-start;
    justify-content: center;
    padding: 120px 24px 24px;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
    width: 100%;
    max-width: 720px;
    color: var(--bg);
}
.search-overlay-close {
    position: absolute;
    top: 32px; right: 32px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--bg);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 0 24px;
    margin-bottom: 32px;
}
.search-form-input {
    flex: 1;
    background: none;
    border: 0;
    padding: 20px 16px;
    color: var(--bg);
    font-size: 18px;
    font-family: var(--font-body);
    outline: none;
}
.search-form-input::placeholder { color: rgba(255,255,255,0.4); }
.search-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.search-results { margin-top: 16px; }

/* ==========================================================================
   17. ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .inquiry-wrap { grid-template-columns: 1fr; gap: 48px; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
        --pad-x: 16px;
    }
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    .nav-tools .nav-lang-toggle,
    .nav-tools .nav-search-btn { display: none; }
    .nav-cta { padding: 8px 18px !important; font-size: 13px !important; }
    /* Mobile menu open state — show the menu items inside the full-screen overlay */
    .main-nav.open .nav-menu { display: flex !important; flex-direction: column; gap: 28px; align-items: center; }
    .main-nav.open .nav-menu li { display: block; text-align: center; }
    .main-nav.open .nav-menu a { color: #fff !important; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
    .main-nav.open .nav-tools-clone { display: flex !important; gap: 16px; align-items: center; margin-top: 20px; }
    .main-nav.open .nav-tools-clone .nav-lang-toggle,
    .main-nav.open .nav-tools-clone .nav-search-btn { display: inline-flex !important; }
    .hero { padding: 100px 16px 60px; }
    .hero h1 { font-size: 48px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .floating-group { right: 16px; bottom: 16px; }
    .floating-btn { width: 46px; height: 46px; }
}

/* ==========================================================================
   19. MOBILE MENU OVERLAY (sibling of site-header, escapes stacking context)
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(5, 11, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mobile-menu-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.mobile-menu-nav {
    width: 100%;
    max-width: 400px;
}
.mobile-menu-nav .nav-menu {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.mobile-menu-nav .nav-menu li {
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}
.mobile-menu-nav .nav-menu li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.mobile-menu-nav .nav-menu a {
    color: #fff !important;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.2s;
}
.mobile-menu-nav .nav-menu a:hover {
    color: var(--accent) !important;
}
.mobile-menu-tools {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}
.mobile-menu-tools .nav-lang-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    color: #fff;
    font-size: 14px;
}
.mobile-menu-tools .nav-lang-toggle a {
    color: #fff !important;
    text-decoration: none;
    padding: 0 4px;
    opacity: 0.6;
}
.mobile-menu-tools .nav-lang-toggle a.active {
    opacity: 1;
    color: var(--accent) !important;
}
.mobile-menu-tools .nav-lang-toggle .nav-lang-sep {
    opacity: 0.3;
}
.mobile-menu-tools .nav-search-btn {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-menu-tools .nav-search-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
}

/* ==========================================================================
   20. MOBILE RESPONSIVE FIXES (v3.0.3)
   ========================================================================== */
/* Hero padding — 180px 太占地，减少到 120px */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 16px 60px !important;
    }
    .page-hero h1 {
        font-size: clamp(28px, 8vw, 40px) !important;
    }
    .page-hero p {
        font-size: 15px !important;
    }
}

/* 双列交替 layout（process 5 步、cases 6 案例、contact 双办公室） */
@media (max-width: 768px) {
    .timeline-row,
    .case-row,
    .offices-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .timeline-row > div,
    .case-row > div,
    .offices-row > div {
        direction: ltr !important;
    }
    /* 双办公室卡 padding 减少 */
    .offices-row > div {
        padding: 24px !important;
    }
    /* process 5 步 direction reset 修复 */
    [style*="direction: rtl"] > div {
        direction: ltr !important;
    }
    /* timeline 圆点缩小 */
    .timeline-marker {
        width: 40px !important;
        height: 40px !important;
    }
    /* Cases 案例卡 padding 减少 */
    .case-card {
        padding: 20px !important;
    }
}

/* 7 段时间线（page.php）移动端 */
@media (max-width: 768px) {
    .about-timeline {
        padding-left: 30px !important;
    }
    .about-timeline::before {
        left: 14px !important;
    }
    .about-timeline-marker {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        left: -30px !important;
    }
}

/* 单卡片 hover/transform 在移动端禁用（避免抖动） */
@media (max-width: 768px) {
    [onmouseover*="translateY"] {
        transform: none !important;
    }
}

/* 内联 style 中 padding 64px+ 在 mobile 减半 */
@media (max-width: 768px) {
    [style*="padding: 64px"],
    [style*="padding: 80px"],
    [style*="padding: 100px"],
    [style*="padding: 120px"] {
        padding: 32px 16px !important;
    }
    /* 容器 section padding 移动端减小（已由 --section-pad 控制，但部分 inline 写的会覆盖） */
    [style*="padding: 60px 40px"] {
        padding: 32px 20px !important;
    }
}

/* 防止 mobile 横向滚动（兜底） */
html, body {
    overflow-x: hidden;
}

/* 单行"分类"标签云移动端 wrap */
@media (max-width: 768px) {
    [style*="flex-wrap: wrap"] {
        gap: 8px !important;
    }
    [style*="gap: 12px"] {
        gap: 8px !important;
    }
}

/* Blog grid（archive.php / home.php）卡片 200px 缩略图在 mobile 减到 160px */
@media (max-width: 768px) {
    [style*="height: 200px"][style*="background: var(--accent)"] {
        height: 160px !important;
    }
}

/* iOS form input 焦点防自动缩放（要求 font-size ≥ 16px） */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* section-title 移动端 */
@media (max-width: 768px) {
    .section-title { font-size: 28px !important; line-height: 1.2 !important; }
    .section-sub { font-size: 14px !important; }
    .cta-title { font-size: 28px !important; }
    .cta-sub { font-size: 14px !important; }
}

/* 浮动按钮组在 iPhone 安全区 */
@supports (padding: max(0px)) {
    .floating-group {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   21. ABOUT PAGE MOBILE OPTIMIZATIONS (v3.0.5)
   ========================================================================== */
/* 平板：故事段先堆叠 */
@media (max-width: 1024px) {
    .about-story { grid-template-columns: 1fr !important; gap: 48px !important; }
    .about-story-title { font-size: 36px !important; }
    .about-big-num { padding: 48px 32px !important; max-width: 360px; margin: 0 auto; }
    .about-big-num-text { font-size: 96px !important; }
    .about-stat-strip { padding: 32px 24px !important; margin-top: 48px !important; }
}

/* 手机：紧凑布局 */
@media (max-width: 768px) {
    /* 故事段 */
    .about-story { gap: 32px !important; }
    .about-story-title { font-size: 28px !important; line-height: 1.2 !important; margin-bottom: 16px !important; }
    .about-story p { font-size: 15px !important; line-height: 1.7 !important; }
    .about-big-num { padding: 32px 20px !important; max-width: 100%; }
    .about-big-num-text { font-size: 80px !important; }
    .about-big-num > div:last-child { font-size: 12px !important; margin-top: 12px !important; }

    /* 4 stat 条 2x2 网格 */
    .about-stat-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 20px 16px !important;
        margin-top: 32px !important;
    }
    .about-stat-strip > div {
        padding: 12px 8px !important;
        background: rgba(255,255,255,0.04);
        border-radius: 8px;
    }
    .about-stat-strip > div > div:first-child { font-size: 24px !important; }
    .about-stat-strip > div > div:last-child {
        font-size: 10px !important;
        letter-spacing: 0.1em !important;
        margin-top: 4px !important;
    }

    /* 时间线 - 紧凑版 */
    .about-timeline { padding-left: 6px !important; }
    .about-timeline-line { left: 30px !important; }
    .about-timeline-row { gap: 16px !important; margin-bottom: 28px !important; }
    .about-timeline-marker {
        width: 48px !important;
        height: 48px !important;
        font-size: 12px !important;
    }
    .about-timeline-content { padding-top: 4px !important; flex: 1; min-width: 0; }
    .about-timeline-content h3 { font-size: 17px !important; line-height: 1.3 !important; margin-bottom: 4px !important; }
    .about-timeline-content p { font-size: 13px !important; line-height: 1.6 !important; }

    /* 价值观卡 - padding 减小 */
    .section-dark .container > div:last-of-type > div { padding: 28px 20px !important; }
    .section-dark .container > div:last-of-type > div > div:first-child { font-size: 36px !important; margin-bottom: 12px !important; }
    .section-dark .container > div:last-of-type > div > h3 { font-size: 18px !important; }
    .section-dark .container > div:last-of-type > div > p { font-size: 13px !important; }

    /* 团队卡 - 2 列或 1 列 */
    .about-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .about-team-card { padding: 20px 12px !important; }
    .about-team-avatar {
        width: 56px !important;
        height: 56px !important;
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    .about-team-card h3 { font-size: 15px !important; }
    .about-team-card > div:nth-child(2) { font-size: 11px !important; }
    .about-team-card > div:nth-child(3) { font-size: 10px !important; }
}

/* 超窄屏：团队 1 列 */
@media (max-width: 380px) {
    .about-team-grid { grid-template-columns: 1fr !important; }
    .about-stat-strip { grid-template-columns: 1fr 1fr !important; }
}

/* ==========================================================================
   22. CONTACT PAGE — INQUIRY SECTION MOBILE (v3.0.7)
   ========================================================================== */
/* 平板：减少 padding + gap */
@media (max-width: 1024px) {
    .inquiry-wrap {
        gap: 48px !important;
        padding: 40px !important;
    }
    .inquiry-info h2 { font-size: 32px !important; margin-bottom: 16px !important; }
}

/* 手机：紧凑布局 + 表单可点 */
@media (max-width: 768px) {
    .inquiry-wrap {
        gap: 24px !important;
        padding: 28px 20px !important;
        border-radius: 16px !important;
    }
    .inquiry-info h2 { font-size: 26px !important; margin-bottom: 12px !important; line-height: 1.2 !important; }
    .inquiry-info .inquiry-desc { font-size: 14px !important; line-height: 1.65 !important; margin-bottom: 20px !important; }

    /* list 紧凑 */
    .inquiry-list { margin-top: 16px !important; }
    .inquiry-list li {
        font-size: 13px !important;
        padding: 8px 0 !important;
        gap: 10px !important;
    }
    .inquiry-list svg { width: 16px !important; height: 16px !important; }

    /* form padding 缩小 */
    .inquiry-form { padding: 24px 20px !important; }

    /* 输入框 16px 防 iOS 缩放 + 触摸目标 ≥44px */
    .form-row input,
    .form-row textarea,
    .form-row select,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important;
        padding: 14px 16px !important;
        min-height: 48px !important;
    }
    .form-row textarea { min-height: 120px !important; }

    /* label 加大但紧凑 */
    .form-row label,
    .form-group label {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    /* form-row 移动端上下排列（已有 768px → 1fr） */
    .form-row { gap: 16px !important; margin-bottom: 16px !important; }
    .form-group { margin-bottom: 16px !important; }

    /* 提交按钮全宽 + 更大触摸区 */
    .form-submit {
        width: 100% !important;
        margin-top: 8px !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
    }
}

/* 超窄屏（< 380px）：再紧凑 */
@media (max-width: 380px) {
    .inquiry-wrap { padding: 24px 16px !important; }
    .inquiry-info h2 { font-size: 22px !important; }
    .inquiry-form { padding: 20px 16px !important; }
}

/* ==========================================================================
   23. SINGLE POST — Typography + Mobile (v3.0.8)
   ========================================================================== */
/* ===== 阅读进度条 ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, #FFA057 100%);
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ===== 返回链接（mobile） ===== */
.back-to-blog {
    position: fixed;
    top: 80px;
    left: 16px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}
.back-to-blog:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
@media (min-width: 769px) {
    .back-to-blog { display: none; }
}

/* ===== Single Hero ===== */
.single-cat-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 26, 0.15);
    border: 1px solid rgba(255, 107, 26, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.2s;
}
.single-cat-badge:hover {
    background: rgba(255, 107, 26, 0.3);
}
.single-h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
.single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    flex-wrap: wrap;
}
.meta-dot { opacity: 0.4; }

/* ===== 封面图（v3.0.10 — 比例锁定）===== */
.single-cover-wrap {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding: 0 24px;
}
.single-cover-container {
    max-width: 1000px;
}
.single-cover {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(5, 11, 26, 0.3);
    /* 锁定 16:9 比例，所有文章封面图视觉统一 */
    aspect-ratio: 16 / 9;
    background: var(--accent);
    position: relative;
}
.single-cover-img {
    width: 100%;
    height: 100%;           /* 撑满 16:9 容器 */
    display: block;
    object-fit: cover;      /* 保持原图比例，居中裁切 */
    object-position: center;
    transition: transform 0.5s ease;
}
.single-cover:hover .single-cover-img {
    transform: scale(1.03); /* hover 微缩放，杂志感 */
}
.single-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.single-cover-placeholder svg {
    opacity: 0.5;
}

/* ===== 文章容器 ===== */
.single-container {
    max-width: 800px;
    margin: 0 auto;
}
.single-article {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* 文章内部 typography（the_content 输出） */
.single-article > * {
    margin-bottom: 1.4em;
}
.single-article p {
    color: var(--text);
    line-height: 1.85;
}
.single-article h1,
.single-article h2,
.single-article h3,
.single-article h4,
.single-article h5,
.single-article h6 {
    font-family: var(--font-display);
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.8em;
}
.single-article h2 { font-size: 30px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.single-article h3 { font-size: 24px; }
.single-article h4 { font-size: 20px; }
.single-article h5 { font-size: 18px; }
.single-article h6 { font-size: 16px; color: var(--text-mute); }
.single-article a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 107, 26, 0.3);
    transition: all 0.2s;
}
.single-article a:hover {
    border-bottom-color: var(--accent);
    background: rgba(255, 107, 26, 0.05);
}
.single-article ul,
.single-article ol {
    padding-left: 24px;
    color: var(--text);
    line-height: 1.85;
}
.single-article li {
    margin-bottom: 8px;
}
.single-article li::marker {
    color: var(--accent);
}
.single-article blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg);
    border-radius: 0 12px 12px 0;
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
}
.single-article blockquote p { margin-bottom: 0; }
.single-article code {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent);
}
.single-article pre {
    background: var(--bg-dark);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    line-height: 1.6;
    margin: 24px 0;
}
.single-article pre code {
    background: transparent;
    color: #fff;
    padding: 0;
}
.single-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    display: block;
}
.single-article figure {
    margin: 24px 0;
}
.single-article figcaption {
    color: var(--text-mute);
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
}
.single-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.single-article th,
.single-article td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
}
.single-article th {
    background: var(--bg);
    font-weight: 600;
}
.single-article hr {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: 32px 0;
}
.single-article mark {
    background: rgba(255, 107, 26, 0.2);
    color: var(--text);
    padding: 2px 4px;
    border-radius: 2px;
}

/* ===== 标签 ===== */
.single-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.single-tags-label {
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.single-tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag-pill {
    background: var(--bg);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.tag-pill:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ===== 分享条 ===== */
.single-share {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.single-share-label {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}
.single-share-btns {
    display: flex;
    gap: 8px;
}
.share-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.share-btn:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.share-wa { background: #25D366; }
.share-li { background: #0A66C2; }
.share-tw { background: #1DA1F2; }
.share-cp { background: var(--text); font-size: 16px; }

/* ===== 作者卡 ===== */
.single-author {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.single-author-avatar {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.single-author-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.single-author-bio {
    color: var(--text-mute);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ===== 相关文章 ===== */
.single-related {
    margin-top: 56px;
}
.single-related-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text);
    margin-bottom: 20px;
}
.single-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.related-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card-thumb {
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;       /* 锁定比例，所有相关卡统一 */
    overflow: hidden;
    position: relative;
}
.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* 原图任意比例都按 16:10 裁切居中 */
    object-position: center;
    transition: transform 0.4s ease;
}
.related-card:hover .related-card-thumb img {
    transform: scale(1.05);      /* hover 微缩放，杂志感 */
}
.related-card-body { padding: 14px; }
.related-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 600;
}
.related-card-meta {
    font-size: 11px;
    color: var(--text-mute);
}

/* ===== CTA ===== */
.single-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius);
    text-align: center;
}
.single-cta-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}
.single-cta-sub {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .single-hero { padding: 120px 16px 48px !important; }
    .single-h1 { font-size: clamp(24px, 7vw, 32px) !important; line-height: 1.25 !important; }
    .single-cat-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
    .single-meta { font-size: 12px; gap: 8px; }
    .meta-dot { display: none; }  /* 移动端：竖线占空间，隐藏 */

    .single-cover-wrap { margin-top: -20px; padding: 0 12px; }
    .single-cover { border-radius: 12px; aspect-ratio: 16 / 10; }  /* 移动端稍方正 */
    .single-cover:hover .single-cover-img { transform: none; }      /* 移动端 hover 禁用 */

    .single-content-wrap { padding: 0 !important; }
    .single-container { padding: 0 20px; }

    .single-article { font-size: 16px; line-height: 1.85; }
    .single-article h2 { font-size: 24px; }
    .single-article h3 { font-size: 20px; }
    .single-article h4 { font-size: 18px; }
    .single-article blockquote { padding: 12px 16px; margin: 20px 0; font-size: 15px; }
    .single-article pre { padding: 16px; font-size: 13px; }
    .single-article table { font-size: 13px; }
    .single-article th, .single-article td { padding: 8px 10px; }

    .single-tags { margin-top: 36px; padding-top: 24px; }
    .tag-pill { padding: 6px 12px; font-size: 12px; }

    .single-share { flex-direction: column; align-items: stretch; padding: 16px; text-align: center; }
    .single-share-label { text-align: center; }
    .single-share-btns { justify-content: center; }
    .share-btn { width: 44px; height: 44px; }  /* 触摸目标 ≥44px */

    .single-author { padding: 20px; gap: 14px; }
    .single-author-avatar { width: 52px; height: 52px; font-size: 18px; }
    .single-author-name { font-size: 16px; }
    .single-author-bio { font-size: 13px; }

    .single-related { margin-top: 40px; }
    .single-related-title { font-size: 22px; margin-bottom: 16px; }
    .related-card-thumb { aspect-ratio: 16 / 10; font-size: 28px; }
    .related-card-thumb img { transition: none; }
    .related-card:hover .related-card-thumb img { transform: none; }
    .related-card-body { padding: 12px; }
    .related-card-title { font-size: 14px; }

    .single-cta { padding: 28px 20px; margin-top: 36px; }
    .single-cta-title { font-size: 20px; }
    .single-cta-sub { font-size: 14px; }
    .single-cta .btn-cta { width: 100%; padding: 14px 20px; font-size: 15px; }
}

/* 超窄屏 */
@media (max-width: 380px) {
    .single-hero { padding: 110px 12px 40px !important; }
    .single-container { padding: 0 16px; }
    .single-cover-wrap { padding: 0 10px; }
    .single-cover { aspect-ratio: 4 / 3; }  /* 超窄屏更方正 */
    .single-article { font-size: 15px; line-height: 1.8; }
    .single-article h2 { font-size: 22px; }
    .share-btn { width: 40px; height: 40px; font-size: 16px; }
}

/* ==========================================================================
   24. TAG ARCHIVE — /tag/* 页面 (v3.0.12)
   ========================================================================== */
.tag-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 24px;
    transition: color 0.2s;
}
.tag-back-link:hover { color: var(--accent); }

.tag-hero-pill,
.category-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.tag-hero-pill svg,
.category-hero-pill svg { color: var(--accent); }

.tag-h1,
.category-h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}
.tag-meta,
.category-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0 0 16px;
}
.tag-desc,
.category-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
    margin: 12px auto 0;
}

/* ===== Tag Grid ===== */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.tag-post-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.tag-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(5, 11, 26, 0.12);
    border-color: var(--accent);
}
.tag-post-thumb {
    aspect-ratio: 16 / 10;
    position: relative;
    background: var(--accent);
    overflow: hidden;
}
.tag-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tag-post-card:hover .tag-post-thumb img { transform: scale(1.05); }

.tag-post-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
}
.tag-post-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tag-post-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.tag-post-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 10px;
}
.tag-post-excerpt {
    color: var(--text-mute);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}
.tag-post-meta {
    display: flex;
    gap: 14px;
    color: var(--text-mute);
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

/* ===== Pagination (统一 - 2026-06-15 优化版) ===== */
.zb-pagination {
    margin-top: 48px;
    text-align: center;
}
.zb-pagination__info {
    color: var(--text-mute);
    font-size: 13px;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.zb-pagination__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.zb-pagination__inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.zb-pagination__nav .page-numbers,
.zb-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    line-height: 1;
}
.zb-pagination__nav .page-numbers:hover,
.zb-page-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.25);
}
.zb-pagination__nav .current {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    font-weight: 600;
    cursor: default;
}
.zb-pagination__nav .current:hover {
    transform: none;
    box-shadow: none;
}
.zb-pagination__nav .dots {
    background: transparent;
    border: none;
    color: var(--text-mute);
    cursor: default;
    min-width: 24px;
}
.zb-pagination__nav .dots:hover {
    background: transparent;
    color: var(--text-mute);
    border: none;
    transform: none;
    box-shadow: none;
}
.zb-page-btn--first,
.zb-page-btn--last {
    font-size: 16px;
    background: var(--bg);
    color: var(--accent);
    border-color: transparent;
    font-weight: 700;
}
.zb-page-btn--first:hover,
.zb-page-btn--last:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* 兼容旧的选择器 (过渡期间内插是安全) */
.tag-pagination .page-numbers,
.cat-pagination .page-numbers {
    /* .zb-pagination__nav .page-numbers 的别名 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    margin: 0 4px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

/* 移动端：折叠为 上一页/页码/下一页 */
@media (max-width: 640px) {
    .zb-pagination__info {
        font-size: 12px;
        margin-bottom: 14px;
    }
    .zb-pagination__nav {
        gap: 4px;
    }
    .zb-pagination__nav .page-numbers,
    .zb-page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    /* 隐藏中间的纯数字页码（除了当前页） */
    .zb-pagination__nav .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }
    .zb-pagination__nav .dots {
        display: none;
    }
    .zb-pagination__nav {
        justify-content: space-between;
    }
    .zb-pagination__nav .prev,
    .zb-pagination__nav .next {
        flex: 1;
        max-width: 130px;
    }
}

/* ===== Comments (single 文章页评论) ===== */
.single-comments-section {
    max-width: 800px;
    margin: 64px auto 0;
    padding: 0 24px;
}
.zb-comments__head {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}
.zb-comments__title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.zb-comments__count {
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
}
.zb-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.zb-comment-list .children {
    list-style: none;
    margin: 16px 0 0;
    padding-left: 0;
}
.zb-comment-list .zb-comment {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.zb-comment-list .children .zb-comment {
    margin-left: 40px;
    padding-left: 20px;
    border-left: 2px solid var(--bg);
    border-bottom: none;
}
.zb-comment-list .children .children .zb-comment {
    margin-left: 40px;
}
.zb-comment--author {
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
    border-radius: 8px;
    padding: 16px 20px !important;
    margin: 4px 0;
}
.zb-comment__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
    position: relative;
}
.zb-comment__author-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid var(--bg);
}
.zb-comment__body {
    flex: 1;
    min-width: 0;
}
.zb-comment__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.zb-comment__name {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}
.zb-comment__date {
    color: var(--text-mute);
    font-size: 12px;
}
.zb-comment__date a {
    color: var(--text-mute);
    text-decoration: none;
}
.zb-comment__date a:hover {
    color: var(--accent);
}
.zb-comment__text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}
.zb-comment__text p {
    margin: 0 0 8px;
}
.zb-comment__text p:last-child {
    margin-bottom: 0;
}
.zb-comment__actions {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    font-size: 13px;
}
.zb-comment__actions a {
    color: var(--text-mute);
    text-decoration: none;
    transition: color 0.2s;
}
.zb-comment__actions a:hover {
    color: var(--accent);
}
.zb-comment__pending {
    margin-top: 10px;
    padding: 8px 12px;
    background: #FEF3C7;
    border-left: 3px solid #D97706;
    font-size: 13px;
    color: #92400E;
    border-radius: 4px;
}

/* 评论表单 */
.zb-comments__reply-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    margin: 48px 0 20px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.zb-comment-form .zb-form-row {
    margin-bottom: 16px;
}
.zb-form-row--full {
    grid-column: 1 / -1;
}
.zb-form-row--full .zb-form-label,
.zb-form-row--full .zb-form-input,
.zb-form-row--full .zb-form-textarea {
    width: 100%;
}
.zb-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.zb-form-input,
.zb-form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.zb-form-input:focus,
.zb-form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}
.zb-form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}
.zb-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zb-form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}
.zb-form-check label {
    font-size: 13px;
    color: var(--text-mute);
    margin: 0;
}
.zb-form-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.zb-form-submit:hover {
    background: #00a83f;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}
.zb-form-submit-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.zb-form-submit-wrap a {
    color: var(--text-mute);
    font-size: 13px;
    text-decoration: none;
}
.zb-form-submit-wrap a:hover {
    color: var(--accent);
}

/* 评论分页复用通用 .zb-pagination 样式 */
.zb-pagination--comments {
    margin-top: 32px;
}

/* 移动端评论 */
@media (max-width: 640px) {
    .zb-comment-list .children .zb-comment {
        margin-left: 16px;
        padding-left: 12px;
    }
    .zb-comment__avatar {
        width: 40px;
        height: 40px;
    }
    .zb-comments__title {
        font-size: 22px;
    }
}

/* ===== Empty state ===== */
.tag-empty,
.cat-empty {
    text-align: center;
    padding: 80px 20px;
}
.tag-empty-icon,
.cat-empty-icon {
    color: var(--text-mute);
    margin-bottom: 20px;
    opacity: 0.5;
}
.tag-empty h2,
.cat-empty h2 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text);
    margin: 0 0 12px;
}
.tag-empty p,
.cat-empty p {
    color: var(--text-mute);
    font-size: 15px;
    margin: 0 0 24px;
}

/* ===== Other Tags Cloud ===== */
.other-tags {
    padding-top: 0;
}
.other-tags-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text);
    margin: 0 0 20px;
    text-align: center;
}
.other-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.other-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.other-tag-pill:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.other-tag-count {
    background: var(--bg);
    color: var(--text-mute);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}
.other-tag-pill:hover .other-tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ===== Subcategory strip ===== */
.subcat-section { padding: 32px 0 !important; background: var(--bg); }
.subcat-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.subcat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.subcat-list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.subcat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}
.subcat-pill:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.subcat-pill-count {
    background: var(--bg);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mute);
}
.subcat-pill:hover .subcat-pill-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ===== Category Featured Post ===== */
.cat-featured-post {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin-bottom: 32px;
    transition: all 0.3s;
}
.cat-featured-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(5, 11, 26, 0.12);
}
.cat-featured-thumb {
    aspect-ratio: 16 / 10;
    background: var(--accent);
    overflow: hidden;
    position: relative;
}
.cat-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.cat-featured-post:hover .cat-featured-thumb img { transform: scale(1.05); }
.cat-featured-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 700;
}
.cat-featured-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cat-featured-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}
.cat-featured-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin: 0 0 14px;
}
.cat-featured-excerpt {
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
}
.cat-featured-meta {
    display: flex;
    gap: 16px;
    color: var(--text-mute);
    font-size: 13px;
}

/* ===== Category rest grid (其他文章) ===== */
.cat-rest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.cat-post-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.cat-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(5, 11, 26, 0.1);
    border-color: var(--accent);
}
.cat-post-thumb {
    aspect-ratio: 16 / 10;
    background: var(--accent);
    overflow: hidden;
    flex-shrink: 0;
}
.cat-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.cat-post-card:hover .cat-post-thumb img { transform: scale(1.05); }
.cat-post-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
}
.cat-post-body { padding: 16px 18px 18px; }
.cat-post-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 8px;
}
.cat-post-excerpt {
    color: var(--text-mute);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 10px;
}
.cat-post-meta {
    color: var(--text-mute);
    font-size: 12px;
}

/* ===== Sibling Category Cards ===== */
.sibling-section { padding: 60px 0; }
.sibling-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text);
    margin: 0 0 20px;
    text-align: center;
}
.sibling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.sibling-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}
.sibling-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(255, 107, 26, 0.1);
}
.sibling-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    flex-shrink: 0;
}
.sibling-card-info { flex: 1; }
.sibling-card-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}
.sibling-card-count {
    font-size: 12px;
    color: var(--text-mute);
}
.sibling-card-arrow {
    color: var(--text-mute);
    flex-shrink: 0;
    transition: all 0.2s;
}
.sibling-card:hover .sibling-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .tag-back-link { font-size: 12px; margin-bottom: 20px; }
    .tag-hero-pill,
    .category-hero-pill { padding: 12px 20px; gap: 10px; }
    .tag-h1, .category-h1 { font-size: clamp(24px, 6vw, 32px); }
    .tag-meta, .category-meta { font-size: 14px; }
    .tag-desc, .category-desc { font-size: 14px; }

    .tag-grid { grid-template-columns: 1fr; gap: 16px; }
    .tag-post-thumb { aspect-ratio: 16 / 9; }
    .tag-post-body { padding: 16px 18px 18px; }
    .tag-post-title { font-size: 18px; }
    .tag-post-excerpt { font-size: 13px; -webkit-line-clamp: 2; }

    /* Category featured 单列 */
    .cat-featured-post { grid-template-columns: 1fr; gap: 0; }
    .cat-featured-body { padding: 24px 20px; }
    .cat-featured-title { font-size: 22px; }
    .cat-featured-excerpt { font-size: 14px; }
    .cat-featured-meta { font-size: 12px; gap: 12px; }

    .cat-rest-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cat-post-card { border-radius: 10px; }
    .cat-post-body { padding: 12px 14px 14px; }
    .cat-post-title { font-size: 15px; }
    .cat-post-excerpt { display: none; }
    .cat-post-meta { font-size: 11px; }

    .subcat-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
    .subcat-pill { font-size: 12px; padding: 5px 12px; }

    .sibling-grid { grid-template-columns: 1fr; }
    .sibling-card { padding: 14px 16px; }

    .other-tag-pill { font-size: 13px; padding: 6px 12px; }
}

@media (max-width: 380px) {
    .cat-rest-grid { grid-template-columns: 1fr; }
    .tag-hero-pill, .category-hero-pill { padding: 10px 16px; }
    .tag-post-title, .cat-post-title { font-size: 16px; }
}

/* ==========================================================================
   25. PROCESS PAGE — STEP BADGE 突显 (v3.0.14)
   ========================================================================== */
.step-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.step-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 107, 26, 0.15);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border-radius: 8px;
    position: relative;
    text-transform: uppercase;
    box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.05);
}
.step-badge::before {
    content: '';
    position: absolute;
    left: -1.5px;
    top: -1.5px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}
.step-badge::after {
    content: '';
    position: absolute;
    right: -1.5px;
    bottom: -1.5px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}
.step-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.05em;
}
.step-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 107, 26, 0.3);
}
.step-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: #fff;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}
.step-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* ===== 移动端 ===== */
@media (max-width: 768px) {
    .step-badge {
        font-size: 15px;
        padding: 7px 14px;
        letter-spacing: 0.15em;
    }
    .step-badge::before, .step-badge::after {
        width: 6px;
        height: 6px;
    }
    .step-duration { font-size: 12px; }
    .step-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 12px; }
    .step-title { font-size: 24px; }
    .step-desc { font-size: 14px; }
}

@media (max-width: 380px) {
    .step-badge { font-size: 13px; padding: 6px 12px; }
    .step-title { font-size: 20px; }
    .step-icon { width: 44px; height: 44px; font-size: 18px; }
}

/* ==========================================================================
   v3.2.0 HERO OVERRIDE — 2 列布局 (左文本 + 右动画)
   ========================================================================== */
.hero {
    background: var(--bg-dark);
    padding: 140px var(--pad-x) 80px;
    min-height: 92vh;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero h1 {
    text-align: left;
    font-size: clamp(36px, 5.2vw, 64px);
    line-height: 1.05;
    font-weight: 700;
}
.hero h1 .accent {
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h1 .sub {
    text-align: left;
    margin-top: 12px;
    color: var(--accent);
    font-size: 0.42em;
    font-weight: 600;
}
.hero-desc {
    text-align: left;
    margin: 24px 0 32px;
    max-width: 540px;
}
.hero-badge {
    margin-bottom: 20px;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 36px;
}
.hero-btns .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: transparent;
    color: var(--bg) !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all var(--dur) var(--ease);
}
.hero-btns .btn-secondary:hover {
    border-color: var(--bg);
    background: rgba(255,255,255,0.1);
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
}
.hero-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* 浮动联系 (Hero 右上) */
.hero-floating-contact {
    position: absolute;
    top: 32px;
    right: var(--pad-x);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-fc-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: var(--bg);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--dur) var(--ease);
}
.hero-fc-item:hover {
    background: var(--accent);
    color: var(--text) !important;
    border-color: var(--accent);
}
.hero-fc-icon { font-size: 14px; }

/* Hero SVG 容器 — 右侧 */
.hero-anim {
    position: relative;
    width: 100%;
    height: 460px;
    pointer-events: none;
}
.hero-anim svg {
    width: 100%;
    height: 100%;
}
.hero-anim-placeholder-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--text);
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

/* Hero SVG 动画 — 8 阶段路线 */
@keyframes routeDash {
    0%   { stroke-dashoffset: 1800; }
    50%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1800; }
}
@keyframes shipMove {
    0%   { transform: translateX(-5%); }
    100% { transform: translateX(105%); }
}
@keyframes shipBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
@keyframes pulseRing {
    0%, 100% { opacity: 0.3; r: 6; }
    50%      { opacity: 0.9; r: 12; }
}
@keyframes pulseDot {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}
.hero-anim-route {
    stroke-dasharray: 12 8;
    animation: routeDash 8s linear infinite;
}
.hero-anim-ship-wrap {
    animation: shipMove 6s ease-in-out infinite;
}
.hero-anim-ship {
    animation: shipBob 2.5s ease-in-out infinite;
}
.hero-anim-pin {
    animation: pulseRing 2s ease-in-out infinite;
}
.hero-anim-stage-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

/* v3.2.0 响应式 */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-anim { height: 320px; opacity: 0.5; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero { padding: 110px var(--pad-x) 60px; }
    .hero-floating-contact { top: 90px; }
    .hero-btns .btn-secondary { padding: 14px 20px; font-size: 14px; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-stat-num { font-size: 22px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .form-yesno-row { grid-template-columns: 1fr; }
    .ready-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .category-grid { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v3.2.0 CONTACT METHOD CARDS (page-contact.php)
   ========================================================================== */
.contact-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all var(--dur) var(--ease);
    text-decoration: none;
    color: inherit;
    gap: 8px;
}
.contact-method:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.contact-method-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 22px;
    margin-bottom: 8px;
}
.contact-method:hover .contact-method-icon {
    background: var(--accent);
}
.contact-method-label {
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}
.contact-method-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    word-break: break-all;
}

/* v3.2.0 trust-strip (white section trust) */
.trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 8px 0;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-mute);
    font-weight: 500;
}
.trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--brazil);
    color: var(--bg);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.trust-num {
    color: var(--text);
    font-weight: 600;
}
.trust-num strong {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    margin-right: 4px;
}

/* section-head 浅色版本 (深色 section 上用) */
.section-head-light .section-title { color: var(--bg); }
.section-head-light .section-sub { color: rgba(255,255,255,0.7); }
.section-head-light .section-eyebrow {
    color: var(--accent);
    background: rgba(255,230,0,0.10);
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
}
