/* ============================================================
   焦作海悦网络科技有限公司官网 - 样式表
   ============================================================ */
:root {
  --bg: #051026;
  --bg-2: #081936;
  --bg-3: #0b2145;
  --panel: rgba(13, 32, 66, 0.72);
  --panel-solid: #0d2042;
  --primary: #2f7dfb;
  --primary-light: #5b9bff;
  --cyan: #2ee6d6;
  --text: #e9f1ff;
  --muted: #93a8ca;
  --border: rgba(120, 165, 235, 0.16);
  --border-hover: rgba(90, 155, 255, 0.5);
  --shadow: 0 20px 60px rgba(0, 8, 30, 0.35);
  --radius: 16px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
::selection { background: rgba(47, 125, 251, 0.4); color: #fff; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #2f7dfb, #1e5fd8);
  color: #fff; box-shadow: 0 8px 24px rgba(47, 125, 251, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(47, 125, 251, 0.45); }
.btn-outline { border-color: rgba(140, 180, 245, 0.38); color: var(--text); background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: var(--primary-light); background: rgba(47,125,251,.1); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary-light);
  font-size: 14px; font-weight: 600; transition: gap .2s ease, color .2s ease;
}
.text-link:hover { gap: 14px; color: var(--cyan); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: 76px; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(5, 16, 38, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px rgba(0,0,0,.15);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2f7dfb, #1c56cc); color: #fff;
  box-shadow: 0 6px 18px rgba(47,125,251,.35);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: 1px; }
.brand-text small { font-size: 9px; letter-spacing: 2px; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link { position: relative; font-size: 14px; color: #c4d4ee; padding: 8px 0; transition: color .2s ease; }
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) scaleX(0);
  width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.header-cta { padding: 9px 18px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.04); cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s ease; }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; background: linear-gradient(180deg, #051026 0%, #071832 60%, #081d3e 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow-1 { width: 520px; height: 520px; background: rgba(47,125,251,.25); top: -180px; right: 5%; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(46,230,214,.12); bottom: -180px; left: -80px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,170,240,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(120,170,240,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px;
  border: 1px solid rgba(46,230,214,.3); border-radius: 30px; background: rgba(46,230,214,.06);
  color: #9df3e8; font-size: 13px; letter-spacing: .5px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(46,230,214,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46,230,214,0); } }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.25; margin: 22px 0 20px; font-weight: 800; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(100deg, #6aa8ff, #2ee6d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.9; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 30px; font-weight: 800; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat strong em { font-style: normal; }
.hero-stat > span { font-size: 12px; color: var(--muted); }

/* 代码窗口 */
.hero-visual { position: relative; }
.code-window {
  position: relative; border: 1px solid rgba(110,160,235,.25); border-radius: 14px; overflow: hidden;
  background: rgba(8, 24, 52, .88); box-shadow: var(--shadow), 0 0 80px rgba(47,125,251,.12);
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.code-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); }
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.code-dots i:nth-child(2) { background: #ffd166; }
.code-dots i:nth-child(3) { background: #2ee6a8; }
.code-title { font-size: 11px; color: #7f9bc5; font-family: Consolas, Monaco, monospace; }
.code-body { padding: 22px 20px 26px; font-family: Consolas, Monaco, monospace; font-size: 12.5px; line-height: 2.05; color: #c9d9f2; overflow-x: auto; white-space: nowrap; }
.code-body .ln { display: inline-block; width: 30px; color: #4d6a96; user-select: none; }
.c-purple { color: #c792ea; } .c-blue { color: #82aaff; } .c-green { color: #c3e88d; } .c-yellow { color: #ffcb6b; } .c-gray { color: #6b83a8; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1px solid var(--border-hover); border-radius: 12px; background: rgba(10, 28, 58, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-card-1 { top: -26px; right: -22px; }
.float-card-2 { bottom: -30px; left: -28px; animation-delay: -2.5s; }
.float-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(46,230,214,.15); color: var(--cyan); font-size: 16px; }
.float-icon.cyan { background: rgba(47,125,251,.18); color: #7db0ff; }
.float-card strong { display: block; font-size: 13px; }
.float-card small { display: block; font-size: 11px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1px solid rgba(160,190,235,.4); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-hint span { width: 3px; height: 7px; background: var(--cyan); border-radius: 2px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 110px 0; position: relative; }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-heading.left { text-align: left; margin: 0 0 22px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2.5px; color: var(--cyan); font-weight: 700; margin-bottom: 14px; text-transform: uppercase; }
.section-heading h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 16px; line-height: 1.35; font-weight: 800; letter-spacing: -.5px; }
.section-heading p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 关于我们 ---------- */
.about { background: linear-gradient(180deg, #081d3e, #071731); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-visual { display: grid; justify-items: center; gap: 30px; }
.about-visual-main { position: relative; width: min(100%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.about-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(90,155,255,.25); }
.ring-1 { inset: 0; border-style: dashed; animation: spin 40s linear infinite; }
.ring-2 { inset: 42px; border-color: rgba(46,230,214,.25); animation: spin 25s linear reverse infinite; }
.ring-1::before, .ring-2::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-center {
  width: 60%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, rgba(47,125,251,.35), rgba(9,26,56,.95) 70%);
  border: 1px solid rgba(110,165,240,.35); box-shadow: inset 0 0 50px rgba(47,125,251,.15), 0 20px 60px rgba(0,0,0,.25);
}
.about-center strong { font-size: 58px; line-height: 1; font-weight: 800; background: linear-gradient(120deg,#fff,#8fbaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-center sup { font-size: 20px; }
.about-center span { color: var(--muted); font-size: 14px; letter-spacing: 3px; margin-top: 8px; }
.about-badge { padding: 9px 18px; border: 1px solid var(--border); border-radius: 30px; background: rgba(255,255,255,.03); font-size: 13px; color: #bcd0ee; }
.about-badge span { color: var(--cyan); margin-right: 6px; }
.about-text { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; margin: 30px 0 28px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(47,125,251,.14); color: #79b0ff; font-size: 17px; }
.feature-item strong { display: block; font-size: 15px; }
.feature-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ---------- 服务范围 ---------- */
.services { background: #06132b; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; padding: 34px 30px 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel); overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-8px); border-color: var(--border-hover); background: rgba(16, 40, 82, .85); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, rgba(47,125,251,.25), rgba(46,230,214,.12)); color: #8fc0ff; margin-bottom: 20px; border: 1px solid rgba(90,155,255,.2); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin: 0 0 10px; font-size: 19px; }
.service-card p { color: var(--muted); font-size: 14px; margin: 0 0 20px; min-height: 66px; }
.service-more { font-size: 13px; color: #7db0ff; font-weight: 600; }
.service-more b { display: inline-block; transition: transform .2s ease; }
.service-card:hover .service-more b { transform: translateX(5px); }

/* ---------- 技术实力 ---------- */
.tech { background: linear-gradient(180deg, #071731, #06132b); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-card { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: border-color .3s ease, transform .3s ease; }
.tech-card:hover { border-color: var(--border-hover); transform: translateY(-5px); }
.tech-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tech-num { font-size: 12px; font-family: Consolas, monospace; color: var(--cyan); padding: 3px 8px; border: 1px solid rgba(46,230,214,.3); border-radius: 5px; }
.tech-card h3 { margin: 0; font-size: 18px; }
.tech-card > p { color: var(--muted); font-size: 13px; margin: 0 0 18px; min-height: 42px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span { font-size: 12px; padding: 5px 10px; border-radius: 6px; background: rgba(47,125,251,.1); border: 1px solid rgba(90,155,255,.14); color: #b8d1f5; }
.process-wrap { margin-top: 64px; padding: 40px 36px 34px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, rgba(11,33,69,.9), rgba(8,24,52,.7)); }
.process-title { margin: 0 0 36px; font-size: 20px; text-align: center; }
.process-title span { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 1px; margin-left: 8px; }
.process-steps { display: flex; justify-content: space-between; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 17px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, rgba(46,230,214,.5), rgba(47,125,251,.5)); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.step-dot { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #0e2a55; border: 1px solid rgba(90,155,255,.5); color: #a8d0ff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.step strong { font-size: 14px; }
.step small { font-size: 12px; color: var(--muted); }

/* ---------- 案例展示 ---------- */
.cases { background: #06132b; }
.case-filters { display: flex; justify-content: center; gap: 10px; margin: -20px 0 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: 30px; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; transition: .25s ease; }
.filter-btn:hover { color: #fff; border-color: var(--border-hover); }
.filter-btn.active { background: linear-gradient(135deg, #2f7dfb, #1e5fd8); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(47,125,251,.25); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.case-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.case-card.hidden { display: none; }
.case-thumb { position: relative; height: 210px; overflow: hidden; display: grid; place-items: center; }
.thumb-1 { background: linear-gradient(135deg, #123c7d, #0b2350); }
.thumb-2 { background: linear-gradient(135deg, #0e5259, #0d2b4c); }
.thumb-3 { background: linear-gradient(135deg, #3c2c7a, #12225a); }
.thumb-4 { background: linear-gradient(135deg, #12476e, #0a2748); }
.thumb-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.thumb-label { font-family: Consolas, monospace; font-size: 28px; letter-spacing: 4px; font-weight: 700; color: rgba(255,255,255,.16); position: relative; }
.case-tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; padding: 4px 12px; border-radius: 20px; background: rgba(5,16,38,.6); border: 1px solid rgba(160,200,255,.3); color: #bcd8ff; }
.case-body { padding: 24px 26px 26px; }
.case-body h3 { margin: 0 0 8px; font-size: 19px; }
.case-body p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.case-meta span { font-size: 11.5px; color: #8fbaf5; padding: 3px 9px; border: 1px solid rgba(90,155,255,.2); border-radius: 4px; }

/* ---------- 为什么选择我们 ---------- */
.why { background: linear-gradient(180deg, #071731, #081c3a); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.why-left > p { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { display: flex; gap: 14px; padding: 24px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); transition: border-color .3s ease; }
.why-item:hover { border-color: var(--border-hover); }
.why-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(46,230,214,.1); color: var(--cyan); font-size: 19px; }
.why-item strong { font-size: 16px; }
.why-item p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* ---------- 新闻动态 ---------- */
.news { background: #06132b; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; gap: 18px; padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .3s ease, border-color .3s ease; }
.news-card:hover { transform: translateY(-5px); border-color: var(--border-hover); }
.news-date { flex: 0 0 auto; text-align: center; padding-right: 18px; border-right: 1px solid var(--border); }
.news-date strong { display: block; font-size: 20px; color: #9dc2ff; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-cat { display: inline-block; font-size: 11px; color: var(--cyan); padding: 2px 8px; border: 1px solid rgba(46,230,214,.3); border-radius: 4px; margin-bottom: 8px; }
.news-content h3 { font-size: 15.5px; line-height: 1.5; margin: 0 0 8px; }
.news-content p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(180deg, #081c3a, #051026); }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 56px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(135deg, rgba(12,34,72,.95), rgba(7,21,47,.95)); box-shadow: var(--shadow); }
.contact-info .section-heading p { margin-top: 14px; }
.contact-list { display: grid; gap: 16px; margin-top: 34px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,125,251,.14); color: #8fbcff; font-size: 18px; }
.contact-item small { display: block; color: var(--muted); font-size: 12px; }
.contact-item strong { display: block; font-size: 14.5px; font-weight: 600; }
.contact-form { padding: 30px; border-radius: 16px; background: rgba(5,16,38,.6); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 7px; color: #c6d7f0; }
.form-group label b { color: #ff8080; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(120,165,235,.2);
  background: rgba(255,255,255,.04); color: var(--text); font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #6178a0; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393a8ca' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group select option { background: #0d2042; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,125,251,.14); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group.error input, .form-group.error textarea { border-color: #ff6b6b; }
.form-note { font-size: 11.5px; color: #6f86ab; margin: 12px 0 0; }
.form-result { margin-top: 12px; font-size: 13px; min-height: 20px; color: var(--cyan); }

/* ---------- 页脚 ---------- */
.site-footer { background: #030b1c; border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 50px; padding-bottom: 50px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.footer-links h4 { font-size: 15px; margin: 4px 0 18px; }
.footer-links a, .footer-links p { display: block; color: var(--muted); font-size: 13px; margin: 0 0 10px; transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: #627aa3; font-size: 12px; }

/* ---------- 返回顶部 ---------- */
.back-to-top { position: fixed; right: 24px; bottom: 28px; z-index: 90; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-hover); background: rgba(10,28,58,.9); color: #bcd8ff; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s ease; backdrop-filter: blur(8px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 30px; }
  .about-grid, .why-grid { gap: 40px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,16,38,.98); backdrop-filter: blur(16px); padding: 10px 24px 20px;
    border-bottom: 1px solid var(--border); transform: translateY(-150%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
    max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid rgba(120,165,235,.08); }
  .nav-link::after { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-inner, .about-grid, .why-grid, .contact-box { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .about-visual-main { max-width: 300px; }
  .contact-box { padding: 34px; gap: 34px; }
  .process-steps { flex-wrap: wrap; gap: 24px 0; }
  .process-steps::before { display: none; }
  .step { flex: 0 0 20%; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 76px 0; }
  .hero { padding: 110px 0 80px; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { gap: 20px; margin-top: 36px; }
  .hero-stat strong { font-size: 24px; }
  .services-grid, .tech-grid, .cases-grid, .about-features, .why-right, .form-row { grid-template-columns: 1fr; }
  .service-card p, .tech-card > p { min-height: 0; }
  .section-heading { margin-bottom: 40px; }
  .contact-box { padding: 24px; }
  .contact-form { padding: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .process-wrap { padding: 28px 18px; }
  .step { flex: 0 0 33.33%; }
  .scroll-hint { display: none; }
  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
