/* ==========================================================================
   上海炫归网络科技有限公司 · 企业站样式
   约束: 3Mbps 上行 -> 不自托管中文字体, 不用图片, 全部内联 SVG
   ========================================================================== */

:root {
  --navy-900: #060E22;
  --navy-800: #0A1A3A;
  --navy-700: #123A6B;
  --navy-600: #1B4F8C;
  --cyan:     #22D3EE;
  --cyan-2:   #67E8F9;
  --indigo:   #6366F1;
  --ink:      #0F172A;
  --ink-2:    #334155;
  --muted:    #64748B;
  --line:     #E3E9F2;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F8FC;
  --radius:   14px;
  --radius-s: 9px;
  --maxw:     1160px;
  --shadow-1: 0 1px 2px rgba(15,23,42,.05), 0 4px 16px rgba(15,23,42,.05);
  --shadow-2: 0 8px 32px rgba(10,26,58,.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
          "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--cyan-dim, #0E7490); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1.1em; }

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

/* ---------- 顶部导航 ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,14,34,.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 66px; }

.brand { display: flex; align-items: center; gap: 11px; color: #fff; flex: 0 0 auto; }
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.02rem; font-weight: 700; letter-spacing: .02em; }
.brand-sub  { font-size: .62rem; letter-spacing: .22em; color: var(--cyan); text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: rgba(255,255,255,.76); font-size: .94rem; padding: 7px 14px;
  border-radius: var(--radius-s); transition: color .18s, background .18s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--cyan); background: rgba(34,211,238,.1); }

.nav-cta { margin-left: 12px; }

.burger {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 0; color: #fff;
}
.burger svg { width: 24px; height: 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: .95rem; font-weight: 600;
  font-family: inherit; cursor: pointer; border: 1px solid transparent;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-pri {
  background: linear-gradient(120deg, var(--cyan) 0%, #38BDF8 55%, var(--indigo) 130%);
  color: #04122B; box-shadow: 0 6px 22px rgba(34,211,238,.3);
}
.btn-pri:hover { color: #04122B; box-shadow: 0 10px 30px rgba(34,211,238,.44); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.26); color: #fff; background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.11); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .87rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(255,255,255,.82);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(34,211,238,.20), transparent 62%),
    radial-gradient(760px 520px at 8% 108%, rgba(99,102,241,.24), transparent 60%),
    linear-gradient(158deg, var(--navy-900) 0%, var(--navy-800) 46%, var(--navy-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 460px at 50% 12%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 50% 12%, #000 12%, transparent 78%);
}
.hero-in {
  position: relative; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  gap: 52px; align-items: center; padding: 88px 0 96px;
}
.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 11px; border-radius: 999px; font-size: .79rem; font-weight: 600;
  color: var(--cyan-2); background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.26); margin-bottom: 26px; letter-spacing: .02em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero h1 { color: #fff; margin-bottom: .42em; }
.hero h1 .grad {
  background: linear-gradient(96deg, var(--cyan-2), #7DD3FC 42%, #A5B4FC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead { font-size: 1.06rem; color: rgba(255,255,255,.7); max-width: 34em; margin-bottom: 34px; }
.hero-acts { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 470px; height: auto; }

/* hero 底部指标条 */
.hero-bar { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(4,10,26,.4); }
.hero-bar .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 22px 24px; }
.kpi { text-align: center; }
.kpi b { display: block; color: #fff; font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; }
.kpi span { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ---------- 通用区块 ---------- */
.sec { padding: 82px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%); color: rgba(255,255,255,.74); }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.sec-head { max-width: 46em; margin: 0 auto 50px; text-align: center; }
.sec-head .tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan-dim, #0E7490); margin-bottom: 14px;
}
.sec-dark .sec-head .tag { color: var(--cyan); }
.sec-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.sec-dark .sec-head p { color: rgba(255,255,255,.6); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #CBD9EC; }
.card h3 { margin-bottom: .5em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.72; }

.ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(34,211,238,.14), rgba(99,102,241,.14));
  border: 1px solid rgba(34,211,238,.22); margin-bottom: 18px; color: var(--navy-600);
}
.ico svg { width: 23px; height: 23px; }

.card-dark {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
}
.card-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(34,211,238,.34); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.62); }
.card-dark .ico { background: rgba(34,211,238,.12); border-color: rgba(34,211,238,.28); color: var(--cyan); }

/* 编号列表卡 */
.step { position: relative; padding-left: 56px; }
.step .num {
  position: absolute; left: 0; top: 26px; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .95rem;
  color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.26);
}

/* ---------- 流程图 ---------- */
.flow-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; box-shadow: var(--shadow-1); }
.flow-wrap svg { width: 100%; height: auto; display: block; }

/* ---------- 分栏内容 ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 54px; align-items: center; }
.split-tight { gap: 38px; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--ink-2); }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 17px; height: 17px;
  border-radius: 50%; background: rgba(34,211,238,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7490' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.tbl th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: .84rem; letter-spacing: .04em; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--muted); white-space: nowrap; }

/* ---------- CTA 条 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: 52px 46px; text-align: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600) 62%, #2563EB);
  color: #fff; box-shadow: 0 18px 46px rgba(10,26,58,.24);
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.32), transparent 68%);
}
.cta-band h2 { color: #fff; margin-bottom: .4em; position: relative; }
.cta-band p { color: rgba(255,255,255,.76); max-width: 40em; margin: 0 auto 30px; position: relative; }
.cta-band .hero-acts { justify-content: center; position: relative; }

/* ---------- 页头（内页） ---------- */
.phdr { padding: 74px 0 62px; text-align: center; }
.phdr h1 { color: #fff; margin-bottom: .3em; }
.phdr p { color: rgba(255,255,255,.66); max-width: 40em; margin: 0 auto; }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.44); margin-bottom: 20px; }
.crumbs a { color: rgba(255,255,255,.6); }
.crumbs a:hover { color: var(--cyan); }

/* ---------- 联系表单 ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-family: inherit; font-size: .94rem; color: var(--ink); background: var(--bg);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--cyan-dim, #0E7490); box-shadow: 0 0 0 3px rgba(34,211,238,.16);
}
.form-note { font-size: .83rem; color: var(--muted); margin: 0; }

.contact-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico { width: 40px; height: 40px; margin: 0; flex: 0 0 auto; border-radius: 11px; }
.contact-item .ico svg { width: 19px; height: 19px; }
.contact-item b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: .92rem; color: var(--muted); }

.placeholder-flag {
  display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: .78rem;
  background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; font-family: var(--mono);
}

/* ---------- 页脚 ---------- */
.ftr { background: var(--navy-900); color: rgba(255,255,255,.56); padding: 60px 0 0; font-size: .9rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.ftr h4 { color: #fff; font-size: .93rem; margin-bottom: 16px; letter-spacing: .02em; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 10px; }
.ftr a { color: rgba(255,255,255,.56); }
.ftr a:hover { color: var(--cyan); }
.ftr .brand { margin-bottom: 16px; }
.ftr-about { max-width: 26em; line-height: 1.8; }
.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center;
  font-size: .82rem; color: rgba(255,255,255,.42); text-align: center;
}
.ftr-bot a { color: rgba(255,255,255,.42); }
.ftr-bot a:hover { color: var(--cyan); }
.beian { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 70px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 380px; }
  .hero-lead { margin-inline: auto; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .sec { padding: 58px 0; }
  .wrap { padding: 0 18px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 18px 22px; margin: 0;
    background: rgba(6,14,34,.98); border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero-bar .wrap { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; border-radius: 16px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; }
  .phdr { padding: 54px 0 44px; }
  .tbl { display: block; overflow-x: auto; }
}
