/* ============================================================
   苏州如梦令科技有限公司 · 官网全站样式
   设计基调：深空蓝 + 科技蓝，卡片式布局，圆角光影
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg-deep: #050b1a;
  --bg-panel: #0a1428;
  --bg-elevated: #0e1b33;
  --brand-blue: #2e6bff;
  --brand-blue-deep: #1b4ed8;
  --brand-cyan: #22d3ee;
  --text-main: #e8effa;
  --text-sub: #8fa3bf;
  --text-dim: #63789a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius-card: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础与页面背景 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

/* 使用 html body 提高优先级，避免与 Tailwind preflight 冲突 */
html body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全站光晕底色 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(46, 107, 255, 0.22), transparent 60%),
    radial-gradient(760px 520px at 92% 2%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(900px 700px at 50% 108%, rgba(46, 107, 255, 0.12), transparent 66%),
    var(--bg-deep);
}

/* 全站网格纹理（自顶部向下渐隐） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 68%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 68%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(46, 107, 255, 0.4);
  color: #fff;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050b1a;
}
::-webkit-scrollbar-thumb {
  background: #1d3157;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2e6bff;
}

/* ---------- 3. 布局工具 ---------- */
.container-page {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* ---------- 4. 文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fa0d6;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.section-title {
  margin-top: 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
}

.section-lead {
  margin-top: 18px;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-sub);
}

.text-gradient {
  background: linear-gradient(110deg, #7fb0ff 0%, #4d8dff 32%, #22d3ee 70%, #9be9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--text-sub);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn svg {
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3c7bff 0%, #1f56e0 100%);
  box-shadow: 0 12px 30px -12px rgba(46, 107, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(46, 107, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 141, 255, 0.65);
  background: rgba(46, 107, 255, 0.12);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #7fb0ff;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  color: var(--brand-cyan);
  gap: 12px;
}

/* ---------- 6. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 11, 26, 0.6);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 11, 26, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(140deg, #3c7bff, #12307a);
  box-shadow: 0 8px 22px -10px rgba(46, 107, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #fff;
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #a9c1e6;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}

.header-phone:hover {
  color: var(--brand-cyan);
}

/* 汉堡按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.6px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 24px 40px;
  background: rgba(5, 11, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-sub);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: #fff;
  padding-left: 10px;
}

.mobile-nav a span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.mobile-drawer .mobile-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer .mobile-phone {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- 7. 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(77, 141, 255, 0.28);
  border-radius: 999px;
  background: rgba(46, 107, 255, 0.09);
  font-size: 12.5px;
  color: #a8c6f5;
  letter-spacing: 0.04em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-sub);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat b {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-stat b em {
  font-style: normal;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--brand-cyan);
  margin-left: 2px;
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* 首屏右侧视觉面板 */
.hero-panel {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(46, 107, 255, 0.24), rgba(5, 11, 26, 0.92) 62%),
    #071226;
  box-shadow: 0 40px 90px -50px rgba(46, 107, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 76%);
}

/* 扫描光束 */
.hero-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.1), transparent);
  animation: scan 7s linear infinite;
}

.hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-ring--1 {
  width: 74%;
  height: 74%;
  border: 1px solid rgba(46, 107, 255, 0.3);
  animation: pulse-ring 5s ease-in-out infinite;
}

.hero-ring--2 {
  width: 54%;
  height: 54%;
  border: 1px dashed rgba(34, 211, 238, 0.34);
  animation: spin 28s linear infinite;
}

.hero-ring--3 {
  width: 34%;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.5), rgba(60, 123, 255, 0.55) 42%, rgba(9, 19, 40, 0.96) 78%);
  box-shadow: 0 0 70px rgba(46, 107, 255, 0.55), inset 0 0 26px rgba(255, 255, 255, 0.22);
  animation: breathe 6s ease-in-out infinite;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 20, 40, 0.86);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}

.floating-chip b {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

.floating-chip b i {
  font-style: normal;
  font-size: 11px;
  color: var(--brand-cyan);
  margin-left: 2px;
}

.floating-chip--a {
  top: 12%;
  left: 6%;
}

.floating-chip--b {
  top: 22%;
  right: 4%;
  animation-delay: -2.4s;
}

.floating-chip--c {
  bottom: 16%;
  left: 10%;
  animation-delay: -4.2s;
}

.floating-chip--d {
  bottom: 9%;
  right: 8%;
  animation-delay: -1.2s;
}

/* ---------- 8. 卡片与图标 ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 141, 255, 0.42);
  box-shadow: 0 30px 70px -44px rgba(46, 107, 255, 0.9);
}

.card-pad {
  padding: 32px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(77, 141, 255, 0.28);
  border-radius: 14px;
  color: #9cc2ff;
  background: linear-gradient(150deg, rgba(46, 107, 255, 0.24), rgba(46, 107, 255, 0.04));
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.card:hover .icon-box {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
}

.card-index {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.14);
}

.card-title {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 700;
}

.card-desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: #9db4d6;
  background: rgba(255, 255, 255, 0.03);
}

.card-link {
  margin-top: 26px;
}

/* ---------- 9. 配图 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  background: #081226;
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.95);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 11, 26, 0) 50%, rgba(5, 11, 26, 0.5) 100%),
    radial-gradient(120% 90% at 85% 0%, rgba(46, 107, 255, 0.16), transparent 62%);
}

.media-frame:hover img {
  transform: scale(1.04);
}

/* ---------- 10. 服务流程 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
}

.process-item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.process-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
}

.process-title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
}

.process-desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* ---------- 11. 优势大卡 ---------- */
.highlight-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(77, 141, 255, 0.26);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(46, 107, 255, 0.24), transparent 58%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.highlight-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
  pointer-events: none;
}

/* ---------- 12. 数据指标条 ---------- */
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.metric-item {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.metric-item:last-child {
  border-right: 0;
}

.metric-item b {
  display: block;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.metric-item b em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--brand-cyan);
  margin-left: 3px;
}

.metric-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- 13. 客户 Logo 墙 ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--line);
}

.logo-item {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 108px;
  padding: 20px;
  background: rgba(7, 16, 34, 0.92);
  transition: background 0.3s var(--ease);
}

.logo-item:hover {
  background: rgba(16, 32, 62, 0.95);
}

.logo-item b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b9cde9;
}

.logo-item span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* ---------- 14. CTA 横幅 ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(77, 141, 255, 0.32);
  background:
    radial-gradient(90% 160% at 12% 0%, rgba(46, 107, 255, 0.42), transparent 62%),
    radial-gradient(70% 140% at 96% 100%, rgba(34, 211, 238, 0.24), transparent 60%),
    linear-gradient(140deg, #0a1730, #050d1e);
  box-shadow: 0 60px 120px -70px rgba(46, 107, 255, 0.9);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 72%);
  opacity: 0.6;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-title {
  font-size: clamp(26px, 3.2vw, 40px);
}

.cta-sub {
  margin-top: 14px;
  max-width: 520px;
  font-size: 15px;
  color: #a8bdd9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(5, 11, 26, 0.4), rgba(4, 9, 20, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-sub);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-col ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--brand-cyan);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  line-height: 1.7;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: #5f7fae;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-bottom a {
  color: inherit;
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--brand-cyan);
}

/* ---------- 16. 二级页页头 ---------- */
.page-hero {
  position: relative;
  padding: 78px 0 56px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  width: 720px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 107, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: var(--brand-cyan);
}

.page-title {
  margin-top: 22px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.page-sub {
  margin-top: 20px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* ---------- 17. 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.about-body p + p {
  margin-top: 18px;
}

.about-body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-sub);
}

.about-body .lead {
  font-size: 16.5px;
  color: #c3d5ee;
}

.about-media {
  aspect-ratio: 4 / 3.4;
}

/* 愿景卡 */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vision-card {
  padding: 32px;
}

.vision-card h4 {
  margin-top: 20px;
  font-size: 17px;
}

.vision-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* 时间轴 */
.timeline {
  position: relative;
  margin-top: 56px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(46, 107, 255, 0.8), rgba(34, 211, 238, 0.35), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(46, 107, 255, 0.14);
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-cyan);
}

.timeline-title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

.timeline-desc {
  margin-top: 8px;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* ---------- 18. 服务详情（左文右图交替） ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-of-type {
  border-bottom: 0;
}

.service-row:nth-child(even) .service-media {
  order: -1;
}

.service-media {
  aspect-ratio: 4 / 3;
}

.service-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-cyan);
}

.service-name {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
}

.service-intro {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 26px;
}

.capability-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #b9cde9;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  transform: rotate(45deg);
}

.service-scene {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 2px solid rgba(46, 107, 255, 0.6);
  border-radius: 0 12px 12px 0;
  background: rgba(46, 107, 255, 0.07);
  font-size: 13.5px;
  line-height: 1.8;
  color: #a8bdd9;
}

.service-scene b {
  color: #d8e6fa;
  font-weight: 600;
}

/* ---------- 19. 解决方案 ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.solution-head {
  padding: 30px 30px 0;
}

.solution-body {
  flex: 1;
  padding: 0 30px 30px;
}

.solution-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #9cc2ff;
  background: rgba(46, 107, 255, 0.14);
  border: 1px solid rgba(46, 107, 255, 0.24);
}

.solution-title {
  margin-top: 16px;
  font-size: 21px;
}

.solution-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.solution-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.solution-block h5 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin: 0 0 10px;
}

.solution-block p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #b3c6e0;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.value-chips span {
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  color: #9fe9f7;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* ---------- 20. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 40px;
}

.form-card {
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 500;
  color: #a9c1e6;
  letter-spacing: 0.02em;
}

.field label i {
  font-style: normal;
  color: #ff7a7a;
  margin-left: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.035);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c7395;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(77, 141, 255, 0.7);
  background: rgba(46, 107, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(46, 107, 255, 0.14);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238fa3bf' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field select option {
  color: var(--text-main);
  background: #0a1428;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(255, 107, 107, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.field-error {
  display: none;
  font-size: 12px;
  color: #ff8b8b;
}

.field.has-error .field-error {
  display: block;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.checkbox-field input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.checkbox-field a {
  color: #7fb0ff;
  text-decoration: underline;
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* 提交成功态 */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 24px;
  text-align: center;
}

.form-success.is-visible {
  display: flex;
}

.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #8ef0c4;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.form-success h4 {
  font-size: 20px;
}

.form-success p {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 380px;
}

/* 联系信息卡 */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  padding: 26px 28px;
}

.info-row {
  display: flex;
  gap: 16px;
}

.info-row + .info-row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.info-row .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}

.info-row h5 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.info-row p,
.info-row a {
  margin-top: 5px;
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #d6e4f8;
  line-height: 1.6;
}

.info-row a:hover {
  color: var(--brand-cyan);
}

.info-row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

/* 地图卡 */
.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 60% 45%, rgba(46, 107, 255, 0.18), transparent 55%),
    linear-gradient(150deg, #081226, #060d1c);
}

.map-canvas {
  position: relative;
  height: 280px;
  background-image:
    linear-gradient(rgba(120, 160, 220, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 示意性道路线条 */
.map-canvas::before,
.map-canvas::after {
  content: "";
  position: absolute;
  background: rgba(120, 160, 220, 0.18);
}

.map-canvas::before {
  left: 0;
  right: 0;
  top: 42%;
  height: 12px;
}

.map-canvas::after {
  top: 0;
  bottom: 0;
  left: 38%;
  width: 10px;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin__dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(46, 107, 255, 0.25);
}

.map-pin__dot::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(46, 107, 255, 0.6);
  animation: map-pulse 2.8s ease-out infinite;
}

.map-label {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 11, 26, 0.92);
  font-size: 11.5px;
  color: #cfe0f6;
  white-space: nowrap;
}

.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.map-foot p {
  font-size: 13px;
  color: var(--text-sub);
}

/* 常见问题 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq-item[open] {
  border-color: rgba(77, 141, 255, 0.4);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #d6e4f8;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-cyan);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* ---------- 21. 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

/* ---------- 22. 动效关键帧 ---------- */
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.55;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.05);
  }
}

@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 70px rgba(46, 107, 255, 0.55), inset 0 0 26px rgba(255, 255, 255, 0.22);
  }
  50% {
    box-shadow: 0 0 96px rgba(46, 107, 255, 0.8), inset 0 0 32px rgba(255, 255, 255, 0.3);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scan {
  0% {
    top: -40%;
  }
  100% {
    top: 120%;
  }
}

@keyframes map-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* 交互修正：滚动渐入结束后，卡片仍保留 hover 上浮效果 */
.card.reveal.is-visible:hover {
  transform: translateY(-5px);
}

/* 表单卡片不参与 hover 上浮，避免输入时页面跳动 */
.form-card:hover,
.map-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

/* ---------- 23. 响应式：导航折叠 ---------- */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- 24. 响应式：平板 ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-panel {
    max-width: 460px;
    margin: 0 auto;
  }

  .hero-sub {
    max-width: 620px;
  }

  .about-media {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- 25. 响应式：手机 ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .container-page {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 132px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    margin-top: 40px;
  }

  .hero-panel {
    max-width: 100%;
  }

  .floating-chip {
    padding: 9px 12px;
    font-size: 10.5px;
  }

  .floating-chip b {
    font-size: 14px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 22px;
  }

  .metric-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .metric-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    padding: 40px 26px;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    padding-bottom: 40px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }

  .service-row:nth-child(even) .service-media {
    order: 0;
  }

  .service-media {
    aspect-ratio: 16 / 10;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 26px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .highlight-card {
    padding: 28px 24px;
  }

  .card-pad {
    padding: 26px 24px;
  }

  .header-phone {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .brand-text i {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 34px;
  }
}

/* ---------- 25. 可访问性：降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
