/* ============================================================
   khot taimei 风格外观层（2026-11-25 主人钦定：模仿 taimeiai.com 设计）
   提取：深藏蓝渐变深色区块 / 20px 大圆角卡 / 天蓝点缀 / 浅灰底
   纪律：品牌蓝 #0054A2 不变 · 禁蓝紫渐变 · 无廉价动效
   ============================================================ */

:root {
  --tm-deep-1: #02284A;      /* 藏蓝渐变起点 */
  --tm-deep-2: #003A75;      /* 藏蓝渐变终点 */
  --tm-sky: #0054A2;         /* 天蓝点缀 */
  --tm-sky-light: #4A90D9;   /* 浅天蓝 */
  --tm-ink: #202935;         /* 深色标题 */
  --tm-gray-bg: #F3F5F7;     /* 浅灰底 */
  --tm-radius: 18px;         /* 大圆角 */
}

/* ---------- 1. 全站卡片大圆角化（taimeiai 20px 风） ---------- */
.rounded-md,
.product-card,
article.rounded-md,
details.rounded-md,
.group.flex.rounded-md.bg-white,
.flex.h-full.flex-col.rounded-md.bg-white {
  border-radius: var(--tm-radius) !important;
}
/* 小元素保持小圆角 */
.rounded-sm { border-radius: 10px !important; }

/* ---------- 2. 卡片内边距加大（taimeiai 32px 26px） ---------- */
.group.flex.rounded-md.bg-white.p-7,
.flex.h-full.flex-col.rounded-md.bg-white.p-7 {
  padding: 30px 26px !important;
}

/* ---------- 3. 数据带改藏蓝渐变深色区块（taimeiai 招牌深色）+ 背景纹理图（2026-11-25） ---------- */
.stats-band {
  background: linear-gradient(160deg, rgba(11,32,56,.90) 0%, rgba(0,58,117,.90) 100%), url('/upload/bg-dark-band.jpg') center/cover no-repeat !important;
  border-radius: var(--tm-radius) !important;
}
.stats-band h2,
.stats-band .text-3xl,
.stats-band .text-4xl,
.stats-band .text-5xl {
  color: #FFFFFF !important;
}
.stats-band p,
.stats-band .text-base {
  color: rgba(255, 255, 255, .72) !important;
}
.stats-band .text-brand,
.stats-band .text-4xl.text-brand,
.stats-band .text-5xl.text-brand,
.stats-band .rounded-md .text-2xl.font-bold {
  color: var(--tm-sky-light) !important;
}
.stats-band .lg\:border-l { border-color: rgba(255,255,255,.14) !important; }

/* ---------- 4. 底部 CTA 卡改藏蓝渐变深色 + 背景纹理图（2026-11-25） ---------- */
.sec .shell > .rounded-md.bg-white.px-8.py-16,
.sec .shell > .rounded-md.bg-white.md\:py-20 {
  background: linear-gradient(160deg, rgba(11,32,56,.90) 0%, rgba(0,58,117,.90) 100%), url('/upload/bg-dark-cta.jpg') center/cover no-repeat !important;
  border-radius: var(--tm-radius) !important;
}
.sec .shell > .rounded-md.px-8.py-16 h2,
.sec .shell > .rounded-md.px-8.py-16 .eyebrow {
  color: #FFFFFF !important;
}
.sec .shell > .rounded-md.px-8.py-16 p {
  color: rgba(255, 255, 255, .75) !important;
}
.sec .shell > .rounded-md.px-8.py-16 .text-\[\#8A8A8A\] {
  color: rgba(255, 255, 255, .55) !important;
}

/* ---------- 5. eyebrow 小标签天蓝化（深色区块内） ---------- */
.stats-band .eyebrow { color: var(--tm-sky-light); }

/* ---------- 6. 按钮圆角加大（taimeiai 风） ---------- */
.btn-p, .btn-o, .btn-hero-ghost {
  border-radius: 10px !important;
}

/* ---------- 7. 深色 CTA 内的次级按钮变白边 ---------- */
.sec .shell > .rounded-md.px-8.py-16 .btn-o {
  border-color: rgba(255,255,255,.4) !important;
  color: #FFFFFF !important;
}
.sec .shell > .rounded-md.px-8.py-16 .btn-o:hover {
  background: rgba(255,255,255,.1) !important;
}

/* ---------- 8. 排版节奏：板块标题更醒目 ---------- */
.sec-title {
  font-size: 30px !important;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .sec-title { font-size: 24px !important; }
}

/* ---------- 9. 服务流程序号天蓝化 ---------- */
.sec .text-2xl.font-bold.text-brand {
  color: var(--tm-sky) !important;
}

/* ---------- 10. 深色背景区块内链接可读性 ---------- */
.stats-band a { color: var(--tm-sky-light); }

/* ============================================================
   11. 思维导图式流程展示（2026-11-25 主人钦定：流程内容用思维导图展示）
   ============================================================ */

/* ---------- 11a. 横向中心放射思维导图（首页服务流程 5 步） ---------- */
.mm-center {
  width: fit-content;
  margin: 0 auto;
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--tm-deep-1), var(--tm-deep-2));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px -8px rgba(11, 32, 56, .45);
  position: relative;
  z-index: 2;
}
.mm-branches-h {
  position: relative;
  padding-top: 46px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
/* 横干线 */
.mm-branches-h::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--kh-brand, #0054A2);
  opacity: .28;
}
.mm-node {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 18px -4px rgba(16,24,40,.08);
}
/* 竖连线（节点→横干线） */
.mm-node::before {
  content: '';
  position: absolute;
  top: -23px;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 23px;
  background: var(--kh-brand, #0054A2);
  opacity: .28;
}
.mm-node-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--tm-ink);
  font-size: 15px;
}
.mm-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--kh-brand, #0054A2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
/* 子要点（思维导图二级分支） */
.mm-subs {
  margin-top: 14px;
  border-left: 2px solid #D6E6F8;
  padding-left: 12px;
  list-style: none;
}
.mm-subs li {
  position: relative;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  padding: 3px 0 3px 10px;
}
.mm-subs li::before {
  content: '';
  position: absolute;
  left: -14.5px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tm-sky);
}
.mm-subs li::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 14px;
  width: 12px;
  height: 1.5px;
  background: #D6E6F8;
}

/* ---------- 11b. 纵向树状思维导图（service.php 服务流程 6 步） ---------- */
.mm-tree {
  position: relative;
  padding-left: 40px;
}
/* 主干线 */
.mm-tree::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--kh-brand, #0054A2), var(--tm-sky));
  opacity: .3;
}
.mm-tnode {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 18px -4px rgba(16,24,40,.08);
}
/* 分支横线（主干→节点） */
.mm-tnode::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 30px;
  width: 25px;
  height: 3px;
  background: var(--kh-brand, #0054A2);
  opacity: .3;
}
/* 节点圆点 */
.mm-tnode::after {
  content: '';
  position: absolute;
  left: -31px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--kh-brand, #0054A2);
}
.mm-tnode-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mm-tnode .mm-num {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.mm-tnode-title {
  font-weight: 700;
  color: var(--tm-ink);
  font-size: 16px;
}
/* 节点内子内容（描述=二级分支） */
.mm-tnode-sub {
  margin-top: 12px;
  border-left: 2px solid #D6E6F8;
  padding-left: 14px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* ---------- 11c. 移动端适配 ---------- */
@media (max-width: 900px) {
  .mm-branches-h {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 30px;
  }
  .mm-branches-h::before { display: none; }
  .mm-node::before { display: none; }
  .mm-branches-h {
    border-left: 3px solid rgba(0,84,162,.25);
    padding-left: 20px;
    margin-left: 10px;
  }
  .mm-node::after {
    content: '';
    position: absolute;
    left: -26px;
    top: 24px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--kh-brand, #0054A2);
  }
}
@media (max-width: 520px) {
  .mm-branches-h { grid-template-columns: 1fr; }
  .mm-tree { padding-left: 32px; }
  .mm-tnode::before { left: -17px; width: 17px; }
  .mm-tnode::after { left: -25.5px; }
}

/* ============================================================
   12. 区块背景图补充（2026-11-25：浅色区块配淡背景）
   ============================================================ */
/* 服务流程板块（思维导图区）加浅色背景图 */
section.sec.bg-\[\#F5F5F5\]:has(.mm-branches-h) {
  background: linear-gradient(180deg, rgba(244,247,255,.92) 0%, rgba(255,255,255,.94) 100%), url('/upload/bg-light-flow.jpg') center/cover no-repeat !important;
}
/* 四大软件服务板块同用浅色纹理（统一节奏） */
section.sec.bg-\[\#F5F5F5\] {
  background-image: linear-gradient(180deg, rgba(244,247,255,.92) 0%, rgba(255,255,255,.94) 100%), url('/upload/bg-light-flow.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   13. 栏目页横幅（2026-11-25 主人钦定：各页面主题横幅+footer背景）
   横幅=深色主题背景图 + 左侧压暗 + 白字
   ============================================================ */
.page-header, .page-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  background-color: var(--tm-deep-1) !important;
}
/* 横幅白字（覆盖 beautify 的深色标题） */
.page-header .page-header-title,
.page-hero .page-header-title,
.page-hero h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 14px rgba(2, 20, 45, .5);
}
.page-header .page-header-desc,
.page-hero .page-header-desc {
  color: rgba(255, 255, 255, .88) !important;
  text-shadow: 0 1px 10px rgba(2, 20, 45, .5);
}
/* 装饰点隐藏（深色背景上杂乱） */
.page-header-decor { display: none; }
/* 面包屑等链接在横幅上也要亮 */
.page-header a, .page-hero a { color: #CFE3FA; }

/* --- 各页面主题横幅映射 --- */
body.page-about .page-header, body.page-about .page-hero {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-about.jpg') !important;
}
body.page-contact .page-header, body.page-contact .page-hero {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-contact.jpg') !important;
}
body.page-news .page-header, body.page-news .page-hero,
body.page-news_detail .page-header, body.page-news_detail .page-hero {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-news.jpg') !important;
}
body.page-tech .page-header, body.page-tech .page-hero,
body.page-tech_detail .page-header, body.page-tech_detail .page-hero {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-tech.jpg') !important;
}
body.page-service .page-header, body.page-service .page-hero,
body.page-services .page-header, body.page-services .page-hero,
body[class*="page-service"] .page-header {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-service.jpg') !important;
}
body.page-case-server8 .page-header, body.page-case-server8 .page-hero {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-case.jpg') !important;
}
/* 其余栏目页（products/search/company/review 等）默认用 service 主题 */
body:not(.page-index) .page-header:not([style*="banner"]),
body:not(.page-index) .page-hero:not([style*="banner"]) {
  background-image: linear-gradient(90deg, rgba(2,32,60,.55) 0%, rgba(2,32,60,.15) 55%, rgba(2,32,60,.05) 100%), url('/upload/banner-service.jpg');
}

/* ============================================================
   14. 全站 footer 背景图（2026-11-25）
   ============================================================ */
.site-footer, footer {
  position: relative;
  background-image: linear-gradient(160deg, rgba(1,20,42,.92) 0%, rgba(0,58,117,.90) 100%), url('/upload/banner-footer.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-top: none !important;
}
/* footer 文字改白（深蓝底上） */
.site-footer, footer,
.site-footer p, footer p,
.site-footer .footer-desc, footer .footer-desc {
  color: rgba(255, 255, 255, .72) !important;
}
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5,
footer h2, footer h3, footer h4, footer h5,
.site-footer strong, footer strong {
  color: #FFFFFF !important;
}
.site-footer a, footer a {
  color: rgba(255, 255, 255, .62) !important;
}
.site-footer a:hover, footer a:hover {
  color: #FFFFFF !important;
}
