/* ==========================================================================
   XXW CMS · Tech Theme (蓝白科技风, 参考 cdxiwang.com)
   ========================================================================== */
:root {
  --primary: #0a5cff;
  --primary-deep: #0039a6;
  --cyan: #00c2ff;
  --navy: #0a1f4d;
  --ink: #17233d;
  --muted: #5e6d8a;
  --line: #e3eaf6;
  --bg-soft: #f4f8ff;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(13, 45, 110, 0.05);
  --shadow-lg: 0 22px 46px rgba(10, 92, 255, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, #0a5cff, #0046d6); color: #fff;
  box-shadow: 0 10px 24px rgba(10, 92, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 92, 255, 0.38); }
.btn-light { background: #fff; color: #0a4fd8; box-shadow: 0 10px 24px rgba(2, 18, 50, 0.22); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2, 18, 50, 0.3); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: #0a4fd8; border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn svg { width: 17px; height: 17px; }

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  z-index: 2000;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s ease;
}
.header-top {
  background: rgba(3, 15, 42, 0.78); color: #cfe0ff; font-size: 13px;
  backdrop-filter: blur(10px); overflow: hidden;
  max-height: 40px; transition: max-height 0.35s ease, opacity 0.35s ease;
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 12px; }
.header-top-slogan { color: #9db8e8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-top-right { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.header-top-link { display: inline-flex; align-items: center; gap: 7px; color: #cfe0ff; transition: 0.3s; }
.header-top-link:hover { color: #fff; }
.header-top-link svg { width: 14px; height: 14px; color: #7fd4ff; }
.lang-switch {
  padding: 4px 14px; border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px; font-size: 13px; font-weight: 600; transition: 0.3s;
}
.lang-switch:hover { background: #fff; color: #0a4fd8; }

.header-main { border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: 0.3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; max-width: 230px; object-fit: contain; }
.logo img + .logo-text { margin-left: 10px; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: 0.02em; color: #fff; transition: 0.3s; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 8px 13px; font-size: 15px; font-weight: 600;
  color: rgba(255, 255, 255, 0.92); border-radius: 8px; transition: 0.3s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 18px; height: 3px; border-radius: 3px; background: var(--cyan);
}

.site-header.scrolled .header-top { max-height: 0; opacity: 0; }
.site-header.scrolled .header-main {
  background: rgba(255, 255, 255, 0.95); border-bottom-color: transparent;
  box-shadow: 0 6px 24px rgba(13, 45, 110, 0.08); backdrop-filter: blur(12px);
}
.site-header.scrolled .logo-text { color: var(--navy); }
.site-header.scrolled .nav-link { color: #26385c; }
.site-header.scrolled .nav-link:hover { color: var(--primary); background: rgba(10, 92, 255, 0.06); }
.site-header.scrolled .nav-link.active { color: var(--primary); }
.site-header.scrolled .nav-link.active::after { background: var(--primary); }
.site-header.scrolled .lang-switch { border-color: var(--primary); color: var(--primary); }
.site-header.scrolled .lang-switch:hover { background: var(--primary); color: #fff; }

/* 二级下拉菜单 */
.nav-item { position: relative; }
.nav-item.has-dropdown > .nav-link::after {
  content: "▾"; margin-left: 4px; font-size: 11px; opacity: 0.8;
}
.nav-item .dropdown {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(8px);
  min-width: 196px; background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px rgba(13, 45, 110, 0.16); border: 1px solid #e6eefc;
  opacity: 0; visibility: hidden; transition: 0.28s ease; z-index: 1200;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-link {
  display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px;
  color: #33415e; font-weight: 500; transition: 0.2s; white-space: nowrap;
}
.dropdown-link:hover { background: rgba(10, 92, 255, 0.07); color: var(--primary); }
.dropdown-link.active { color: var(--primary); font-weight: 600; background: rgba(10, 92, 255, 0.06); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px; z-index: 1300;
}
.nav-toggle span { width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: 0.3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.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; height: auto; min-height: 620px;
  display: flex; align-items: center; overflow: hidden; background: #06214f;
}
@media (min-width: 1280px) {
  .hero { aspect-ratio: 1920 / 760; min-height: 0; }
}
.banner-item {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease;
}
.banner-item.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(118deg, rgba(3, 15, 42, 0.86) 0%, rgba(6, 42, 120, 0.6) 55%, rgba(0, 102, 204, 0.3) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 38% 50%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 38% 50%, #000 25%, transparent 72%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: #7fd4ff;
  letter-spacing: 0.18em; font-size: 14px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--cyan); }
.hero-title {
  font-size: clamp(34px, 5vw, 58px); color: #fff; font-weight: 800;
  line-height: 1.15; letter-spacing: 0.02em; margin-bottom: 16px;
}
.typed-line { font-size: clamp(17px, 2vw, 22px); color: #d7e6ff; min-height: 36px; }
.typed-caret {
  display: inline-block; width: 2px; height: 1.05em; background: var(--cyan);
  vertical-align: -2px; margin-left: 2px; animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.banner-dots {
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.banner-dots button {
  width: 26px; height: 4px; border-radius: 4px; border: 0;
  background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: 0.3s;
}
.banner-dots button.active { width: 44px; background: #fff; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px; z-index: 3;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 关键词跑马灯 ---------- */
.ticker {
  background: linear-gradient(90deg, #0039a6, #0a5cff); color: #fff;
  overflow: hidden; padding: 13px 0;
}
.ticker-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: tickerMove 36s linear infinite; }
.ticker-item { font-size: 14px; letter-spacing: 0.06em; opacity: 0.95; }
.ticker-item::before { content: "\25C6"; margin-right: 14px; color: #7fd4ff; font-size: 9px; vertical-align: 2px; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 52px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  color: var(--primary); font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--primary); }
.eyebrow.light { color: #7fd4ff; }
.eyebrow.light::before { background: var(--cyan); }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.2; }
.section-head.center h2 { position: relative; padding-bottom: 16px; }
.section-head.center h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 52px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.section-sub { color: var(--muted); margin-top: 12px; max-width: 640px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; transition: 0.3s; }
.more svg { width: 18px; height: 18px; transition: 0.3s; }
.more:hover { gap: 13px; color: #0046d6; }
.empty {
  text-align: center; color: var(--muted); padding: 52px 0;
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fafcff;
}

/* ---------- 行业案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: 0.35s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eaf1ff; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-media img { transform: scale(1.08); }
.case-arrow {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
  transform: translateY(10px); opacity: 0; transition: 0.35s ease;
}
.case-card:hover .case-arrow { transform: none; opacity: 1; }
.case-arrow svg { width: 18px; height: 18px; }
.case-body { padding: 22px 24px 24px; }
.case-body h3 {
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-body p {
  color: var(--muted); font-size: 14px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-more { display: inline-block; margin-top: 14px; color: var(--primary); font-size: 14px; font-weight: 600; }

/* ---------- 公司简介 ---------- */
.about-intro-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.about-intro-text { color: var(--muted); font-size: 16px; margin: 20px 0 32px; line-height: 2; }
.about-visual-card {
  position: relative; background: linear-gradient(150deg, #0039a6, #0a5cff 60%, #00b4ff);
  border-radius: 20px; padding: 46px 42px; color: #fff; min-height: 300px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 30px 60px rgba(10, 92, 255, 0.3); overflow: hidden;
}
.about-visual-card::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12);
}
.about-visual-card::after {
  content: ""; position: absolute; left: -50px; bottom: -80px; width: 180px; height: 180px;
  border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.07);
}
.about-visual-card img { max-height: 62px; width: auto; height: auto; align-self: flex-start; margin-bottom: 18px; filter: brightness(0) invert(1); position: relative; z-index: 1; }
.about-visual-card p { color: #d7e6ff; position: relative; z-index: 1; }
.logo-text.lg { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.about-visual-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 34px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); position: relative; z-index: 1; }
.about-visual-stats div { display: flex; flex-direction: column; }
.about-visual-stats b { font-size: 26px; font-weight: 800; }
.about-visual-stats span { font-size: 13px; opacity: 0.85; }
.about-visual-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.about-feat { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); color: #eaf2ff; }
.about-feat svg { width: 14px; height: 14px; color: #7fd4ff; flex: none; }

/* ---------- 数据统计 ---------- */
.stats-band {
  background: linear-gradient(135deg, #041a44, #0a3fa8 55%, #0a5cff);
  color: #fff; padding: 84px 0;
}
.stats-band .section-head h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 30px 16px; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px);
  transition: 0.35s ease;
}
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.stat-value { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { margin-top: 8px; color: #a9c4ff; font-size: 14px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: block; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: 0.35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eaf1ff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.tag {
  position: absolute; left: 14px; top: 14px; background: rgba(10, 92, 255, 0.92);
  color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.ph { height: 100%; width: 100%; background: linear-gradient(135deg, #dbe7ff, #eef4ff); }
.ph.ph-lg { min-height: 320px; }
.card-body { padding: 20px 22px 22px; }
.card-body h3 {
  font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
  line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body p {
  color: var(--muted); font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
}
.card-meta { display: flex; justify-content: space-between; margin-top: 14px; color: #8ba0c4; font-size: 13px; }
.card-arrow {
  position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px;
  border-radius: 50%; background: #eef4ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: 0.3s ease;
}
.card-arrow svg { width: 16px; height: 16px; }
.card:hover .card-arrow { opacity: 1; transform: none; }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.partner-item {
  display: flex; align-items: center; justify-content: center; height: 84px;
  background: #fafcff; border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  filter: grayscale(1); opacity: 0.75; transition: 0.3s ease;
}
.partner-item:hover { filter: none; opacity: 1; transform: translateY(-4px); box-shadow: 0 12px 26px rgba(13, 45, 110, 0.1); }
.partner-item img { max-height: 48px; max-width: 100%; object-fit: contain; }
.partner-item span { font-weight: 600; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; padding: 92px 0; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #0039a6, #0a5cff 60%, #00b4ff);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.cta { position: relative; z-index: 1; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: #d7e6ff; max-width: 660px; margin: 0 auto 34px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #051430; color: #a9bddb; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 50px; padding: 70px 0 50px; }
.footer-brand .logo-text { color: #fff; }
.footer-slogan { margin: 16px 0 24px; color: #7f97bf; max-width: 340px; line-height: 1.9; }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.footer-contact-row span { color: #5f78a5; min-width: 40px; }
.footer-contact-row a { color: #cfe0ff; }
.footer-contact-row a:hover { color: #fff; }
.footer-qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.footer-qr img { width: 78px; height: 78px; border-radius: 8px; object-fit: cover; }
.footer-qr span { color: #8ba2c8; font-size: 13px; line-height: 1.7; max-width: 150px; }
.footer-col h4 {
  color: #fff; font-size: 16px; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--primary); }
.footer-col a { display: block; color: #8ba2c8; margin-bottom: 12px; font-size: 14px; transition: 0.3s; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col p { color: #8ba2c8; font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.friend-links { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; }
.friend-links-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.friend-links-title { color: #5f78a5; font-size: 13px; white-space: nowrap; }
.friend-links-list { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.friend-links-list a { color: #7f97bf; font-size: 13px; transition: 0.3s; }
.friend-links-list a:hover { color: #fff; }
.friend-links-list img { height: 24px; width: auto; filter: grayscale(1); opacity: 0.7; transition: 0.3s; }
.friend-links-list a:hover img { filter: none; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; font-size: 13px; color: #5f78a5; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: #7f97bf; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 28px; bottom: 34px; width: 46px; height: 46px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #0046d6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s ease;
  z-index: 1500; box-shadow: 0 10px 24px rgba(10, 92, 255, 0.35);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 18px; height: 18px; }

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative; padding: 176px 0 72px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #041a44, #0a3fa8 55%, #0a5cff);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.page-hero-text { max-width: 660px; }
.page-hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(380px, 36vw); pointer-events: none; }
.page-hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0, 60, 166, 0.35)); }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.page-hero p { color: #b9d2ff; margin-top: 10px; max-width: 680px; }
.crumbs { font-size: 13px; color: #8fb0ff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; color: #5f8be0; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #b9d2ff; font-size: 14px; margin-top: 14px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 8px; }
.detail-meta svg { width: 15px; height: 15px; color: #7fd4ff; }

/* ---------- 分类筛选 ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.pill {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; transition: 0.3s;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active {
  background: linear-gradient(135deg, var(--primary), #0046d6); color: #fff;
  border-color: transparent; box-shadow: 0 8px 20px rgba(10, 92, 255, 0.25);
}

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.detail-media img.detail-cover { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 44px rgba(13, 45, 110, 0.12); }
.detail-side { display: flex; flex-direction: column; gap: 20px; }
.summary-card {
  background: linear-gradient(150deg, #eef4ff, #f8fbff); border: 1px solid #dfe9ff;
  border-radius: 14px; padding: 26px;
}
.summary-card h4 { color: #0a4fd8; margin-bottom: 10px; font-size: 16px; }
.summary-card p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.side-card h4 { color: var(--navy); margin-bottom: 14px; font-size: 16px; }
.meta-list span {
  display: flex; align-items: center; gap: 10px; color: var(--muted);
  font-size: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.meta-list span:last-child { border-bottom: 0; }
.meta-list svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.meta-list b { color: var(--navy); }
.detail-content { margin-top: 52px; line-height: 2; color: #33415e; font-size: 15.5px; }
.detail-content h1, .detail-content h2, .detail-content h3, .detail-content h4 { margin: 26px 0 12px; color: var(--navy); }
.detail-content p { margin-bottom: 14px; }
.detail-content img { border-radius: 12px; margin: 16px auto; }
.detail-content ul, .detail-content ol { padding-left: 22px; margin-bottom: 14px; }
.detail-source { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- 独立页面 ---------- */
.page-content {
  max-width: 920px; margin: 0 auto; line-height: 2; color: #33415e; font-size: 15.5px;
}
.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  margin: 26px 0 12px; color: var(--navy);
}
.page-content p { margin-bottom: 14px; }
.page-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px auto; }
.page-content a { color: var(--primary); }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 14px; }
.page-content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.page-content table td, .page-content table th { border: 1px solid #dbe6f7; padding: 8px 12px; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--navy); }
.about-content { color: #33415e; line-height: 2.05; margin-top: 22px; font-size: 15.5px; }
.about-content p { margin-bottom: 12px; }
.about-content img { border-radius: 12px; margin: 14px auto; }
.about-panel {
  position: relative; background: linear-gradient(150deg, #0039a6, #0a5cff 60%, #00b4ff);
  border-radius: 18px; padding: 40px 36px; color: #fff; overflow: hidden;
  box-shadow: 0 28px 56px rgba(10, 92, 255, 0.28);
}
.about-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12);
}
.about-panel img { max-height: 62px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.about-site { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.about-slogan { color: #d7e6ff; margin-bottom: 22px; }
.about-contact span {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  color: #d7e6ff; font-size: 14px; word-break: break-all;
}
.about-contact svg { width: 16px; height: 16px; color: #7fd4ff; flex: none; }
.about-panel > * { position: relative; z-index: 1; }
.about-panel-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 26px; margin: 24px 0 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.about-panel-stats div { display: flex; flex-direction: column; }
.about-panel-stats b { font-size: 24px; font-weight: 800; }
.about-panel-stats span { font-size: 12.5px; opacity: 0.85; margin-top: 2px; }
.about-panel-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.about-panel-feats .about-feat { justify-content: center; text-align: center; }
.about-panel::before {
  content: ""; position: absolute; left: -50px; bottom: -70px; width: 170px; height: 170px;
  border-radius: 50%; border: 24px solid rgba(255, 255, 255, 0.07);
}

/* ---------- 发展历程 ---------- */
.timeline { position: relative; max-width: 1020px; margin: 0 auto; padding: 14px 0 6px; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary) 8%, var(--primary) 92%, transparent);
  transform: translateX(-50%);
}
.timeline-item { position: relative; width: 50%; padding: 0 46px 38px 0; }
.timeline-item.right { margin-left: 50%; padding: 0 0 38px 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; top: 8px; right: -8px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 5px rgba(10, 92, 255, 0.14);
}
.timeline-item.right .timeline-dot { right: auto; left: -8px; }
.timeline-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 14px 30px rgba(13, 45, 110, 0.07); transition: 0.25s;
}
.timeline-card:hover { border-color: var(--primary); box-shadow: 0 18px 36px rgba(10, 92, 255, 0.12); transform: translateY(-2px); }
.timeline-year {
  display: inline-block; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  padding: 4px 13px; border-radius: 999px; margin-bottom: 10px;
}
.timeline-card p { color: #33415e; line-height: 1.9; font-size: 15px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.contact-card {
  text-align: center; padding: 42px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: 0.3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(10, 92, 255, 0.14); }
.contact-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #dce8ff); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.contact-card p a { color: var(--muted); font-size: 15px; }
.contact-card p a:hover { color: var(--primary); }
.contact-qr img { width: 110px; height: 110px; border-radius: 10px; object-fit: cover; margin: 0 auto; }
.contact-form-wrap {
  max-width: 780px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 46px;
  box-shadow: 0 20px 44px rgba(13, 45, 110, 0.08);
}
.contact-form-wrap h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.form-item input, .form-item textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; outline: none; transition: 0.3s; background: #fafcff; font-family: inherit; color: var(--ink);
}
.form-item input:focus, .form-item textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.12); }
.form-item.full { grid-column: 1 / -1; }
.form-item textarea { min-height: 130px; resize: vertical; }

/* ---------- 滚动显现 ---------- */
.reveal, .reveal-left { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left { transform: translateX(42px); }
.reveal.in, .reveal-left.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro-grid, .detail-grid, .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .page-hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; padding: 96px 30px 32px;
    gap: 4px; transition: right 0.35s ease; box-shadow: -20px 0 50px rgba(3, 15, 42, 0.18); z-index: 1200;
  }
  .site-nav.open { right: 0; }
  .nav-link { color: var(--ink) !important; padding: 13px 0; border-bottom: 1px solid #eef3fb; font-size: 16px; }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--primary) !important; }
  .nav-item .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0;
  }
  .dropdown-link { padding: 10px 0; color: var(--ink); }
  .grid, .grid.three, .grid.four { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 9px; }
  .timeline-item, .timeline-item.right { width: 100%; margin-left: 0; padding: 0 0 26px 32px; }
  .timeline-dot, .timeline-item.right .timeline-dot { left: 3px; right: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-hero { padding: 150px 0 56px; }
  .section { padding: 62px 0; }
  .footer-grid { gap: 36px; }
  .back-top { right: 18px; bottom: 22px; }
}
@media (max-width: 480px) {
  .grid, .grid.three, .grid.four, .case-grid { grid-template-columns: 1fr; }
  .hero { min-height: 580px; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px 22px; }
}
