/* ==========================================================================
   新锐晞科技官网 — 暗黑玻璃主题（v3 产品化布局）
   设计令牌 / 基础 / 导航 / Hero+产品窗口 / Bento / 产品舞台 / 关于 / CTA
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
	--bg: #070A12;
	--text-1: #E6EAF2;
	--text-2: #8A93A6;
	--text-3: #5C6478;
	--accent-1: #38E1C6;
	--accent-2: #4F8CFF;
	--grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
	--glass-bg: rgba(255, 255, 255, 0.045);
	--glass-bg-strong: rgba(255, 255, 255, 0.07);
	--glass-border: rgba(255, 255, 255, 0.08);
	--glass-highlight: rgba(255, 255, 255, 0.14);
	--glass-blur: blur(16px);
	--radius-lg: 18px;
	--radius-md: 14px;
	--radius-sm: 999px;
	--content-max: 1120px;
	--nav-h: 64px;
	--font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
	--ease-out: cubic-bezier(0.22, 0.8, 0.36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	color: var(--text-1);
	background-color: var(--bg);
	background-image:
		radial-gradient(900px 520px at 85% -10%, rgba(79, 140, 255, 0.14), transparent 60%),
		radial-gradient(800px 500px at -10% 25%, rgba(56, 225, 198, 0.09), transparent 60%),
		radial-gradient(1000px 700px at 50% 115%, rgba(79, 140, 255, 0.10), transparent 65%),
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
	background-size: auto, auto, auto, 56px 56px, 56px 56px;
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--accent-1); text-decoration: none; }
a:hover { color: var(--accent-2); }

:focus-visible {
	outline: 2px solid var(--accent-2);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: rgba(79, 140, 255, 0.35); }

/* 文本换行优化：标题平衡、正文避免孤立尾行（渐进增强，不支持则忽略） */
h1, h2, h3, .product-name, .cta-title, .section-head h2 { text-wrap: balance; }
p, .hero-sub, .section-lede, .product-desc, .cta-lede, .panel p, .mini-hint, .cap-more { text-wrap: pretty; }

/* 语言显隐已上提到构建层（tools/build.js 编译期剔除异语言），产物不再依赖 [data-lang] 规则 */

/* ---------- 顶部导航 ---------- */
#site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(7, 10, 18, 0);
	border-bottom: 1px solid transparent;
	transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

#site-header.scrolled {
	background: rgba(7, 10, 18, 0.72);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border-bottom-color: var(--glass-border);
}

.nav-inner {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 24px;
	height: var(--nav-h);
	display: flex;
	align-items: center;
	gap: 20px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-1);
	font-weight: 600;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}
.brand:hover { color: var(--text-1); }
.brand-name { font-size: 17px; }

#site-nav { margin-left: auto; }
#site-nav ul {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
#site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	color: var(--text-2);
	font-size: 14.5px;
	border-radius: var(--radius-sm);
	transition: color 0.25s, background-color 0.25s;
}
#site-nav a:hover {
	color: var(--text-1);
	background: rgba(255, 255, 255, 0.05);
}

/* 抽屉底部快捷操作：仅移动端出现 */
.nav-extra { display: none; }

.nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 6px;
}

#lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 13px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--text-1);
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-decoration: none;
	line-height: 1;
	transition: border-color 0.25s, background-color 0.25s;
}
#lang-toggle:hover,
#lang-toggle:focus-visible {
	background: var(--glass-bg-strong);
	border-color: var(--glass-highlight);
	color: var(--text-1);
}

#menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 11px;
	background: none;
	border: 0;
	cursor: pointer;
}
#menu-toggle .bar {
	height: 2px;
	width: 100%;
	background: var(--text-1);
	border-radius: 2px;
	transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
#menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 公共小件 ---------- */
.pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent-1);
	box-shadow: 0 0 0 0 rgba(56, 225, 198, 0.5);
	animation: pulse 2.2s var(--ease-out) infinite;
	flex-shrink: 0;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(56, 225, 198, 0.45); }
	70% { box-shadow: 0 0 0 8px rgba(56, 225, 198, 0); }
	100% { box-shadow: 0 0 0 0 rgba(56, 225, 198, 0); }
}

/* 骨架屏（产品预览共用） */
.sk {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
}
.sk::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
	animation: shimmer 2.4s infinite;
	transform: translateX(-100%);
}
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-title { height: 14px; width: 40%; margin-bottom: 14px; }
.sk-line { height: 10px; margin-top: 10px; }
.sk-card { height: 64px; }
.sk-blocks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 4px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }

/* ---------- Hero ---------- */
#hero {
	padding: calc(var(--nav-h) + 72px) 24px 72px;
	display: flex;
	scroll-margin-top: var(--nav-h);
}

.hero-grid {
	max-width: 780px;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 26px;
	padding: 7px 16px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--text-2);
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
}

#hero h1 {
	margin: 0;
	font-size: clamp(30px, 5vw, 54px);
	line-height: 1.22;
	font-weight: 750;
	letter-spacing: 0.005em;
}
#hero h1 .line { display: block; }
#hero h1 em {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sub-line {
	margin-top: 10px;
	font-size: clamp(15px, 2vw, 20px) !important;
	font-weight: 500 !important;
	color: var(--text-2);
	letter-spacing: 0.12em;
}

.hero-sub {
	max-width: 640px;
	margin: 20px 0 32px;
	font-size: clamp(15px, 1.7vw, 16.5px);
	color: var(--text-2);
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 600;
	border-radius: var(--radius-sm);
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
		background-color 0.25s, border-color 0.25s;
}
.btn-primary {
	color: #04121E;
	background: var(--grad);
	box-shadow: 0 6px 24px rgba(56, 225, 198, 0.22);
}
.btn-primary:hover {
	color: #04121E;
	transform: translateY(-2px);
	box-shadow: 0 10px 32px rgba(79, 140, 255, 0.32);
}
.btn-ghost {
	color: var(--text-1);
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
	color: var(--text-1);
	background: var(--glass-bg-strong);
	border-color: var(--glass-highlight);
	transform: translateY(-2px);
}

/* Hero 透视产品窗口 */
.hero-window {
	position: relative;
	width: 100%;
	max-width: 880px;
	margin: 64px auto 0;
	perspective: 1400px;
}

.win-frame {
	position: relative;
	background: rgba(11, 16, 28, 0.8);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	transform: rotateX(14deg);
	transform-origin: center bottom;
	transition: transform 0.5s var(--ease-out);
}
.hero-window:hover .win-frame { transform: rotateX(0deg); }

.win-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.025);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.win-title {
	margin-left: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-3);
}
.win-chip {
	margin-left: auto;
	padding: 3px 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-1);
	background: rgba(56, 225, 198, 0.08);
	border: 1px solid rgba(56, 225, 198, 0.2);
	border-radius: var(--radius-sm);
}

.win-body { display: flex; min-height: 300px; }
.win-side {
	flex-shrink: 0;
	width: 64px;
	padding: 18px 14px;
	border-right: 1px solid var(--glass-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.side-item {
	height: 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
}
.side-item.active { background: var(--grad); }
.win-main { flex: 1; padding: 22px 24px; }

.win-reflection {
	position: absolute;
	inset: 92% 4% -6%;
	background: linear-gradient(rgba(79, 140, 255, 0.10), transparent 70%);
	filter: blur(18px);
	transform: scaleY(-0.35);
	pointer-events: none;
}

/* Hero 数据条 */
.hero-stats {
	display: flex;
	justify-content: center;
	gap: 56px;
	margin: 56px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--glass-border);
	width: 100%;
	max-width: 640px;
}
.stat dt {
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.3;
}
.stat dd {
	margin: 2px 0 0;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--text-3);
}

/* ---------- 通用区块 ---------- */
.section {
	padding: 88px 24px;
	scroll-margin-top: var(--nav-h);
}

.section-inner {
	max-width: var(--content-max);
	margin: 0 auto;
}

.section-head { margin: 0 auto 52px; }
.section-head.center { text-align: center; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-1);
}
.eyebrow::before {
	content: "";
	width: 20px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}
.center-eyebrow { justify-content: center; }
.center-eyebrow::after {
	content: "";
	width: 20px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.section-head h2 {
	margin: 0 auto 14px;
	max-width: 720px;
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

.section-lede {
	margin: 0 auto;
	max-width: 720px;
	color: var(--text-2);
	font-size: 15.5px;
}

/* ---------- Bento 网格（技术区） ---------- */
.bento {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-areas:
		"hero col"
		"strip col";
	gap: 16px;
}

.bento-card {
	position: relative;
	overflow: hidden;
	padding: 26px 24px;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	transition: transform 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.bento-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
	border-radius: inherit;
}
.bento-card:hover {
	transform: translateY(-4px);
	background: var(--glass-bg-strong);
	border-color: rgba(255, 255, 255, 0.16);
}
.bento-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 650; }
.bento-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); }

.b-hero { grid-area: hero; display: flex; flex-direction: column; min-height: 320px; }
.bento-col {
	grid-area: col;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.bento-col > .bento-card { flex: 1; }
.b-strip { grid-area: strip; }

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	color: var(--accent-1);
	background: rgba(56, 225, 198, 0.08);
	border: 1px solid rgba(56, 225, 198, 0.18);
	border-radius: var(--radius-md);
}
.bento-col .card-icon { color: var(--accent-2); background: rgba(79, 140, 255, 0.09); border-color: rgba(79, 140, 255, 0.2); }

/* Bento 装饰：渲染网格 + 光球 */
.render-demo {
	position: relative;
	flex: 1;
	margin-top: 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--glass-border);
	background: rgba(7, 10, 18, 0.5);
	overflow: hidden;
	min-height: 120px;
}
.render-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(79, 140, 255, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(79, 140, 255, 0.14) 1px, transparent 1px);
	background-size: 26px 26px;
	transform: perspective(420px) rotateX(46deg) scale(1.6);
	transform-origin: center 78%;
	mask-image: linear-gradient(transparent 8%, #000 55%);
	-webkit-mask-image: linear-gradient(transparent 8%, #000 55%);
}
.render-sphere {
	position: absolute;
	left: 50%;
	bottom: 16%;
	width: 92px;
	height: 92px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, rgba(56, 225, 198, 0.85), rgba(79, 140, 255, 0.35) 55%, transparent 72%);
	filter: blur(2px);
	animation: float 6s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, -12px); }
}

/* Bento 装饰：音频波形 */
.wave {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 34px;
	margin-top: 16px;
}
.wave i {
	width: 4px;
	border-radius: 2px;
	background: var(--grad);
	opacity: 0.75;
	animation: bounce 1.4s ease-in-out infinite;
}
.wave i:nth-child(4n+1) { height: 40%; animation-delay: 0s; }
.wave i:nth-child(4n+2) { height: 90%; animation-delay: 0.18s; }
.wave i:nth-child(4n+3) { height: 60%; animation-delay: 0.36s; }
.wave i:nth-child(4n+4) { height: 100%; animation-delay: 0.54s; }
@keyframes bounce {
	0%, 100% { transform: scaleY(0.5); }
	50% { transform: scaleY(1); }
}

/* Bento 装饰：网络链路 */
.net-links {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-3);
}
.net-links li { display: flex; align-items: center; gap: 8px; }
.net-node {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1.5px solid var(--accent-2);
	background: rgba(79, 140, 255, 0.18);
}
.net-arrow { color: var(--accent-1); }

/* Bento 通栏：跨端 */
.b-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.strip-copy { max-width: 640px; }
.panel-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	padding: 5px 13px;
	font-size: 12.5px;
	letter-spacing: 0.05em;
	color: var(--accent-1);
	background: rgba(56, 225, 198, 0.07);
	border: 1px solid rgba(56, 225, 198, 0.18);
	border-radius: var(--radius-sm);
}

.platform-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.platform-tags li {
	padding: 6px 15px;
	font-size: 13px;
	letter-spacing: 0.03em;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
}

/* ---------- 产品展示（JourniCam） ---------- */
.product-showcase {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	max-width: 900px;
	margin: 0 auto;
	padding: 44px 44px;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 26px;
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
}

.product-halo {
	position: absolute;
	inset: -10% 40% 40% -10%;
	background: radial-gradient(50% 55% at 50% 45%, rgba(79, 140, 255, 0.18), rgba(56, 225, 198, 0.08) 55%, transparent 75%);
	filter: blur(30px);
	pointer-events: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 13px;
	font-size: 12.5px;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
}
.chip-live {
	color: var(--accent-1);
	border-color: rgba(56, 225, 198, 0.25);
	background: rgba(56, 225, 198, 0.07);
}

/* 左：图标视觉 */
.showcase-visual {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.app-icon {
	width: 132px;
	height: 132px;
	border-radius: 30px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-highlight);
	background: var(--bg-elev, #0B101C);
}
.os-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	font-size: 12.5px;
	letter-spacing: 0.05em;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
}
.os-badge svg { color: var(--text-1); }

/* 右：信息 */
.showcase-info { position: relative; z-index: 1; }
.product-name {
	margin: 14px 0 4px;
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 750;
	letter-spacing: 0.01em;
}
.product-name em {
	font-style: normal;
	font-weight: 600;
	font-size: 0.66em;
	color: var(--text-3);
	margin-left: 4px;
}
.product-tagline {
	margin: 0 0 14px;
	font-size: 16px;
	color: var(--accent-1);
	letter-spacing: 0.02em;
}

/* 品牌头部（logo + 名称），用于图林匠等以二维码为视觉的产品 */
.product-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 14px 0 16px;
}
.product-logo {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--glass-highlight), 0 10px 24px rgba(0, 0, 0, 0.45);
	background: #fff;
}
.product-head .product-name { margin: 0; }
.product-head .product-tagline { margin: 2px 0 0; font-size: 15px; }

.product-desc {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--text-2);
	max-width: 540px;
}

/* 特性网格 */
.feature-list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 22px;
}
.feature-list li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 14px;
	color: var(--text-2);
}
.feature-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-1);
	background: rgba(56, 225, 198, 0.08);
	border: 1px solid rgba(56, 225, 198, 0.2);
	border-radius: 10px;
}

.product-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 产品列表（多产品纵向排布） ---------- */
.product-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}
.product-list > .product-showcase { margin: 0; }

/* ---------- 图林匠：微信小程序码入口 ---------- */
.qr-frame {
	margin: 0;
	padding: 12px;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-highlight);
	line-height: 0;
}
.qr-img {
	width: 200px;
	height: 200px;
	display: block;
	border-radius: 12px;
}
.qr-caption {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	letter-spacing: 0.03em;
	color: var(--text-2);
}
.wechat-ico { color: #22C55E; }

/* 微信小程序状态徽标（品牌绿点缀） */
.chip-wx {
	color: #4ADE80;
	border-color: rgba(34, 197, 94, 0.3);
	background: rgba(34, 197, 94, 0.09);
}
.pulse-wx {
	background: #22C55E;
	animation-name: pulse-wx;
}
@keyframes pulse-wx {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
	70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* 图林匠能力特性：图标格 */
.feature-list--cap { grid-template-columns: repeat(2, 1fr); }
.feature-list--cap .feature-num { color: var(--accent-2); background: rgba(79, 140, 255, 0.09); border-color: rgba(79, 140, 255, 0.2); }
.cap-more {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--text-3);
}
.mini-hint {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 13px 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-2);
	background: rgba(34, 197, 94, 0.06);
	border: 1px solid rgba(34, 197, 94, 0.18);
	border-radius: var(--radius-md);
}
.mini-hint::before {
	content: "";
	width: 6px;
	align-self: stretch;
	border-radius: 3px;
	background: linear-gradient(#22C55E, #16A34A);
	flex-shrink: 0;
}

/* 更多产品研发中 */
.product-more {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	max-width: 900px;
	margin: 20px auto 0;
	padding: 20px 26px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px dashed var(--glass-border);
	border-radius: var(--radius-lg);
}
.more-icon {
	display: inline-flex;
	color: var(--text-3);
}
.more-text { color: var(--text-2); font-size: 14.5px; }
.more-link {
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}
.more-link::after {
	content: "→";
	margin-left: 6px;
	transition: transform 0.25s var(--ease-out);
}
.more-link:hover::after { transform: translateX(4px); }

/* ---------- 关于我们 ---------- */
.about-quote {
	max-width: 780px;
	margin: 0 auto;
	text-align: center;
}
.about-quote p {
	margin: 0 0 18px;
	font-size: clamp(16px, 1.9vw, 18.5px);
	line-height: 1.95;
	color: var(--text-2);
}
.about-quote p:first-child { color: var(--text-1); }
.about-quote .vision {
	position: relative;
	max-width: 660px;
	margin: 26px auto 0;
	padding-top: 26px;
	font-style: italic;
}
.about-quote .vision::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 3px;
	background: var(--grad);
	border-radius: 2px;
}

/* 数据条（发丝分割的产品规格条） */
.metric-bar {
	list-style: none;
	margin: 56px auto 0;
	padding: 0;
	max-width: 920px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	background: var(--glass-bg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	overflow: hidden;
}
.metric {
	padding: 26px 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-left: 1px solid var(--glass-border);
}
.metric:first-child { border-left: 0; }
.metric-num {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.35;
}
.metric-label { font-size: 12.5px; letter-spacing: 0.05em; color: var(--text-3); }

/* ---------- 联系 CTA 面板 ---------- */
.cta-panel {
	position: relative;
	overflow: hidden;
	padding: 64px 40px 56px;
	text-align: center;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 26px;
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
}
.cta-glow {
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 640px;
	height: 280px;
	background: radial-gradient(50% 60% at 50% 50%, rgba(56, 225, 198, 0.14), rgba(79, 140, 255, 0.10) 55%, transparent 78%);
	filter: blur(26px);
	pointer-events: none;
}

.cta-title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 750;
}
.cta-lede {
	max-width: 640px;
	margin: 0 auto 36px;
	color: var(--text-2);
	font-size: 15px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	max-width: 680px;
	margin: 0 auto;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	min-height: 44px;
	text-align: left;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	color: var(--text-1);
	transition: transform 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.contact-card:hover {
	color: var(--text-1);
	transform: translateY(-4px);
	background: var(--glass-bg-strong);
	border-color: rgba(255, 255, 255, 0.16);
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	color: var(--accent-2);
	background: rgba(79, 140, 255, 0.09);
	border: 1px solid rgba(79, 140, 255, 0.2);
	border-radius: var(--radius-md);
}

.contact-info { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.contact-info strong { font-size: 15px; font-weight: 650; }
.contact-info .mail {
	font-size: 13.5px;
	color: var(--text-2);
	letter-spacing: 0.02em;
	word-break: break-all;
}

.contact-arrow {
	margin-left: auto;
	color: var(--text-3);
	flex-shrink: 0;
	transition: transform 0.3s var(--ease-out), color 0.3s;
}
.contact-card:hover .contact-arrow {
	color: var(--accent-1);
	transform: translateX(4px);
}

/* ---------- 页脚 ---------- */
#site-footer {
	padding: 44px 24px 52px;
	border-top: 1px solid var(--glass-border);
}

/* 页脚产品快捷入口 */
.footer-product {
	width: 100%;
	max-width: var(--content-max);
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	text-align: center;
	font-size: 13.5px;
	color: var(--text-3);
}
.fp-icon {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	display: inline-block;
}
.fp-label {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--accent-1);
	background: rgba(56, 225, 198, 0.07);
	border: 1px solid rgba(56, 225, 198, 0.18);
	border-radius: var(--radius-sm);
}
.footer-product a { color: var(--text-2); transition: color 0.25s; }
.footer-product a:hover { color: var(--accent-1); }
.fp-sep { color: var(--text-3); }
.fp-div { color: var(--text-3); margin: 0 4px; }
.footer-inner {
	max-width: var(--content-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}
#site-footer p { margin: 0 auto; }
.copyright { font-size: 13px; color: var(--text-3); }
.beian { font-size: 13px; }
/* 备案块在编译期仅出现在中文站产物（{{#zh}}...{{/zh}}）；无需运行时显隐 */
.beian a { color: var(--text-3); transition: color 0.25s; }
.beian a:hover { color: var(--accent-1); }
.beian-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 5px;
}
.beian .sep { margin: 0 10px; color: var(--text-3); }

/* ---------- 滚动显现（级联延迟） ---------- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--ease-out) var(--reveal-delay, 0s),
		transform 0.7s var(--ease-out) var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
.reveal.visible {
	opacity: 1;
	transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
	.bento {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"hero col1"
			"strip strip";
	}
	.b-hero { grid-area: hero; }
	.bento-col { grid-area: col1; }
	.b-strip { grid-area: strip; }

	/* 产品展示卡转为单列居中 */
	.product-showcase {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
		padding: 40px 32px;
	}
	.feature-list { max-width: 440px; margin-left: auto; margin-right: auto; }
	.product-desc { margin-left: auto; margin-right: auto; }
	.product-head { justify-content: center; }
	.product-cta { justify-content: center; }
}

@media (max-width: 767px) {
	.section { padding: 64px 20px; }
	#hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }

	/* 抽屉导航 */
	#menu-toggle {
		display: inline-flex;
		width: 40px;
		height: 40px;
		padding: 0 10px;
		margin: 2px 0; /* 40px 按钮在 64px 导航内垂直居中，与 26px 品牌 logo 基线对齐 */
		background: var(--glass-bg);
		border: 1px solid var(--glass-border);
		border-radius: 12px;
	}
	#menu-toggle .bar { height: 1.5px; gap: 4px; }

	/* 语言按钮收起为纯图标（保留无障碍名称） */
	#lang-toggle .lang-label { display: none; }
	#lang-toggle { width: 40px; justify-content: center; padding: 0; }

	/* 顶栏：移动端实底，并禁用 backdrop-filter / transform
	   —— 关键修复：backdrop-filter 会让 header 成为 fixed 抽屉的包含块，
	      滚动后抽屉相对 64px 的 header 定位而塌陷、页面内容从下方透出 */
	#site-header,
	#site-header.scrolled,
	#site-header.nav-open {
		background: #0A0E1A;
		border-bottom-color: var(--glass-border);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		transform: none;
	}

	/* 菜单按钮：展开态高亮，明确当前可关闭 */
	#site-header.nav-open #menu-toggle {
		background: var(--glass-bg-strong);
		border-color: var(--glass-highlight);
	}

	/* 全屏抽屉：不透明，从顶栏下方铺满至视口底部 */
	#site-nav {
		position: fixed;
		inset: 0;
		top: var(--nav-h);
		margin: 0;
		padding: 20px 22px 28px;
		background: #0A0E1A;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		transform: translateY(-104%);
		visibility: hidden;
		opacity: 0;
		transition: transform 0.38s var(--ease-out), opacity 0.28s ease, visibility 0.38s;
		z-index: 90;
	}
	#site-nav.open { transform: translateY(0); visibility: visible; opacity: 1; }
	#site-nav ul { flex-direction: column; gap: 2px; }
	#site-nav a {
		width: 100%;
		min-height: 56px;
		font-size: 18px;
		font-weight: 500;
		color: var(--text-1);
		padding: 0 16px;
		border-radius: 12px;
		justify-content: space-between;
	}
	#site-nav a::after {
		content: "→";
		font-size: 16px;
		color: var(--text-3);
		transition: transform 0.25s var(--ease-out), color 0.25s;
	}
	#site-nav a:hover { background: rgba(255, 255, 255, 0.05); }
	#site-nav a:hover::after { color: var(--accent-1); transform: translateX(3px); }

	/* 抽屉底部快捷操作 */
	.nav-extra {
		display: block;
		margin-top: auto;
		padding-top: 22px;
		border-top: 1px solid var(--glass-border);
	}
	.nav-extra .nav-cta { display: flex; flex-direction: column; gap: 10px; }
	.nav-extra .btn { width: 100%; justify-content: center; }
	.nav-extra .nav-mail {
		display: block;
		text-align: center;
		margin-top: 14px;
		font-size: 13px;
		color: var(--text-3);
	}

	.hero-badge { white-space: normal; font-size: 12px; }
	.hero-cta .btn { flex: 1; min-width: 160px; justify-content: center; }
	.hero-stats { gap: 24px; flex-wrap: wrap; }

	.win-body { min-height: 220px; }
	.win-side { display: none; }
	.hero-window { margin-top: 44px; }
	.win-frame { transform: none; }

	.bento { grid-template-columns: 1fr; grid-template-areas: "hero" "col1" "strip"; }
	.b-strip { flex-direction: column; align-items: flex-start; }

	/* 产品展示卡：手机竖排 */
	.product-showcase { padding: 36px 22px; }
	.app-icon { width: 112px; height: 112px; border-radius: 26px; }
	.feature-list { grid-template-columns: 1fr; text-align: left; }
	.product-cta { flex-direction: column; }
	.product-cta .btn { width: 100%; justify-content: center; }
	.product-more { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
	.more-link { margin-left: 0; }

	.metric-bar { grid-template-columns: repeat(2, 1fr); }
	.metric:nth-child(3) { border-left: 0; }
	.metric:nth-child(n+3) { border-top: 1px solid var(--glass-border); }

	.contact-grid { grid-template-columns: 1fr; }
	.cta-panel { padding: 44px 22px 40px; }
}

/* 超窄屏（约 350px 及以下）：导航栏与内容进一步收紧 */
@media (max-width: 380px) {
	.nav-inner { gap: 10px; padding: 0 14px; }
	.nav-actions { gap: 6px; margin-left: 2px; }
	.brand { margin-right: auto; }
	.brand-name { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

	#hero { padding-left: 16px; padding-right: 16px; }
	.section { padding-left: 16px; padding-right: 16px; }
	#hero h1 { font-size: 27px; }
	.sub-line { letter-spacing: 0.06em; }
	.hero-stats { gap: 18px; }
	.hero-cta { width: 100%; }
	.hero-cta .btn { min-width: 0; }

	.bento-card, .product-showcase { padding: 22px 18px; }
	.win-main { padding: 16px; }
	#site-footer { padding-left: 16px; padding-right: 16px; }
	.beian .sep { display: block; margin: 2px auto; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}
