/* ===========================================
   研发费用合规管理系统 - 全站样式
   成都全税合规科技有限公司
   =========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", Arial, sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}
img { border: 0; max-width: 100%; vertical-align: middle; }
a { color: #1e6fd9; text-decoration: none; }
a:hover { color: #0d4fb0; }
ul, ol { list-style: none; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: #f4f7fb; font-size: 12px; color: #666; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .hotline b { color: #1e6fd9; font-size: 18px; font-weight: 700; margin-left: 6px; letter-spacing: .5px; }
@media (max-width: 900px) {
  .topbar .hotline b { font-size: 14px; font-weight: 600; }
}

/* ---------- 头部导航 ---------- */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; display: block; }
.nav { display: flex; align-items: center; }
.nav > a {
  display: block; padding: 0 26px; line-height: 78px; color: #333; font-size: 15px; position: relative;
}
.nav > a:hover, .nav > a.active { color: #1e6fd9; }
.nav > a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 28px; height: 3px; background: #1e6fd9; border-radius: 2px;
}
/* 微信悬停弹二维码 */
.wechat-item { position: relative; }
.wechat-item .qr-pop {
  display: none; position: absolute; top: 54px; left: 50%; transform: translateX(-50%);
  background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.18); z-index: 200;
  text-align: center; width: 150px;
}
.wechat-item .qr-pop img { width: 130px; height: 130px; }
.wechat-item .qr-pop span { display: block; margin-top: 6px; font-size: 12px; color: #666; }
.wechat-item:hover .qr-pop { display: block; }
.wechat-item.open .qr-pop { display: block; }
@media (max-width: 900px) {
  .wechat-item .qr-pop {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 240px; padding: 18px; z-index: 9999;
  }
  .wechat-item .qr-pop img { width: 200px; height: 200px; }
  .wechat-item .qr-pop::after {
    content: '点击任意处关闭'; display: block; margin-top: 8px; font-size: 11px; color: #999;
  }
}
.nav-toggle { display: none; }

/* ---------- 通用 Banner ---------- */
.banner { position: relative; height: 320px; overflow: hidden; color: #fff; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,70,160,.82), rgba(30,111,217,.55)); }
.banner .inner { position: relative; z-index: 2; padding-top: 110px; }
.banner h1 { font-size: 38px; font-weight: 600; letter-spacing: 2px; }
.banner p { margin-top: 14px; font-size: 16px; opacity: .92; }

/* ---------- 首页大 Hero ---------- */
.hero { position: relative; height: 560px; overflow: hidden; color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,55,130,.88) 0%, rgba(30,111,217,.72) 60%, rgba(30,111,217,.45) 100%); }
.hero .inner { position: relative; z-index: 2; padding-top: 150px; }
.hero h1 { font-size: 46px; font-weight: 600; letter-spacing: 3px; }
.hero p.desc { margin-top: 20px; font-size: 16px; line-height: 1.9; max-width: 560px; opacity: .95; }
.hero .btns { margin-top: 34px; }
.btn {
  display: inline-block; padding: 12px 34px; border: 1px solid #fff; border-radius: 4px;
  color: #fff; font-size: 15px; margin-right: 16px; cursor: pointer; transition: all .2s; background: transparent;
}
.btn:hover { background: #fff; color: #1e6fd9; }
.btn.primary { background: #fff; color: #1e6fd9; }
.btn.primary:hover { background: #eaf2ff; }
.hero .qrcode {
  position: absolute; right: 8%; bottom: 40px; width: 130px; text-align: center; z-index: 3;
}
.hero .qrcode img { width: 120px; height: 120px; background: #fff; padding: 6px; border-radius: 4px; }
.hero .qrcode span { display: block; margin-top: 8px; font-size: 12px; opacity: .9; }

/* ---------- 通用区块 ---------- */
.section { padding: 70px 0; }
.section.gray { background: #f5f7fa; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: 30px; color: #222; font-weight: 600; }
.sec-head p { margin-top: 12px; color: #888; font-size: 14px; }
.sec-head .blue { color: #1e6fd9; }

/* 五化理论图 */
.theory-img { text-align: center; }
.theory-img img { max-width: 960px; width: 100%; }

/* 数字化解决方案 */
.split { display: flex; align-items: center; gap: 50px; }
.split .txt { flex: 1; }
.split .pic { flex: 1; text-align: center; }
.split .txt h3 { font-size: 24px; color: #222; margin-bottom: 16px; }
.split .txt p { color: #666; line-height: 2; margin-bottom: 14px; }
.link-more { display: inline-block; margin-top: 10px; color: #1e6fd9; border: 1px solid #1e6fd9; padding: 8px 24px; border-radius: 3px; font-size: 13px; }
.link-more:hover { background: #1e6fd9; color: #fff; }

/* 服务卡片 */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.card {
  width: 340px; background: #fff; border: 1px solid #eef1f6; border-radius: 8px; padding: 36px 28px;
  text-align: center; transition: all .25s;
}
.card:hover { box-shadow: 0 12px 30px rgba(30,111,217,.12); transform: translateY(-4px); }
.card .ico {
  width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
}
.card h4 { font-size: 18px; color: #222; margin-bottom: 10px; }
.card p { color: #888; font-size: 13px; line-height: 1.9; }
.card .more { margin-top: 16px; display: inline-block; font-size: 12px; color: #1e6fd9; border: 1px solid #bcd6f7; padding: 5px 16px; border-radius: 20px; }

/* 行业图 */
.industries { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.industries .ind {
  width: 280px; height: 160px; border-radius: 6px; overflow: hidden; position: relative;
}
.industries .ind img { width: 100%; height: 100%; object-fit: cover; }
.industries .ind span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; letter-spacing: 3px; background: rgba(0,0,0,.25);
}

/* 客户logo墙 */
.logowall { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.logowall .lw {
  width: 150px; height: 78px; background: #fff; border: 1px solid #eef1f6; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.logowall .lw img { max-width: 90%; max-height: 90%; }

/* 免费试用区块 */
.trial {
  background: linear-gradient(120deg,#1c63c8,#2f86e8); color: #fff; padding: 60px 0;
  position: relative; overflow: hidden;
}
.trial::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/trial-illustration.jpg') left center / auto 100% no-repeat;
  opacity: .7; pointer-events: none;
}
.trial .wrap { display: flex; align-items: center; gap: 50px; position: relative; z-index: 2; }
.trial .pic { display: none; }
.trial .formbox { flex: 1; margin-left: auto; max-width: 480px; }
.trial h3 { font-size: 28px; text-align: center; margin-bottom: 26px; }
.trial input {
  width: 100%; height: 44px; border: 0; border-radius: 4px; padding: 0 14px; margin-bottom: 14px; font-size: 14px;
}
.trial .row { display: flex; gap: 14px; }
.trial .row input { flex: 1; }
.trial button {
  width: 160px; height: 42px; display: block; margin: 6px auto 0; background: #fff; color: #1e6fd9;
  border: 0; border-radius: 4px; font-size: 15px; cursor: pointer;
}

/* ---------- 新闻列表页 ---------- */
.news-layout { display: flex; gap: 30px; padding: 40px 0 60px; }
.news-main { flex: 1; }
.news-side { width: 300px; flex-shrink: 0; }
.crumbs { font-size: 13px; color: #999; padding: 18px 0; }
.crumbs a { color: #999; }
.crumbs b { color: #333; font-weight: normal; }
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed #e5e9f0; }
.news-item .thumb { width: 150px; height: 100px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #eef; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h4 { font-size: 17px; color: #222; margin-bottom: 8px; }
.news-item h4 a { color: #222; }
.news-item h4 a:hover { color: #1e6fd9; }
.news-item p { color: #888; font-size: 13px; line-height: 1.8; }
.side-box { border: 1px solid #eef1f6; border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.side-box .side-t { background: #1e6fd9; color: #fff; padding: 12px 18px; font-size: 15px; }
.side-box ul li a { display: block; padding: 11px 18px; border-bottom: 1px solid #f2f4f8; color: #555; font-size: 13px; }
.side-box ul li a:hover { color: #1e6fd9; }

/* ---------- 文章详情 ---------- */
.article { padding: 40px 0 70px; }
.article h1.title { font-size: 26px; text-align: center; color: #222; line-height: 1.5; }
.article .meta { text-align: center; color: #999; font-size: 13px; margin: 16px 0 30px; }
.article .content { font-size: 15px; line-height: 2.1; color: #444; }
.article .content p { margin-bottom: 16px; text-indent: 2em; }
.article .content h3 { font-size: 18px; color: #1e6fd9; margin: 26px 0 12px; }
.article .content h4 { font-size: 16px; color: #333; margin: 18px 0 8px; }
.article .content img { display: block; margin: 20px auto; max-width: 100%; }

/* ---------- 客户案例 ---------- */
.case-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.case-card { width: 360px; border: 1px solid #dce3ec; border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s; }
.case-card:hover { box-shadow: 0 8px 24px rgba(30,111,217,.12); transform: translateY(-2px); }
.case-card .c-top { height: 130px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #e6ecf4; }
/* 有logo的卡片：背景放大模糊的同一张图 */
.case-card .c-top.has-logo::before {
  content: ""; position: absolute; inset: -20px;
  background-image: inherit; background-size: cover; background-position: center;
  filter: blur(18px) brightness(1.15); opacity: .35; transform: scale(1.2);
}
.case-card .c-top img { position: relative; z-index: 1; max-height: 75%; max-width: 78%; }
/* 无logo的卡片：科技感渐变背景 */
.case-card .c-top.c-top-text {
  background: linear-gradient(135deg, #1e6fd9 0%, #0d4fb0 100%);
}
.case-card .c-top.c-top-text::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0%, transparent 40%);
}
.case-card .c-top.c-top-text span { position: relative; z-index: 1; color: #fff; font-size: 17px; font-weight: 500; padding: 0 20px; text-align: center; line-height: 1.5; }
.case-card .c-body { padding: 20px; background: #fff; }
.case-card .c-body h4 { font-size: 16px; color: #222; margin-bottom: 10px; }
.case-card .c-body p { font-size: 13px; color: #777; line-height: 1.9; }
.case-card .tag { display: inline-block; margin-top: 12px; font-size: 12px; color: #1e6fd9; border: 1px solid #cfe2fb; padding: 3px 12px; border-radius: 14px; }

/* 优势条 */
.adv-row { display: flex; flex-wrap: wrap; gap: 20px; }
.adv { flex: 1; min-width: 220px; text-align: center; padding: 30px 16px; background: #fff; border-radius: 8px; }
.adv .dot { width: 56px; height: 56px; border-radius: 50%; background: #eaf2ff; color: #1e6fd9; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.adv h4 { font-size: 17px; margin-bottom: 10px; color: #222; }
.adv p { font-size: 13px; color: #888; line-height: 1.9; }

/* 关于我们 */
.about-txt { max-width: 900px; margin: 0 auto; font-size: 15px; line-height: 2.1; color: #555; }
.orgchart { text-align: center; margin: 40px 0; }
.orgchart img { max-width: 860px; width: 100%; }
.about-photo { text-align: center; margin: 30px 0; }
.about-photo img { max-width: 900px; width: 100%; border-radius: 6px; }
.honor-list { max-width: 800px; margin: 30px auto; }
.honor-list li { padding: 10px 0 10px 26px; position: relative; color: #555; }
.honor-list li::before { content: "✓"; position: absolute; left: 0; color: #1e6fd9; font-weight: bold; }

/* ---------- 页脚 ---------- */
.footer { background: #2b3a4d; color: #aab4c2; padding: 50px 0 0; font-size: 13px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 36px; }
.footer .col { flex: 1; min-width: 220px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer p { line-height: 2; }
.footer a { color: #aab4c2; }
.footer a:hover { color: #fff; }
.icp { border-top: 1px solid #3d4d63; text-align: center; padding: 16px 0; font-size: 12px; color: #8a97a8; }
.icp a { color: #8a97a8; }

/* 左侧悬浮客服（两个微信二维码，带收起/展开按钮，手机端自动隐藏） */
.float-service {
  position: fixed; left: 0; top: 40%; z-index: 99;
  background: #fff; border-radius: 0 8px 8px 0; overflow: hidden;
  box-shadow: 4px 0 20px rgba(0,0,0,.12); width: 148px;
  transition: transform .3s ease;
}
.float-service.collapsed { transform: translateX(-120px); }
.float-service .fs-toggle {
  position: absolute; right: -22px; top: 0; width: 22px; height: 100%;
  background: #1e6fd9; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  border-radius: 0 6px 6px 0; writing-mode: vertical-lr; padding: 4px 0;
}
.float-service .fs-title {
  background: #1e6fd9; color: #fff; text-align: center; padding: 8px 0; font-size: 13px;
}
.float-service .qr-card { text-align: center; padding: 10px 8px 6px; border-bottom: 1px solid #f0f3f8; }
.float-service .qr-card img { width: 118px; height: 118px; border-radius: 4px; }
.float-service .qr-card .name { font-size: 12px; color: #333; margin-top: 6px; font-weight: bold; }
.float-service .qr-card .phone { font-size: 12px; color: #1e6fd9; }
.float-service .fs-foot { text-align: center; font-size: 11px; color: #999; padding: 8px 0; background: #f8fafd; }
@media (max-width: 900px) {
  .float-service { display: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .container { width: 94%; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { line-height: 46px; padding: 0 24px; border-bottom: 1px solid #f0f3f8; }
  .nav-toggle { display: block; font-size: 24px; cursor: pointer; color: #333; background: none; border: 0; }
  .hero { height: 460px; }
  .hero h1 { font-size: 30px; }
  .hero .qrcode { display: none; }
  .split, .trial .wrap { flex-direction: column; }
  .news-layout { flex-direction: column; }
  .news-side { width: 100%; }
  .banner { height: 220px; }
  .banner .inner { padding-top: 70px; }
  .banner h1 { font-size: 26px; }
  .topbar .hotline { display: none; }
}

/* ===== 头部登录/注册按钮 ===== */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.btn-login {
  display: inline-block; padding: 8px 22px; border: 1.5px solid #1e6fd9;
  color: #1e6fd9; border-radius: 6px; font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.btn-login:hover { background: #eef4fd; }
.btn-register {
  display: inline-block; padding: 8px 22px; background: #1e6fd9; color: #fff;
  border-radius: 6px; font-size: 14px; font-weight: 500; transition: all .2s;
}
.btn-register:hover { background: #0d4fb0; }
@media (max-width: 900px) {
  .header-actions { display: none; }
}

/* 裁剪图片顶部自带标题（与页面H2重复） */
.crop-title { overflow: hidden; position: relative; }
.crop-title img { display: block; margin-top: -10%; max-width: 110%; }

/* ===== 行业无限轮播 ===== */
.industries-section { overflow: hidden; }
.ind-marquee { margin: 20px 0; }
.ind-row {
  overflow: hidden; margin-bottom: 16px; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ind-track {
  display: flex; gap: 16px; width: max-content;
  animation: scrollLeft 30s linear infinite;
}
.ind-row.reverse .ind-track { animation: scrollRight 30s linear infinite; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ind {
  flex-shrink: 0; width: 260px; height: 180px; border-radius: 8px;
  background-size: cover; background-position: center; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 500; text-shadow: 0 2px 8px rgba(0,0,0,.5);
  overflow: hidden;
}
.ind::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
}
.ind span { position: relative; z-index: 1; }
.ind:hover .ind-track { animation-play-state: paused; }
@media (max-width: 900px) {
  .ind { width: 200px; height: 140px; font-size: 15px; }
}

/* ===== 创始人形象照浮动效果 ===== */
.founder-portrait {
  max-width: 340px; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 30px rgba(30,111,217,.25));
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .founder-portrait { max-width: 260px; margin: 0 auto; }
}

/* ===== 方案问答 FAQ ===== */
.faq { background: #fff; }
.faq .sec-head h2 { font-size: 32px; font-weight: 600; color: #1a2b4a; }
.faq-toggle-all {
  color: #10b981; font-size: 15px; cursor: pointer; user-select: none;
  display: inline-block; margin-bottom: 10px; font-weight: 500;
}
.faq-toggle-all:hover { opacity: .8; }
.faq-list { border-top: 1px solid #eef1f6; }
.faq-item { border-bottom: 1px solid #eef1f6; }
.faq-q {
  display: flex; align-items: center; gap: 12px; padding: 22px 4px;
  cursor: pointer; user-select: none; transition: background .2s;
}
.faq-q:hover { background: #fafbfd; }
.faq-tag {
  flex-shrink: 0; font-size: 13px; padding: 3px 10px; border-radius: 4px; font-weight: 500;
}
.faq-tag.kepu { background: #e6f9f1; color: #10b981; }
.faq-tag.youshi { background: #e8f0fe; color: #3b82f6; }
.faq-tag.xuanze { background: #fff3e0; color: #f97316; }
.faq-q-text { flex: 1; font-size: 17px; color: #1a2b4a; font-weight: 500; }
.faq-item.open .faq-q-text { color: #10b981; }
.faq-arrow {
  flex-shrink: 0; width: 20px; height: 20px; transition: transform .25s;
  color: #9aa5b8;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 4px 24px 44px; color: #4a5568; font-size: 15px; line-height: 1.9;
}
.faq-a-inner p { margin-bottom: 10px; }
.faq-a-inner ul { padding-left: 20px; margin: 8px 0; }
.faq-a-inner li { margin-bottom: 6px; }
.faq-a-inner strong { color: #1e6fd9; }
@media (max-width: 700px) {
  .faq .sec-head h2 { font-size: 26px; }
  .faq-q-text { font-size: 15px; }
  .faq-a-inner { padding-left: 0; }
}
