/* ========================================
   亚信实业 - 大气主题样式
   ======================================== */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #6366f1;
    --accent-gold: #c9a227;
    --dark: #0f172a;
    --dark-mid: #1e293b;
    --text: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius-lg: 20px;
    --font-display: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-selection { color: #fff; background: var(--primary-light); }
::-moz-selection { color: #fff; background: var(--primary-light); }
::selection { color: #fff; background: var(--primary-light); }

a:focus, a:hover { color: var(--primary-light); }

/* ---- 全屏 Hero 轮播 ---- */
.hero-banner {
    position: relative;
    height: 88vh;
    min-height: 620px;
    max-height: 900px;
    overflow: hidden;
    background: var(--dark);
}

.hero-banner .hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-banner .hero-carousel .owl-stage-outer,
.hero-banner .hero-carousel .owl-stage,
.hero-banner .hero-carousel .owl-item,
.hero-banner .hero-carousel .item {
    height: 100%;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroKenBurns 8s ease-out forwards;
}

.hero-banner .owl-item.active .hero-slide-bg {
    animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.25) 100%),
        linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 50px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    animation: heroFadeUp 0.8s ease 0.2s both;
}

.hero-badge i { font-size: 16px; color: var(--accent-gold); }

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: heroFadeUp 0.8s ease 0.35s both;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #94a3b8;
    line-height: 1.85;
    max-width: 580px;
    margin-bottom: 40px;
    animation: heroFadeUp 0.8s ease 0.5s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s ease 0.65s both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.45);
    border: none;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(59, 130, 246, 0.55);
    color: #fff !important;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s;
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero 底部数据条 */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
}

.hero-stat-item:last-child { border-right: none; }
.hero-stat-item:hover { background: rgba(59, 130, 246, 0.08); }

.hero-stat-item .num {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-item .num em {
    font-style: normal;
    background: linear-gradient(135deg, #60a5fa, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-item .label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* 滚动提示 */
.hero-scroll-hint {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    text-decoration: none;
    transition: border-color 0.3s;
    animation: heroFadeUp 1s ease 1s both;
}

.hero-scroll-hint:hover { border-color: rgba(255, 255, 255, 0.6); }

.hero-scroll-hint span {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollBounce 1.5s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* Hero 轮播控件 */
.hero-banner .owl-nav .owl-prev,
.hero-banner .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.35s;
    backdrop-filter: blur(8px);
}

.hero-banner:hover .owl-nav .owl-prev,
.hero-banner:hover .owl-nav .owl-next {
    opacity: 1;
}

.hero-banner .owl-nav .owl-prev:hover,
.hero-banner .owl-nav .owl-next:hover {
    background: rgba(59, 130, 246, 0.6) !important;
    border-color: transparent;
}

.hero-banner .owl-nav .owl-prev { left: 30px; }
.hero-banner .owl-nav .owl-next { right: 30px; }

.hero-banner .owl-dots {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    transform: none;
    z-index: 5;
}

.hero-banner .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.4s;
}

.hero-banner .owl-dots .owl-dot.active span {
    width: 32px;
    height: 10px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 5px;
}

/* ---- 区块通用标题 ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-accent {
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 22px;
    border-radius: 2px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- 滚动入场动画 ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- 底部 CTA 条 ---- */
.cta-band {
    background: var(--gradient-primary);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-band p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-band-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: #fff;
    color: var(--primary-dark) !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-band-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark) !important;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-band-btn--ghost {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.cta-band-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    color: #fff !important;
}

/* ---- Footer 增强 ---- */
.site-footer {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.site-footer-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}

.site-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.site-footer-col { flex: 1; min-width: 160px; }
.site-footer-col.brand { flex: 2; min-width: 300px; }

.site-footer-col h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.site-footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.site-footer-col p,
.site-footer-col a {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer-col a:hover { color: #60a5fa; }

.site-footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer-links li { margin-bottom: 12px; }
.site-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.site-footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.site-footer-social a:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

.site-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.site-footer-contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.site-footer-contact-icon i { color: #60a5fa; font-size: 16px; }

.site-footer-qr {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.site-footer-qr img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
}

.site-footer-bottom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer-bottom a:hover { color: #94a3b8; }

.site-footer-links-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .hero-banner {
        height: 75vh;
        min-height: 520px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat-item:nth-child(2) { border-right: none; }
    .hero-stat-item:nth-child(1),
    .hero-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hero-scroll-hint { display: none; }
    .hero-banner .owl-dots { bottom: 140px; }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 70vh;
        min-height: 480px;
    }

    .hero-content { padding: 0 24px; }
    .hero-btns { flex-direction: column; }
    .hero-btn-primary, .hero-btn-secondary { justify-content: center; }

    .hero-stats-grid { padding: 0 16px; }
    .hero-stat-item { padding: 20px 12px; }
    .hero-stat-item .num { font-size: 28px; }

    .cta-band { padding: 60px 24px; text-align: center; }
    .cta-band-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   站点头部 Header
   ======================================== */
.header-topbar {
    background: linear-gradient(135deg, #0a1628 0%, #102040 40%, #1e3a8a 75%, #2d4ba0 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* 顶部流光线条 */
.header-topbar-accent {
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #f0d060, #c9a227, #f0d060, #c9a227);
    background-size: 300% 100%;
    animation: topbarAccentFlow 6s linear infinite;
}
@keyframes topbarAccentFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.header-topbar::before {
    content: '';
    position: absolute;
    inset: 3px 0 0 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.header-topbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.header-topbar .welcome-text {
    color: rgba(203, 213, 225, 0.9);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.3px;
}

.header-topbar .welcome-text::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #c9a227, #f0d060);
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(201, 162, 39, 0.4);
}

.header-topbar-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(148, 163, 184, 0.25);
    margin: 0 20px;
}

.header-topbar .topbar-link {
    color: rgba(148, 163, 184, 0.85);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-topbar .topbar-link i {
    font-size: 15px;
    color: #60a5fa;
    transition: transform 0.35s, color 0.35s;
}

.header-topbar .topbar-link:hover {
    color: #fff;
}
.header-topbar .topbar-link:hover i {
    transform: scale(1.15);
}

.header-topbar .topbar-link--hot {
    color: rgba(226, 232, 240, 0.95);
    font-weight: 600;
}

.header-topbar .topbar-link--hot i {
    color: #c9a227;
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.3));
}

/* 主导航 */
.header-main {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-main.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
    border-bottom-color: transparent;
}

.header-main.scrolled .header-inner { padding: 10px 40px; }
.header-main.scrolled .header-logo img { max-height: 44px; }

.header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    gap: 36px;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo a { display: block; line-height: 0; }

.header-logo img {
    max-height: 52px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.header-logo img:hover { transform: scale(1.03); }

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.header-main .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 4px;
}

.header-main .nav-menu > li {
    position: relative;
    overflow: visible;
}

/* 悬停桥接区 */
.header-main .nav-menu > li:has(> .drop-menu)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    z-index: 1000;
}

.header-main .nav-menu > li > a {
    color: #1e293b;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 10px;
    white-space: nowrap;
}

/* 底部高亮线 */
.header-main .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-main .nav-menu > li > a:hover,
.header-main .nav-menu > li.active > a {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.header-main .nav-menu > li > a:hover::after,
.header-main .nav-menu > li.active > a::after {
    transform: translateX(-50%) scaleX(1);
}

.header-main .nav-text {
    position: relative;
    transition: letter-spacing 0.35s;
}

.header-main .nav-menu > li > a:hover .nav-text {
    letter-spacing: 0.5px;
}

.header-main .nav-menu > li.has-dropdown > a .nav-arrow {
    font-size: 11px;
    margin-left: 2px;
    opacity: 0.4;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
}

.header-main .nav-menu > li.has-dropdown:hover > a .nav-arrow,
.header-main .nav-menu > li.dropdown-open > a .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary-light);
}

/* ---- PC 二级下拉菜单（灰白实心面板） ---- */
.header-main .drop-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.98);
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    z-index: 1001;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.32s;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

/* 小三角箭头 */
.header-main .drop-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    opacity: 0;
    transition: opacity 0.28s;
}

/* 展开状态 */
.header-main .drop-menu.is-visible,
.header-main .nav-menu > li:hover > .drop-menu,
.header-main .nav-menu > li.dropdown-open > .drop-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    display: block !important;
}
.header-main .drop-menu.is-visible::after,
.header-main .nav-menu > li:hover > .drop-menu::after,
.header-main .nav-menu > li.dropdown-open > .drop-menu::after {
    opacity: 1;
}

/* 边缘对齐 */
.header-main .drop-menu.drop-menu--left { left: 0; right: auto; }
.header-main .drop-menu.drop-menu--left.is-visible,
.header-main .nav-menu > li:hover > .drop-menu.drop-menu--left,
.header-main .nav-menu > li.dropdown-open > .drop-menu.drop-menu--left {
    transform: translateX(0) translateY(0) scale(1);
}
.header-main .drop-menu.drop-menu--right { left: auto; right: 0; }
.header-main .drop-menu.drop-menu--right.is-visible,
.header-main .nav-menu > li:hover > .drop-menu.drop-menu--right,
.header-main .nav-menu > li.dropdown-open > .drop-menu.drop-menu--right {
    transform: translateX(0) translateY(0) scale(1);
}

/* 紧凑模式 */
.header-main .drop-menu.drop-menu--compact { width: 180px; min-width: 180px; max-width: 180px; }

/* 头部（隐藏） */
.header-main .drop-menu-head { display: none; }

/* ===== 下拉列表 ===== */
.header-main .drop-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
}

.header-main .drop-menu-list li {
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-main .drop-menu-list li:not(:last-child) {
    border-bottom: 1px solid #e8ecf1;
}

/* 入场动画 */
.header-main .drop-menu.is-visible .drop-menu-list li,
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li,
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li {
    opacity: 1;
    transform: translateY(0);
}
.header-main .drop-menu.is-visible .drop-menu-list li:nth-child(1),
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li:nth-child(1),
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li:nth-child(1) { transition-delay: 0.03s; }
.header-main .drop-menu.is-visible .drop-menu-list li:nth-child(2),
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li:nth-child(2),
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li:nth-child(2) { transition-delay: 0.06s; }
.header-main .drop-menu.is-visible .drop-menu-list li:nth-child(3),
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li:nth-child(3),
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li:nth-child(3) { transition-delay: 0.09s; }
.header-main .drop-menu.is-visible .drop-menu-list li:nth-child(4),
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li:nth-child(4),
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li:nth-child(4) { transition-delay: 0.12s; }
.header-main .drop-menu.is-visible .drop-menu-list li:nth-child(5),
.header-main .nav-menu > li:hover > .drop-menu .drop-menu-list li:nth-child(5),
.header-main .nav-menu > li.dropdown-open > .drop-menu .drop-menu-list li:nth-child(5) { transition-delay: 0.15s; }

/* ===== 列表项链接样式 ===== */
.header-main .drop-menu-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    line-height: 3.5;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    position: relative;
    margin: 2px 10px;
    border-radius: 8px;
    justify-content: flex-start;
}

/* 隐藏装饰元素 */
.header-main .drop-menu-list li a::before,
.header-main .drop-item-bar,
.header-main .drop-item-arrow { display: none; }

.header-main .drop-item-text {
    flex: 0 1 auto;
    min-width: 0;
    display: block;
    line-height: 3.5;
    text-align: left;
}

/* hover 高亮 */
.header-main .drop-menu-list li a:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
}

/* 当前激活项 */
.header-main .drop-menu-list li.active a {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.06);
    font-weight: 600;
}

.header-main .nav-menu > li > a i:not(.nav-arrow) {
    font-size: 12px;
    transition: transform 0.3s;
}

/* 右侧操作区 */
.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions > div[id] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: var(--gradient-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.35s;
    border-radius: inherit;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    color: #fff !important;
}
.header-cta:hover::before { opacity: 1; }

.header-cta i {
    font-size: 15px;
    transition: transform 0.35s;
}
.header-cta:hover i {
    transform: scale(1.1) rotate(-8deg);
}

.header-main .user-ico,
.header-main .shop-ico,
.header-main .search-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.8);
    color: #64748b;
    font-size: 18px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    flex-shrink: 0;
}

.header-main .user-ico:hover,
.header-main .shop-ico:hover,
.header-main .search-ico:hover {
    color: var(--primary);
    background: rgba(239, 246, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.12);
}

.header-main .shop-ico .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 0 5px;
}

.header-main .log-in,
.header-main .shopBar,
.header-main .searchBar {
    position: static;
    display: flex;
    align-items: center;
}

/* 移动端菜单按钮 */
.header-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.header-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.header-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-mobile-toggle:hover { background: rgba(239, 246, 255, 0.9); border-color: rgba(59, 130, 246, 0.25); }

/* 移动端导航抽屉 */
.header-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1999;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.header-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: -12px 0 50px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 28px 0 40px;
}

.header-mobile-nav.open .header-mobile-panel { transform: translateX(0); }

.header-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.header-mobile-head img { max-height: 40px; }

.header-mobile-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
    transition: all 0.3s;
}

.header-mobile-close:hover { background: #fee2e2; color: #ef4444; border-color: #fecaca; }

.header-mobile-menu { list-style: none; margin: 0; padding: 0 16px; }

.header-mobile-menu > li {
    border-bottom: 1px solid #f1f5f9;
}

.header-mobile-menu > li > .mobile-menu-link--solo,
.header-mobile-menu .mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s;
    flex: 1;
    min-width: 0;
}

.header-mobile-menu .mobile-menu-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-mobile-menu .mobile-menu-link:hover,
.header-mobile-menu > li.active > .mobile-menu-link--solo,
.header-mobile-menu > li.active .mobile-menu-link {
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.06);
}

.header-mobile-menu .sub-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.3s;
    padding: 0;
}

.header-mobile-menu .sub-toggle i {
    font-size: 13px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-menu .has-sub.sub-open .sub-toggle {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--primary-light);
}

.header-mobile-menu .has-sub.sub-open .sub-toggle i {
    transform: rotate(180deg);
}

.header-mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-menu .sub-menu.open {
    max-height: 600px;
}

.header-mobile-menu .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 10px 20px;
    margin: 2px 0 2px 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    border-left: 2px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.25s;
}

.header-mobile-menu .sub-menu li a .sub-item-icon {
    font-size: 11px;
    color: #94a3b8;
    transition: color 0.25s;
}

.header-mobile-menu .sub-menu li a:hover,
.header-mobile-menu .sub-menu li a:active {
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.07);
    border-left-color: var(--primary-light);
    padding-left: 24px;
}

.header-mobile-menu .sub-menu li a:hover .sub-item-icon {
    color: var(--primary-light);
}

.header-mobile-cta {
    margin: 24px 24px 0;
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--gradient-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    transition: all 0.35s;
}

/* 全屏搜索 */
.searchBar-m {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(24px) saturate(180%);
    animation: searchFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchFadeIn {
    from { opacity: 0; backdrop-filter: blur(0); }
    to { opacity: 1; backdrop-filter: blur(24px) saturate(180%); }
}

.searchBar-m .mask-ico {
    position: absolute;
    top: 32px;
    right: 32px;
    color: rgba(255,255,255,0.8);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.searchBar-m .mask-ico:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg) scale(1.05);
    color: #fff;
}

.searchBar-m .form-group {
    position: relative;
    width: 80%;
    max-width: 760px;
}

.searchBar-m .input {
    width: 100%;
    height: 68px;
    font-size: 20px;
    padding: 0 84px 0 30px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-display);
}

.searchBar-m .input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 8px 40px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.searchBar-m .input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.searchBar-m .button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.searchBar-m .button:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* Header 响应式 */
@media (max-width: 1200px) {
    .header-main .nav-menu > li > a { padding: 9px 16px; font-size: 14px; }
    .header-cta { padding: 10px 20px; font-size: 13px; }
    .header-inner { gap: 24px; }
}

@media (max-width: 992px) {
    .header-topbar-inner { padding: 10px 24px; }
    .header-inner { padding: 12px 24px; gap: 20px; }
    .header-nav { display: none; }
    .header-cta { display: none; }
    .header-mobile-toggle { display: flex; }
    .header-mobile-nav { display: block; }
}

@media (max-width: 768px) {
    .header-topbar-links { gap: 4px 16px; }
    .header-topbar .topbar-link { font-size: 12px; }
    .header-topbar .welcome-text { font-size: 12px; }
}

@media (max-width: 480px) {
    .header-topbar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .header-logo img { max-height: 44px; }
}

/* 覆盖 legacy header.css / pintuer.css */
#pc-header .navbar { background: transparent !important; box-shadow: none !important; }
#pc-header .logo { padding: 0 !important; }
#pc-header .nav li a,
#pc-header .nav-menu > li > a { line-height: inherit !important; }

/* 下拉面板：强制覆盖 pintuer.css .drop-menu 默认值 */
#pc-header .nav-menu .drop-menu,
.header-main .nav-menu .drop-menu {
    display: block !important;
    float: none !important;
    top: calc(100% + 12px) !important;
    left: 50% !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 180px !important;
    max-width: 180px !important;
    width: 180px !important;
    background-color: #f8fafc !important;
    background-clip: border-box !important;
    z-index: 1001 !important;
    list-style: none !important;
}
#pc-header .drop-menu.drop-menu--compact { min-width: 180px !important; max-width: 180px !important; width: 180px !important; }
#pc-header .drop-menu.drop-menu--left  { left: 0 !important; right: auto !important; }
#pc-header .drop-menu.drop-menu--right { left: auto !important; right: 0 !important; }

/* 下拉列表：覆盖 pintuer 的 ul 定位 */
#pc-header .drop-menu-list {
    top: auto !important; left: auto !important; right: auto !important;
    position: static !important; float: none !important;
    min-width: 0 !important; padding: 0 !important;
    display: flex !important; box-shadow: none !important;
    border-radius: 0 !important; background: transparent !important;
    z-index: auto !important;
}

/* 列表项链接：覆盖 pintuer 的 a 样式 */
#pc-header .drop-menu-list li a {
    line-height: inherit !important;
    text-align: left !important;
    border-bottom: none !important;
    display: flex !important;
    background: transparent !important;
    clear: none !important;
    white-space: normal !important;
}
#pc-header .drop-menu-list li a:hover {
    background: rgba(59, 130, 246, 0.08) !important;
    color: var(--primary) !important;
}

/* 布局重置 */
#pc-header .searchBar,
#pc-header .shopBar,
#pc-header .log-in { position: static !important; top: auto !important; right: auto !important; }

/* 导航悬停颜色（覆盖 header.css） */
#pc-header .nav li.active a,
#pc-header .nav li a:hover,
#pc-header .nav li:hover a.first-level { color: var(--primary-light) !important; }

/* 禁用 header.css 的旧下划线伪元素 */
#pc-header .nav li.active a::after,
#pc-header .nav li a:hover::after,
#pc-header .nav li:hover a.first-level::after { display: none !important; }

/* Header 客服弹窗 */
.header-kefu-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: headerKefuFadeIn 0.3s ease;
}
@keyframes headerKefuFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.header-kefu-box {
    width: 100%; max-width: 420px;
    background: #fff; border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    animation: headerKefuSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
@keyframes headerKefuSlideIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.header-kefu-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 36px; height: 36px; border: none; border-radius: 50%;
    background: rgba(255,255,255,0.22); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.header-kefu-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }
.header-kefu-head {
    padding: 32px 28px 24px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #1e40af 50%, #3b82f6);
}
.header-kefu-avatar {
    width: 64px; height: 64px; margin: 0 auto 14px;
    border-radius: 50%; background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
}
.header-kefu-head h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.header-kefu-head p { font-size: 13px; opacity: 0.9; }
.header-kefu-body { padding: 24px; }
.header-kefu-qr { text-align: center; margin-bottom: 20px; }
.header-kefu-qr img {
    width: 150px; height: 150px; object-fit: contain;
    border-radius: 12px; border: 2px solid #dbeafe;
    box-shadow: 0 8px 24px rgba(30,64,175,0.12);
    background: #fff; padding: 6px;
}
.header-kefu-qr p {
    margin-top: 10px; font-size: 13px; color: #1e40af; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.header-kefu-list {
    background: #f8fafc; border-radius: 12px; padding: 4px 16px;
    border: 1px solid #e2e8f0;
}
.header-kefu-item {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 12px 0; border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}
.header-kefu-item:last-child { border-bottom: none; }
.header-kefu-item label {
    min-width: 88px; color: #64748b;
    display: flex; align-items: center; gap: 6px;
}
.header-kefu-item label i { color: #1e40af; }
.header-kefu-item span { flex: 1; color: #334155; font-weight: 500; word-break: break-all; }
.header-kefu-btn {
    padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
    background: linear-gradient(135deg, #1e40af, #3b82f6); color: #fff !important;
    text-decoration: none; transition: all 0.25s; white-space: nowrap;
}
.header-kefu-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,64,175,0.3); color: #fff !important; }
.header-kefu-msg {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 13px 20px; border-radius: 10px;
    background: #eff6ff; color: #1e40af !important; font-size: 14px; font-weight: 600;
    text-decoration: none; border: 1px solid rgba(30,64,175,0.15);
    transition: all 0.3s;
}
.header-kefu-msg:hover { background: #dbeafe; color: #1e40af !important; }
.header-kefu-foot {
    padding: 12px 20px; text-align: center; font-size: 12px; color: #94a3b8;
    background: #f8fafc; border-top: 1px solid #e2e8f0;
}

