@charset "utf-8";
/* ==========================================================================
   企联聚合支付 · 进件对接  首页样式（深色科技风）
   纯手写，无第三方依赖；动画只使用 transform / opacity 以保持流畅
   兼容 PC / Android / iOS：触摸延迟、安全区、窄屏导航均已适配
   ========================================================================== */

:root {
	--bg: #05080f;
	--bg-2: #0a1122;
	--panel: rgba(255, 255, 255, 0.045);
	--panel-2: rgba(255, 255, 255, 0.075);
	--line: rgba(255, 255, 255, 0.10);
	--line-2: rgba(255, 255, 255, 0.06);
	--txt: #eaf0fd;
	--txt-2: #a8b7d5;
	--txt-3: #74849f;
	--brand: #4d7cfe;
	--brand-2: #22d3ee;
	--brand-3: #8b5cf6;
	--ok: #34d399;
	--radius: 18px;
	--radius-sm: 12px;
	--maxw: 1180px;
	--head: 70px;
	--ease: cubic-bezier(.22, .68, 0, 1);
	--shadow-lg: 0 30px 70px -34px rgba(0, 0, 0, .95);
}

* { -webkit-box-sizing: border-box; box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head) + 18px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--txt);
	font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 15px;
	line-height: 1.75;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

img { border: 0; max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
code, pre { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace; }

/* 触摸体验：去掉 iOS 双击缩放的 300ms 延迟与灰色高亮块 */
a, button, .faq-q, .code-tab, .copy-btn, .nav-toggle, .to-top {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

/* 全局背景：渐变 + 网格 + 光晕 ------------------------------------------- */
.bg-layer {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.bg-layer .bg-grid {
	position: absolute;
	inset: -2px;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}
.bg-layer .bg-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .5;
	will-change: transform;
}
.bg-layer .orb-1 { width: 620px; height: 620px; top: -240px; left: -160px; background: radial-gradient(circle at 30% 30%, #2b52d9, transparent 68%); animation: orbFloat 22s var(--ease) infinite alternate; }
.bg-layer .orb-2 { width: 540px; height: 540px; top: -120px; right: -180px; background: radial-gradient(circle at 60% 40%, #0e7490, transparent 68%); animation: orbFloat 26s var(--ease) infinite alternate-reverse; }
.bg-layer .orb-3 { width: 700px; height: 700px; bottom: -380px; left: 40%; background: radial-gradient(circle at 50% 50%, #4c1d95, transparent 70%); opacity: .38; animation: orbFloat 30s var(--ease) infinite alternate; }
@keyframes orbFloat {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(60px, 40px, 0) scale(1.14); }
}

.site { position: relative; z-index: 1; }

/* 顶部滚动进度 ----------------------------------------------------------- */
.progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--brand), var(--brand-2) 55%, var(--brand-3));
	z-index: 90;
	will-change: transform;
}

/* 导航 ------------------------------------------------------------------- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: calc(var(--head) + env(safe-area-inset-top, 0px));
	padding-top: env(safe-area-inset-top, 0px);
	z-index: 80;
	transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
	border-bottom: 1px solid transparent;
}
.nav.scrolled {
	background: rgba(6, 10, 20, .72);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	border-bottom-color: var(--line-2);
}
.nav-inner {
	max-width: var(--maxw);
	height: var(--head);
	margin: 0 auto;
	padding: 0 22px;
	display: flex;
	align-items: center;
	gap: 18px;
}

/* 品牌：纯 CSS 动态字标（企联） */
.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand-mark {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 13px;
	border: 1px solid rgba(140, 180, 255, .3);
	border-radius: 13px;
	overflow: hidden;
	background: linear-gradient(150deg, rgba(77, 124, 254, .4), rgba(34, 211, 238, .16) 52%, rgba(139, 92, 246, .36));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -18px rgba(77, 124, 254, .95);
	transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.brand:hover .brand-mark {
	border-color: rgba(150, 210, 255, .55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 18px 40px -18px rgba(34, 211, 238, .85);
}
.brand-mark i {
	position: absolute;
	top: -60%;
	left: -45%;
	width: 32%;
	height: 220%;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
	transform: translate3d(0, 0, 0) rotate(18deg);
	animation: markSheen 4.2s var(--ease) infinite;
}
.brand-mark i + i {
	left: -30%;
	width: 22%;
	background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, .65), rgba(34, 211, 238, 0));
	animation: markSheen2 6.2s var(--ease) infinite;
}
.brand-mark b {
	position: relative;
	z-index: 1;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 3px;
	text-indent: 3px;
	background: linear-gradient(100deg, #ffffff 0%, #7fd7ff 26%, #ffffff 50%, #b9a4ff 74%, #ffffff 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: markFlow 5.6s linear infinite;
}
@keyframes markSheen {
	0% { transform: translate3d(0, 0, 0) rotate(18deg); }
	100% { transform: translate3d(520%, 0, 0) rotate(18deg); }
}
@keyframes markSheen2 {
	0% { transform: translate3d(0, 0, 0) rotate(-14deg); }
	100% { transform: translate3d(620%, 0, 0) rotate(-14deg); }
}
@keyframes markFlow {
	0% { background-position: 0% 50%; }
	100% { background-position: 220% 50%; }
}
.brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-txt b { font-size: 16px; letter-spacing: .3px; white-space: nowrap; }
.brand-txt span { font-size: 11px; color: var(--txt-3); letter-spacing: 2.2px; text-transform: uppercase; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu > a {
	position: relative;
	padding: 9px 14px;
	border-radius: 10px;
	color: var(--txt-2);
	font-size: 14.5px;
	transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-menu > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .3s var(--ease);
}
.nav-menu > a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-menu > a:hover::after { transform: scaleX(1); }
.nav-act { display: flex; align-items: center; gap: 10px; margin-left: 8px; flex: 0 0 auto; }
.nav-act .btn { flex: 0 0 auto; }

.nav-toggle {
	display: none;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--panel);
	position: relative;
}
.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--txt);
	transform: translateX(-50%);
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle i { top: 50%; margin-top: -1px; }
.nav-toggle i::before { content: ""; left: 0; top: -6px; transform: none; }
.nav-toggle i::after { content: ""; left: 0; top: 6px; transform: none; }
.nav.open .nav-toggle i { background: transparent; }
.nav.open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle i::after { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
	position: fixed;
	top: calc(var(--head) + env(safe-area-inset-top, 0px));
	left: 0;
	right: 0;
	z-index: 79;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--head) - env(safe-area-inset-top, 0px));
	max-height: calc(100dvh - var(--head) - env(safe-area-inset-top, 0px));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 12px 22px calc(24px + env(safe-area-inset-bottom, 0px));
	background: rgba(6, 10, 20, .97);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line-2);
	transform: translateY(-12px);
	opacity: 0;
	visibility: hidden;
	transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s var(--ease);
}
.nav-drawer.show { transform: translateY(0); opacity: 1; visibility: visible; }
@media (min-width: 1081px) { .nav-drawer { display: none; } }
.nav-drawer a {
	display: block;
	padding: 14px 4px;
	color: var(--txt-2);
	font-size: 15.5px;
	border-bottom: 1px solid var(--line-2);
}
.nav-drawer a:last-child { border-bottom: 0; }
.nav-drawer a:active { color: #fff; }
.nav-drawer a.is-cta { color: var(--brand-2); font-weight: 700; }

/* 按钮 ------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: .2px;
	white-space: nowrap;
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
	color: #fff;
	background: linear-gradient(120deg, var(--brand), var(--brand-3) 52%, var(--brand-2));
	box-shadow: 0 16px 34px -16px rgba(77, 124, 254, .95);
}
.btn-primary::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-18deg);
	transition: left .6s var(--ease);
}
.btn-primary:hover::before { left: 120%; }
.btn-ghost {
	color: var(--txt);
	border: 1px solid var(--line);
	background: var(--panel);
}
.btn-ghost:hover { border-color: rgba(120, 170, 255, .6); background: var(--panel-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* 容器与标题 ------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.sec { position: relative; padding: 96px 0; }
.sec-tight { padding: 72px 0; }
.sec-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.sec-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 28px;
	padding: 0 14px;
	margin-bottom: 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--brand-2);
	font-size: 12.5px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}
.sec-tag::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand-2);
	box-shadow: 0 0 0 4px rgba(34, 211, 238, .16);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); }
	50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}
.sec-head h2 { font-size: 34px; line-height: 1.35; letter-spacing: .4px; }
.sec-head p { margin-top: 14px; color: var(--txt-2); font-size: 15.5px; }
.grad {
	background: linear-gradient(100deg, var(--brand-2), #7fb0ff 45%, var(--brand-3));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.sec-head--left { margin: 0 0 40px; text-align: left; }

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: calc(var(--head) + env(safe-area-inset-top, 0px) + 72px) 0 32px;
	overflow: hidden;
}
.hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: .75;
	pointer-events: none;
}
.hero-spot {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(77, 124, 254, .17), transparent 62%);
	transition: background .3s linear;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 34px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: linear-gradient(120deg, rgba(77, 124, 254, .16), rgba(34, 211, 238, .1));
	color: #cfe0ff;
	font-size: 13px;
}
.hero-badge b { color: #fff; font-weight: 600; }
.hero h1 {
	margin: 22px 0 0;
	font-size: 54px;
	line-height: 1.16;
	letter-spacing: .5px;
}
.hero h1 span { display: block; }
.hero-sub {
	margin-top: 20px;
	max-width: 560px;
	color: var(--txt-2);
	font-size: 16.5px;
	line-height: 1.9;
}
.hero-sub strong { color: #dbe7ff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--txt-3); font-size: 13.5px; }

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 46px;
	padding-top: 30px;
	border-top: 1px solid var(--line-2);
}
.hero-stat b {
	display: flex;
	align-items: baseline;
	gap: 4px;
	font-size: 30px;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(120deg, #fff, #9fc0ff 60%, var(--brand-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-stat b i { font-size: 15px; font-style: normal; -webkit-text-fill-color: var(--txt-2); }
.hero-stat span { display: block; margin-top: 6px; color: var(--txt-3); font-size: 13px; }

/* Hero 右侧：控制台预览（纯 CSS/SVG 自绘） */
.hero-visual { position: relative; }
.panel {
	position: relative;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-lg);
}
.panel::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 22px;
	background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(120, 170, 255, .16), transparent 60%);
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.panel:hover::after { opacity: 1; }
.panel-head { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.panel-head span { margin-left: 6px; color: var(--txt-3); font-size: 12.5px; letter-spacing: .4px; }
.panel-body { padding-top: 18px; }
.metric {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}
.metric b { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.metric small { display: block; margin-top: 8px; color: var(--txt-3); font-size: 12.5px; }
.chip-ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(52, 211, 153, .12);
	color: var(--ok);
	font-size: 12px;
}
.spark { margin: 22px 0 6px; }
.spark svg { display: block; width: 100%; height: 92px; }
.spark path.line {
	stroke-dasharray: 640;
	stroke-dashoffset: 640;
	animation: draw 2.6s var(--ease) forwards .3s;
}
.spark path.area { opacity: 0; animation: fadeIn .9s var(--ease) forwards 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.bars { display: grid; gap: 12px; margin-top: 20px; }
.bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--txt-2); }
.bar-row span:first-child { flex: 0 0 74px; color: var(--txt-3); }
.bar-track { position: relative; flex: 1; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
	transition: width 1.5s var(--ease);
}
.bar-row:nth-child(2) .bar-fill { background: linear-gradient(90deg, var(--brand-3), #c084fc); }
.bar-row:nth-child(3) .bar-fill { background: linear-gradient(90deg, #0ea5e9, var(--brand-2)); }
.bar-row em { flex: 0 0 44px; font-style: normal; color: #cfe0ff; text-align: right; font-variant-numeric: tabular-nums; }
.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(10, 17, 34, .9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .95);
	font-size: 13px;
	animation: bob 6s var(--ease) infinite alternate;
}
.float-card .fc-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(77, 124, 254, .3), rgba(34, 211, 238, .18));
}
.float-card .fc-ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 13.5px; }
.float-card span { display: block; color: var(--txt-3); font-size: 11.5px; }
.float-1 { top: 8%; left: -26px; }
.float-2 { bottom: 12%; right: -22px; animation-delay: 1.2s; }
@keyframes bob {
	from { transform: translateY(-6px); }
	to { transform: translateY(8px); }
}

/* 渠道滚动条 ------------------------------------------------------------- */
.marquee {
	position: relative;
	margin-top: 62px;
	padding: 22px 0;
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 16px; padding-right: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }
.pay-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: #cddcff;
	font-size: 14px;
	white-space: nowrap;
	transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.pay-chip:hover { border-color: rgba(120, 170, 255, .55); color: #fff; transform: translateY(-2px); }
.pay-chip i {
	width: 8px;
	height: 8px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

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

.card {
	position: relative;
	padding: 28px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
	overflow: hidden;
	transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(120, 170, 255, .16), transparent 62%);
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.card:hover { border-color: rgba(120, 170, 255, .42); box-shadow: 0 26px 50px -32px rgba(0, 0, 0, .95); }
.card:hover::before { opacity: 1; }
.card-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border: 1px solid rgba(120, 170, 255, .28);
	border-radius: 15px;
	background: linear-gradient(150deg, rgba(77, 124, 254, .28), rgba(34, 211, 238, .12));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.card-ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; letter-spacing: .3px; }
.card p { margin-top: 10px; color: var(--txt-2); font-size: 14.5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
	padding: 4px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--txt-3);
	font-size: 12px;
}

/* 进件流程 --------------------------------------------------------------- */
.flow { position: relative; display: grid; gap: 18px; }
.flow-rail {
	position: absolute;
	left: 27px;
	top: 12px;
	bottom: 12px;
	width: 2px;
	background: var(--line);
	border-radius: 2px;
}
.flow-rail b {
	position: absolute;
	inset: 0 0 auto 0;
	height: 0;
	background: linear-gradient(180deg, var(--brand), var(--brand-2));
	transition: height .12s linear;
}
.flow-step { position: relative; display: flex; gap: 22px; padding: 4px 0 26px; }
.flow-dot {
	position: relative;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(10, 17, 34, .92);
	color: var(--txt-3);
	font-size: 17px;
	font-weight: 700;
	transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.flow-step.on .flow-dot {
	color: #fff;
	border-color: rgba(120, 170, 255, .55);
	box-shadow: 0 0 0 6px rgba(77, 124, 254, .12), 0 14px 30px -18px rgba(77, 124, 254, .9);
}
.flow-body {
	flex: 1;
	min-width: 0;
	padding: 18px 24px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: linear-gradient(150deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
	transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.flow-step.on .flow-body { border-color: rgba(120, 170, 255, .3); transform: translateX(6px); }
.flow-body h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 17px; }
.flow-body h4 em { font-style: normal; color: var(--brand-2); font-size: 12.5px; letter-spacing: 1.4px; }
.flow-body p { margin-top: 8px; color: var(--txt-2); font-size: 14.5px; }

/* 产品矩阵 --------------------------------------------------------------- */
.prod {
	position: relative;
	padding: 24px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--panel);
	transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.prod:hover { transform: translateY(-5px); border-color: rgba(120, 170, 255, .4); background: var(--panel-2); }
.prod-top { display: flex; align-items: center; gap: 12px; }
.prod-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(140deg, rgba(77, 124, 254, .26), rgba(139, 92, 246, .16));
}
.prod-ic svg { width: 20px; height: 20px; }
.prod h4 { font-size: 16px; }
.prod p { margin-top: 12px; color: var(--txt-2); font-size: 14px; }

/* 接入示例 --------------------------------------------------------------- */
.dev { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 44px; align-items: start; }
.dev-list { display: grid; gap: 14px; margin-top: 26px; }
.dev-item { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); }
.dev-item i {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(34, 211, 238, .14);
	color: var(--brand-2);
	font-size: 13px;
	font-style: normal;
}
.dev-item b { display: block; font-size: 15px; }
.dev-item span { color: var(--txt-2); font-size: 13.5px; }
.code-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(6, 10, 20, .86);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.code-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-2);
	background: rgba(255, 255, 255, .03);
}
.code-tabs { display: flex; gap: 4px; margin-left: 12px; }
.code-tab {
	padding: 6px 14px;
	border-radius: 8px;
	color: var(--txt-3);
	font-size: 13px;
	transition: color .25s var(--ease), background .25s var(--ease);
}
.code-tab.on { color: #fff; background: rgba(77, 124, 254, .22); }
.copy-btn {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--txt-2);
	font-size: 12.5px;
	transition: color .25s var(--ease), border-color .25s var(--ease);
}
.copy-btn:hover { color: #fff; border-color: rgba(120, 170, 255, .55); }
.copy-btn.done { color: var(--ok); border-color: rgba(52, 211, 153, .5); }
.code-body { position: relative; }
.code-pane { display: none; max-height: 430px; overflow: auto; -webkit-overflow-scrolling: touch; }
.code-pane.on { display: block; }
.code-pane pre {
	margin: 0;
	padding: 20px 22px;
	color: #c7d6f2;
	font-size: 13px;
	line-height: 1.85;
	white-space: pre;
	tab-size: 4;
}
.code-pane::-webkit-scrollbar { width: 8px; height: 8px; }
.code-pane::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .13); border-radius: 8px; }

/* 优势 / 安全 ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feature {
	display: flex;
	gap: 18px;
	padding: 26px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
	transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(120, 170, 255, .38); }
.feature-ic {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	background: linear-gradient(145deg, rgba(77, 124, 254, .3), rgba(34, 211, 238, .12));
}
.feature-ic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 16.5px; }
.feature p { margin-top: 8px; color: var(--txt-2); font-size: 14px; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--panel);
	overflow: hidden;
	transition: border-color .35s var(--ease), background .35s var(--ease);
}
.faq-item.on { border-color: rgba(120, 170, 255, .38); background: var(--panel-2); }
.faq-q {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 18px 22px;
	text-align: left;
	font-size: 15.5px;
	font-weight: 600;
}
.faq-q i {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	background: rgba(77, 124, 254, .22);
	color: #9fc0ff;
	font-size: 12px;
	font-style: normal;
}
.faq-q span { flex: 1; min-width: 0; }
.faq-q em {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	position: relative;
	transition: transform .35s var(--ease);
}
.faq-q em::before,
.faq-q em::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--txt-3);
}
.faq-q em::after { transform: rotate(90deg); }
.faq-item.on .faq-q em { transform: rotate(180deg); }
.faq-item.on .faq-q em::after { opacity: 0; }
.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .45s var(--ease);
}
.faq-a div { padding: 0 22px 20px 58px; color: var(--txt-2); font-size: 14.5px; }
.faq-a a { color: var(--brand-2); }

/* CTA -------------------------------------------------------------------- */
.cta {
	position: relative;
	padding: 58px 48px;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: linear-gradient(120deg, rgba(77, 124, 254, .2), rgba(34, 211, 238, .1) 55%, rgba(139, 92, 246, .18));
	overflow: hidden;
	text-align: center;
}
.cta::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -10%;
	width: 60%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 62%);
	animation: orbFloat 18s var(--ease) infinite alternate;
}
.cta > * { position: relative; }
.cta h2 { font-size: 32px; letter-spacing: .5px; }
.cta p { margin: 14px auto 30px; max-width: 620px; color: var(--txt-2); font-size: 15.5px; }
.cta-act { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 页脚 ------------------------------------------------------------------- */
.footer { position: relative; margin-top: 40px; padding: 62px 0 calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-2); background: rgba(4, 7, 14, .72); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .85fr)); gap: 34px; }
.foot-brand p { margin-top: 18px; max-width: 330px; color: var(--txt-3); font-size: 13.5px; }
.foot-links h4 { margin-bottom: 16px; color: #dbe7ff; font-size: 14.5px; }
.foot-links li { margin-bottom: 11px; }
.foot-links a { color: var(--txt-3); font-size: 13.5px; transition: color .25s var(--ease); }
.foot-links a:hover { color: var(--brand-2); }
.foot-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--txt-3); font-size: 13.5px; }
.foot-contact svg { width: 15px; height: 15px; flex: 0 0 15px; }
.foot-contact a { color: var(--txt-2); }
.foot-contact a:hover { color: var(--brand-2); }
.foot-bot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--line-2);
	color: var(--txt-3);
	font-size: 13px;
}

/* 回到顶部 --------------------------------------------------------------- */
.to-top {
	position: fixed;
	right: calc(24px + env(safe-area-inset-right, 0px));
	bottom: calc(28px + env(safe-area-inset-bottom, 0px));
	z-index: 85;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(10, 17, 34, .85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--txt-2);
	opacity: 0;
	transform: translateY(14px) scale(.94);
	pointer-events: none;
	transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; border-color: rgba(120, 170, 255, .55); }
.to-top svg { width: 18px; height: 18px; }

/* 滚动入场 --------------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--d, 0s);
	will-change: opacity, transform;
}
.js .reveal.r-left { transform: translate3d(-32px, 0, 0); }
.js .reveal.r-right { transform: translate3d(32px, 0, 0); }
.js .reveal.r-zoom { transform: scale(.95); }
.js .reveal.in { opacity: 1; transform: none; }

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 1080px) {
	.nav-menu { display: none; }
	.nav-inner { gap: 12px; }
	.nav-act { margin-left: auto; gap: 8px; }
	.nav-toggle { display: block; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.hero h1 { font-size: 44px; }
	.hero-visual { max-width: 560px; }
	.dev { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
	.sec { padding: 70px 0; }
	.sec-head { margin-bottom: 40px; }
	.sec-head h2 { font-size: 26px; }
	.hero { padding-top: calc(var(--head) + env(safe-area-inset-top, 0px) + 44px); }
	.hero h1 { font-size: 34px; }
	.hero-sub { font-size: 15px; }
	.hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.hero-stat b { font-size: 22px; }
	.hero-stat span { font-size: 12px; }
	.float-1 { top: -14px; left: 4px; }
	.float-2 { bottom: -12px; right: 4px; }
	.grid-4, .grid-3, .grid-2, .split { grid-template-columns: minmax(0, 1fr); }
	.flow-rail { left: 21px; }
	.flow-dot { flex: 0 0 44px; width: 44px; height: 44px; font-size: 15px; }
	.flow-step { gap: 16px; }
	.flow-body { padding: 16px 18px; }
	.cta { padding: 40px 22px; }
	.cta h2 { font-size: 24px; }
	.faq-q { padding: 16px 18px; font-size: 15px; }
	.faq-a div { padding: 0 18px 18px 18px; }
	.foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.foot-bot { margin-top: 30px; }
	.to-top { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
/* 手机：顶部只保留「企联」字标 + 立即入驻 + 菜单按钮，避免按钮被挤出视口 */
@media (max-width: 560px) {
	.nav-inner { padding: 0 16px; gap: 10px; }
	.nav-act { gap: 8px; }
	.nav-act .nav-login { display: none; }
	.nav-act .btn { height: 40px; padding: 0 15px; font-size: 13.5px; border-radius: 11px; }
	.brand-mark { height: 40px; padding: 0 11px; border-radius: 11px; }
	.brand-mark b { font-size: 15px; letter-spacing: 2px; text-indent: 2px; }
	.brand-txt b { font-size: 15px; }
	.brand-txt span { display: none; }
	.nav-toggle { width: 40px; height: 40px; border-radius: 11px; }
	.wrap { padding: 0 16px; }
	.hero h1 { font-size: 30px; }
	.code-head { gap: 4px; padding: 10px 12px; }
	.code-tabs { margin-left: 6px; }
	.code-tab { padding: 6px 10px; }
	.copy-btn { margin-left: 0; }
}
/* 超窄屏（iPhone SE 等）：只留字标与菜单 */
@media (max-width: 430px) {
	.brand-txt { display: none; }
	.hero h1 { font-size: 28px; }
	.hero-sub { font-size: 14.5px; }
	.hero-cta .btn, .cta-act .btn { width: 100%; }
	.hero-cta { gap: 10px; }
	.hero-stats { gap: 6px; }
	.hero-stat b { font-size: 20px; }
	.sec-head h2 { font-size: 23px; }
}

/* 无障碍：尊重系统“减少动态效果” */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.marquee-track { animation: none; }
	.brand-mark i { display: none; }
}
