/* =========================================================
   Ax 网络验证 · 官网首页
   风格参照「大留白 + 超大黑字 + 单个实心按钮 + 彩色点缀」
   样式独立成文件：ThinkPHP 模板里内联 <style> 有被解析的风险
   ========================================================= */

:root {
	--ink: #1a1a1a;
	--ink-2: #555;
	--ink-3: #8a8a8a;
	--line: #ececec;
	--bg: #fff;
	--bg-2: #fafafa;
	--brand: #2b7de9;
	--black: #111;
	--r-lg: 16px;
	--r-md: 12px;
	--r-sm: 8px;
	--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, .1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* ---------------- 导航 ---------------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
}

.nav-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.brand img {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	object-fit: contain;
}

.brand .fallback {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: var(--black);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 15px;
	color: var(--ink-2);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 20px;
	border-radius: 10px;
	background: var(--black);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	transition: transform .15s ease, box-shadow .15s ease;
}

.nav-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* ---------------- Hero ---------------- */
.hero {
	position: relative;
	padding: 96px 0 0;
	text-align: center;
	overflow: hidden;
}

.hero-in { position: relative; z-index: 2; }

.hero h1 {
	font-size: clamp(38px, 7.2vw, 76px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.045em;
}

.hero-sub {
	margin-top: 22px;
	font-size: clamp(15px, 1.6vw, 19px);
	color: var(--ink-3);
	letter-spacing: .01em;
}

.hero-sub .sep {
	display: inline-block;
	margin: 0 12px;
	color: #d8d8d8;
}

.hero-actions {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 34px;
	border-radius: var(--r-md);
	font-size: 16.5px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
	white-space: nowrap;
}

.btn-black {
	background: var(--black);
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
	position: relative;
}

.btn-black::after {
	/* 按钮下面的彩色光晕，模仿参考站 */
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: -7px;
	height: 14px;
	background: linear-gradient(90deg, #ff9a3c, #ff5f6d, #b06ab3, #4facfe, #43e97b);
	filter: blur(12px);
	opacity: .5;
	border-radius: 50%;
	z-index: -1;
}

.btn-black:hover {
	background: #000;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.btn-line {
	background: #fff;
	color: var(--ink);
	border-color: var(--line);
}

.btn-line:hover {
	border-color: #d0d0d0;
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.btn svg { width: 18px; height: 18px; }

/* ---------------- 能力卡片（横排 5 个） ---------------- */
.caps {
	margin-top: 56px;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.cap {
	position: relative;
	width: 116px;
	padding: 22px 8px 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.cap:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: #e0e0e0;
}

.cap i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 auto 12px;
	color: var(--ink);
}

.cap i svg { width: 26px; height: 26px; }

.cap span {
	display: block;
	font-size: 13.5px;
	color: var(--ink-2);
}

.cap .badge {
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	padding: 0 8px;
	border-radius: 9px;
	white-space: nowrap;
}

/* ---------------- 装饰元素 ---------------- */
.deco {
	position: absolute;
	pointer-events: none;
	user-select: none;
	z-index: 1;
}

.deco-star { left: 8%; top: 18%; width: 54px; transform: rotate(-12deg); animation: float 6s ease-in-out infinite; }
.deco-bolt { right: 10%; top: 14%; width: 46px; transform: rotate(10deg); animation: float 5s ease-in-out infinite .6s; }
.deco-like { right: 13%; top: 31%; width: 50px; transform: rotate(-8deg); animation: float 7s ease-in-out infinite .3s; }
.deco-safe { right: 7%; top: 58%; width: 96px; transform: rotate(12deg); animation: float 6.5s ease-in-out infinite .9s; }
.deco-tag  { left: 5%; top: 54%; width: 70px; transform: rotate(-14deg); animation: float 5.5s ease-in-out infinite .4s; }

@keyframes float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
	.deco { animation: none; }
}

/* ---------------- 产品预览 ---------------- */
.preview-wrap {
	position: relative;
	margin-top: 72px;
	padding-bottom: 40px;
}

.preview {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px 18px 0 0;
	border-bottom: 0;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	text-align: left;
}

.pv-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	background: #fcfcfc;
}

.pv-bar .dots { display: flex; gap: 7px; }
.pv-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e6e6e6; }
.pv-bar .dots i:nth-child(1) { background: #ff6b6b; }
.pv-bar .dots i:nth-child(2) { background: #ffc94d; }
.pv-bar .dots i:nth-child(3) { background: #4ade80; }

.pv-bar .path {
	margin-left: 10px;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 12px;
	color: var(--ink-3);
}

.pv-body {
	display: grid;
	grid-template-columns: 176px minmax(0, 1fr);
	min-height: 300px;
	min-width: 0;
}

.pv-side {
	border-right: 1px solid var(--line);
	background: #fcfcfc;
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.pv-side b {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-2);
}

.pv-side b.on {
	background: #f0f5ff;
	color: var(--brand);
	font-weight: 600;
}

.pv-main { padding: 22px 24px; min-width: 0; }

.pv-kpi {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.pv-kpi > div {
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	padding: 12px 14px;
	min-width: 0;
}

.pv-kpi small { display: block; font-size: 12px; color: var(--ink-3); }
.pv-kpi strong {
	display: block;
	margin-top: 2px;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -.03em;
}

.pv-chart {
	margin-top: 16px;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 110px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: linear-gradient(180deg, #fbfdff, #fff);
}

.pv-chart i {
	flex: 1 1 0;
	min-width: 0;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(180deg, #a8c9f5, #2b7de9);
	opacity: .85;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 100px 0; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }

.sec-head h2 {
	font-size: clamp(26px, 3.6vw, 42px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.25;
}

.sec-head p {
	margin-top: 16px;
	font-size: 16.5px;
	color: var(--ink-3);
}

/* ---------------- 交替图文 ---------------- */
.feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 72px;
	align-items: center;
	padding: 56px 0;
}

.feature.rev { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.feature.rev .feature-copy { order: 2; }

.feature-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--brand);
	margin-bottom: 14px;
}

.feature-tag svg { width: 18px; height: 18px; }

.feature h3 {
	font-size: clamp(23px, 2.8vw, 32px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.3;
}

.feature p.lead {
	margin-top: 14px;
	font-size: 15.5px;
	color: var(--ink-2);
}

.feature ul {
	margin-top: 22px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.feature li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: var(--ink-2);
}

.feature li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #eef4ff;
	border: 1px solid #cfe0fb;
}

.feature li::after {
	content: "";
	position: absolute;
	left: 4.5px;
	top: 12px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brand);
}

.feature-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 26px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.feature-link:hover { color: var(--brand); }
.feature-link svg { width: 16px; height: 16px; }

/* 右侧示意图 */
.shot {
	position: relative;
	border-radius: var(--r-lg);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	padding: 22px;
	min-height: 260px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.shot .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 0;
	border-bottom: 1px solid #f3f3f3;
	font-size: 14px;
}

.shot .row:last-child { border-bottom: 0; }
.shot .row .k { color: var(--ink-2); }
.shot .row .v { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

.pill {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 20px;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
}

.pill.ok { background: #eafaf0; color: #1a9e55; }
.pill.warn { background: #fff6e8; color: #c07a17; }
.pill.bad { background: #fdeeee; color: #c94b4b; }
.pill.info { background: #eef4ff; color: #2b7de9; }

/* ---------------- 功能清单 ---------------- */
.grid-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 26px 24px;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: #e2e2e2;
}

.card h4 {
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -.01em;
	display: flex;
	align-items: center;
	gap: 9px;
}

.card h4 svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 auto; }
.card p { margin-top: 9px; font-size: 14.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------------- 数字条 ---------------- */
.nums {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	text-align: center;
}

.num-item {
	position: relative;
	padding: 6px 12px;
	min-width: 0;
}

/* 列之间一条淡竖线，中间实两头虚 */
.num-item + .num-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14%;
	height: 72%;
	width: 1px;
	background: linear-gradient(180deg, transparent, #e6e6e6 22%, #e6e6e6 78%, transparent);
}

.num-item b {
	display: inline-block;
	font-size: clamp(54px, 8.4vw, 92px);
	font-weight: 900;
	line-height: .92;
	letter-spacing: -.055em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, #141414 26%, #6a6a6a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* 单位：贴着数字右下角，小一号 */
.num-item em {
	font-style: normal;
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 700;
	color: var(--ink-2);
	margin-left: 8px;
	vertical-align: 14px;
	letter-spacing: 0;
}

.num-item span {
	display: block;
	margin-top: 12px;
	font-size: 14.5px;
	color: var(--ink-3);
	letter-spacing: .01em;
}

/* 「0 个第三方依赖」—— 全页唯一的 0，给它品牌色 */
.num-item.accent b {
	background: linear-gradient(180deg, #2b7de9 20%, #6aa9f2 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.num-item.accent span {
	color: var(--ink-2);
	font-weight: 500;
}

@media (max-width: 720px) {
	.num-item {
		padding: 4px 6px;
	}

	.num-item b {
		font-size: clamp(44px, 13vw, 64px);
	}

	.num-item em {
		font-size: 13px;
		vertical-align: 9px;
		margin-left: 3px;
	}

	.num-item span {
		margin-top: 8px;
		font-size: 13px;
	}

	/* 手机上 2×2，只保留横线分隔 */
	.num-item:nth-child(odd)::before {
		display: none;
	}

	.num-item:nth-child(n+3) {
		padding-top: 26px;
	}
}

/* ---------------- CTA ---------------- */
.cta {
	padding: 110px 0;
	text-align: center;
	background: var(--bg-2);
	border-top: 1px solid var(--line);
}

.cta h2 {
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.22;
}

.cta p { margin-top: 16px; font-size: 16.5px; color: var(--ink-3); }
.cta .btn { margin-top: 34px; }

/* ---------------- 页脚 ---------------- */
.foot {
	padding: 34px 0;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--ink-3);
}

.foot-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.foot-in .brand { font-size: 15px; }
.foot-in .brand img, .foot-in .brand .fallback { width: 24px; height: 24px; border-radius: 6px; font-size: 11px; }
.foot a:hover { color: var(--ink); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
	.hero { padding-top: 72px; }
	.feature, .feature.rev { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
	.feature.rev .feature-copy { order: 0; }
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pv-body { grid-template-columns: 140px minmax(0, 1fr); }
	.pv-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.deco-safe, .deco-tag { display: none; }
}

@media (max-width: 720px) {
	.wrap { padding: 0 20px; }
	.nav-links a:not(.nav-cta) { display: none; }
	.nav-links { gap: 0; }
	.nav-cta { height: 34px; padding: 0 14px; font-size: 13.5px; }

	.section { padding: 64px 0; }
	.sec-head { margin-bottom: 40px; }
	.hero { padding-top: 56px; }
	.hero-actions { gap: 10px; }
	.btn { height: 48px; padding: 0 24px; font-size: 15px; }
	.btn-black::after { display: none; }

	.caps { margin-top: 40px; gap: 10px; }
	.cap { width: calc(33.333% - 7px); padding: 16px 6px 13px; }
	.cap span { font-size: 12.5px; }
	.cap i svg { width: 22px; height: 22px; }

	.deco-star, .deco-bolt { width: 34px; }
	.deco-like { display: none; }

	.preview-wrap { margin-top: 48px; }
	.pv-body { grid-template-columns: 1fr; }
	.pv-side {
		flex-direction: row;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		min-width: 0;
		max-width: 100%;
	}
	.pv-side b { white-space: nowrap; }

	.grid-cards { grid-template-columns: 1fr; }
	.nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.cta { padding: 72px 0; }
	.foot-in { justify-content: flex-start; }
}

/* ---------------- 鼠标跟随（cursor.js 驱动） ---------------- */
.cursor-glow {
	position: fixed;
	left: 0;
	top: 0;
	width: 540px;
	height: 540px;
	margin: -270px 0 0 -270px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	opacity: 0;
	transition: opacity .45s ease;
	background: radial-gradient(circle,
			rgba(43, 125, 233, .085) 0%,
			rgba(43, 125, 233, .03) 42%,
			transparent 70%);
	mix-blend-mode: multiply;
	will-change: transform;
}

.cursor-glow.on {
	opacity: 1;
}

/* 卡片跟随高光：--mx/--my 由 JS 写入 */
.card::after,
.cap::after,
.shot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s ease;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
			rgba(43, 125, 233, .1),
			transparent 62%);
}

.card:hover::after,
.cap:hover::after,
.shot:hover::after {
	opacity: 1;
}

/* 触屏和窄屏不加载这两个效果 */
@media (hover: none),
(max-width: 980px) {
	.cursor-glow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cursor-glow {
		display: none;
	}

	.card::after,
	.cap::after,
	.shot::after {
		display: none;
	}
}

/* ---------------- 页脚元信息（备案 / 版权） ---------------- */
.foot-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
}

.foot-meta .dot {
	margin: 0 10px;
	color: #e0e0e0;
}

/* 备案号按规范做成可点链接 */
.foot-meta .filing {
	color: var(--ink-3);
}

.foot-meta .filing:hover {
	color: var(--ink);
}
