/* =========================================================
   叁佰建站官网主题 sanbbb.css
   蓝白销售风：白底 + 品牌蓝 #026bbc + 橙色转化点缀 #ff7a2e
   ========================================================= */
:root {
    --primary: #026bbc;
    --primary-dark: #025a9b;
    --accent: #0084ff;
    --light-blue: #bed7ea;
    --bg-light: #f5f9fd;
    --text: #333;
    --text-2: #666;
    --text-3: #999;
    --border: #e5eef5;
    --orange: #ff7a2e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 13px 46px; border-radius: 4px; font-size: 17px; transition: .2s; cursor: pointer; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e96820; }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; margin-left: 16px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.empty-tip { text-align: center; color: var(--text-3); padding: 60px 0; font-size: 15px; }

/* ===== 顶部通栏 ===== */
.topbar { background: var(--bg-light); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.topbar .wrap { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.topbar .hotline b { color: var(--orange); font-size: 15px; }

/* ===== 导航 ===== */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(2,107,188,.08); position: sticky; top: 0; z-index: 100; }
.site-header .head-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 25px; font-weight: bold; color: var(--primary); line-height: 1.15; }
.logo small { font-size: 11px; color: var(--text-3); font-weight: normal; display: block; letter-spacing: 2px; }
.site-nav { display: flex; gap: 28px; }
.site-nav .nav-item { position: relative; }
.site-nav .nav-item > a { font-size: 16px; padding: 22px 0; display: block; border-bottom: 3px solid transparent; white-space: nowrap; }
.site-nav .nav-item > a:hover, .site-nav .nav-item > a.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: bold; }
.site-nav .dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; min-width: 150px; box-shadow: 0 8px 24px rgba(2,107,188,.15); border-radius: 0 0 6px 6px; z-index: 99; padding: 8px 0; }
.site-nav .nav-item:hover .dropdown { display: block; }
.site-nav .dropdown a { display: block; padding: 9px 20px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.site-nav .dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.header-actions { display: flex; gap: 10px; }
.btn-search, .btn-menu { width: 38px; height: 38px; border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; font-size: 17px; color: var(--primary); }
.btn-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.btn-menu span { width: 18px; height: 2px; background: var(--primary); display: block; }
.search-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.search-bar form { max-width: 640px; margin: 0 auto; display: flex; gap: 10px; padding: 16px 20px; }
.search-bar input { flex: 1; padding: 10px 16px; border: 1px solid var(--border); outline: none; font-size: 14px; border-radius: 4px; }
.search-bar button { background: var(--primary); border: 0; color: #fff; padding: 0 28px; cursor: pointer; border-radius: 4px; }
.mobile-nav { display: none; position: fixed; inset: 0; background: #fff; z-index: 200; padding: 60px 30px; overflow: auto; }
.mobile-nav.open { display: block; }
.mobile-nav .btn-close { position: absolute; top: 16px; right: 20px; width: 38px; height: 38px; border: 1px solid var(--border); background: #fff; border-radius: 50%; cursor: pointer; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
.mobile-nav a.lv2 { padding-left: 20px; font-size: 15px; color: var(--text-2); }

/* ===== Banner ===== */
.banner { background: linear-gradient(120deg, #026bbc 0%, #0084ff 100%); color: #fff; padding: 90px 0; text-align: center; }
.banner h1 { font-size: 42px; margin-bottom: 18px; letter-spacing: 2px; }
.banner p { font-size: 19px; opacity: .92; margin-bottom: 36px; }

/* ===== 信任条 ===== */
.trust { background: #fff; border-bottom: 1px solid var(--border); }
.trust .wrap { display: flex; justify-content: space-around; padding: 22px 20px; flex-wrap: wrap; gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.trust-item .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* ===== 版块 ===== */
section { padding: 70px 0; }
section.alt { background: var(--bg-light); }
.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title h2 { font-size: 32px; }
.sec-title h2 em { font-style: normal; color: var(--primary); }
.sec-title p { color: var(--text-3); margin-top: 10px; font-size: 15px; }

/* ===== 产品货架 ===== */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 36px 30px; text-align: center; transition: .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(2,107,188,.14); border-color: var(--light-blue); }
.card .icon { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card .tag { color: var(--primary); font-size: 13px; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 14px; margin-bottom: 18px; min-height: 66px; }
.card .price { font-size: 14px; color: var(--text-3); }
.card .price b { color: var(--orange); font-size: 24px; }
.card.coming { opacity: .55; }
.card.coming::after { content: "即将上线"; position: absolute; top: 14px; right: -30px; background: var(--light-blue); color: #fff; font-size: 12px; padding: 3px 36px; transform: rotate(45deg); }

/* ===== 价格表 ===== */
.price-block h3 { font-size: 22px; margin-bottom: 22px; border-left: 5px solid var(--primary); padding-left: 14px; }
.price-block table { width: 100%; border-collapse: collapse; background: #fff; }
.price-block th, .price-block td { border: 1px solid var(--border); padding: 13px 16px; text-align: center; font-size: 14px; }
.price-block th { background: var(--primary); color: #fff; font-weight: normal; }
.price-block tr:nth-child(even) td { background: var(--bg-light); }
.price-block td.p-name { font-weight: bold; }
.price-block td.p-price { color: var(--orange); font-weight: bold; }
.price-block td a.buy { color: var(--primary); }
.price-block td a.buy:hover { color: var(--accent); }
.table-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ===== SEO / GEO ===== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.duo-card { border-radius: 10px; padding: 44px 40px; color: #fff; }
.duo-card.seo { background: linear-gradient(135deg, #026bbc, #0a7ad4); }
.duo-card.geo { background: linear-gradient(135deg, #0a5f9e, #026bbc); }
.duo-card h3 { font-size: 26px; margin-bottom: 6px; }
.duo-card .sub { opacity: .85; font-size: 14px; margin-bottom: 22px; }
.duo-card li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; opacity: .95; }
.duo-card li::before { content: "✓"; position: absolute; left: 0; color: #9fd4ff; font-weight: bold; }
.duo-card .btn { margin-top: 26px; }

/* ===== 案例 ===== */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: #fff; transition: .25s; }
.case:hover { box-shadow: 0 10px 24px rgba(2,107,188,.15); }
.case .thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.case .info { padding: 16px 18px; }
.case .info h4 { font-size: 16px; }
.case .info p { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ===== 新闻（分类悬停联动） ===== */
.news-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.news-tabs a { display: inline-block; padding: 8px 26px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; color: var(--text-2); background: #fff; cursor: pointer; }
.news-tabs a:hover { color: var(--primary); border-color: var(--light-blue); }
.news-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 26px; display: block; transition: .25s; }
.news-item:hover { box-shadow: 0 10px 24px rgba(2,107,188,.13); border-color: var(--light-blue); transform: translateY(-3px); }
.news-item .date { font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.news-item h4 { font-size: 17px; color: var(--text); font-weight: normal; line-height: 1.55; }
.news-item p { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* ===== CTA ===== */
.cta { background: linear-gradient(120deg, #026bbc, #0084ff); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { font-size: 30px; margin-bottom: 14px; }
.cta p { opacity: .9; margin-bottom: 28px; }

/* ===== 页脚 ===== */
.site-footer { background: #1d3a55; color: #8fa9c0; padding: 50px 0 30px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer .links a, .site-footer .contact p { display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .about-txt { line-height: 1.9; }
.site-footer .foot-tel { font-size: 22px; color: #fff; font-weight: bold; margin-bottom: 8px; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; font-size: 13px; }
.site-footer .copy .sep { margin: 0 10px; opacity: .4; }
.logo-foot { color: #fff; margin-bottom: 14px; display: inline-block; }
.logo-foot small { color: #6d8aa5; }

/* ===== 内页公共 ===== */
.page-hero { background: linear-gradient(120deg, #026bbc, #0a7ad4); color: #fff; padding: 46px 0; }
.page-hero h1 { font-size: 28px; font-weight: bold; }
.page-hero .en { font-size: 12px; letter-spacing: 3px; opacity: .6; margin-top: 4px; }
.page-hero .crumb { font-size: 13px; opacity: .85; margin-top: 12px; }
.page-hero .crumb a:hover { text-decoration: underline; }
.page-body { padding: 50px 0 70px; }
.inner-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.side-bar { background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.side-hd { background: var(--primary); color: #fff; padding: 18px 22px; }
.side-hd p { font-size: 18px; font-weight: bold; }
.side-hd span { font-size: 12px; letter-spacing: 2px; opacity: .7; }
.side-bd { padding: 10px 0; }
.side-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 22px; font-size: 14px; color: var(--text-2); border-left: 3px solid transparent; }
.side-item:hover { color: var(--primary); background: #fff; }
.side-item.on { color: var(--primary); border-left-color: var(--primary); background: #fff; font-weight: bold; }
.side-item i { font-style: normal; opacity: .4; }

/* 文章列表 */
.art-list { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.art-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.art-item:last-child { border-bottom: 0; }
.art-item:hover { background: var(--bg-light); }
.art-item .t { flex: 1; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-item .t:hover { color: var(--primary); }
.art-item .d { font-size: 13px; color: var(--text-3); white-space: nowrap; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: var(--text-2); }
.pagination a:hover { color: var(--primary); border-color: var(--primary); }
.pagination .cur { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 详情 */
.detail-wrap { background: #fff; }
.detail-meta { display: flex; gap: 24px; font-size: 13px; color: var(--text-3); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.detail-body { font-size: 15px; line-height: 2; color: var(--text); overflow-wrap: break-word; }
.detail-body img { max-width: 100%; height: auto; }
.detail-body p { margin: 10px 0; }
.pn { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.pn a { color: var(--primary); }
.pn div { padding: 4px 0; }

/* 产品 */
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pro-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; transition: .25s; }
.pro-card:hover { box-shadow: 0 10px 24px rgba(2,107,188,.15); transform: translateY(-3px); }
.pro-card .pic { height: 180px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.pro-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.pro-card .info { padding: 14px 18px; }
.pro-card .name { font-size: 15px; text-align: center; }
.pro-show { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: start; }
.pro-show .pic { background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; min-height: 240px; display: flex; align-items: center; justify-content: center; }
.pro-show .name { font-size: 22px; font-weight: bold; margin-bottom: 12px; }
.pro-show .intro { color: var(--text-2); margin-bottom: 20px; }
.sec-tlt { font-size: 19px; border-left: 5px solid var(--primary); padding-left: 12px; margin: 34px 0 16px; }
.param-table { width: 100%; border-collapse: collapse; }
.param-table td { border: 1px solid var(--border); padding: 11px 16px; font-size: 14px; }
.param-table td.k { width: 180px; background: var(--bg-light); color: var(--text-2); }

/* 留言表单 */
.form-tlt { font-size: 19px; border-left: 5px solid var(--primary); padding-left: 12px; margin: 34px 0 16px; }
.msg-form { display: grid; gap: 14px; max-width: 640px; }
.msg-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg-form input, .msg-form textarea, .msg-form select { padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; font-family: inherit; background: #fff; color: var(--text); }
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--primary); }
.msg-form textarea { min-height: 120px; resize: vertical; }
.msg-form button { background: var(--primary); color: #fff; border: 0; border-radius: 6px; padding: 13px 0; font-size: 15px; cursor: pointer; }
.msg-form button:hover { background: var(--primary-dark); }

/* 详情标题（案例/下载/问答/招聘） */
.detail-title { font-size: 22px; font-weight: bold; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.back-link { margin-top: 30px; font-size: 14px; }
.back-link a { color: var(--primary); }
.case-sub { font-size: 16px; color: var(--text-2); margin-bottom: 16px; }
.case-cover { margin-bottom: 20px; border-radius: 8px; overflow: hidden; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }

/* 案例列表 */
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-item { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; transition: .25s; }
.case-item:hover { box-shadow: 0 10px 24px rgba(2,107,188,.15); border-color: var(--light-blue); }
.case-item .pic { width: 150px; min-height: 110px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-3); }
.case-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.case-item .txt { padding: 12px 16px 12px 0; }
.case-item .name { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.case-item:hover .name { color: var(--primary); }
.case-item .desc { font-size: 13px; color: var(--text-2); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-item .meta { font-size: 12px; color: var(--text-3); display: flex; gap: 14px; flex-wrap: wrap; }

/* 下载列表 */
.dl-list { display: grid; gap: 14px; }
.dl-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; background: #fff; transition: .2s; }
.dl-item:hover { border-color: var(--light-blue); box-shadow: 0 6px 18px rgba(2,107,188,.1); }
.dl-item .name { font-size: 16px; font-weight: bold; }
.dl-item .name:hover { color: var(--primary); }
.dl-item .desc { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.dl-item .meta { font-size: 12px; color: var(--text-3); margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.dl-btn { background: var(--primary); color: #fff !important; padding: 9px 24px; border-radius: 5px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
a.dl-btn:hover { background: var(--primary-dark); }
.dl-btn.disabled { background: #ccc; cursor: not-allowed; }
.dl-cta { margin-bottom: 20px; }

/* 问答 */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 15px 20px; font-size: 15px; font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 20px; font-weight: normal; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--primary); }
.faq-item .answer { padding: 0 20px 16px; font-size: 14px; color: var(--text-2); line-height: 1.9; }

/* 招聘 */
.job-list { display: grid; gap: 14px; }
.job-item { border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; background: #fff; transition: .2s; display: block; }
.job-item:hover { border-color: var(--light-blue); box-shadow: 0 6px 18px rgba(2,107,188,.1); }
.job-item .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.job-item .name { font-size: 16px; font-weight: bold; }
.job-item:hover .name { color: var(--primary); }
.job-item .salary { color: var(--orange); font-size: 16px; font-weight: bold; }
.job-item .tags { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.job-item .tags span { background: var(--bg-light); border: 1px solid var(--border); border-radius: 4px; padding: 2px 12px; font-size: 12px; color: var(--text-2); }
.apply-tip { margin-top: 30px; background: var(--bg-light); border: 1px dashed var(--light-blue); border-radius: 8px; padding: 16px 20px; font-size: 14px; color: var(--text-2); }
.apply-tip strong { color: var(--primary); }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .site-nav { display: none; }
    .btn-menu { display: flex; }
    .topbar .wrap span:first-child { display: none; }
    .shelf, .cases, .news-list, .pro-grid, .case-list, .case-gallery { grid-template-columns: repeat(2, 1fr); }
    .price-grid, .duo { grid-template-columns: 1fr; }
    .inner-layout { grid-template-columns: 1fr; }
    .pro-show { grid-template-columns: 1fr; }
    .banner h1 { font-size: 30px; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .shelf, .cases, .news-list, .pro-grid, .case-list, .case-gallery { grid-template-columns: 1fr; }
    .case-item { flex-direction: column; }
    .case-item .pic { width: 100%; }
    .dl-item { flex-direction: column; align-items: flex-start; }
    .banner { padding: 60px 0; }
    .banner h1 { font-size: 24px; }
    .banner .btn-ghost { margin-left: 0; margin-top: 12px; }
    .trust .wrap { flex-direction: column; align-items: flex-start; }
    .card p { min-height: 0; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .msg-form .row2 { grid-template-columns: 1fr; }
}
