/* ========================================
   MCZN 睿清科技 - 视觉增强样式 v2.0
   ======================================== */

/* Google Fonts 已移除，改用系统字体栈避免国内访问慢 */

:root {
    --color-primary: #1a56db;
    --color-primary-dark: #1240ab;
    --color-accent: #06b6d4;
    --color-accent-light: #38bdf8;
    --gradient-primary: linear-gradient(135deg, #1a56db 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(26,86,219,0.12);
    --shadow-lg: 0 20px 40px rgba(26,86,219,0.15), 0 8px 20px rgba(0,0,0,0.1);
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
}

body {
    font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
    background: #f0f4f8;
}

/* ===== Header ===== */
.site-header.not-scrolled {
    background: linear-gradient(180deg, rgba(8,15,45,0.96) 0%, rgba(12,25,65,0.88) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(56,189,248,0.12) !important;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(26,86,219,0.1) !important;
}

.site-header.scrolled .nav-link { color: #1e293b !important; }
.site-header.scrolled .nav-link:hover { color: var(--color-primary) !important; }
.site-header.not-scrolled .nav-link { color: rgba(255,255,255,0.92) !important; font-weight: 500; }
.site-header.not-scrolled .nav-link:hover { color: #38bdf8 !important; }

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-bottom: 4px !important;
    transition: color 0.2s ease !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(8,15,50,0.93) 0%, rgba(6,182,212,0.25) 60%, rgba(8,15,50,0.88) 100%);
    z-index: 1;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.hero-section .hero-content { position: relative; z-index: 2; }
.hero-section .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.03em !important;
}
.hero-section .hero-subtitle {
    font-size: 1.1rem !important;
    color: rgba(186,230,253,0.88) !important;
    line-height: 1.75 !important;
    font-weight: 300 !important;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(26,86,219,0.38) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    padding: 0.875rem 2rem !important;
    border-radius: var(--radius-md) !important;
    position: relative; overflow: hidden;
    transition: all 0.3s ease !important;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(26,86,219,0.5) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}
.btn-secondary {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    backdrop-filter: blur(12px) !important;
    font-weight: 600 !important;
    padding: 0.875rem 2rem !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s ease !important;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(56,189,248,0.45) !important;
    transform: translateY(-2px) !important;
}

/* ===== Cards ===== */
.card {
    background: white !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid rgba(226,232,240,0.7) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}
.card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-6px) !important;
    border-color: rgba(26,86,219,0.12) !important;
}
.card-image {
    height: 220px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}
.card:hover .card-image { transform: scale(1.05); }
.card-body { padding: 1.5rem !important; }
.card-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}
.card:hover .card-title { color: var(--color-primary) !important; }
.card-text {
    font-size: 0.875rem !important;
    color: #64748b !important;
    line-height: 1.65 !important;
}
.card-category {
    background: var(--gradient-primary) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 2rem !important;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
}
.section-subtitle {
    font-size: 1rem !important;
    color: #64748b !important;
    line-height: 1.75 !important;
}

/* ===== Stats Section ===== */
.stat-item { position: relative; text-align: center; }
.stat-item .text-4xl {
    font-size: 3rem !important;
    font-weight: 800 !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.04em !important;
    background: linear-gradient(135deg, #ffffff, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Solutions / Features Grid ===== */
.solution-card, .feature-card {
    background: white !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid rgba(226,232,240,0.7) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    position: relative;
}
.solution-card:hover, .feature-card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(26,86,219,0.12) !important;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.solution-card:hover::before { opacity: 1; }

/* ===== Page Header (Archive pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem !important;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 300px;
    background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    font-weight: 800 !important;
    color: white !important;
    letter-spacing: -0.03em !important;
    position: relative; z-index: 1;
}
.page-description {
    color: rgba(186,230,253,0.85) !important;
    font-size: 1.05rem !important;
    position: relative; z-index: 1;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

/* ===== About Section ===== */
.about-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%) !important;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c1a40 100%) !important;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Footer Enhancement ===== */
.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #060d1f 100%) !important;
    border-top: 1px solid rgba(56,189,248,0.1) !important;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr !important;
    }
}
.footer-heading {
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    position: relative;
    padding-left: 0 !important;
    border-left: none !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.25rem !important;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 2rem; height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(148,163,184,0.85) !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.footer-links a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}
.footer-description { color: rgba(148,163,184,0.75) !important; font-size: 0.875rem !important; line-height: 1.7 !important; }

/* ===== Lang Switcher ===== */
.lang-switcher a {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    transition: all 0.2s ease !important;
}
.not-scrolled .lang-switcher a {
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
.not-scrolled .lang-switcher a:hover {
    color: #38bdf8 !important;
    border-color: rgba(56,189,248,0.5) !important;
}
.scrolled .lang-switcher a {
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}
.scrolled .lang-switcher a:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background: rgba(26,86,219,0.06) !important;
}

/* ===== Inquiry Modal Enhancement ===== */
.modal-content {
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35) !important;
    border: 1px solid rgba(226,232,240,0.5) !important;
}
.modal-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
}
.form-group input, .form-group select, .form-group textarea {
    border-radius: var(--radius-md) !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
    font-size: 0.9rem !important;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1) !important;
    outline: none !important;
}

/* ===== Admin Bar Fix ===== */
.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px !important; } }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 0.85rem !important; color: rgba(186,230,253,0.7) !important; }
.breadcrumb a { color: rgba(186,230,253,0.7) !important; }
.breadcrumb a:hover { color: #38bdf8 !important; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1a56db, #06b6d4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #1240ab, #0891b2); }

/* ===== Selection ===== */
::selection { background: rgba(26,86,219,0.2); color: #1a56db; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-section { min-height: 64vh !important; }
}

@media (max-width: 768px) {
    .hero-section { min-height: 56vh !important; }
    .hero-section .hero-title { font-size: 2rem !important; }
    .page-header { padding: 4rem 0 3rem !important; }
}

.site-logo-name-mobile {
    display: none;
}

@media (max-width: 640px) {
    /* 移动端头部：公司名与语言按钮单行展示 */
    .header-inner {
        gap: 0.5rem;
    }

    .site-logo {
        min-width: 0;
        flex: 1;
    }

    .site-logo-text {
        min-width: 0;
        margin-left: 0.35rem;
        max-width: 100%;
    }

    .site-logo-name {
        font-size: 1.125rem !important;
        letter-spacing: 0 !important;
        line-height: 1.15 !important;
        display: block;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-logo-name-full {
        display: none !important;
    }

    .site-logo-name-mobile {
        display: block !important;
    }

    .site-logo-sub {
        font-size: 0.625rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.03em !important;
        display: block;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lang-switcher {
        gap: 0.25rem !important;
        margin-right: 0.35rem !important;
    }

    .lang-switcher a {
        font-size: 0.72rem !important;
        padding: 0.18rem 0.45rem !important;
        min-width: 2.5rem;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        white-space: nowrap !important;
        writing-mode: horizontal-tb !important;
        line-height: 1 !important;
        text-align: center;
        letter-spacing: 0 !important;
    }

    /* 移动端首屏描述：两段文字各占一行 */
    .hero-description {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        white-space: nowrap !important;
    }
}

/* 产品侧边栏分类字体增大 */
.sidebar-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1rem;
}

.product-sidebar .widget-title,
.product-sidebar h3,
.product-sidebar h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* 解决方案页面文字风格统一 */
.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.solution-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #64748b;
}

.solution-features li {
    font-size: 0.875rem;
    line-height: 1.6;
}

.solution-btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
}

/* page-header 标题与全站一致 */
.page-header-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-header-desc {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.85;
}

/* 解决方案页进一步优化 - 与首页风格对齐 */
.solution-section {
    padding: 4rem 0;
}

.solution-item {
    gap: 3rem;
    margin-bottom: 4rem;
}

.solution-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
}

.solution-title {
    font-size: 1.375rem !important;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.solution-desc {
    font-size: 0.875rem !important;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.solution-features li {
    font-size: 0.8125rem !important;
    color: #475569;
    margin-bottom: 0.5rem;
}

.solution-btn {
    font-size: 0.8125rem !important;
    padding: 0.5rem 1.25rem;
}

.page-header {
    padding: 3rem 0;
}

.page-header-title {
    font-size: 1.75rem !important;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-header-desc {
    font-size: 0.9375rem !important;
    line-height: 1.7;
    max-width: 600px;
}

/* ===== 产品页推荐区块 ===== */
.product-recommend-section {
    background: #f8fafc;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.recommend-block {
    margin-bottom: 3rem;
}

.recommend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.recommend-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.recommend-more {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    transition: all 0.2s;
}

.recommend-more:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.recommend-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
}

.recommend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #2563eb;
    color: inherit;
}

.recommend-card-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f1f5f9;
}

.recommend-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommend-card:hover .recommend-card-img img {
    transform: scale(1.05);
}

.recommend-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

.recommend-card-body {
    padding: 1rem 1.25rem;
}

.recommend-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.recommend-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.recommend-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .recommend-grid {
        grid-template-columns: 1fr;
    }
}

/* 产品页新闻资讯区块 */
.product-news-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    color: inherit;
}

.news-card-img {
    height: 180px;
    overflow: hidden;
    background: #e2e8f0;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #94a3b8;
}

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.news-card-more {
    font-size: 0.8125rem;
    color: #2563eb;
    font-weight: 500;
}

.recommend-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 减少产品页留白 */
.product-section { padding: 2rem 0 !important; }
.product-hero { padding: 2.5rem 0 2rem !important; }
.product-news-section { padding: 2.5rem 0 !important; }
.product-recommend-section { padding: 2.5rem 0 !important; }
.product-bottom-cta { padding: 2rem 0 !important; }
.recommend-block { margin-bottom: 2rem !important; }
.recommend-header { margin-bottom: 1rem !important; }
.news-grid { gap: 1rem !important; }
.recommend-grid { gap: 1rem !important; }
.product-main-content { padding-top: 0 !important; }
.product-layout { gap: 1.5rem !important; }

/* 产品页广告横幅 */
.product-banner-ad { padding: 0 !important; }
.banner-ad-link { display: block; position: relative; overflow: hidden; max-height: 300px; }
.banner-ad-img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.banner-ad-link:hover .banner-ad-img { transform: scale(1.03); }
.banner-ad-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(10,22,40,0.55), rgba(10,22,40,0.55)); display: flex; align-items: center; justify-content: center; }
.banner-ad-text { padding: 2rem; color: white; max-width: 700px; text-align: center; }
.banner-ad-badge { display: inline-block; background: #f59e0b; color: #0f172a; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.banner-ad-text h2 { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.75rem; line-height: 1.3; color: white; }
.banner-ad-text p { font-size: 0.9375rem; opacity: 0.9; margin: 0 0 1.25rem; line-height: 1.6; }
.banner-ad-cta { display: inline-block; background: #2563eb; color: white; padding: 0.625rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.875rem; transition: background 0.2s; }
.banner-ad-link:hover .banner-ad-cta { background: #1d4ed8; }
@media (max-width: 768px) { .banner-ad-img { height: 300px; } .banner-ad-text { padding: 1.5rem; } .banner-ad-text h2 { font-size: 1.25rem; } }

/* 其他页面 banner 高度统一为 300px */
.page-header {
    padding: 0 !important;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contact-page-header {
    height: 300px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .page-header { height: 200px; }
    .contact-page-header { height: 200px !important; }
}

/* 修复 page-header 文字颜色 */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #122a4d 50%, #0a1628 100%) !important;
}

.page-header-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header-desc {
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 面包屑颜色加深 */
.breadcrumb,
.product-breadcrumb-wrapper .breadcrumb {
    color: #334155 !important;
}

.breadcrumb a,
.product-breadcrumb-wrapper .breadcrumb a {
    color: #2563eb !important;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline;
}

.breadcrumb span,
.breadcrumb .separator {
    color: #64748b !important;
}

/* 面包屑文字加粗 */
.breadcrumb,
.product-breadcrumb-wrapper .breadcrumb {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* 推荐区块描述文字加深 */
.recommend-card-desc,
.recommend-card-tag,
.news-card-desc,
.news-card-meta {
    color: #334155 !important;
}

.recommend-card-title,
.news-card-title {
    color: #0f172a !important;
}

.recommend-card-tag {
    color: #2563eb !important;
    font-weight: 600;
}

/* 搜索框颜色加深 */
.product-search-form input,
.product-search input[type='text'],
.product-search input[type='search'],
input[name='product_search'] {
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    background: #fff !important;
}

.product-search-form input::placeholder,
input[name='product_search']::placeholder {
    color: #64748b !important;
}

.product-search-form input:focus,
input[name='product_search']:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15) !important;
    outline: none;
}

/* 修复首页解决方案区块文字颜色 */


.bg-slate-900 .section-title {
    color: #ffffff !important;
}

.bg-slate-900 .text-slate-400 {
    color: #94a3b8 !important;
}

/* 首页区块标题层级增强（仅首页） */
.home .section-title {
    font-size: 1.5rem !important;
    font-weight: 700;
}

@media (min-width: 768px) {
    .home .section-title {
        font-size: 2rem !important;
    }
}

.hero-title {
    font-size: 1.375rem !important;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.75rem !important;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2rem !important;
    }
}

/* 首页产品卡片底部多余空白修复 */
.products-preview-grid .card {
    overflow: hidden;
}

.products-preview-grid .card-body {
    padding-bottom: 1.25rem !important;
}

.products-preview-grid .card > div:last-child:empty {
    display: none !important;
}

/* 统计数字区块文字加深 */
.stat-item .text-4xl,
.stat-item > div:first-child {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stat-item .text-blue-100,
.stat-item .text-blue-200,
.stat-item > div:last-child {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.stat-item span {
    color: #93c5fd !important;
}

/* 统计数字区块 - 移除模糊效果 */
.stat-item .text-4xl {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

.stat-item .text-blue-100 {
    color: #dbeafe !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.stat-item .text-blue-200 {
    color: #bfdbfe !important;
    text-shadow: none !important;
    filter: none !important;
}

.bg-blue-700 {
    background-color: #1d4ed8 !important;
}

/* 统计区块背景调暗，文字改深蓝 */
.bg-blue-700 {
    background-color: #1e3a5f !important;
}

.stat-item .text-4xl {
    color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.stat-item .text-blue-100 {
    color: #93c5fd !important;
    text-shadow: none !important;
    filter: none !important;
}

.stat-item .text-blue-200 {
    color: #7dd3fc !important;
    text-shadow: none !important;
}

/* 统计区块：浅蓝背景 + 深蓝文字 */
.bg-blue-700 {
    background-color: #dbeafe !important;
}

.stat-item .text-4xl {
    color: #1e3a8a !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-text-fill-color: #1e3a8a !important;
}

.stat-item .text-blue-100 {
    color: #1d4ed8 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
}

.stat-item .text-blue-200 {
    color: #2563eb !important;
    text-shadow: none !important;
}

/* 统计区块小文字加深 */
.stat-item .text-sm,
.stat-item .text-blue-100,
.bg-blue-700 .text-blue-100,
.bg-blue-700 .text-sm {
    color: #1e40af !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* 统计区块小文字与大文字颜色一致 */
.stat-item .text-sm,
.stat-item .text-blue-100,
.bg-blue-700 .text-blue-100,
.bg-blue-700 .text-sm {
    color: #1e3a8a !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* 强制覆盖统计小文字颜色 */
section.py-12.bg-blue-700 .stat-item div.text-blue-100,
section.py-12.bg-blue-700 .stat-item .text-sm {
    color: #1e3a8a !important;
}

/* 统计区块背景改为浅灰色 */
.bg-blue-700 {
    background-color: #f1f5f9 !important;
}

/* 首页解决方案区块右侧描述小文字加亮 */
.bg-slate-900 .text-slate-400,
.bg-slate-900 .text-right,
.bg-slate-900 .leading-relaxed {
    color: #cbd5e1 !important;
}

.bg-slate-900 .text-slate-400 span {
    color: #cbd5e1 !important;
}

/* 解决方案区块描述文字强制加亮 */
.text-slate-400.text-right.leading-relaxed,
.text-slate-400.text-right.leading-relaxed span {
    color: #e2e8f0 !important;
}

/* 首页统计条：与 Banner 协调，背景稍淡 */
.home-stats-strip.bg-blue-700 {
    background: linear-gradient(180deg, #3672a6 0%, #2d6497 100%) !important;
    border-top: 1px solid rgba(125, 211, 252, 0.2);
}

.home-stats-strip.py-12 {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

.home-stats-strip .stat-item .text-4xl,
.home-stats-strip .stat-item > div:first-child {
    color: #67c8fb !important;
    -webkit-text-fill-color: #67c8fb !important;
    text-shadow: none !important;
}

.home-stats-strip .stat-item .text-blue-200,
.home-stats-strip .stat-item > div:first-child span {
    color: #67c8fb !important;
    -webkit-text-fill-color: #67c8fb !important;
}

.home-stats-strip .stat-item .text-blue-100,
.home-stats-strip .stat-item .text-sm,
.home-stats-strip .stat-item > div:last-child {
    color: #bfdbfe !important;
    -webkit-text-fill-color: #bfdbfe !important;
    text-shadow: none !important;
}

/* 覆盖旧规则（旧规则选择器优先级更高） */
section.py-12.bg-blue-700.home-stats-strip .stat-item div.text-blue-100,
section.py-12.bg-blue-700.home-stats-strip .stat-item .text-sm {
    color: #bfdbfe !important;
    -webkit-text-fill-color: #bfdbfe !important;
}

/* 首页案例与资讯区块间距（统一节奏，避免过紧或过松） */
.cases-preview-section {
    padding-top: 4rem !important;
    padding-bottom: 2.75rem !important;
}

.news-preview-section {
    padding-top: 2.75rem !important;
    padding-bottom: 4rem !important;
}

@media (max-width: 768px) {
    .cases-preview-section {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }

    .news-preview-section {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 768px) {
    .home-stats-strip.py-12 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* 统计条移动端：一行2个，共2行 */
    .home-stats-strip .grid.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }
}

/* 首页解决方案卡片描述文字改深灰 */
.solution-card p,
.solution-card .solution-content p {
    color: #4b5563 !important;
}

/* 首页解决方案卡片文字深灰（白色背景） */
.solution-card h3,
.solution-card .solution-content h3 {
    color: #111827 !important;
}

.solution-card p,
.solution-card .solution-content p {
    color: #4b5563 !important;
}

.solution-card {
    color: inherit !important;
    text-decoration: none !important;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 700;
}

.solution-card:hover .solution-card-link {
    color: #1d4ed8;
}

/* 下拉导航菜单样式 */
.main-navigation { position: relative; }
.main-navigation > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; }
.main-navigation > ul > li { position: relative; }
.main-navigation > ul > li > a { display: flex; align-items: center; padding: 0 1rem; height: 70px; font-size: 0.875rem; font-weight: 500; color: inherit; white-space: nowrap; transition: color 0.2s; }
.main-navigation > ul > li > a:after { content: ''; }
.main-navigation > ul > li.menu-item-has-children > a:after { content: ' ▾'; font-size: 0.75rem; margin-left: 3px; }
.main-navigation > ul > li:hover > a { color: #2563eb; }

/* 下拉子菜单 */
.main-navigation ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; padding: 6px 0; list-style: none; margin: 0; }
.main-navigation ul ul li a { display: block; padding: 8px 16px; font-size: 0.875rem; color: #374151; white-space: nowrap; transition: all 0.15s; }
.main-navigation ul ul li a:hover { background: #eff6ff; color: #2563eb; }
.main-navigation > ul > li:hover > ul { display: block; }
.main-navigation > ul > li:hover > ul:before { content: ''; position: absolute; top: -6px; left: 20px; border: 6px solid transparent; border-bottom-color: #fff; }

/* 修复下拉菜单 - WordPress 用 .sub-menu */


.main-navigation .sub-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: #374151 !important;
    white-space: nowrap;
    transition: all 0.15s;
    height: auto !important;
}

.main-navigation .sub-menu li a:hover {
    background: #eff6ff;
    color: #2563eb !important;
}

.main-navigation li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.main-navigation li.menu-item-has-children > a:after {
    content: ' ▾';
    font-size: 0.7rem;
    margin-left: 3px;
}

/* 子菜单从右侧弹出 */


.main-navigation li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* 子菜单向下弹出，右对齐 */


/* 子菜单在菜单文字正下方左对齐弹出 */


/* 修复子菜单定位 - 每个父菜单项需要relative定位 */
.main-navigation ul > li {
    position: relative !important;
}

/* 下拉菜单完整规则 */
/* 二级菜单 */
.main-navigation li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

.main-navigation li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* 三级菜单从右侧弹出 */
.main-navigation .sub-menu li.menu-item-has-children > .sub-menu {
    top: 0 !important;
    left: calc(100% + 10px) !important;
}

/* 三级菜单最终覆盖 - 放在所有规则最后 */
.main-navigation .sub-menu .menu-item-has-children > .sub-menu,
.main-navigation li .sub-menu li.menu-item-has-children > .sub-menu {
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    margin-top: 0 !important;
}

/* 三级菜单 - 用ID选择器提高特异性 */
#masthead .main-navigation .sub-menu .menu-item-has-children > .sub-menu,
#masthead .main-navigation li .sub-menu li.menu-item-has-children > .sub-menu {
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
}

/* 产品中心动态菜单里，一级项未必带 menu-item-has-children 类，补充通用右侧弹出规则 */
#masthead .main-navigation .sub-menu li {
    position: relative;
}

#masthead .main-navigation .sub-menu li:hover > .sub-menu {
    display: block;
    top: 0;
    left: 100%;
    right: auto;
    margin-top: 0;
}

/* 产品中心二级菜单：强制从一级菜单右侧弹出 */
#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li {
    position: relative;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu {
    overflow: visible !important;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu {
    display: none;
    position: absolute;
    top: -10px !important;
    left: 100% !important;
    right: auto !important;
    margin-top: 0 !important;
    z-index: 10001;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li:hover > .sub-menu {
    display: block !important;
}

/* 产品中心分类样式优化：一级 + 二级更清晰 */
#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu {
    min-width: 240px;
    padding: 10px;
    border-radius: 14px;
    border: none;
    border-bottom: 1px solid #dbe5f3;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li + li {
    margin-top: 0;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 36px 10px 12px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #24344f !important;
    border: none;
    border-bottom: 1px solid #dbe5f3;
    background: transparent;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li:last-child > a {
    border-bottom: none;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > a::after {
    content: '›';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li:hover > a {
    background: rgba(234, 243, 255, 0.58);
    color: #1d4ed8 !important;
    border-color: #bfd6f8;
    box-shadow: none;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li:hover > a::after {
    color: #2563eb;
    transform: translateY(-50%) translateX(2px);
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu {
    min-width: 240px;
    padding: 10px;
    border-radius: 14px;
    border: none;
    border-bottom: 1px solid #dbe5f3;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    margin-left: 0 !important;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li + li {
    margin-top: 0;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 36px 10px 12px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #24344f !important;
    border: none;
    border-bottom: 1px solid #dbe5f3;
    background: transparent;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li:last-child > a {
    border-bottom: none;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li > a::after {
    content: '›';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li:hover > a {
    background: rgba(234, 243, 255, 0.58);
    color: #1d4ed8 !important;
    border-color: #bfd6f8;
    box-shadow: none;
}

#masthead :is(#menu-item-44, #menu-item-45, #menu-item-46) > .sub-menu > li > .sub-menu > li:hover > a::after {
    color: #2563eb;
    transform: translateY(-50%) translateX(2px);
}

/* 产品中心 Mega Menu（三列） */
@media (min-width: 1025px) {
    .main-navigation li.menu-item-product-mega {
        position: relative !important;
    }

    .main-navigation li.menu-item-product-mega > .sub-menu.product-menu-source {
        display: none !important;
    }

    .main-navigation li.menu-item-product-mega > .product-mega-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: min(1100px, calc(100vw - 80px));
        min-height: 320px;
        background: #ffffff;
        border: 1px solid #e7ecf3;
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
        z-index: 12000;
        overflow: hidden;
    }

    .main-navigation li.menu-item-product-mega.mega-open > .product-mega-menu {
        display: block;
    }

    .main-navigation li.menu-item-product-mega > .product-mega-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #ffffff;
    }

    .product-mega-layout {
        display: grid;
        grid-template-columns: 300px 330px 1fr;
        min-height: 320px;
    }

    .product-mega-col {
        padding: 1rem 1rem 1.1rem;
    }

    .product-mega-left,
    .product-mega-middle {
        border-right: 1px solid #edf1f6;
    }

    .product-mega-col-title {
        font-size: 0.72rem;
        font-weight: 700;
        color: #6b7280;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.7rem;
        padding-left: 0.25rem;
    }

    .product-mega-left-list,
    .product-mega-middle-list {
        display: grid;
        gap: 0.35rem;
    }

    .product-mega-left-item {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-height: 48px;
        border-radius: 8px;
        padding: 0.65rem 0.7rem;
        text-decoration: none;
        color: #1f2937;
        font-size: 0.95rem;
        font-weight: 700;
        background: transparent;
        transition: all 0.18s ease;
    }

    .product-mega-left-item:hover,
    .product-mega-left-item.active {
        background: #f5f7fa;
        color: #2563eb;
    }

    .product-mega-left-item .cat-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.92rem;
        background: #edf4ff;
        color: #2563eb;
        flex-shrink: 0;
    }

    .product-mega-left-item .cat-title {
        flex: 1;
        white-space: nowrap;
    }

    .product-mega-left-item .cat-badge {
        display: inline-flex;
        align-items: center;
        height: 20px;
        padding: 0 0.45rem;
        border-radius: 999px;
        background: #eff6ff;
        color: #2563eb;
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1;
        flex-shrink: 0;
    }

    .product-mega-middle-item {
        display: flex;
        align-items: center;
        min-height: 44px;
        border-radius: 8px;
        padding: 0.55rem 0.7rem;
        text-decoration: none;
        color: #334155;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.18s ease;
    }

    .product-mega-middle-item:hover {
        background: #f5f7fa;
        color: #1d4ed8;
    }

    .product-mega-empty {
        color: #9ca3af;
        font-size: 0.86rem;
        padding: 0.6rem 0.7rem;
    }

    .product-mega-right {
        background: #fbfdff;
    }

    .product-mega-right-card {
        border: 1px solid #e7edf5;
        border-radius: 0;
        background: #ffffff;
        padding: 0.9rem;
    }

    .product-mega-block + .product-mega-block {
        margin-top: 0.9rem;
    }

    .product-mega-label {
        font-size: 0.74rem;
        color: #6b7280;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 0.4rem;
    }

    .product-mega-recommend {
        display: inline-flex;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
        text-decoration: none;
        line-height: 1.3;
    }

    .product-mega-recommend:hover {
        color: #2563eb;
    }

    .product-mega-scene {
        color: #334155;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.6;
    }

    .product-mega-quick-links {
        display: grid;
        gap: 0.45rem;
    }

    .product-mega-quick-links .quick-link {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: #2563eb;
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
    }

    .product-mega-quick-links .quick-link:hover {
        color: #1d4ed8;
    }
}

@media (max-width: 1024px) {
    .main-navigation li.menu-item-product-mega > .product-mega-menu {
        display: none !important;
    }
}

/* 修复新闻详情页图片显示 */
.news-single-wrap img,
.news-featured-img img,
.news-single-wrap .wp-post-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
}

.news-featured-img {
    max-height: 400px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    margin-bottom: 2rem !important;
}

.news-featured-img img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
}

/* 新闻详情页 Banner 与案例保持一致 */
.news-hero {
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    padding: 3rem 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.news-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 新闻详情内容区宽度限制 */
.news-single-wrap .news-content-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.news-hero {
    width: 100% !important;
    max-width: 100% !important;
}

/* ============================================
   移动端响应式适配 (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* Banner 字体缩小 */
    .news-hero h1, .page-header h1 { font-size: 1.375rem !important; }
    .solution-hero-section h1 { font-size: 1.375rem !important; }
    .page-header-title { font-size: 1.375rem !important; }

    /* 解决方案列表：左右交替→单列 */
    .solution-item { grid-template-columns: 1fr !important; flex-direction: column !important; }
    .solution-item.reverse { direction: ltr !important; }
    .solution-thumb { height: 240px !important; }

    /* 产品列表：3列→1列 */
    .product-grid { grid-template-columns: 1fr !important; }
    .pd-related-grid { grid-template-columns: repeat(2,1fr) !important; }

    /* 案例列表：多列→1列 */
    .case-grid { grid-template-columns: 1fr !important; }

    /* 新闻列表：多列→1列 */
    .news-grid { grid-template-columns: 1fr !important; }

    /* 详情页：左右两栏→单列 */
    .news-single-wrap, 
    .case-single-page .container > div[style*="grid"] { grid-template-columns: 1fr !important; }

    /* 产品详情：图文→单列 */
    .pd-top { grid-template-columns: 1fr !important; flex-direction: column !important; }
    .pd-gallery { margin-bottom: 1.5rem; }

    /* 侧边栏移到底部 */
    .product-sidebar { order: 2; }
    .product-main { order: 1; }
    .product-layout { grid-template-columns: 1fr !important; }

    /* 解决方案详情推荐产品：4列→2列 */
    .pd-related-grid { grid-template-columns: repeat(2,1fr) !important; }

    /* 页脚多列→单列 */
    .footer-grid, .footer-widgets { grid-template-columns: 1fr !important; }

    /* 容器内边距缩小 */
    .container { padding-left: 1rem !important; padding-right: 1rem !important; }

    /* Banner 内边距缩小 */
    .news-hero, .page-header { padding: 2rem 0 !important; }
    .solution-hero-section { padding: 2rem 0 !important; }

    /* 面包屑字体缩小 */
    .breadcrumb { font-size: 0.75rem !important; }

    /* 分类侧边栏移到顶部 */
    .product-sidebar { margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
    /* 超小屏：相关产品2列→1列 */
    .pd-related-grid { grid-template-columns: 1fr !important; }
    .news-sidebar { grid-template-columns: 1fr !important; }
}

/* 首页信任背书区 */
.trust-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.trust-metric-card {
    padding: 1.25rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    text-align: center;
}

.trust-metric-card strong {
    display: block;
    color: #1d4ed8;
    font-size: 1.5rem;
    line-height: 1.2;
}

.trust-metric-card span {
    display: block;
    color: #475569;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.trust-logo-row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-logo-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border: 1px dashed #bfdbfe;
    border-radius: 0.5rem;
    color: #1e40af;
    font-size: 0.8125rem;
    background: #eff6ff;
}

.delivery-flow {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.flow-item {
    padding: 1.25rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.flow-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .trust-metrics,
    .delivery-flow {
        grid-template-columns: 1fr;
    }

    .trust-logo-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    /* 移动端流程卡片加深底色，增强版块分割 */
    .trust-section .flow-item {
        background: #dce8f7 !important;
        border-color: #b9cce5 !important;
    }
}

/* 案例展示：分类标签筛选 */
.case-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.case-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.case-filter-pill:hover {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}

.case-filter-pill.active {
    color: #1d4ed8;
    border-color: #60a5fa;
    background: #dbeafe;
}

@media (max-width: 768px) {
    .case-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.4rem;
        margin-bottom: 1rem;
    }

    .case-filter-pill {
        flex: 0 0 auto;
    }
}

/* 案例页：搜索框样式对齐产品中心 */
.case-sidebar .sidebar-search {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.case-sidebar .sidebar-search form {
    margin: 0;
}

.case-sidebar .search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-sidebar .search-input-wrapper svg {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    color: #94a3b8;
    flex-shrink: 0;
    pointer-events: none;
}

.case-sidebar .search-input-wrapper input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 0.875rem;
    color: #334155;
    background: transparent;
}

.case-sidebar .search-input-wrapper input::placeholder {
    color: #94a3b8;
}

/* 关于我们：信任增强模块 */
.about-trust-section {
    padding: 1rem 0 4rem;
    background: #ffffff;
}

.about-trust-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-trust-title {
    margin: 0 0 0.75rem;
    font-size: 1.9rem;
    color: #0f172a;
    font-weight: 700;
}

.about-trust-desc {
    margin: 0 auto;
    max-width: 760px;
    color: #64748b;
    line-height: 1.8;
}

.about-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 768px) {
    .about-trust-grid {
        grid-template-columns: 1fr;
    }
}

.about-trust-card {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.about-trust-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: #eff6ff;
    color: #1d4ed8;
}

.about-trust-card h3 {
    margin: 0 0 0.45rem;
    color: #0f172a;
    font-size: 1rem;
}

.about-trust-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.7;
}

.about-cert-section {
    padding: 0 0 3.5rem;
    background: #ffffff;
}

.about-cert-header {
    text-align: center;
    margin-bottom: 1.4rem;
}

.about-cert-title {
    margin: 0 0 0.65rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.about-cert-desc {
    margin: 0 auto;
    max-width: 720px;
    color: #64748b;
    line-height: 1.75;
}

.about-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

@media (max-width: 900px) {
    .about-cert-grid {
        grid-template-columns: 1fr;
    }
}

.about-cert-card {
    border-radius: 14px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    padding: 0.85rem;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.about-cert-image-wrap {
    aspect-ratio: 16 / 11;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    background: #f8fbff;
}

.about-cert-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-cert-meta {
    padding: 0.65rem 0.15rem 0.1rem;
}

.about-cert-meta h3 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    color: #0f172a;
}

.about-cert-meta p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.about-commitment-section {
    padding: 0 0 4rem;
    background: #ffffff;
}

.about-commitment-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 900px) {
    .about-commitment-layout {
        grid-template-columns: 1fr;
    }
}

.about-commitment-card,
.about-process-card {
    border-radius: 14px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    padding: 1.2rem 1.15rem;
}

.about-commitment-card h3,
.about-process-card h3 {
    margin: 0 0 0.9rem;
    color: #0f172a;
    font-size: 1.05rem;
}

.about-commitment-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.about-commitment-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.65;
}

.about-commitment-check {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    margin-top: 0.1rem;
}

.about-process-list {
    display: grid;
    gap: 0.7rem;
}

.about-process-item {
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.about-process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-process-title {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.about-process-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.6;
}

.about-trust-cta-section {
    padding: 0 0 3rem;
    background: #ffffff;
}

.about-trust-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
}

.about-trust-cta h3 {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.2rem;
}

.about-trust-cta p {
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.9rem;
}

.about-trust-cta-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.55rem 1.05rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.about-cta-btn-primary {
    background: #38bdf8;
    color: #082f49;
}

.about-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f8fafc;
}

.brand-banner-section {
    padding: 0.5rem 0 3rem;
    background: #ffffff;
}

.brand-banner {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 4.2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #4d6e96 0%, #5f7fa4 100%);
}

.brand-banner::before,
.brand-banner::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.brand-banner::before {
    width: 220px;
    height: 220px;
    top: -60px;
    left: 16%;
}

.brand-banner::after {
    width: 190px;
    height: 190px;
    right: 14%;
    bottom: -70px;
}

.brand-banner h2 {
    margin: 0;
    color: #d9eaff;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.brand-banner p {
    margin: 1rem 0 0;
    color: rgba(225, 238, 255, 0.9);
    font-size: clamp(1rem, 1.7vw, 1.95rem);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .brand-banner {
        padding: 2.7rem 1rem;
        border-radius: 16px;
    }
}
