/* =========================================================================
   共途网络科技（山东）有限公司 · 官网全局样式
   企业服务调性：深蓝科技色系 + 暖金点缀，响应式
   ========================================================================= */
:root {
  --navy-900: #08112b;
  --navy-800: #0b1736;
  --navy-700: #10204a;
  --navy-600: #16306b;
  --blue-600: #1e5eff;
  --blue-500: #2f6bff;
  --blue-400: #5b8dff;
  --cyan-400: #38bdf8;
  --gold-400: #e3b453;
  --gold-300: #f0cb7a;
  --ink-900: #0e1830;
  --ink-700: #33415e;
  --ink-600: #4a5874;
  --ink-500: #6b7894;
  --ink-400: #8b97ad;
  --ink-300: #aeb7c8;
  --line: #e6ebf4;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(16, 46, 106, 0.08);
  --shadow-md: 0 16px 40px rgba(16, 46, 106, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 17, 43, 0.18);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---------- 本地图标字体（Font Awesome 6 Free，同域必达，不依赖系统 emoji 字体） ----------
   解决"字体破/方块"问题：装饰图标使用本字体而非 emoji，避免缺 emoji 字体渲染成乱码。 */
@font-face {
  font-family: "FA Icons";
  font-style: normal; font-weight: 400; font-display: block;
  src: url("../../static/fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "FA Icons";
  font-style: normal; font-weight: 900; font-display: block;
  src: url("../../static/fonts/fa-solid-900.woff2") format("woff2");
}
.ico,
.ico-solid {
  font-family: "FA Icons", sans-serif;
  font-weight: 900;
  font-style: normal;
  speak: never;
  font-variant: normal; text-transform: none; line-height: 1;
  display: inline-block; vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
}
/* 图标字符映射（FA6 免费版码点） */
.ico-地球:before { content: "\f0ac"; }   /* falcon/globe */
.ico-盾牌:before { content: "\f3ed"; }   /* shield-halved */
.ico-路由:before { content: "\f126"; }   /* random / shuffle 用 \f074 */
.ico-终端:before { content: "\f120"; }   /* terminal */
.ico-天平:before { content: "\f24e"; }   /* scale-balanced 天平 */
.ico-增长:before { content: "\f080"; }   /* chart-line */
.ico-锁定:before { content: "\f023"; }   /* lock */
.ico-闪电:before { content: "\f0e7"; }   /* bolt */
.ico-握手:before { content: "\f08b"; }   /* handshake */
.ico-流程:before { content: "\f0ae"; }   /* filter / gears 用 \f085 */
.ico-拼图:before { content: "\f12e"; }   /* puzzle-piece */
.ico-定制:before { content: "\f5ad"; }   /* user-gear */
.ico-医院:before { content: "\f0f1"; }   /* hospital / plus-square 用 \f0f1 */
.ico-财税:before { content: "\f15f"; }   /* calculator / charts 用 \f15f */
.ico-大楼:before { content: "\f1ad"; }   /* building-columns */
.ico-教育:before { content: "\f19d"; }   /* graduation-cap */
.ico-外贸:before { content: "\f0ac"; }   /* globe */
.ico-制造:before { content: "\f0ad"; }   /* wrench / industry 用 \f275 */
.ico-销售:before { content: "\f0c1"; }   /* link / bullhorn 用 \f0a1 */
.ico-物流:before { content: "\f48b"; }   /* truck-fast */
.ico-电商:before { content: "\f07a"; }   /* shopping-cart */
.ico-门店:before { content: "\f550"; }   /* store */
.ico-能源:before { content: "\f5bb"; }   /* plug / atom 用 \f5bb */
.ico-出行:before { content: "\f15c"; }   /* taxi / car 用 \f217 */
.ico-白皮书:before { content: "\f02d"; } /* book */
.ico-更多:before { content: "\f142"; }   /* ellipsis */
.ico-加:before { content: "\f067"; }     /* plus */
.ico-位置:before { content: "\f3c5"; }   /* location-dot */
.ico-邮件:before { content: "\f0e0"; }   /* envelope */
.ico-合作:before { content: "\f0c1"; }   /* link */
.ico-机器人:before { content: "\f544"; } /* robot */
.ico-飞书:before { content: "\f0f4"; }   /* comments */
.ico-勾:before { content: "\f00c"; }     /* check */

/* ---------- 兜底字体栈：确保极端环境也不出"破/方框" ---------- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Hiragino Sans GB", "WenQuanYi Micro Hei",
    "Heiti SC", sans-serif;
  color: var(--ink-700);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 代码等宽回退 */
code, .code-line {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono",
    Menlo, monospace;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600;
  font-size: 15px; letter-spacing: 0.02em; cursor: pointer;
  transition: all .28s ease; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 94, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30, 94, 255, 0.45); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), #f7e2a6);
  color: var(--ink-900); box-shadow: 0 8px 24px rgba(227, 180, 83, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(227, 180, 83, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.55); color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
/* 深色背景上的反白描边按钮（透明底 + 白字白边） */
.btn-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.btn-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }
/* 浅色背景上的描边按钮（白底 + 蓝字） */
.btn-outline {
  background: #fff; color: var(--blue-600); border-color: rgba(47,107,255,.35);
}
.btn-outline:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 17, 43, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff;
  box-shadow: 0 4px 14px rgba(30,94,255,.5);
}
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.brand-sub { font-size: 11px; color: var(--ink-300); letter-spacing: .2em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: #c6d1e5; font-size: 15px; font-weight: 500; position: relative;
  padding: 6px 0; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-400));
  transition: width .25s; border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  margin-left: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(30,94,255,.35);
  transition: all .28s ease !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30,94,255,.5);
  background: linear-gradient(135deg, #2a6bff, #43c7ff);
}
.nav-cta::after { content: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(8,17,43,.98);
  transform: translateX(100%); transition: transform .35s ease; padding: 90px 28px 30px;
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: #e6ecf8; font-size: 20px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-900); color: #a8b4cc; margin-top: 0; }
.footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; letter-spacing: .05em; }
.footer ul li { margin-bottom: 11px; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.8; color: #8fa0bd; }
.footer-about .brand { margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; }
.footer-contact .ico { color: var(--cyan-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center;
  font-size: 13px; color: #7c8bab;
}
.footer-bottom a { color: #7c8bab; }
.footer-bottom a:hover { color: #fff; }
.license { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 通用标题 ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; margin-bottom: 14px;
  text-transform: uppercase;
}
.eyebrow.on-dark { color: var(--cyan-400); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity:.7; }
.section-title { font-size: 38px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.01em; line-height: 1.25; }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--ink-500); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; transition: all .3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover .card-title { color: var(--blue-600); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 8px 20px rgba(30,94,255,.25);
}
.card-icon.gold { background: linear-gradient(135deg, #d99a2b, #f0cb7a); box-shadow: 0 8px 20px rgba(217,154,43,.3); }
.card-title { font-size: 19px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-600); }

/* ---------- 深色区块 ---------- */
.dark-band { background: var(--navy-900); color: #cfd8ea; position: relative; overflow: hidden; }
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: #9fb0cf; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.orb.blue { width: 480px; height: 480px; background: #1e5eff; top: -160px; right: -120px; }
.orb.cyan { width: 380px; height: 380px; background: #0ea5e9; bottom: -120px; left: -100px; }

/* ---------- 数字展示 ---------- */
.stats-band { background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); padding: 50px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; color: #fff; }
.stat-num { font-size: 42px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-label { margin-top: 4px; font-size: 14px; opacity: .9; }

/* ---------- 侧边栏子页布局 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--blue-600) 120%);
  padding: 74px 0 118px; color: #fff; position: relative; overflow: hidden; text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.01em; }
.page-hero p { max-width: 760px; margin: 18px auto 0; color: #c6d3ee; font-size: 17px; }
.page-hero .crumbs { margin-top: 22px; font-size: 13px; color: #8fa6d3; }
.page-hero .crumbs a:hover { color: #fff; }

/* ---------- 图文双列 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  min-height: 320px; position: relative;
}
.media-gradient { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; }
.media-gradient.branding { background: linear-gradient(160deg, #0f2a63, #0a1636); }

/* ---------- 步骤/时间线 ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 20px; }
.step-num {
  counter-increment: step; width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 20px rgba(30,94,255,.3);
}
.step h4 { font-size: 18px; color: var(--ink-900); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-600); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .mark { font-size: 22px; color: var(--blue-500); transition: transform .3s; flex: none; }
.faq-item.open .mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--ink-600); font-size: 15px; }
.faq-a p { padding: 0 24px 22px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.cta-band p { max-width: 640px; margin: 14px auto 28px; font-size: 16px; opacity: .95; }

/* ---------- 徽章 / 标签 ---------- */
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(47,107,255,.1); color: var(--blue-600); margin: 0 6px 4px 0;
}
.tag.on-dark { background: rgba(255,255,255,.12); color: #cfe0ff; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #e6edfb; padding: 7px 16px; border-radius: 999px; font-size: 13px;
}

/* ---------- 技术标签云 ---------- */
.chip { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-700); padding: 7px 16px; border-radius: 999px; font-size: 13.5px; margin: 0 8px 8px 0; }

/* ---------- 特色符号 ---------- */
.feature-list li { padding: 8px 0 8px 30px; position: relative; font-size: 15px; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px;
  background: rgba(34,197,94,.14); color: #16a34a; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.feature-list.on-dark li::before { background: rgba(56,189,248,.15); color: var(--cyan-400); }

/* ---------- 滚动显现动画 ---------- */
.reveal.will { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal.will { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat-num { font-size: 32px; }
  .page-hero { padding: 56px 0 92px; }
  .page-hero h1 { font-size: 30px; }
  .cta-band { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 24px; }
}
