/* 沧州青蓝科技官网 - 前台样式 */
:root {
  --primary: #1a66ff;
  --primary-dark: #0d4ecc;
  --teal: #0aa2c0;
  --accent: #ff7a1a;
  --text: #222b3a;
  --muted: #6b7686;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e6ebf2;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶栏 ===== */
.topbar { background: linear-gradient(90deg, var(--primary-dark), var(--teal)); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #fff; }
.topbar .tb-links span { margin-right: 14px; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.logo-text { white-space: nowrap; }
.logo-text .cn { font-size: 16.5px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; }
.logo-text .en { font-size: 11px; color: var(--muted); }
.nav { display: flex; gap: 2px; flex-shrink: 0; }
.nav a { padding: 8px 11px; border-radius: 8px; font-size: 14.5px; color: var(--text); transition: .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--bg-soft); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.header-phone { font-weight: 700; color: var(--accent); font-size: 15px; white-space: nowrap; }

/* ===== 按钮 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 26px; border-radius: 999px; border: none; cursor: pointer; font-size: 15px; font-weight: 600; transition: .2s; }
.btn-primary { background: linear-gradient(90deg, var(--accent), #ff9a4d); color: #fff; box-shadow: 0 6px 16px rgba(255,122,26,.3); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-ghost { border: 1.5px solid var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--bg-soft); }

/* ===== Hero 首屏 ===== */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #1533a0 0%, #1e5eff 55%, #3b2fd6 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -260px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 84px 20px 76px; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; text-align: center; justify-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); font-size: 13px; margin-bottom: 24px; }
.hero-badge .ck { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: 1px; margin-bottom: 18px; text-shadow: 0 3px 14px rgba(10,30,90,.25); }
.hero .desc { font-size: 15.5px; opacity: .9; line-height: 1.9; margin: 0 auto 28px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; justify-content: center; }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 8px 20px rgba(6,25,80,.28); }
.btn-white:hover { transform: translateY(-2px); }
.btn-glass { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.hero-hotline { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; opacity: .95; }
.hero-hotline b { font-size: 21px; letter-spacing: .5px; font-weight: 800; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hstat { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 24px 22px; backdrop-filter: blur(4px); transition: .25s; }
.hstat:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.hstat .num { font-size: 32px; font-weight: 800; line-height: 1.2; }
.hstat .num small { font-size: 16px; font-weight: 700; margin-left: 2px; opacity: .9; }
.hstat .lbl { font-size: 13px; opacity: .82; margin-top: 4px; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 30px; letter-spacing: 1px; }
.sec-head .bar { width: 52px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--teal)); margin: 12px auto; }
.sec-head p { color: var(--muted); }
.sec-head.left { text-align: left; }
.sec-head.left .bar { margin-left: 0; }

/* 特性四宫格 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: .25s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(26,102,255,.1); border-color: var(--primary); }
.feat-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: linear-gradient(135deg, rgba(26,102,255,.12), rgba(10,162,192,.12)); }
.feat-card h3 { font-size: 18px; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 14px; }

/* 产品 */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: .25s; }
.prod-card:hover { box-shadow: 0 14px 34px rgba(13,78,204,.12); transform: translateY(-4px); }
.prod-tag { align-self: flex-start; font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,122,26,.1); color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.prod-card h3 { font-size: 20px; margin-bottom: 6px; }
.prod-card .sub { color: var(--teal); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.prod-card .desc { color: var(--muted); font-size: 14px; min-height: 44px; margin-bottom: 10px; }
.prod-card .fit { font-size: 13px; color: var(--text); background: var(--bg-soft); border-radius: 8px; padding: 8px 12px; margin-bottom: 18px; }
.prod-card .actions { margin-top: auto; display: flex; gap: 12px; }
.prod-card .actions .btn { padding: 9px 20px; font-size: 14px; }

/* 行业方案 */
.sol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sol-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 10px; text-align: center; cursor: pointer; transition: .2s; }
.sol-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.sol-item .ico { font-size: 30px; margin-bottom: 8px; }
.sol-item p { font-size: 14px; font-weight: 600; }

/* 功能模块 */
.fn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fn-card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.fn-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 12px; }
.fn-card li { list-style: none; padding: 6px 0; color: var(--muted); font-size: 14px; border-bottom: 1px dashed var(--border); }
.fn-card li:last-child { border-bottom: none; }

/* 客户案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.case-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.case-badge { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.case-card h4 { font-size: 16px; }
.case-card .who { font-size: 13px; color: var(--muted); }
.case-card blockquote { color: var(--muted); font-size: 14px; font-style: italic; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-col h3 { font-size: 18px; color: var(--primary); border-left: 4px solid var(--accent); padding-left: 12px; margin-bottom: 14px; }
.news-col li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; cursor: pointer; }
.news-col li a:hover { color: var(--primary); }
.news-col li .date { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* 数字 */
.stats-band { background: linear-gradient(120deg, var(--primary-dark), var(--teal)); color: #fff; padding: 48px 0; }
.stats-band .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; }
.stat-label { font-size: 14px; opacity: .9; }

/* 页脚 */
.footer { background: linear-gradient(180deg, #141f33 0%, #101a2c 100%); color: #aeb9cc; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 38px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; letter-spacing: 1px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--teal)); }
.f-links { list-style: none; }
.f-links li { padding: 5px 0; }
.f-links a { color: #aeb9cc; transition: .2s; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-contact { list-style: none; }
.f-contact li { display: flex; gap: 10px; padding: 6px 0; align-items: flex-start; line-height: 1.6; }
.fc-ico { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.f-brand { display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; color: #8fa0b8; font-size: 14px; letter-spacing: 2px; }
.f-brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 9px; padding: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 13px; color: #7d8aa0; }

/* 列表页通用头 */
.page-banner { background: linear-gradient(135deg, #122a5c 0%, #1c3f77 100%); color: #fff; padding: 72px 0 64px; text-align: center; }
.page-banner h1 { font-size: 36px; letter-spacing: 3px; }
.page-banner p { opacity: .85; margin-top: 14px; font-size: 16px; }

/* 行业解决方案卡片 */
.sol-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sol-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px 30px 26px; box-shadow: 0 4px 16px rgba(30,60,120,.06); transition: .25s; }
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(30,60,120,.12); }
.sol-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.sol-icon { width: 48px; height: 48px; border-radius: 50%; background: #e8f0ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 23px; flex-shrink: 0; }
.sol-card h3 { font-size: 20px; letter-spacing: 1px; }
.sol-row { margin-top: 16px; }
.sol-row .lbl { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; padding: 5px 13px; border-radius: 6px; font-weight: 600; }
.pill.red { background: #fdecec; color: #d9463e; }
.pill.blue { background: #e8f0ff; color: #1a5cd8; }
.pill.green { background: #e6f6ee; color: #12855f; }
.sol-cta { margin-top: 48px; background: linear-gradient(120deg, #122a5c, #1c3f77); border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: space-between; color: #fff; flex-wrap: wrap; gap: 18px; }
.sol-cta h3 { font-size: 22px; margin-bottom: 6px; }
.sol-cta p { opacity: .85; font-size: 14px; }
@media (max-width: 860px) { .sol-cards { grid-template-columns: 1fr; } }

/* 新闻列表页 */
.news-toolbar { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.news-toolbar button { padding: 8px 22px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 14px; }
.news-toolbar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.news-list { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.news-item { display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: .2s; cursor: pointer; }
.news-item:hover { box-shadow: 0 10px 24px rgba(26,102,255,.08); }
.news-item .cover { width: 200px; height: 130px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-soft); display:flex; align-items:center; justify-content:center; color:#9fb0c8; font-size: 13px; }
.news-item .cover img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 17px; margin-bottom: 8px; }
.news-item h3:hover { color: var(--primary); }
.news-item .summary { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .meta { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.pager button { padding: 8px 16px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; }
.pager button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 新闻详情 */
.article { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; }
.article h1 { font-size: 26px; margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.article .content { font-size: 16px; }
.article .content p { margin: 14px 0; }
.article .content img { margin: 16px auto; border-radius: 8px; }

/* 联系/表单 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start; }
.info-ico { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(26,102,255,.12), rgba(10,162,192,.12)); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-card h4 { font-size: 15px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 14px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card .tip { color: var(--accent); font-size: 13px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group label span { color: #e5484d; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; transition: .2s; background: #fbfcfe;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,102,255,.12); }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #12855f; }
.form-msg.err { color: #e5484d; }

/* 关于 */
.about-cols { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.about-cols p { margin-bottom: 14px; color: #3a4557; }
.about-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }

/* 悬浮咨询 */
.float-contact { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-contact a, .float-contact button { width: 54px; height: 54px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--teal)); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 8px 20px rgba(26,102,255,.35); display: flex; align-items: center; justify-content: center; }
.float-contact .top-btn { background: #fff; color: var(--primary); border: 1px solid var(--border); }

/* 响应式 */
@media (max-width: 960px) {
  .nav { display: none; }
  .feat-grid, .fn-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .case-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .prod-grid, .case-grid, .news-grid, .feat-grid, .fn-grid, .form-row { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { flex-direction: column; }
  .news-item .cover { width: 100%; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
