/* ============================================================
   璇玑动画官网 — 全站样式
   白色背景 · 浅蓝主色调 · 移动优先响应式 · CSS3 原生（无框架）
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f3f8ff;            /* 浅蓝交替底色 */
  --surface: #f7faff;
  --surface-hover: #eef5ff;
  --line: rgba(43, 141, 255, .16);
  --text: #17233a;
  --text-dim: #5b6b85;
  --accent: #2b8dff;          /* 主色：浅蓝 */
  --accent-deep: #0f6fe0;
  --accent-2: #5cc6ff;
  --grad: linear-gradient(120deg, #2b8dff, #5cc6ff);
  --radius: 16px;
  --container: 1200px;
  --shadow: 0 18px 50px rgba(20, 90, 180, .10);
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- 通用 Section ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
/* 锚点跳越时避开固定导航与吸顶锚点栏 */
section[id], footer[id] { scroll-margin-top: 130px; }

/* 咨询栏：仅移动端媒体查询内显示（桌面端隐藏） */
.mobile-cta-bar { display: none; }
.mobile-cta-bar svg { width: 20px; height: 20px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-eyebrow {
  font-size: .8rem; letter-spacing: .35em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 700; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.3; }
.section-desc { color: var(--text-dim); margin-top: 14px; }
.section-more { text-align: center; margin-top: 48px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px rgba(43, 141, 255, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(43, 141, 255, .45); }
.btn-ghost {
  background: transparent; color: var(--accent-deep);
  border: 1px solid rgba(43, 141, 255, .4);
}
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(20, 90, 180, .07); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-img-footer { height: 46px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; display: flex; align-items: baseline; gap: 8px; color: var(--text); }
.logo-text small { font-size: .68rem; letter-spacing: .3em; color: var(--accent); font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px;
  color: var(--text-dim); font-size: .95rem; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--accent-deep); background: var(--surface-hover); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; background: var(--surface);
}
.lang-switch span { padding: 4px 12px; border-radius: 999px; font-size: .78rem; color: var(--text-dim); transition: all .25s; }
.lang-switch .active { background: var(--grad); color: #fff; font-weight: 700; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero（白底 + 浅蓝光斑 + 淡网格）
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .hero-grid { width: 100%; height: 100%; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-a { width: 460px; height: 460px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(92, 198, 255, .45), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.orb-b { width: 380px; height: 380px; bottom: -80px; left: -100px; background: radial-gradient(circle, rgba(43, 141, 255, .28), transparent 70%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  border: 1px solid rgba(43, 141, 255, .35); background: rgba(255, 255, 255, .8);
  font-size: .82rem; color: var(--accent-deep); letter-spacing: .08em; margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(43, 141, 255, .08);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.25; letter-spacing: .01em; color: var(--text); }
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--text-dim); font-size: 1.02rem; max-width: 560px; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 56px); padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat dt { font-size: .82rem; color: var(--text-dim); letter-spacing: .06em; }
.stat dd { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }

/* Hero 3D 视觉 */
.hero-visual { position: relative; }
.cube-scene { width: 100%; max-width: 460px; margin-inline: auto; }
.cube { animation: float3d 7s ease-in-out infinite; }
@keyframes float3d { 50% { transform: rotate(4deg) translateY(-14px); } }
.orbit { transform-origin: 210px 210px; }
.o1 { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.o2 { animation: spin60 34s linear infinite reverse; }
@keyframes spin60 { from { transform: rotate(60deg); } to { transform: rotate(420deg); } }
.o3 { animation: spin120 42s linear infinite; }
@keyframes spin120 { from { transform: rotate(120deg); } to { transform: rotate(480deg); } }

.float-chip {
  position: absolute; padding: 9px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(43, 141, 255, .25);
  font-size: .8rem; color: var(--text); white-space: nowrap;
  backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(20, 90, 180, .12);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-a { top: 8%; left: 0; animation-delay: 0s; }
.chip-b { bottom: 20%; right: -2%; animation-delay: 1.4s; }
.chip-c { bottom: 4%; left: 12%; animation-delay: 2.6s; }
@keyframes chipFloat { 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }

/* ============================================================
   Services 卡片（三大核心业务）
   ============================================================ */
.services { background: var(--bg-2); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   关于我们页（about.html）
   ============================================================ */
.about-intro {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}
.about-copy .section-eyebrow { margin-bottom: 10px; }
.about-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 18px; }
.about-copy p { color: var(--text-dim); font-size: .96rem; line-height: 1.9; margin-bottom: 16px; }
.about-copy p strong { color: var(--text); }
.about-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; gap: 28px; margin-top: 30px;
}
.about-stats .stat { text-align: center; }
.about-stats strong {
  font-size: 1.9rem; font-weight: 800; color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.about-stats span { font-size: 1rem; font-weight: 700; color: var(--accent-deep); }
.about-stats em { display: block; font-style: normal; font-size: .78rem; color: var(--text-dim); margin-top: 4px; }
.about-figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about-figure figcaption {
  text-align: center; font-size: .84rem; color: var(--text-dim); margin-top: 12px;
}
.about-timeline {
  position: relative; max-width: 780px; margin-inline: auto; padding-left: 26px;
}
.about-timeline::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, #2b8dff, rgba(92, 198, 255, .25));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(43, 141, 255, .15);
}
.tl-year {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: rgba(43, 141, 255, .1); color: var(--accent-deep);
  font-weight: 800; font-size: .84rem; margin-bottom: 8px;
}
.tl-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.tl-body p { color: var(--text-dim); font-size: .92rem; line-height: 1.75; }
.promise-list { margin: 0 0 26px; padding: 0; list-style: none; }
.promise-list li {
  display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.promise-list li:last-child { border-bottom: 0; }
.promise-list strong {
  flex-shrink: 0; width: 84px; color: var(--text); font-size: .95rem;
}
.promise-list span { color: var(--text-dim); font-size: .92rem; line-height: 1.7; }

.service-card {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(43, 141, 255, .09), transparent 60%);
  transition: opacity .3s; pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(43, 141, 255, .5); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card.is-featured {
  border-color: rgba(43, 141, 255, .55);
  background: linear-gradient(165deg, #f0f7ff, #ffffff 55%);
}
.card-badge {
  position: absolute; top: 18px; right: 18px; padding: 3px 12px;
  border-radius: 999px; background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700;
}
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(43, 141, 255, .14), rgba(92, 198, 255, .16));
  color: var(--accent);
}
.card-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 18px; }
.card-link { color: var(--accent-deep); font-size: .88rem; font-weight: 600; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 服务卡内营销型清单 */
.svc-intro { color: var(--accent-deep); font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.svc-feats { margin-bottom: 16px; }
.svc-feats li {
  position: relative; padding: 4px 0 4px 22px;
  color: var(--text-dim); font-size: .88rem; line-height: 1.6;
}
.svc-feats li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.svc-tags span {
  padding: 3px 12px; border-radius: 999px; font-size: .76rem;
  background: rgba(43, 141, 255, .08); color: var(--accent-deep);
  border: 1px solid rgba(43, 141, 255, .2);
}

/* ============================================================
   Solutions
   ============================================================ */
.split-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.solution-item:hover { transform: translateY(-4px); border-color: rgba(43, 141, 255, .5); box-shadow: var(--shadow); }
.sol-num {
  font-size: 2rem; font-weight: 800; line-height: 1; flex-shrink: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .95;
}
.solution-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.solution-item p { color: var(--text-dim); font-size: .92rem; }

/* ============================================================
   Cases
   ============================================================ */
.cases { background: var(--bg-2); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(43, 141, 255, .5); }
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-thumb { overflow: hidden; }
.case-thumb svg { width: 100%; height: auto; transition: transform .5s ease; }
.case-card:hover .case-thumb svg { transform: scale(1.06); }
.case-card figcaption { padding: 22px 24px 26px; }
.case-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.case-card p { color: var(--text-dim); font-size: .9rem; }

/* ---------- 案例列表页 / 详情页 ---------- */
.case-filter {
  position: sticky; top: 71px; z-index: 40;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.case-filter-inner { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.case-filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: 9px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text-dim);
  font-size: .9rem; font-weight: 600; transition: all .25s ease;
}
.filter-btn:hover { color: var(--accent-deep); border-color: rgba(43, 141, 255, .45); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(43, 141, 255, .3); }

.case-card-lg {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.case-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(43, 141, 255, .5); }
.case-card-link { display: flex; flex-direction: column; flex: 1; }
.case-cover { position: relative; overflow: hidden; height: 250px; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card-lg:hover .case-cover img { transform: scale(1.05); }
.case-tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255, 255, 255, .94); color: var(--accent-deep);
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(20, 90, 180, .18);
}
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h2, .case-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.case-body p { color: var(--text-dim); font-size: .9rem; flex: 1; }
.case-more { margin-top: 14px; color: var(--accent-deep); font-size: .88rem; font-weight: 600; }
.case-card-lg:hover .case-more { text-decoration: underline; text-underline-offset: 4px; }
.case-empty { text-align: center; color: var(--text-dim); padding: 48px 0; }

/* 详情页 */
.case-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.case-meta-tags span {
  background: #fff; border: 1px solid var(--line); color: var(--accent-deep);
  font-size: .8rem; font-weight: 600; padding: 5px 14px; border-radius: 999px;
}
.page-hero .case-meta-tags span { background: rgba(43, 141, 255, .08); }
.case-detail-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.case-detail-main h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin: 34px 0 14px; }
.case-detail-main > p { color: var(--text-dim); margin-bottom: 18px; }
.case-hero-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(20, 90, 180, .12);
  background: var(--surface); margin-bottom: 10px;
}
.case-hero-img img { width: 100%; height: auto; }
.case-hero-img figcaption {
  font-size: .82rem; color: var(--text-dim);
  padding: 10px 16px; border-top: 1px solid var(--line);
  background: #fff; text-align: center;
}
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 6px; }
.metric {
  background: linear-gradient(120deg, rgba(43,141,255,.08), rgba(92,198,255,.10));
  border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 14px; text-align: center;
}
.metric strong {
  display: block; font-size: 1.7rem; font-weight: 800; margin-bottom: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { font-size: .82rem; color: var(--text-dim); }
.case-side {
  position: sticky; top: 140px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.case-side h3 { font-size: 1rem; margin-bottom: 12px; }
.case-side h3 + .svc-dlv { margin-bottom: 20px; }
.case-info { margin-bottom: 22px; }
.case-info li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem;
}
.case-info li:last-child { border-bottom: 0; }
.case-info li span { color: var(--text-dim); flex-shrink: 0; }
.case-side .btn-block { margin-bottom: 10px; }

/* ============================================================
   Process
   ============================================================ */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step-no {
  display: grid; place-items: center; width: 56px; height: 56px;
  margin: 0 auto 16px; border-radius: 50%;
  font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--grad); box-shadow: 0 8px 24px rgba(43, 141, 255, .35);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 40px);
  width: calc(100% - 80px); height: 1px;
  background: linear-gradient(90deg, rgba(43, 141, 255, .5), rgba(92, 198, 255, .25));
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .84rem; }

/* ============================================================
   News
   ============================================================ */
.news { background: var(--bg-2); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(43, 141, 255, .5); box-shadow: var(--shadow); }
.news-card time { font-size: .8rem; color: var(--accent); letter-spacing: .05em; }
.news-card h3 { margin-top: 10px; font-size: 1rem; line-height: 1.55; }
.news-card h3 a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   资讯列表页（news.html）
   ============================================================ */
.section.alt-bg { background: var(--bg-2); }
.news-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-dim); margin-bottom: 10px;
}
.news-meta time { color: var(--accent); letter-spacing: .05em; }
.case-body h2 { font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; }

/* ============================================================
   资讯详情页（news-detail.html）
   ============================================================ */
.article-hero .article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 18px; font-size: .84rem; color: var(--text-dim);
}
.article-hero .article-meta .case-tag { position: static; }
.article-hero .article-meta time { color: var(--accent); letter-spacing: .05em; }
.article-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); max-width: 820px; line-height: 1.4; }

.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px; align-items: start;
}
.article-body { max-width: 780px; }
.article-body p {
  color: var(--text-dim); font-size: .98rem; line-height: 1.9;
  margin: 0 0 20px;
}
.article-body p strong, .article-body li strong { color: var(--text); }
.article-lead {
  font-size: 1.05rem !important; color: var(--text) !important;
  padding: 18px 22px; border-left: 3px solid var(--accent);
  background: var(--bg-2); border-radius: 0 12px 12px 0;
}
.article-body h2 {
  font-size: 1.28rem; margin: 40px 0 16px; padding-top: 8px;
  scroll-margin-top: 130px;
}
.article-figure { margin: 28px 0; }
.article-figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.article-figure figcaption {
  text-align: center; font-size: .84rem; color: var(--text-dim); margin-top: 10px;
}
.article-body blockquote {
  margin: 28px 0; padding: 20px 26px;
  background: var(--bg-2); border-radius: 12px;
  border-left: 3px solid var(--accent);
  font-size: 1rem; line-height: 1.8; color: var(--text);
}
.article-list { margin: 0 0 20px; padding: 0; list-style: none; }
.article-list li {
  position: relative; padding: 8px 0 8px 26px;
  color: var(--text-dim); font-size: .95rem; line-height: 1.7;
}
.article-list li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 13px; height: 8px; border-left: 2.4px solid var(--accent);
  border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.article-tags span {
  padding: 6px 14px; border-radius: 999px; font-size: .8rem;
  color: var(--accent-deep); background: rgba(43, 141, 255, .08);
  border: 1px solid rgba(43, 141, 255, .25);
}
.article-side { position: sticky; top: 140px; display: grid; gap: 20px; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.side-card h3 { font-size: .98rem; margin-bottom: 14px; }

/* ============================================================
   联系页（contact.html）
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(43, 141, 255, .5); }
.contact-card .card-icon { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: rgba(43, 141, 255, .1); }
.contact-card .card-icon svg { width: 22px; height: 22px; }
.contact-card h2 { font-size: 1rem; margin-bottom: 8px; }
.contact-val { font-size: 1.05rem; font-weight: 700; color: var(--accent-deep); }
.contact-val a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-note { margin-top: 8px; font-size: .82rem; color: var(--text-dim); }

.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact-lead { color: var(--text-dim); font-size: .95rem; line-height: 1.8; margin-bottom: 28px; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-field label em { color: #ff6b6b; font-style: normal; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .92rem; color: var(--text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9db1c9; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 141, 255, .15); }
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-block { justify-content: center; margin-top: 6px; }
.form-privacy { margin-top: 14px; font-size: .78rem; color: var(--text-dim); text-align: center; }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 30px; font-size: .92rem; color: var(--text-dim); line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px;
  border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent);
  transform: rotate(-45deg);
}
.side-img { width: 100%; height: auto; border-radius: 10px; display: block; }
.img-caption { margin-top: 10px; font-size: .8rem; color: var(--text-dim); text-align: center; }
.btn-lg { padding: 14px 34px; font-size: .98rem; }

@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-side { position: static; display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (max-width: 768px) {
  .contact-side { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .contact-cards { grid-template-columns: 1fr; }
}

.toc-list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex; gap: 10px; padding: 7px 0;
  color: var(--text-dim); font-size: .88rem; line-height: 1.55;
}
.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent); font-weight: 700; font-size: .8rem; padding-top: 1px;
}
.toc-list a:hover { color: var(--accent-deep); }

/* 移动端文章目录：桌面隐藏，窄屏显示在标题下方（侧栏目录卡隐藏避免重复） */
.mobile-toc { display: none; }
.hot-list { margin: 0; padding: 0; list-style: none; }
.hot-list li + li { border-top: 1px dashed var(--line); }
.hot-list a {
  display: flex; gap: 12px; align-items: baseline; padding: 11px 0;
  color: var(--text); font-size: .88rem; line-height: 1.55;
}
.hot-list time { color: var(--accent); font-size: .78rem; flex-shrink: 0; letter-spacing: .03em; }
.hot-list a:hover span { color: var(--accent-deep); }
.side-cta { background: linear-gradient(160deg, rgba(43, 141, 255, .07), rgba(92, 198, 255, .12)); }
.side-cta p { color: var(--text-dim); font-size: .88rem; margin-bottom: 16px; }

/* ============================================================
   CTA（浅蓝渐变横幅）
   ============================================================ */
.cta-inner {
  text-align: center; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 24px; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, #1f7ae8 0%, #2b8dff 45%, #5cc6ff 100%);
  box-shadow: 0 24px 60px rgba(31, 122, 232, .3);
}
.cta-inner h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.cta-inner > p { margin-top: 12px; opacity: .92; }
.cta-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.cta-form input {
  flex: 1 1 220px; max-width: 260px; padding: 13px 20px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .95); color: var(--text);
  font: inherit; font-size: .92rem; outline: none;
  transition: box-shadow .25s, border-color .25s;
}
.cta-form input::placeholder { color: #8aa0bd; }
.cta-form input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.cta-form .btn { flex: 0 0 auto; background: #fff; color: var(--accent-deep); box-shadow: none; }
.cta-form .btn:hover { box-shadow: 0 8px 24px rgba(6, 50, 110, .25); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: #f7fbff; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand p:last-child { color: var(--text-dim); font-size: .9rem; max-width: 320px; }
.footer-nav h3, .footer-contact h3 { font-size: .95rem; margin-bottom: 16px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: var(--text-dim); font-size: .88rem; transition: color .2s; }
.footer-nav a:hover { color: var(--accent-deep); }
.footer-contact p { color: var(--text-dim); font-size: .88rem; margin-bottom: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: .82rem;
}

/* ============================================================
   FAQ 常见问题（原生 details 折叠）
   ============================================================ */
.faq { background: var(--bg-2); }
.faq-wrap { max-width: 860px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(43, 141, 255, .5); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  flex-shrink: 0; width: 9px; height: 9px; margin-right: 2px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] .faq-arrow { transform: rotate(225deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-dim); font-size: .93rem; }

/* ============================================================
   服务详情页（services.html）
   ============================================================ */
.main-nav a.active { color: var(--accent-deep); background: var(--surface-hover); font-weight: 600; }

.page-hero {
  padding: 150px 0 44px;
  background: linear-gradient(180deg, #eaf4ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 22px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb strong { color: var(--accent-deep); font-weight: 600; }
.page-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.3; }
.page-hero-sub { color: var(--text-dim); max-width: 720px; margin-top: 16px; }

.anchor-nav {
  position: sticky; top: 72px; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-link {
  flex-shrink: 0; padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim); font-size: .88rem;
  transition: all .25s; white-space: nowrap;
}
.anchor-link:hover, .anchor-link.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }

.svc-detail { padding: clamp(56px, 8vw, 100px) 0; }
.svc-detail.alt { background: var(--bg-2); }
.svc-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-label {
  font-size: .78rem; letter-spacing: .3em; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.svc-detail h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.svc-lead { color: var(--accent-deep); font-weight: 600; font-size: 1.02rem; margin-bottom: 16px; }
.svc-main > p:not(.svc-lead):not(.svc-label) { color: var(--text-dim); margin-bottom: 22px; }
.svc-feats-lg li { font-size: .95rem; padding: 6px 0 6px 26px; }
.svc-feats-lg li::before { left: 4px; top: 15px; width: 13px; height: 8px; }

/* 服务配图 */
.svc-figure {
  margin: 4px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 90, 180, .12);
  background: var(--surface);
}
.svc-figure img { width: 100%; height: auto; }
.svc-figure figcaption {
  font-size: .82rem; color: var(--text-dim);
  padding: 10px 16px; border-top: 1px solid var(--line);
  background: #fff; text-align: center;
}
/* 典型场景行 */
.svc-scenes {
  font-size: .92rem; color: var(--text);
  background: linear-gradient(120deg, rgba(43,141,255,.08), rgba(92,198,255,.10));
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px;
}
.svc-scenes strong { color: var(--accent-deep); }

.svc-side {
  position: sticky; top: 140px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.svc-side h3 { font-size: .98rem; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.svc-side .svc-tags { margin-bottom: 24px; }
.svc-dlv { margin-bottom: 26px; }
.svc-dlv li {
  position: relative; padding: 3px 0 3px 20px;
  color: var(--text-dim); font-size: .9rem;
}
.svc-dlv li::before { content: "·"; position: absolute; left: 6px; color: var(--accent); font-weight: 800; }
.btn-block { display: flex; width: 100%; }

@media (max-width: 1024px) {
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-side { position: static; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-filter { top: 71px; }
  .anchor-nav { top: 71px; }
}

/* ============================================================
   滚动进场动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* 尊重用户减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   响应式断点
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .card-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-side { position: static; }
  .side-toc { display: none; }
  .mobile-toc {
    display: block; margin: 0 0 6px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 20px; box-shadow: var(--shadow);
  }
  .mobile-toc summary {
    cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text);
    list-style: none; display: flex; align-items: center; justify-content: space-between;
  }
  .mobile-toc summary::-webkit-details-marker { display: none; }
  .mobile-toc summary::after { content: '+'; font-size: 1.2rem; color: var(--accent, #2b8dff); }
  .mobile-toc[open] summary::after { content: '−'; }
  .mobile-toc .toc-list { margin-top: 12px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-figure { order: -1; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    padding: 12px 4vw 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 13px 14px; border-radius: 12px; font-size: 1.02rem; }
  .nav-toggle { display: flex; margin-right: -10px; } /* 菜单键视觉上更贴近屏幕右缘 */
  .header-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-stats { justify-content: center; }
  .split-grid, .card-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); justify-content: stretch; gap: 20px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd)::after { display: none; }
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-form input { max-width: none; flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-chip { display: none; }

  /* 移动端吸底咨询栏（覆盖桌面右下角悬浮样式） */
  body { padding-bottom: 60px; }
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    background: rgba(255, 255, 255, .97); border: 0; border-top: 1px solid var(--line);
    border-radius: 0; box-shadow: none; gap: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .bar-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: .72rem; color: var(--accent-deep); padding: 4px 0; border-radius: 0;
  }
  .bar-item svg { width: 20px; height: 20px; }
  .bar-primary {
    flex: 1.4; flex-direction: row; justify-content: center; gap: 6px;
    background: var(--grad); color: #fff; border-radius: 999px;
    font-weight: 700; font-size: .82rem; margin-left: 0;
  }
}

@media (max-width: 420px) {
  .process-steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .logo-img { height: 34px; }
  .logo-text small { display: none; }
}
