/* =============================================================
   蓉城AI学堂 · 主样式
   设计令牌:墨蓝 #101736 / 群青 #2E4BE6 / 芙蓉橙红 #FF6B4A
   签名元素:「」关键词高亮 + 印章方块眉标 + 课程票卡
   ============================================================= */

:root {
	--ink: #101736;
	--ink-2: #1A2350;
	--primary: #2E4BE6;
	--primary-2: #5A63F2;
	--accent: #FF6B4A;
	--accent-2: #FF8F5E;
	--wechat: #07C160;
	--star: #F5A623;
	--bg: #F5F7FE;
	--paper: #FFFFFF;
	--text: #1D2946;
	--muted: #5D6B8A;
	--border: #E4E9F6;
	--ring: rgba(46, 75, 230, 0.25);
	--r-lg: 18px;
	--r-md: 12px;
	--r-sm: 8px;
	--shadow-sm: 0 4px 14px rgba(23, 37, 84, 0.06);
	--shadow-md: 0 10px 30px rgba(23, 37, 84, 0.1);
	--shadow-lg: 0 18px 48px rgba(23, 37, 84, 0.16);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
		"Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
	--ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

button {
	font-family: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	overflow-wrap: break-word;
}

p {
	margin: 0;
}

ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
	padding: 0;
}

::selection {
	background: rgba(255, 107, 74, 0.25);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

.i {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -0.2em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 300;
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 10px 10px;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 0;
}

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

.container--narrow {
	max-width: 820px;
}

.section {
	padding: 96px 0;
}

.section--soft {
	background: var(--bg);
}

.section--ink {
	background: var(--ink);
}

.section--cta {
	padding-top: 0;
}

.grid {
	display: grid;
	gap: 26px;
}

.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

/* ---------- 区块标题(印章眉标签名) ---------- */
.section-head {
	max-width: 640px;
	margin-bottom: 52px;
}

.section-head.is-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.35em;
	color: var(--muted);
	margin-bottom: 14px;
}

.eyebrow__seal {
	width: 11px;
	height: 11px;
	border-radius: 3px;
	background: var(--accent);
	flex: none;
}

.section-title {
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--ink);
}

.section-sub {
	margin-top: 14px;
	font-size: 16px;
	color: var(--muted);
}

.section-foot {
	text-align: center;
	margin-top: 44px;
}

.section-foot--left {
	text-align: left;
}

/* 「」关键词高亮 —— 主题视觉签名 */
mark.hl {
	background: linear-gradient(transparent 64%, rgba(255, 107, 74, 0.22) 64%);
	color: var(--accent);
	font-weight: inherit;
}

.section--ink .section-title,
.section--ink .section-sub {
	color: #fff;
}

.section--ink .section-sub {
	color: rgba(226, 232, 250, 0.7);
}

.section--ink .eyebrow {
	color: rgba(226, 232, 250, 0.6);
}

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
		background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--lg {
	padding: 15px 28px;
	font-size: 16px;
	border-radius: 14px;
}

.btn--block {
	display: flex;
	width: 100%;
	margin-top: 10px;
}

.btn--accent {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	box-shadow: 0 8px 22px rgba(255, 107, 74, 0.35);
}

.btn--accent:hover {
	color: #fff;
	box-shadow: 0 12px 28px rgba(255, 107, 74, 0.45);
}

.btn--primary {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 8px 22px rgba(46, 75, 230, 0.28);
}

.btn--primary:hover {
	color: #fff;
	background: #2740c7;
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.btn--white {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 8px 22px rgba(9, 13, 31, 0.25);
}

.btn--white:hover {
	color: var(--primary);
}

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

.btn--line:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary);
}

.link-more .i {
	transition: transform 0.2s var(--ease);
}

.link-more:hover .i {
	transform: translateX(4px);
}

/* ---------- 顶部信息条 ---------- */
.topbar {
	background: var(--ink);
	color: rgba(226, 232, 250, 0.78);
	font-size: 13px;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 38px;
}

.topbar__left,
.topbar__right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar span,
.topbar a,
.topbar button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.topbar a,
.topbar__wechat {
	color: rgba(226, 232, 250, 0.9);
	background: none;
	border: 0;
	padding: 0;
	font-size: 13px;
}

.topbar a:hover,
.topbar__wechat:hover {
	color: var(--accent-2);
}

/* ---------- 页头 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
	box-shadow: var(--shadow-md);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 72px;
}

.brand__link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.brand__seal {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand__seal::after {
	content: "";
	position: absolute;
	top: -3px;
	right: -3px;
	width: 12px;
	height: 12px;
	border-radius: 4px;
	background: var(--accent);
	border: 2px solid #fff;
}

.brand__name {
	font-size: 19px;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: 0.02em;
}

.site-nav {
	margin-left: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.nav-menu li {
	position: relative;
}

.nav-menu > li > a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--text);
}

.nav-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
	color: var(--primary);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
	transform: scaleX(1);
}

.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 8px;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 0.22s var(--ease);
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 9px;
	font-size: 14px;
	color: var(--text);
}

.sub-menu a:hover {
	background: var(--bg);
	color: var(--primary);
}

.site-nav__extra {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.nav-toggle span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: 0.25s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 主视觉 ---------- */
.hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	padding: 76px 0 60px;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(560px 380px at 12% 8%, rgba(46, 75, 230, 0.45), transparent 68%),
		radial-gradient(480px 340px at 88% 0%, rgba(255, 107, 74, 0.22), transparent 70%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px);
	-webkit-mask-image: linear-gradient(#000 62%, transparent);
	mask-image: linear-gradient(#000 62%, transparent);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 13.5px;
	color: rgba(226, 232, 250, 0.85);
	margin-bottom: 24px;
}

.hero__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.22);
}

.hero__title {
	font-size: clamp(30px, 4.6vw, 52px);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: 0.01em;
}

.hero__title mark.hl {
	background: linear-gradient(transparent 66%, rgba(255, 107, 74, 0.28) 66%);
}

.hero__sub {
	margin-top: 20px;
	max-width: 34em;
	font-size: 16.5px;
	line-height: 1.9;
	color: rgba(226, 232, 250, 0.75);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	list-style: none;
	margin-top: 26px;
	font-size: 14px;
	color: rgba(226, 232, 250, 0.75);
}

.hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hero__trust .i {
	color: var(--accent);
}

/* 课程票卡(主视觉签名元素) */
.hero__visual {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ticket {
	position: absolute;
	width: min(360px, 92%);
	padding: 24px 26px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(160deg, #202a5e, #151d47);
	box-shadow: 0 24px 60px rgba(5, 8, 22, 0.55);
}

.ticket--front {
	transform: rotate(2.5deg) translate(16px, 24px);
	animation: cae-float 6s ease-in-out infinite alternate;
}

.ticket--back {
	transform: rotate(-6deg) translate(-42px, -58px) scale(0.94);
	opacity: 0.8;
}

@keyframes cae-float {
	to {
		transform: rotate(2.5deg) translate(16px, 12px);
	}
}

.ticket__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(226, 232, 250, 0.62);
}

.ticket__label--live {
	color: var(--accent-2);
	font-weight: 600;
}

.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	animation: cae-pulse 1.6s ease-out infinite;
}

@keyframes cae-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.55);
	}

	100% {
		box-shadow: 0 0 0 9px rgba(255, 107, 74, 0);
	}
}

.ticket__name {
	margin-top: 12px;
	font-size: 18.5px;
	font-weight: 700;
	color: #fff;
}

.ticket__meta {
	margin-top: 7px;
	font-size: 13px;
	color: rgba(226, 232, 250, 0.58);
}

.ticket__row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.ticket__seats {
	flex: 1;
	height: 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.ticket__seats i {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.ticket__cta {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--accent-2);
}

.hero__chip {
	position: absolute;
	left: -6px;
	bottom: 2px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: var(--shadow-lg);
}

.hero__chip .i {
	color: var(--wechat);
}

/* 数据条 */
.hero__stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 60px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat__num {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.stat__label {
	margin-top: 4px;
	font-size: 13.5px;
	color: rgba(226, 232, 250, 0.6);
}

/* ---------- 课程卡片 ---------- */
.course-card,
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		border-color 0.25s;
}

.course-card:hover,
.post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.course-card__media,
.post-card__media {
	position: relative;
	display: block;
	padding-top: 56%;
	overflow: hidden;
}

.course-card__media::after,
.post-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px);
	pointer-events: none;
}

.course-card__media img,
.post-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.course-card:hover .course-card__media img,
.post-card:hover .post-card__media img {
	transform: scale(1.05);
}

.course-card__glyph,
.post-card__glyph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.92);
}

.course-card__glyph .i,
.post-card__glyph .i {
	width: 54px;
	height: 54px;
	filter: drop-shadow(0 6px 16px rgba(5, 8, 22, 0.35));
}

/* 占位封面渐变(六种品牌配色) */
.ph-1 {
	background: linear-gradient(135deg, #2e4be6, #5a63f2);
}

.ph-2 {
	background: linear-gradient(135deg, #101736, #2e4be6);
}

.ph-3 {
	background: linear-gradient(135deg, #ff6b4a, #ff9a6e);
}

.ph-4 {
	background: linear-gradient(135deg, #5a63f2, #8e96ff);
}

.ph-5 {
	background: linear-gradient(135deg, #16205a, #2e4be6);
}

.ph-6 {
	background: linear-gradient(135deg, #ff6b4a, #5a63f2);
}

.chip {
	position: absolute;
	top: 12px;
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.6;
	z-index: 1;
}

.chip--level {
	left: 12px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ink);
}

.chip--hot {
	right: 12px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
}

.course-card__body,
.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.course-card__title,
.post-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.course-card__title a,
.post-card__title a {
	color: var(--ink);
}

.course-card__title a:hover,
.post-card__title a:hover {
	color: var(--primary);
}

.course-card__desc,
.post-card__excerpt {
	margin: 9px 0 14px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted);
}

.course-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 13px;
	color: var(--muted);
}

.course-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.course-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid var(--border);
}

.course-card__meta + .course-card__foot {
	margin-top: 15px;
}

.price {
	font-size: 18px;
	font-weight: 800;
	color: var(--accent);
	letter-spacing: 0.01em;
}

/* ---------- 教学保障 ---------- */
.feature {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 28px 26px;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(46, 75, 230, 0.09);
	color: var(--primary);
	transition: 0.25s var(--ease);
}

.feature__icon .i {
	width: 24px;
	height: 24px;
}

.feature:hover .feature__icon {
	background: var(--primary);
	color: #fff;
}

.feature__title {
	margin: 18px 0 8px;
	font-size: 17px;
}

.feature__desc {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--muted);
}

/* ---------- 学习路径 ---------- */
.path {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	list-style: none;
	counter-reset: step;
}

.path__step {
	position: relative;
	padding: 24px 22px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.09);
	transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.path__step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	width: 34px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--accent), transparent);
}

.path__step:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 143, 94, 0.45);
	background: rgba(255, 255, 255, 0.07);
}

.path__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.25em;
	color: var(--accent-2);
}

.path__title {
	margin: 12px 0 8px;
	font-size: 17px;
	color: #fff;
}

.path__desc {
	font-size: 13.5px;
	line-height: 1.75;
	color: rgba(226, 232, 250, 0.62);
}

/* ---------- 讲师 ---------- */
.teacher-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 28px 24px;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.teacher-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.teacher-card__avatar {
	position: relative;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	overflow: hidden;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}

.teacher-card__avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teacher-card__avatar span {
	font-size: 30px;
	font-weight: 800;
	color: #fff;
}

.ph-a-1 {
	background: linear-gradient(135deg, #2e4be6, #5a63f2);
}

.ph-a-2 {
	background: linear-gradient(135deg, #101736, #2e4be6);
}

.ph-a-3 {
	background: linear-gradient(135deg, #ff6b4a, #ff9a6e);
}

.ph-a-4 {
	background: linear-gradient(135deg, #ff6b4a, #5a63f2);
}

.teacher-card__name {
	font-size: 17.5px;
}

.teacher-card__name a {
	color: var(--ink);
}

.teacher-card__name a:hover {
	color: var(--primary);
}

.teacher-card__role {
	margin: 5px 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--primary);
}

.teacher-card__bio {
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted);
}

/* ---------- 学员评价 ---------- */
.review-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 28px 26px;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.review-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.review-card__quote {
	position: absolute;
	top: 22px;
	right: 24px;
	color: rgba(46, 75, 230, 0.12);
}

.review-card__quote .i {
	width: 40px;
	height: 40px;
}

.review-card__stars {
	display: flex;
	gap: 3px;
	color: var(--star);
	margin-bottom: 14px;
}

.review-card__stars .i {
	width: 16px;
	height: 16px;
}

.review-card blockquote {
	font-size: 15px;
	line-height: 1.85;
	color: var(--text);
	margin-bottom: 20px;
}

.review-card figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
}

.review-card__avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	flex: none;
}

.review-card__who strong {
	display: block;
	font-size: 14.5px;
	color: var(--ink);
}

.review-card__who em {
	font-style: normal;
	font-size: 12.5px;
	color: var(--muted);
}

/* ---------- 常见问题 ---------- */
.faq__item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.faq__item[open] {
	border-color: rgba(46, 75, 230, 0.4);
}

.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	color: var(--primary);
	transition: transform 0.25s var(--ease);
	flex: none;
}

.faq__item[open] summary {
	color: var(--primary);
}

.faq__item[open] summary::after {
	transform: rotate(45deg);
}

.faq__item p {
	padding: 0 22px 20px;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--muted);
}

/* ---------- 试听转化区 ---------- */
.cta-band {
	position: relative;
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 44px;
	align-items: center;
	padding: 52px 56px;
	border-radius: 26px;
	background: linear-gradient(120deg, #2e4be6 0%, #2436a8 55%, #101736 100%);
	color: #fff;
	overflow: hidden;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(420px 300px at 92% -10%, rgba(255, 107, 74, 0.4), transparent 70%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px);
	pointer-events: none;
}

.cta-band > * {
	position: relative;
}

.cta-band__title {
	font-size: clamp(23px, 2.8vw, 32px);
	font-weight: 800;
	line-height: 1.35;
}

.cta-band__title mark.hl {
	color: var(--accent-2);
	background: linear-gradient(transparent 66%, rgba(255, 143, 94, 0.28) 66%);
}

.cta-band__sub {
	margin-top: 14px;
	max-width: 38em;
	font-size: 15.5px;
	line-height: 1.85;
	color: rgba(233, 238, 252, 0.82);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 16px;
}

.cta-band__note {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	color: rgba(233, 238, 252, 0.7);
}

.cta-band__qr {
	justify-self: center;
	text-align: center;
	padding: 24px 22px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-band__qr img {
	width: 156px;
	height: 156px;
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
	padding: 8px;
}

.cta-band__qr-ph {
	display: grid;
	place-items: center;
	width: 156px;
	height: 156px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.85);
}

.cta-band__qr-ph .i {
	width: 46px;
	height: 46px;
}

.cta-band__qr span {
	display: block;
	margin-top: 12px;
	font-size: 13.5px;
	color: rgba(233, 238, 252, 0.85);
}

/* ---------- 内页顶部横幅 ---------- */
.page-hero {
	position: relative;
	background: var(--ink);
	color: #fff;
	padding: 60px 0 52px;
	overflow: hidden;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(480px 300px at 10% 0%, rgba(46, 75, 230, 0.4), transparent 68%),
		radial-gradient(380px 260px at 92% -20%, rgba(255, 107, 74, 0.2), transparent 70%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 56px);
	pointer-events: none;
}

.page-hero .container {
	position: relative;
}

.page-hero__title {
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 800;
	letter-spacing: 0.01em;
}

.page-hero__sub {
	margin-top: 12px;
	max-width: 46em;
	font-size: 15.5px;
	line-height: 1.8;
	color: rgba(226, 232, 250, 0.72);
}

.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 14px;
	font-size: 13.5px;
	color: rgba(226, 232, 250, 0.7);
}

.page-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.page-hero__meta a {
	color: rgba(226, 232, 250, 0.85);
}

.page-hero__meta a:hover {
	color: var(--accent-2);
}

.page-hero__meta .chip {
	position: static;
}

.course-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin-top: 20px;
}

.course-chips li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13.5px;
	color: rgba(233, 238, 252, 0.88);
}

.course-chips .i {
	color: var(--accent-2);
}

/* ---------- 课程分类筛选 ---------- */
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 34px;
}

.chip-filter {
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	transition: 0.2s;
}

.chip-filter:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.chip-filter.is-active {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

/* ---------- 文章卡片补充 ---------- */
.post-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--muted);
}

.post-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.post-card__cat {
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(46, 75, 230, 0.08);
	color: var(--primary);
	font-weight: 600;
	font-size: 12.5px;
}

.post-card__excerpt {
	margin-bottom: 16px;
}

.post-card .link-more {
	margin-top: auto;
}

/* ---------- 正文排版 ---------- */
.entry-thumb {
	margin-bottom: 32px;
}

.entry-thumb img {
	width: 100%;
	border-radius: var(--r-lg);
}

.entry-content {
	font-size: 16.5px;
	line-height: 1.95;
	color: #2a3654;
}

.entry-content > * + * {
	margin-top: 1.15em;
}

.entry-content h2 {
	margin-top: 2em;
	padding-left: 14px;
	border-left: 4px solid var(--accent);
	font-size: 24px;
	font-weight: 800;
	color: var(--ink);
	line-height: 1.4;
}

.entry-content h3 {
	margin-top: 1.7em;
	font-size: 19.5px;
	font-weight: 700;
	color: var(--ink);
}

.entry-content h4 {
	margin-top: 1.5em;
	font-size: 17px;
	color: var(--ink);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content li {
	margin-top: 0.45em;
}

.entry-content ul li::marker {
	color: var(--accent);
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--accent);
}

.entry-content blockquote {
	padding: 18px 22px;
	border-left: 3px solid var(--primary);
	border-radius: 0 14px 14px 0;
	background: rgba(46, 75, 230, 0.06);
	color: #3a4766;
}

.entry-content img {
	border-radius: 14px;
}

.entry-content code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: #eef1fb;
	font-size: 0.88em;
}

.entry-content pre {
	padding: 20px 22px;
	border-radius: 14px;
	background: var(--ink);
	color: #dee6ff;
	overflow: auto;
	font-size: 14px;
	line-height: 1.7;
}

.entry-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--border);
	padding: 10px 14px;
	text-align: left;
}

.entry-content th {
	background: var(--bg);
	color: var(--ink);
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 2.4em 0;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption-text {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--muted);
	text-align: center;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
}

.page-links {
	margin-top: 2em;
	font-size: 14.5px;
}

.page-links a,
.page-links > span {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	margin-left: 6px;
	border: 1px solid var(--border);
	border-radius: 9px;
}

.page-links > span:not(:first-child) {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.entry-tags {
	margin-top: 36px;
}

.entry-tags a {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--bg);
	border: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
}

.entry-tags a:hover {
	color: var(--primary);
	border-color: var(--primary);
}

/* 上一篇 / 下一篇 */
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 44px;
	padding-top: 30px;
	border-top: 1px solid var(--border);
}

.post-navigation a {
	display: block;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	transition: 0.2s;
}

.post-navigation a:hover {
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: var(--shadow-sm);
}

.post-navigation a span {
	display: block;
	margin-bottom: 5px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--muted);
}

.post-navigation .nav-next {
	text-align: right;
}

/* ---------- 分页 ---------- */
.pagination .nav-links,
.navigation.pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 11px;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	transition: 0.2s;
}

.page-numbers:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.page-numbers.current {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.page-numbers.dots {
	border: 0;
	background: none;
}

/* ---------- 课程详情布局 ---------- */
.course-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 44px;
	align-items: start;
}

.course-side {
	position: sticky;
	top: 96px;
}

.course-side__card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 26px 24px;
	box-shadow: var(--shadow-sm);
}

.course-side__label {
	font-size: 13px;
	color: var(--muted);
}

.course-side__price {
	margin: 4px 0 18px;
	font-size: 30px;
	font-weight: 800;
	color: var(--accent);
}

.course-side__meta {
	margin-bottom: 20px;
}

.course-side__meta div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--border);
	font-size: 14px;
}

.course-side__meta dt {
	color: var(--muted);
	flex: none;
}

.course-side__meta dd {
	font-weight: 600;
	color: var(--text);
	text-align: right;
}

.course-side__note {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--muted);
}

.course-side__note .i {
	color: var(--wechat);
}

/* ---------- 讲师详情 ---------- */
.teacher-profile__avatar {
	width: 148px;
	height: 148px;
	margin: 0 auto 32px;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #fff;
	box-shadow: var(--shadow-md);
}

.teacher-profile__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- 联系页 ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	align-items: start;
}

.contact-info,
.contact-form-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 32px 30px;
	box-shadow: var(--shadow-sm);
}

.contact-h {
	margin-bottom: 22px;
	padding-left: 13px;
	border-left: 4px solid var(--accent);
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
	line-height: 1.3;
}

.contact-list {
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 11px;
	margin-bottom: 15px;
	font-size: 15.5px;
	line-height: 1.7;
}

.contact-list .i {
	margin-top: 4px;
	color: var(--primary);
}

.contact-list a {
	color: var(--text);
	font-weight: 600;
}

.contact-list a:hover {
	color: var(--primary);
}

.contact-qr {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px dashed var(--border);
}

.contact-qr img {
	width: 112px;
	height: 112px;
	object-fit: contain;
	border: 1px solid var(--border);
	border-radius: 12px;
	flex: none;
}

.contact-qr__ph {
	display: grid;
	place-items: center;
	width: 112px;
	height: 112px;
	border-radius: 12px;
	background: var(--bg);
	color: var(--primary);
	flex: none;
}

.contact-qr__ph .i {
	width: 36px;
	height: 36px;
}

.contact-qr p {
	font-size: 14px;
	line-height: 1.9;
	color: var(--muted);
}

.contact-qr strong {
	color: var(--text);
}

.contact-form-tip {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--bg);
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted);
}

/* ---------- 表单(评论 / 搜索 / 第三方表单插件) ---------- */
.site-main input[type="text"],
.site-main input[type="email"],
.site-main input[type="tel"],
.site-main input[type="url"],
.site-main input[type="search"],
.site-main input[type="number"],
.site-main input[type="password"],
.site-main textarea,
.site-main select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border);
	border-radius: 11px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--text);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.site-main textarea {
	min-height: 140px;
	resize: vertical;
}

.site-main input:focus,
.site-main textarea:focus,
.site-main select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--ring);
}

.comment-form .submit,
.site-main input[type="submit"],
.site-main .wpcf7 [type="submit"],
.site-main .wpforms-submit {
	display: inline-flex;
	width: auto;
	padding: 12px 26px;
	border: 0;
	border-radius: 12px;
	background: var(--primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
}

.comment-form .submit:hover,
.site-main input[type="submit"]:hover {
	background: #2740c7;
	transform: translateY(-2px);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form__input {
	flex: 1;
}

.search-form__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	border: 0;
	border-radius: 11px;
	background: var(--primary);
	color: #fff;
	transition: 0.2s;
}

.search-form__btn:hover {
	background: #2740c7;
}

/* ---------- 评论区 ---------- */
.comments-area {
	margin-top: 52px;
	padding-top: 36px;
	border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
	margin-bottom: 22px;
}

.comment-list {
	list-style: none;
}

.comment-list .comment-body {
	position: relative;
	margin-bottom: 14px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--bg);
	font-size: 15px;
}

.comment-list .children {
	list-style: none;
	padding-left: 26px;
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

.comment-author .fn {
	font-style: normal;
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
}

.comment-metadata {
	font-size: 12.5px;
	margin: 4px 0 10px;
}

.comment-metadata a {
	color: var(--muted);
}

.reply a {
	font-size: 13px;
	font-weight: 600;
}

.comment-form p {
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.comment-notes,
.logged-in-as {
	font-size: 13.5px;
	color: var(--muted);
}

.no-comments {
	color: var(--muted);
	font-size: 14.5px;
}

/* ---------- 空状态 / 404 ---------- */
.none-box {
	max-width: 520px;
	margin: 0 auto;
	padding: 24px 0;
	text-align: center;
}

.none-box__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: 0 auto 22px;
	border-radius: 20px;
	background: rgba(46, 75, 230, 0.08);
	color: var(--primary);
}

.none-box__icon .i {
	width: 30px;
	height: 30px;
}

.none-box__code {
	font-size: 76px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(120deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 14px;
}

.none-box h1,
.none-box h2 {
	font-size: 24px;
	font-weight: 800;
	color: var(--ink);
	margin-bottom: 10px;
}

.none-box > p {
	color: var(--muted);
	margin-bottom: 24px;
}

.none-box .search-form {
	max-width: 420px;
	margin: 0 auto;
}

.none-box__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.admin-note {
	margin-bottom: 28px;
	padding: 13px 18px;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	background: #fff7ed;
	font-size: 14px;
	color: #9a5b22;
}

/* ---------- 页脚 ---------- */
.site-footer {
	background: var(--ink);
	color: rgba(226, 232, 250, 0.72);
	padding-top: 68px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.65fr 0.85fr 1.1fr;
	gap: 40px;
}

.site-footer .brand__name {
	color: #fff;
}

.footer-desc {
	margin-top: 18px;
	max-width: 30em;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(226, 232, 250, 0.6);
}

.footer-title {
	position: relative;
	margin-bottom: 20px;
	padding-left: 13px;
	font-size: 15.5px;
	color: #fff;
}

.footer-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 4px;
	height: 15px;
	border-radius: 3px;
	background: var(--accent);
}

.footer-menu {
	list-style: none;
}

.footer-menu li {
	margin-bottom: 11px;
}

.footer-menu a {
	font-size: 14px;
	color: rgba(226, 232, 250, 0.68);
}

.footer-menu a:hover {
	color: #fff;
}

.footer-col--contact p {
	display: flex;
	gap: 9px;
	margin-bottom: 11px;
	font-size: 14px;
	line-height: 1.7;
}

.footer-col--contact .i {
	margin-top: 3px;
	color: rgba(226, 232, 250, 0.5);
	flex: none;
}

.footer-phone {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 16px;
	font-size: 21px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.01em;
}

.footer-phone .i {
	color: var(--accent);
}

.footer-phone:hover {
	color: var(--accent-2);
}

.footer-qr {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
	padding: 15px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-qr img {
	width: 78px;
	height: 78px;
	object-fit: contain;
	border-radius: 9px;
	background: #fff;
	padding: 4px;
	flex: none;
}

.footer-qr__ph {
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.09);
	color: rgba(226, 232, 250, 0.8);
	flex: none;
}

.footer-qr__ph .i {
	width: 30px;
	height: 30px;
}

.footer-qr span {
	font-size: 13px;
	line-height: 1.8;
	color: rgba(226, 232, 250, 0.72);
}

.footer-bottom {
	margin-top: 52px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 13px;
	color: rgba(226, 232, 250, 0.45);
}

.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

.footer-beian a,
.footer-beian span {
	color: rgba(226, 232, 250, 0.55);
}

.footer-beian span {
	margin-left: 16px;
}

.footer-beian a:hover {
	color: #fff;
}

/* ---------- 侧边咨询浮窗 ---------- */
.side-float {
	position: fixed;
	right: 20px;
	bottom: 120px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side-float__item {
	position: relative;
}

.side-float__btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--primary);
	box-shadow: var(--shadow-md);
	transition: 0.2s;
}

.side-float__btn:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.side-float__btn .i {
	width: 21px;
	height: 21px;
}

.side-float__pop {
	position: absolute;
	right: calc(100% + 14px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: 0.22s var(--ease);
	box-shadow: var(--shadow-lg);
}

.side-float__pop strong {
	display: block;
	margin-top: 3px;
	font-size: 15px;
	letter-spacing: 0.02em;
}

.side-float__pop--qr {
	background: #fff;
	color: var(--muted);
	border: 1px solid var(--border);
	text-align: center;
	white-space: normal;
	width: 150px;
}

.side-float__pop--qr img {
	width: 118px;
	height: 118px;
	object-fit: contain;
	margin-bottom: 8px;
	border-radius: 8px;
}

.side-float__pop--qr em {
	display: block;
	margin-bottom: 8px;
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.6;
}

.side-float__item:hover .side-float__pop {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

#back-top {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 0.25s var(--ease);
}

#back-top.is-show {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---------- 移动端底部咨询栏 ---------- */
.mbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	display: none;
	grid-template-columns: 1fr 1fr;
	box-shadow: 0 -6px 20px rgba(9, 13, 31, 0.12);
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
}

.mbar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 10px;
	border: 0;
	font-size: 15.5px;
	font-weight: 700;
	color: #fff;
}

.mbar__btn--tel {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.mbar__btn--wx {
	background: var(--wechat);
}

/* ---------- 微信二维码弹窗 ---------- */
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 20px;
}

.qr-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(9, 13, 31, 0.62);
	backdrop-filter: blur(3px);
}

.qr-modal__panel {
	position: relative;
	width: min(370px, 100%);
	padding: 36px 30px 30px;
	border-radius: 22px;
	background: #fff;
	text-align: center;
	box-shadow: var(--shadow-lg);
	animation: cae-pop 0.28s var(--ease);
}

@keyframes cae-pop {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.97);
	}
}

.qr-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--bg);
	color: var(--muted);
	transition: 0.2s;
}

.qr-modal__close:hover {
	background: var(--ink);
	color: #fff;
}

.qr-modal__panel h3 {
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
	margin-bottom: 20px;
}

.qr-modal__img img {
	width: 210px;
	height: 210px;
	object-fit: contain;
	border: 1px solid var(--border);
	border-radius: 16px;
}

.qr-modal__ph {
	display: grid;
	place-items: center;
	gap: 4px;
	width: 210px;
	height: 210px;
	margin: 0 auto;
	border-radius: 16px;
	background: var(--bg);
	color: var(--primary);
}

.qr-modal__ph .i {
	width: 44px;
	height: 44px;
}

.qr-modal__ph em {
	font-style: normal;
	font-size: 13px;
	color: var(--muted);
}

.qr-modal__id {
	margin: 18px 0 6px;
	font-size: 15px;
	color: var(--text);
}

.qr-modal__id strong {
	letter-spacing: 0.02em;
}

.qr-modal__copy {
	margin-left: 8px;
	padding: 3px 10px;
	border: 1px solid var(--primary);
	border-radius: 7px;
	background: none;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--primary);
	transition: 0.2s;
}

.qr-modal__copy:hover,
.qr-modal__copy.is-copied {
	background: var(--primary);
	color: #fff;
}

.qr-modal__tip {
	font-size: 13px;
	color: var(--muted);
}

/* ---------- 滚动显现 ---------- */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.in {
	opacity: 1;
	transform: none;
}

.grid > .reveal:nth-child(2),
.hero__stats > .reveal:nth-child(2),
.path > .reveal:nth-child(2) {
	transition-delay: 0.08s;
}

.grid > .reveal:nth-child(3),
.hero__stats > .reveal:nth-child(3),
.path > .reveal:nth-child(3) {
	transition-delay: 0.16s;
}

.grid > .reveal:nth-child(4),
.hero__stats > .reveal:nth-child(4),
.path > .reveal:nth-child(4) {
	transition-delay: 0.24s;
}

.grid > .reveal:nth-child(5),
.path > .reveal:nth-child(5) {
	transition-delay: 0.32s;
}

.grid > .reveal:nth-child(6) {
	transition-delay: 0.4s;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
	.topbar__hours {
		display: none;
	}
}

@media (max-width: 1100px) {
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero__inner {
		gap: 36px;
	}
}

@media (max-width: 1024px) {
	.section {
		padding: 76px 0;
	}

	.side-float {
		display: none;
	}

	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__visual {
		min-height: 300px;
		margin-top: 24px;
		max-width: 440px;
		justify-self: center;
		width: 100%;
	}

	.course-layout {
		grid-template-columns: 1fr;
	}

	.course-side {
		position: static;
	}
}

@media (max-width: 992px) {
	.grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	/* 移动端抽屉导航 */
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 150;
		width: min(320px, 86vw);
		padding: 84px 26px 32px;
		background: #fff;
		box-shadow: var(--shadow-lg);
		transform: translateX(105%);
		transition: transform 0.32s var(--ease);
		overflow-y: auto;
	}

	body.nav-open .site-nav {
		transform: none;
	}

	body.nav-open::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 140;
		background: rgba(9, 13, 31, 0.45);
	}

	body.nav-open .nav-toggle {
		position: relative;
		z-index: 160;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-menu > li > a {
		padding: 13px 10px;
		font-size: 16.5px;
		border-bottom: 1px solid var(--border);
	}

	.nav-menu > li > a::after {
		display: none;
	}

	.nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 4px 0 4px 16px;
	}

	.site-nav__extra {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin-top: 26px;
	}

	.site-nav__phone {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: 17px;
		font-weight: 700;
		color: var(--ink);
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cta-band {
		grid-template-columns: 1fr;
		padding: 44px 36px;
	}

	.cta-band__qr {
		justify-self: start;
	}
}

@media (max-width: 768px) {
	.topbar {
		display: none;
	}

	html {
		scroll-padding-top: 76px;
	}

	.mbar {
		display: grid;
	}

	body {
		padding-bottom: 58px;
	}

	.section {
		padding: 60px 0;
	}

	.section-head {
		margin-bottom: 38px;
	}

	.hero {
		padding: 52px 0 48px;
	}

	.hero__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 16px;
		margin-top: 44px;
	}
}

@media (max-width: 640px) {
	.container {
		padding: 0 18px;
	}

	.grid--3 {
		grid-template-columns: 1fr;
	}

	.header-cta {
		display: none;
	}

	.hero__actions .btn {
		flex: 1;
		min-width: 150px;
	}

	.ticket--back {
		display: none;
	}

	.ticket--front {
		position: relative;
		transform: none;
		animation: none;
	}

	.hero__visual {
		min-height: 0;
		flex-direction: column;
	}

	.hero__chip {
		position: static;
		margin-top: 16px;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.none-box__actions {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom__inner {
		justify-content: center;
		text-align: center;
	}

	.cta-band {
		padding: 36px 24px;
	}

	.cta-band__qr {
		justify-self: center;
	}
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
