/* ==========================================================================
   慧选环境 HuiXuan Sorting — 主样式
   Bento 格子布局 · 浅灰底 + 靛蓝 · 垃圾分类四色语义
   ========================================================================== */

:root {
	--c-indigo: #4f46e5;
	--c-indigo-deep: #3730a3;
	--c-ink: #1f2333;
	--c-text: #5c6272;
	--c-line: #e5e7eb;
	--c-bg: #f3f4f6;
	--c-card: #ffffff;
	--cat-blue: #2563eb;
	--cat-green: #16a34a;
	--cat-red: #dc2626;
	--cat-gray: #6b7280;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 10px 30px rgba(31, 35, 51, 0.07);
	--shadow-lg: 0 26px 60px rgba(31, 35, 51, 0.13);
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
	--mono: "SF Mono", "Menlo", "Consolas", monospace;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.78;
	color: var(--c-text);
	background: var(--c-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-indigo); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-indigo-deep); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--c-indigo); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; left: 16px; top: 16px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--c-indigo); color: #fff;
	padding: 10px 18px; border-radius: 10px;
}
:focus-visible { outline: 2px solid var(--c-indigo); outline-offset: 2px; }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 26px;
	border-radius: var(--radius-sm);
	border: 1.5px solid transparent;
	font-size: 15px; font-weight: 600;
	cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--indigo { background: var(--c-indigo); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .3); }
.btn--indigo:hover { background: var(--c-indigo-deep); color: #fff; }
.btn--soft { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn--soft:hover { border-color: var(--c-indigo); color: var(--c-indigo); }
.btn--outline { border-color: var(--c-indigo); color: var(--c-indigo); background: transparent; }
.btn--outline:hover { background: var(--c-indigo); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.hx-icon { flex-shrink: 0; }

/* ---------- 页头 ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(243, 244, 246, .9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--c-line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.site-brand { margin-right: auto; }
.site-brand__link { display: flex; align-items: center; gap: 12px; }
.site-brand__mark {
	width: 44px; height: 44px; border-radius: 13px;
	display: grid; place-items: center; color: #fff;
	background: var(--c-indigo);
	box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
}
.site-brand__name { display: block; font-size: 20px; font-weight: 800; color: var(--c-ink); }
.site-brand__slogan { display: block; font-size: 12px; color: var(--c-text); letter-spacing: .06em; }
.custom-logo { max-height: 48px; width: auto; }

.site-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav__list li { position: relative; }
.site-nav__list a {
	display: block; padding: 9px 14px;
	color: var(--c-ink); font-weight: 500; font-size: 14.5px;
	border-radius: 10px;
}
.site-nav__list a:hover { color: var(--c-indigo); background: #fff; }
.site-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 190px;
	list-style: none; margin: 6px 0 0; padding: 8px;
	background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s ease;
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px;
	background: #fff; border: 1px solid var(--c-line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bento 首屏 ---------- */
.bento { padding: 48px 0 64px; }
.bento__grid {
	display: grid;
	grid-template-columns: 1.15fr .46fr .46fr;
	grid-template-rows: auto auto auto;
	gap: 18px;
}
.bento__cell {
	background: var(--c-card);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 26px 28px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.bento__cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento__cell--copy { grid-column: 1; grid-row: 1 / 4; padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.bento__cell--ai { grid-column: 2 / 4; grid-row: 1; }
.bento__cell--stat1 { grid-column: 2; grid-row: 2; }
.bento__cell--legend { grid-column: 3; grid-row: 2; }
.bento__cell--stat2 { grid-column: 2; grid-row: 3; }
.bento__cell--stat3 { grid-column: 3; grid-row: 3; }

.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	font-size: 13.5px; font-weight: 600;
	color: var(--c-indigo);
	background: rgba(79, 70, 229, .07);
	border: 1px solid rgba(79, 70, 229, .25);
	padding: 7px 15px; border-radius: 999px;
}
.hero__title { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; margin: 22px 0 16px; }
.hero__title em { font-style: normal; color: var(--c-indigo); }
.hero__desc { font-size: 16.5px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.bento__label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--c-ink); margin: 0 0 14px; }
.bento__label .hx-icon { color: var(--c-indigo); }
.ai-feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-feed li {
	display: flex; align-items: center; gap: 9px;
	background: var(--c-bg); border-radius: var(--radius-sm);
	padding: 11px 14px; font-size: 13.5px; color: var(--c-ink); font-weight: 500;
}
.ai-feed code { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--c-indigo); font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--blue { background: var(--cat-blue); }
.dot--green { background: var(--cat-green); }
.dot--red { background: var(--cat-red); }

.bento__cell--stat1 strong, .bento__cell--stat2 strong, .bento__cell--stat3 strong {
	display: block; font-size: 38px; font-weight: 800; color: var(--c-ink);
	line-height: 1.15; font-variant-numeric: tabular-nums;
}
.bento__cell--stat1 span, .bento__cell--stat2 span, .bento__cell--stat3 span { font-size: 13px; }
.bento__cell--stat1 { border-top: 4px solid var(--c-indigo); }
.bento__cell--stat2 { border-top: 4px solid var(--cat-blue); }
.bento__cell--stat3 { border-top: 4px solid var(--cat-green); }

.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.legend__item {
	font-size: 12.5px; font-weight: 700;
	padding: 5px 12px; border-radius: 999px;
}
.legend__item--blue { color: var(--cat-blue); background: rgba(37, 99, 235, .1); }
.legend__item--green { color: var(--cat-green); background: rgba(22, 163, 74, .1); }
.legend__item--red { color: var(--cat-red); background: rgba(220, 38, 38, .1); }
.legend__item--gray { color: var(--cat-gray); background: rgba(107, 114, 128, .12); }

/* ---------- 通用版块 ---------- */
.section { padding: 84px 0; }
.section--pad { padding: 60px 0 84px; }
.section--gray { background: #eceef1; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .26em; color: var(--c-indigo); margin-bottom: 10px; }
.section-head__title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.section-head__desc { margin: 0; }
.section-foot { text-align: center; margin: 44px 0 0; }

/* ---------- 工艺链 ---------- */
.chain {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
	position: relative;
}
.chain::before {
	content: ""; position: absolute; left: 5%; right: 5%; top: 24px;
	border-top: 2px dashed var(--c-line);
}
.chain__node {
	position: relative; text-align: center;
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 22px 14px 18px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.chain__node:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.chain__num {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	display: grid; place-items: center;
	width: 28px; height: 28px; border-radius: 50%;
	color: #fff; font-size: 13px; font-weight: 800;
}
.c-blue { background: var(--cat-blue); }
.c-green { background: var(--cat-green); }
.c-red { background: var(--cat-red); }
.c-gray { background: var(--cat-gray); }
.chain__node .hx-icon { color: var(--c-indigo); margin: 6px 0 8px; }
.chain__node h3 { font-size: 15.5px; margin-bottom: 3px; }
.chain__node p { font-size: 12.5px; margin: 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__media {
	position: relative; display: block; aspect-ratio: 16 / 10;
	background:
		radial-gradient(220px 150px at 76% 24%, rgba(79, 70, 229, .16), transparent 70%),
		linear-gradient(150deg, #eef0ff, #f5f6f8);
	overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-indigo); }
.product-card__spec {
	position: absolute; left: 14px; bottom: 12px;
	font-size: 12px; font-weight: 600; color: var(--c-indigo);
	background: #fff; border: 1px solid rgba(79, 70, 229, .3);
	padding: 4px 12px; border-radius: 999px;
}
.product-card__body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 17px; margin-bottom: 8px; }
.product-card__title a { color: var(--c-ink); }
.product-card__title a:hover { color: var(--c-indigo); }
.product-card__desc { font-size: 14px; flex: 1; margin-bottom: 14px; }
.product-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; transition: gap .2s ease; }
.product-card__more:hover { gap: 10px; }

/* ---------- AI 数据带 ---------- */
.aiband {
	background: linear-gradient(110deg, var(--c-indigo-deep), var(--c-indigo));
	color: #fff;
}
.aiband__inner {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	padding-top: 50px; padding-bottom: 50px; text-align: center;
}
.aiband strong { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; font-variant-numeric: tabular-nums; }
.aiband span { font-size: 13.5px; color: rgba(255, 255, 255, .8); }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 26px 22px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene-card__icon {
	display: inline-grid; place-items: center;
	width: 50px; height: 50px; border-radius: 14px;
	margin-bottom: 14px;
}
.scene-card--blue .scene-card__icon { color: var(--cat-blue); background: rgba(37, 99, 235, .1); }
.scene-card--green .scene-card__icon { color: var(--cat-green); background: rgba(22, 163, 74, .1); }
.scene-card--red .scene-card__icon { color: var(--cat-red); background: rgba(220, 38, 38, .1); }
.scene-card--gray .scene-card__icon { color: var(--cat-gray); background: rgba(107, 114, 128, .12); }
.scene-card--blue { border-top: 3px solid var(--cat-blue); }
.scene-card--green { border-top: 3px solid var(--cat-green); }
.scene-card--red { border-top: 3px solid var(--cat-red); }
.scene-card--gray { border-top: 3px solid var(--cat-gray); }
.scene-card h3 { font-size: 17px; margin-bottom: 6px; }
.scene-card p { font-size: 14px; margin: 0; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 28px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card__badge {
	display: inline-block;
	font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
	color: var(--c-indigo); background: rgba(79, 70, 229, .08);
	border: 1px solid rgba(79, 70, 229, .3);
	padding: 3px 12px; border-radius: 999px; margin-bottom: 14px;
}
.case-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.case-card__meta { font-size: 13px; color: var(--c-indigo); font-weight: 600; margin-bottom: 10px; }
.case-card__desc { font-size: 14px; margin: 0; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 26px 26px 22px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__date { font-size: 13px; color: var(--c-indigo); font-weight: 600; margin-bottom: 10px; }
.news-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.news-card h3 a { color: var(--c-ink); }
.news-card h3 a:hover { color: var(--c-indigo); }
.news-card__desc { font-size: 14px; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact__copy .section-head__eyebrow,
.contact__copy .section-head__title { text-align: left; }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 15px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--c-ink); }
.contact__list .hx-icon { color: var(--c-indigo); }

.contact__form-wrap {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 34px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.contact-form p { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%; padding: 12px 15px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px; color: var(--c-ink);
	background: var(--c-bg);
	transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
	outline: none; border-color: var(--c-indigo); background: #fff;
}
.contact-form__tip { font-size: 12.5px; color: #9aa1b0; text-align: center; margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice {
	background: #eef2ff; border: 1px solid #c7d2fe; color: var(--c-indigo-deep);
	border-radius: var(--radius-sm); padding: 13px 17px; margin-bottom: 18px; font-size: 14.5px;
}

/* ---------- 内页头部 ---------- */
.page-hero { padding: 56px 0 48px; }
.page-hero .container {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding-top: 44px; padding-bottom: 44px;
}
.page-hero__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 0; }
.page-hero__sub { margin: 10px 0 0; }
.page-hero__meta { font-size: 13.5px; color: var(--c-indigo); font-weight: 600; margin: 0 0 10px; }

/* ---------- 博客列表 ---------- */
.post-list { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.post-card {
	display: grid; grid-template-columns: 280px 1fr;
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card:not(:has(.post-card__thumb)) { grid-template-columns: 1fr; }
.post-card__body { padding: 24px 28px; }
.post-card__meta { font-size: 13px; color: var(--c-indigo); font-weight: 600; margin-bottom: 8px; }
.post-card__meta a { color: inherit; }
.post-card__title { font-size: 19px; margin-bottom: 8px; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-indigo); }
.post-card__desc { font-size: 14.5px; margin-bottom: 12px; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.no-results { text-align: center; padding: 60px 0; }

.navigation.pagination { margin: 46px 0 0; text-align: center; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers {
	display: inline-block; min-width: 42px; padding: 9px 14px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	color: var(--c-ink); font-weight: 600; font-size: 14px; background: #fff;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--c-indigo); border-color: var(--c-indigo); color: #fff; }

/* ---------- 文章内容 ---------- */
.entry-wrap { max-width: 860px; padding-top: 12px; padding-bottom: 84px; }
.entry {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 40px 44px;
}
.entry__thumb { margin: 0 0 28px; border-radius: var(--radius-sm); overflow: hidden; }
.entry__content { font-size: 16px; }
.entry__content h2 { font-size: 25px; margin-top: 1.6em; }
.entry__content h3 { font-size: 20px; margin-top: 1.4em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content blockquote {
	margin: 1.5em 0; padding: 16px 24px;
	border-left: 4px solid var(--c-indigo);
	background: var(--c-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry__content th, .entry__content td { border: 1px solid var(--c-line); padding: 10px 14px; text-align: left; }
.entry__content th { background: var(--c-bg); }
.entry__tags { margin-top: 26px; font-size: 14px; }
.page-links { margin: 24px 0; }

.post-nav {
	display: flex; justify-content: space-between; gap: 20px;
	margin: 40px 0; font-size: 14.5px;
}
.post-nav__next { text-align: right; }

/* ---------- 评论 ---------- */
.comments-area {
	margin-top: 28px;
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 34px 40px;
}
.comments-title, .comment-reply-title { font-size: 21px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--c-line); padding: 20px 0; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-ink); }
.comment-author .avatar { border-radius: 10px; }
.comment-metadata { font-size: 12.5px; }
.comment-content { font-size: 15px; }
.reply { font-size: 13.5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px; background: var(--c-bg);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-indigo); background: #fff; }
.form-submit .submit {
	background: var(--c-indigo); color: #fff; border: 0;
	border-radius: var(--radius-sm); padding: 12px 30px;
	font-size: 15px; font-weight: 600; cursor: pointer;
}
.form-submit .submit:hover { background: var(--c-indigo-deep); }

/* ---------- 搜索 / 404 ---------- */
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form__input {
	flex: 1; padding: 12px 16px;
	border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
	font-family: inherit; font-size: 15px; background: #fff;
}
.search-form__input:focus { outline: none; border-color: var(--c-indigo); }
.error-404 {
	text-align: center; padding: 56px 32px;
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.error-404__code {
	font-size: clamp(90px, 15vw, 150px); font-weight: 800; line-height: 1;
	color: var(--c-indigo);
	margin: 0 0 10px;
}
.error-404 .search-form { margin: 24px auto 28px; justify-content: center; }

/* ---------- 产品详情 / 归档 ---------- */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 12px; padding-bottom: 40px; align-items: start; }
.product-single__media {
	position: relative; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--c-line);
	background:
		radial-gradient(280px 200px at 72% 28%, rgba(79, 70, 229, .16), transparent 70%),
		linear-gradient(150deg, #eef0ff, #f5f6f8);
}
.product-single__media img { width: 100%; height: 100%; object-fit: cover; }
.product-single__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-indigo); }
.product-single__body {
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 32px 36px;
}
.product-single__summary {
	background: rgba(79, 70, 229, .06); border: 1px solid rgba(79, 70, 229, .2);
	border-radius: var(--radius-sm); padding: 15px 20px; margin-bottom: 22px;
	font-size: 15px; color: var(--c-ink);
}
.product-single__summary p { margin: 0; }
.product-single__cta { margin-top: 28px; padding-top: 24px; border-top: 1.5px dashed var(--c-line); }
.product-single__cta h3 { font-size: 17px; margin-bottom: 6px; }
.product-single__cta p { font-size: 14px; margin-bottom: 16px; }
.product-single__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.related-title { font-size: 23px; margin-bottom: 26px; }
.archive-cta {
	margin-top: 60px; text-align: center;
	background: var(--c-card); border: 1px solid var(--c-line);
	border-radius: var(--radius); padding: 46px 32px;
}
.archive-cta h2 { font-size: 24px; }
.archive-cta p { margin-bottom: 20px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #171a26; color: rgba(255, 255, 255, .64); margin-top: 24px; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px;
	padding-top: 60px; padding-bottom: 46px;
}
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer__logo .hx-icon { color: #8b85f4; }
.site-footer__about { font-size: 14px; line-height: 1.85; }
.site-footer__phone { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #8b85f4; margin-top: 18px; }
.site-footer__title { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__menu a { color: rgba(255, 255, 255, .64); font-size: 14px; }
.site-footer__menu a:hover { color: #8b85f4; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.site-footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.site-footer__contact .hx-icon { color: #8b85f4; margin-top: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner {
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding-top: 20px; padding-bottom: 20px; font-size: 13px;
}
.site-footer__bottom p { margin: 0; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
	position: fixed; right: 26px; bottom: 26px; z-index: 90;
	width: 46px; height: 46px; border: 0; border-radius: 14px;
	display: grid; place-items: center; cursor: pointer;
	background: var(--c-indigo); color: #fff;
	box-shadow: 0 12px 28px rgba(79, 70, 229, .4);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .25s ease;
}
.back-to-top .hx-icon { transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
	.bento__grid { grid-template-columns: 1fr 1fr; }
	.bento__cell--copy { grid-column: 1 / 3; grid-row: 1; }
	.bento__cell--ai { grid-column: 1 / 3; grid-row: 2; }
	.bento__cell--stat1 { grid-column: 1; grid-row: 3; }
	.bento__cell--legend { grid-column: 2; grid-row: 3; }
	.bento__cell--stat2 { grid-column: 1; grid-row: 4; }
	.bento__cell--stat3 { grid-column: 2; grid-row: 4; }
	.chain { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
	.chain::before { display: none; }
	.product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
	.aiband__inner { grid-template-columns: repeat(2, 1fr); }
	.contact { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.product-single { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.nav-toggle { display: flex; }
	.site-header__actions .btn { display: none; }
	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
		width: min(320px, 84vw);
		background: #fff; box-shadow: -20px 0 60px rgba(31, 35, 51, .18);
		padding: 84px 28px 28px;
		transform: translateX(100%); transition: transform .3s ease;
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateX(0); }
	.site-nav__list { flex-direction: column; gap: 4px; }
	.site-nav__list a { padding: 13px 14px; font-size: 16px; }
	.site-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 18px; margin: 0;
	}
	.nav-toggle { position: relative; z-index: 210; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 620px) {
	.section { padding: 60px 0; }
	.bento__grid { grid-template-columns: 1fr; }
	.bento__cell--copy, .bento__cell--ai, .bento__cell--stat1, .bento__cell--legend, .bento__cell--stat2, .bento__cell--stat3 { grid-column: 1; grid-row: auto; }
	.bento__cell--copy { padding: 30px 26px; }
	.ai-feed { grid-template-columns: 1fr; }
	.chain { grid-template-columns: 1fr 1fr; }
	.product-grid, .scene-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
	.aiband__inner { grid-template-columns: 1fr 1fr; }
	.post-card { grid-template-columns: 1fr; }
	.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.entry { padding: 26px 22px; }
	.contact__form-wrap { padding: 26px 22px; }
}

/* 优化 · 全局尊重系统"减少动态效果"（覆盖装饰性 keyframes 动画） */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}

/* ==========================================================================
   美化优化 v1.1 · 2026-07 — 浅灰靛蓝 Bento 风精修
   ========================================================================== */
/* 通用 UX */
html { scroll-padding-top: 86px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .09s; }

/* 靛蓝按钮:渐变缓移 */
.btn--indigo { background-size: 170% 100%; transition: transform .2s ease, box-shadow .2s ease, background-position .45s ease, color .2s ease; }
.btn--indigo:hover { background-position: 80% 0; }

/* 导航:当前项靛蓝 */
.site-nav__list > li.current-menu-item > a { color: var(--c-indigo); }

/* Bento:载入错峰浮现(格子逐个落位) */
@keyframes hx-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.bento__cell--copy { animation: hx-pop .55s ease both; }
.bento__cell--ai { animation: hx-pop .55s ease .1s both; }
.bento__cell--stat1 { animation: hx-pop .55s ease .2s both; }
.bento__cell--legend { animation: hx-pop .55s ease .28s both; }
.bento__cell--stat2 { animation: hx-pop .55s ease .36s both; }
.bento__cell--stat3 { animation: hx-pop .55s ease .44s both; }

/* 统计格:悬停数字取顶边色 */
.bento__cell--stat1 strong, .bento__cell--stat2 strong, .bento__cell--stat3 strong { transition: color .25s ease; }
.bento__cell--stat1:hover strong { color: var(--c-indigo); }
.bento__cell--stat2:hover strong { color: var(--cat-blue); }
.bento__cell--stat3:hover strong { color: var(--cat-green); }

/* AI 识别流:行滑入 + 置信度点亮 */
.ai-feed li { transition: transform .22s ease, background .22s ease; }
.ai-feed li:hover { transform: translateX(4px); background: rgba(79, 70, 229, .07); }
.ai-feed code { transition: transform .22s ease; }
.ai-feed li:hover code { transform: scale(1.08); }

/* 分类图例:芯片弹起 */
.legend__item { transition: transform .22s ease, box-shadow .22s ease; }
.legend__item:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31, 35, 51, .1); }

/* 产品卡:图区微缩放 */
.product-card__media img, .product-card__ph { transition: transform .45s ease; }
.product-card:hover .product-card__media img,
.product-card:hover .product-card__ph { transform: scale(1.05); }

/* 表单:聚焦靛蓝环 */
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 4px rgba(79, 70, 229, .13); }

/* 页脚:顶部四分类色发丝线(主题签名) + 链接滑入 */
.site-footer { position: relative; }
.site-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px; opacity: .85;
	background: linear-gradient(90deg, var(--cat-blue) 0 25%, var(--cat-green) 25% 50%, var(--cat-red) 50% 75%, var(--cat-gray) 75% 100%);
}
.site-footer__menu a { transition: color .2s ease, padding-left .2s ease; }
.site-footer__menu a:hover { padding-left: 6px; }

/* 减动效 */
@media (prefers-reduced-motion: reduce) {
	.bento__cell--copy, .bento__cell--ai, .bento__cell--stat1, .bento__cell--legend, .bento__cell--stat2, .bento__cell--stat3 { animation: none; }
}
