/*
Theme Name: 百溯智能企业主题
Theme URI: http://www.blsm365.com
Author: 百溯智能
Description: 百溯智能一物一码追溯系统官网主题，支持产品、方案、新闻、FAQ后台管理，内置GEO结构化数据。
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: baisu
*/

/* ============================================
   百溯智能官网 - GEO优化版样式 v2（大气版）
   品牌色：天蓝 #1E88E5 / 深蓝 #0D47A1
   ============================================ */

:root {
    --primary: #1E88E5;
    --primary-dark: #0D47A1;
    --primary-light: #64B5F6;
    --accent: #00BCD4;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #ffffff;
    --bg-gray: #f5f7fa;
    --bg-dark: #0a1929;
    --border: #e1e8ed;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 8px;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text); line-height: 1.7; background: var(--bg);
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部信息条 ===== */
.topbar { background: var(--bg-dark); color: #b0bec5; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #b0bec5; margin-left: 20px; }
.topbar a:hover { color: #fff; }

/* ===== 导航栏 ===== */
.header {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 1000;
    transition: all .3s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 22px;
}
.logo-text { line-height: 1.2; }
.logo-text strong { font-size: 21px; color: var(--text); display: block; }
.logo-text span { font-size: 12px; color: var(--text-light); letter-spacing: 2px; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
    display: block; padding: 10px 18px; color: var(--text);
    font-weight: 500; font-size: 15px; border-radius: 4px; transition: all .2s;
}
.nav a:hover, .nav a.active { color: var(--primary); background: rgba(30,136,229,.08); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ===== Hero 全屏大图 ===== */
.hero {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    color: #fff; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.05);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,25,41,.92) 0%, rgba(13,71,161,.75) 50%, rgba(10,25,41,.85) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 680px; }
.hero-badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(30,136,229,.2); border: 1px solid rgba(100,181,246,.4);
    border-radius: 20px; font-size: 13px; color: var(--primary-light);
    margin-bottom: 24px; letter-spacing: 1px;
}
.hero h1 {
    font-size: 52px; font-weight: 800; line-height: 1.25;
    margin-bottom: 24px; letter-spacing: -1px;
}
.hero h1 .highlight {
    background: linear-gradient(90deg, #64B5F6, #00BCD4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 19px; color: #c5d3e0; margin-bottom: 36px; max-width: 580px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats {
    display: flex; gap: 48px; margin-top: 56px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat .num { font-size: 32px; font-weight: 700; color: #fff; display: block; }
.hero-stat .label { font-size: 13px; color: #90a4ae; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 6px;
    font-weight: 600; font-size: 15px; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(30,136,229,.4); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,136,229,.5); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-play {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; font-size: 15px; font-weight: 500; cursor: pointer;
    background: none; border: none;
}
.btn-play .play-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: all .25s;
}
.btn-play:hover .play-icon { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--bg-dark); color: #e0e0e0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-size: 36px; font-weight: 700; color: var(--text);
    margin-bottom: 14px; letter-spacing: -.5px;
}
.section-header h2::after {
    content: ''; display: block; width: 56px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 16px auto 0; border-radius: 2px;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--text-light); font-size: 17px; }
.section-header .subtitle { color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* ===== 核心能力 ===== */
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cap-card {
    background: #fff; border-radius: 12px; padding: 36px 28px;
    box-shadow: var(--shadow); transition: all .3s; position: relative; overflow: hidden;
    border-bottom: 3px solid transparent;
}
.cap-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transition: transform .3s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(30,136,229,.1), rgba(0,188,212,.1));
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}
.cap-card h3 { font-size: 19px; margin-bottom: 10px; }
.cap-card p { color: var(--text-light); font-size: 14px; }

/* ===== 视频展示区 ===== */
.video-section { position: relative; padding: 100px 0; overflow: hidden; }
.video-section-bg {
    position: absolute; inset: 0;
    background: url('../images/factory-line.jpg') center/cover no-repeat fixed;
}
.video-section-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,25,41,.9), rgba(13,71,161,.8));
}
.video-section .container { position: relative; z-index: 2; text-align: center; color: #fff; }
.video-section h2 { font-size: 36px; margin-bottom: 16px; }
.video-section p { font-size: 17px; color: #c5d3e0; margin-bottom: 40px; }
.video-player {
    max-width: 900px; margin: 0 auto;
    aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
    background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.4); position: relative;
}
.video-player .play-btn {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); color: #fff; border: none;
    font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .3s; box-shadow: 0 0 0 0 rgba(30,136,229,.6);
    animation: pulse 2s infinite;
}
.video-player .play-btn:hover { transform: scale(1.1); background: var(--primary-dark); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30,136,229,.6); }
    70% { box-shadow: 0 0 0 20px rgba(30,136,229,0); }
    100% { box-shadow: 0 0 0 0 rgba(30,136,229,0); }
}
.video-placeholder-text { position: absolute; bottom: 20px; left: 0; right: 0; color: #90a4ae; font-size: 13px; }

/* ===== 产品网格（图片版） ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: all .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
    aspect-ratio: 4/3; overflow: hidden; position: relative;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img .emoji-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 64px; color: var(--primary-dark);
}
.product-tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--primary); color: #fff; font-size: 12px;
    padding: 4px 12px; border-radius: 4px; font-weight: 600;
}
.product-info { padding: 24px 26px; }
.product-info h3 { font-size: 18px; margin-bottom: 8px; }
.product-info p { color: var(--text-light); font-size: 14px; margin-bottom: 14px; }
.product-specs { list-style: none; font-size: 13px; color: var(--text-light); }
.product-specs li { padding: 4px 0; padding-left: 18px; position: relative; }
.product-specs li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== 关于我们简介区（图文左右） ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-img {
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.about-intro-text .subtitle { color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.about-intro-text h2 { font-size: 34px; margin-bottom: 20px; line-height: 1.3; }
.about-intro-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }
.about-features { list-style: none; margin: 24px 0; }
.about-features li {
    padding: 10px 0; padding-left: 32px; position: relative;
    font-size: 15px; font-weight: 500;
}
.about-features li::before {
    content: '✓'; position: absolute; left: 0; top: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}

/* ===== 解决方案 ===== */
.solutions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-item {
    background: #fff; border-radius: 12px; padding: 32px 28px;
    box-shadow: var(--shadow); transition: all .3s;
    border-left: 4px solid var(--primary);
}
.solution-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-left-color: var(--accent); }
.solution-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
}
.solution-item h3 { font-size: 17px; margin-bottom: 8px; }
.solution-item p { color: var(--text-light); font-size: 14px; }

/* ===== 应用行业标签 ===== */
.industries { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 800px; margin: 0 auto; }
.industry-tag {
    padding: 10px 24px; background: #fff; border: 1px solid var(--border);
    border-radius: 30px; font-size: 14px; color: var(--text);
    transition: all .2s; box-shadow: var(--shadow);
}
.industry-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff; border-radius: 10px;
    margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-lg); }
.faq-q {
    width: 100%; text-align: left; padding: 22px 28px;
    background: none; border: none; cursor: pointer;
    font-size: 16px; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 28px; }
.faq-item.open .faq-a { max-height: 5000px; padding-top: 20px; padding-bottom: 22px; }
.faq-a p { color: var(--text-light); font-size: 15px; line-height: 1.8; }
.faq-a ul, .faq-a ol { margin: 10px 0; padding-left: 24px; color: var(--text-light); font-size: 15px; line-height: 1.8; }
.faq-a li { margin-bottom: 6px; }
.faq-a h4 { margin: 14px 0 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.faq-a p { margin-bottom: 10px; }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: all .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-date { background: var(--primary); color: #fff; padding: 14px 24px; font-size: 13px; font-weight: 600; }
.news-body { padding: 24px 26px; }
.news-body h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.5; }
.news-body p { color: var(--text-light); font-size: 14px; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,.1) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 34px; margin-bottom: 14px; }
.cta-section p { font-size: 17px; opacity: .9; margin-bottom: 32px; }
.cta-section .btn-primary { background: #fff; color: var(--primary-dark); font-size: 16px; padding: 16px 40px; }
.cta-section .btn-primary:hover { background: #f0f0f0; }

/* ===== 页脚 ===== */
.footer { background: var(--bg-dark); color: #90a4ae; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; font-size: 14px; }
.footer a { color: #90a4ae; }
.footer a:hover { color: var(--primary-light); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0; text-align: center; font-size: 13px;
}

/* ===== 页面横幅 ===== */
.page-banner {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
    color: #fff; padding: 72px 0; text-align: center;
}
.page-banner h1 { font-size: 34px; margin-bottom: 8px; }
.page-banner p { color: #b0bec5; letter-spacing: 3px; font-size: 14px; }
.breadcrumb { font-size: 13px; color: #90a4ae; margin-top: 14px; }
.breadcrumb a { color: #b0bec5; }

/* ===== 内容页 ===== */
.content-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 56px 0; }
.content-main h2 { font-size: 24px; margin: 32px 0 16px; color: var(--primary-dark); }
.content-main h2:first-child { margin-top: 0; }
.content-main p { margin-bottom: 16px; }
.content-main ul { margin: 16px 0 16px 24px; }
.content-main ul li { margin-bottom: 8px; }
.content-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.content-table th, .content-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.content-table th { background: var(--bg-gray); font-weight: 600; }
.sidebar { background: var(--bg-gray); border-radius: var(--radius); padding: 24px; height: fit-content; }
.sidebar h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.sidebar ul { list-style: none; }
.sidebar ul li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar ul li:last-child { border-bottom: none; }
.sidebar-contact { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.sidebar-contact h4 { color: #fff; margin-bottom: 10px; }
.sidebar-contact p { font-size: 14px; margin-bottom: 6px; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card, .contact-form { background: #fff; border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.contact-info-card h3, .contact-form h3 { margin-bottom: 24px; font-size: 22px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-row .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(30,136,229,.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-row strong { display: block; margin-bottom: 2px; }
.contact-row span { color: var(--text-light); font-size: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border);
    border-radius: 6px; font-size: 14px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .nav-toggle { display: block; }
    .nav ul {
        display: none; position: absolute; top: 76px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 12px;
        box-shadow: var(--shadow-lg);
    }
    .nav.open ul { display: flex; }
    .hero { min-height: 80vh; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat .num { font-size: 24px; }
    .capabilities, .products-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-list { grid-template-columns: 1fr; }
    .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-wrap { grid-template-columns: 1fr; }
    .topbar .container { flex-direction: column; gap: 4px; }
    .section { padding: 56px 0; }
    .section-header h2 { font-size: 28px; }
    .video-section { padding: 60px 0; }
    .video-section h2 { font-size: 26px; }
}
@media (max-width: 600px) {
    .capabilities, .products-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .section-header h2 { font-size: 24px; }
}

/* ========================================
   WordPress 内容区补充样式
   ======================================== */
.content-main h2 { font-size: 24px; margin: 32px 0 16px; padding-left: 12px; border-left: 4px solid var(--primary); }
.content-main h3 { font-size: 18px; margin: 24px 0 12px; }
.content-main p { margin-bottom: 16px; line-height: 1.8; color: var(--text-light); }
.content-main ul, .content-main ol { margin: 16px 0; padding-left: 24px; color: var(--text-light); line-height: 2; }
.content-main img { max-width: 100%; height: auto; border-radius: 8px; }
.content-main blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; background: var(--bg-gray); margin: 20px 0; border-radius: 0 8px 8px 0; color: var(--text); }
.content-main a { color: var(--primary); }

/* 分页 */
.pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 2px;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: 14px;
}
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--primary); color: var(--primary); }

/* 方案列表页 */
.solutions-list-page { max-width: 900px; margin: 0 auto; }

/* 视频占位提示 */
.video-placeholder-text {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 14px; white-space: nowrap;
}

/* 文章导航 */
.post-navigation { margin: 40px 0; display: flex; justify-content: space-between; gap: 20px; }
.post-navigation a { color: var(--primary); text-decoration: none; font-size: 14px; }
.post-navigation a:hover { text-decoration: underline; }

/* 评论（如启用） */
.comment-list { list-style: none; padding: 0; }

/* FAQ答案区域滚动条样式 */
.faq-a {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}
.faq-a::-webkit-scrollbar {
    width: 6px;
}
.faq-a::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}
.faq-a::-webkit-scrollbar-thumb {
    background: #c5d3e8;
    border-radius: 3px;
}
.faq-a::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
/* 产品卡片查看详情链接 */
.product-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.product-more:hover {
    color: var(--primary-dark);
}
/* 解决方案卡片 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.solution-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}
.solution-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-card-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.solution-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.solution-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.solution-card-body h3 a {
    color: var(--text);
    text-decoration: none;
}
.solution-card-body h3 a:hover {
    color: var(--primary);
}
.solution-card-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}
.solution-card-body .solution-more {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.solution-card-body .solution-more:hover {
    color: var(--primary-dark);
}
/* 详情页内容样式增强 */
.content-main h2 {
    font-size: 24px;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary-dark);
}
.content-main h3 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--text);
}
.content-main ul {
    padding-left: 20px;
    margin: 12px 0;
}
.content-main ul li {
    line-height: 2;
    color: var(--text-light);
}
.content-main p {
    line-height: 1.9;
    color: var(--text-light);
    margin: 12px 0;
}
/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

.content-main a.btn-primary { color: #fff; }
/*/* Logo图片样式 - 放大 */
.header .container { height: 96px; }
.logo-img {
    height: 72px;
    width: auto;
    display: block;
}
@media (max-width: 768px) {
    .logo-img { height: 56px; }
}

/* 导航对齐修复 - 加强版 */
.nav { display: flex; align-items: center; }
.nav > ul { display: flex; flex-wrap: nowrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1.4; }
@media (max-width: 968px) {
    .nav ul { top: 96px; }
}
/* 内容区表格样式 */
.content-main table, .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.content-main th, .content-main td,
.entry-content th, .entry-content td {
    border: 1px solid var(--border);
    padding: 12px 16px;
    text-align: left;
}
.content-main th, .entry-content th {
    background: #eef4fb;
    color: var(--primary-dark);
    font-weight: 600;
}
.content-main tr:nth-child(even),
.entry-content tr:nth-child(even) {
    background: #f8fafc;
}
@media (max-width: 768px) {
    .content-main table, .entry-content table { font-size: 14px; }
    .content-main th, .content-main td,
    .entry-content th, .entry-content td { padding: 8px 10px; }
}

/* ===== 新版首页板块样式 ===== */

/* 深色板块 */
.section-dark {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #0D47A1 100%);
  color: #fff;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.8); }
.section-dark .subtitle { color: #90CAF9; }

/* 能力卡片增强 */
.cap-card {
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cap-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
}
.cap-tags {
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.cap-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.cap-link:hover { color: var(--primary-dark); }

/* 数据中台 */
.data-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.data-item {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform .3s, background .3s;
}
.data-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}
.data-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.data-item h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}
.data-item p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
}
.data-highlight {
  margin-top: 40px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #64B5F6;
  border-radius: 0 8px 8px 0;
}
.data-highlight p {
  color: #E3F2FD;
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  margin: 0;
}

/* 解决方案网格 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.solution-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card-large {
  grid-column: span 1;
  padding: 32px;
}
.solution-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}
.solution-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.solution-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.solution-badge-policy {
  background: #E65100;
}
.solution-tags {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}
.solution-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.solution-link:hover { color: var(--primary-dark); }

/* 产品矩阵 */
.product-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.product-group {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
  transition: transform .3s;
}
.product-group:hover { transform: translateY(-4px); }
.product-group h4 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}
.product-group p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-group a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* 研发实力 */
.rd-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.rd-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.rd-point {
  text-align: center;
}
.rd-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.rd-point h4 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.rd-point p {
  color: var(--text-light);
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 968px) {
  .data-platform-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .product-matrix { grid-template-columns: repeat(2, 1fr); }
  .rd-points { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .data-platform-grid { grid-template-columns: 1fr; }
  .product-matrix { grid-template-columns: 1fr; }
}


/* 导航CTA按钮 */
.nav-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-left: 12px;
  transition: background .3s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}
