@charset "utf-8";
/* ==========================================================================
   THK Blue 模板 v2.0 —— 首页专用样式（蓝色企业云科技风）
   仅作用于 forum.php 首页（forum/discuz.php），不影响其他页面
   ========================================================================== */

:root {
	--tx-primary: #1456F0;
	--tx-primary-deep: #0A2A66;
	--tx-primary-dark: #071B45;
	--tx-cyan: #00C2FF;
	--tx-text: #0F172A;
	--tx-text-2: #4A5A75;
	--tx-muted: #8494AC;
	--tx-bg: #F5F7FB;
	--tx-border: #E5EBF5;
	--tx-white: #FFFFFF;
	--tx-orange: #FF6B35;
	--tx-radius: 18px;
	--tx-shadow: 0 2px 4px rgba(10, 42, 102, .04), 0 12px 28px rgba(10, 42, 102, .07);
	--tx-shadow-hover: 0 6px 12px rgba(10, 42, 102, .08), 0 22px 44px rgba(20, 86, 240, .14);
}

/* ---------- 首页容器 ---------- */
.tx-home {
	color: var(--tx-text);
	font-size: 15px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
.tx-home * { box-sizing: border-box; }
.tx-home a { text-decoration: none; }
.tx-home h2, .tx-home h3, .tx-home h4 { margin: 0; font-weight: 700; }
.tx-home p { margin: 0; }
.tx-home ul { margin: 0; padding: 0; list-style: none; }

.tx-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- 1. 首屏 Hero ---------- */
.tx-hero {
	position: relative;
	margin: 22px 0 0;
	padding: 60px 56px 64px;
	border-radius: 26px;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 88% 8%, rgba(0, 194, 255, .30), transparent 62%),
		radial-gradient(700px 380px at 8% 96%, rgba(20, 86, 240, .38), transparent 60%),
		linear-gradient(118deg, #061634 0%, #0A2A66 46%, #11418F 100%);
	box-shadow: 0 26px 60px rgba(6, 22, 52, .28);
}
.tx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(circle at 70% 40%, #000 10%, transparent 78%);
	-webkit-mask-image: radial-gradient(circle at 70% 40%, #000 10%, transparent 78%);
	pointer-events: none;
}
.tx-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -160px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	border: 1px solid rgba(0, 194, 255, .28);
	box-shadow: 0 0 0 60px rgba(0, 194, 255, .045), 0 0 0 130px rgba(20, 86, 240, .05);
	pointer-events: none;
}
.tx-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: 48px;
	align-items: center;
}
.tx-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 30px;
	padding: 0 14px;
	margin-bottom: 22px;
	border-radius: 100px;
	background: rgba(0, 194, 255, .12);
	border: 1px solid rgba(0, 194, 255, .38);
	color: #9FE4FF;
	font-size: 13px;
	letter-spacing: .3px;
}
.tx-hero__badge i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tx-cyan);
	box-shadow: 0 0 0 4px rgba(0, 194, 255, .18);
}
.tx-hero__title {
	margin: 0 0 18px;
	font-size: 40px;
	line-height: 1.28;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.5px;
}
.tx-hero__title em {
	font-style: normal;
	background: linear-gradient(96deg, #6FE6FF, #2E8BFF 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tx-hero__desc {
	max-width: 560px;
	font-size: 15.5px;
	line-height: 1.9;
	color: rgba(226, 238, 255, .82);
}
.tx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}
.tx-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.tx-hero__points li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: rgba(226, 238, 255, .78);
}
.tx-hero__points svg { flex: none; }

/* 按钮 */
.tx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 26px;
	border-radius: 100px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tx-btn--primary {
	background: linear-gradient(96deg, #2E8BFF, #1456F0);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(20, 86, 240, .42);
}
.tx-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(20, 86, 240, .52);
	color: #fff;
}
.tx-btn--ghost {
	background: rgba(255, 255, 255, .08);
	color: #E4EEFF !important;
	border: 1px solid rgba(255, 255, 255, .26);
}
.tx-btn--ghost:hover {
	background: rgba(255, 255, 255, .16);
	color: #fff;
	transform: translateY(-2px);
}
.tx-btn--light {
	background: #fff;
	color: var(--tx-primary) !important;
	box-shadow: 0 10px 24px rgba(3, 14, 34, .18);
}
.tx-btn--light:hover { transform: translateY(-2px); color: var(--tx-primary); }
.tx-btn--outline-light {
	border: 1px solid rgba(255, 255, 255, .5);
	color: #fff !important;
}
.tx-btn--outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Hero 右侧视觉 */
.tx-visual {
	position: relative;
	min-height: 330px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tx-visual__ring {
	position: absolute;
	border-radius: 50%;
	border: 1px dashed rgba(140, 200, 255, .30);
}
.tx-visual__ring--1 { width: 300px; height: 300px; animation: tx-spin 46s linear infinite; }
.tx-visual__ring--2 { width: 216px; height: 216px; border-style: solid; border-color: rgba(0, 194, 255, .22); }
.tx-visual__core {
	position: relative;
	width: 158px;
	height: 158px;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 28%, #7FD8FF, #1456F0 58%, #0A2A66 100%);
	box-shadow: 0 0 0 10px rgba(20, 86, 240, .16), 0 26px 50px rgba(0, 0, 0, .34);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.tx-visual__core b {
	font-size: 26px;
	letter-spacing: 1px;
	line-height: 1.1;
}
.tx-visual__core span {
	margin-top: 4px;
	font-size: 11.5px;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, .78);
}
.tx-chip {
	position: absolute;
	padding: 9px 15px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #EAF4FF;
	font-size: 12.5px;
	white-space: nowrap;
	box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}
.tx-chip--1 { top: 12px; left: -6px; }
.tx-chip--2 { top: 74px; right: -10px; }
.tx-chip--3 { bottom: 60px; left: 6px; }
.tx-chip--4 { bottom: 6px; right: 14px; }
@keyframes tx-spin { to { transform: rotate(360deg); } }

/* ---------- 2. 数据条 ---------- */
.tx-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 22px;
}
.tx-stat {
	padding: 22px 24px;
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
	text-align: center;
}
.tx-stat em {
	display: block;
	font-size: 30px;
	font-style: normal;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.5px;
	color: var(--tx-primary);
}
.tx-stat span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--tx-muted);
}

/* ---------- 区块通用 ---------- */
.tx-section { margin-top: 56px; }
.tx-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}
.tx-section__eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--tx-primary);
}
.tx-section__title {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -.4px;
	color: var(--tx-text);
}
.tx-section__title small {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	color: #56657F;
}
.tx-section__more {
	flex: none;
	font-size: 13.5px;
	color: var(--tx-text-2);
	padding-bottom: 2px;
}
.tx-section__more:hover { color: var(--tx-primary); }

/* ---------- 3. 服务优势 ---------- */
.tx-services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.tx-serv {
	padding: 26px 24px;
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tx-serv:hover {
	transform: translateY(-4px);
	box-shadow: var(--tx-shadow-hover);
	border-color: rgba(20, 86, 240, .28);
}
.tx-serv__icon {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(20, 86, 240, .12), rgba(0, 194, 255, .16));
	color: var(--tx-primary);
}
.tx-serv h3 {
	font-size: 16.5px;
	margin-bottom: 8px;
	color: var(--tx-text);
}
.tx-serv p {
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--tx-text-2);
}

/* ---------- 4. 系列卡片 ---------- */
.tx-series {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.tx-serie {
	position: relative;
	display: block;
	padding: 26px 26px 24px;
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tx-serie::after {
	content: "";
	position: absolute;
	right: -46px;
	top: -46px;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 194, 255, .16), transparent 68%);
	transition: transform .3s ease;
}
.tx-serie:hover {
	transform: translateY(-4px);
	box-shadow: var(--tx-shadow-hover);
	border-color: rgba(20, 86, 240, .3);
}
.tx-serie:hover::after { transform: scale(1.35); }
.tx-serie__code {
	display: block;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .5px;
	line-height: 1.2;
	color: var(--tx-primary);
}
.tx-serie__name {
	display: block;
	margin-top: 6px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--tx-text);
}
.tx-serie__desc {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.75;
	color: var(--tx-text-2);
}
.tx-serie__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.tx-serie__tags span {
	padding: 3px 10px;
	border-radius: 8px;
	background: #F1F5FE;
	color: #3D5B96;
	font-size: 12px;
}
.tx-serie__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tx-primary);
}

/* ---------- 5. 版块分类 ---------- */
.tx-cat {
	margin-bottom: 22px;
	padding: 0;
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
	overflow: hidden;
}
.tx-cat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	background: linear-gradient(90deg, #F7FAFF, #FFFFFF 70%);
	border-bottom: 1px solid var(--tx-border);
}
.tx-cat__title {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.tx-cat__title h2 {
	font-size: 17px;
	font-weight: 800;
	color: var(--tx-text);
}
.tx-cat__title h2 a { color: var(--tx-text); }
.tx-cat__title h2 a:hover { color: var(--tx-primary); }
.tx-cat__bar {
	width: 4px;
	height: 17px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--tx-primary), var(--tx-cyan));
}
.tx-cat__meta {
	font-size: 12.5px;
	color: var(--tx-muted);
	white-space: nowrap;
}
.tx-flist {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--tx-border);
}
.tx-fcard {
	display: flex;
	gap: 14px;
	padding: 20px 22px;
	background: var(--tx-white);
	transition: background .18s ease;
	min-width: 0;
}
.tx-fcard:hover { background: #F8FAFF; }
.tx-fcard__badge {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #EAF1FF, #E6FAFF);
	color: var(--tx-primary);
	overflow: hidden;
}
.tx-fcard__badge img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}
.tx-fcard__body { min-width: 0; }
.tx-fcard__name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--tx-text);
}
.tx-fcard__name a { color: var(--tx-text); }
.tx-fcard__name a:hover { color: var(--tx-primary); }
.tx-fcard__name em {
	font-style: normal;
	padding: 1px 7px;
	border-radius: 6px;
	background: rgba(255, 107, 53, .12);
	color: #E2542A;
	font-size: 11.5px;
	font-weight: 600;
}
.tx-fcard__desc {
	margin-top: 4px;
	font-size: 12.5px;
	line-height: 1.7;
	color: #6B7C96;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tx-fcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	font-size: 12px;
	color: var(--tx-muted);
}
.tx-fcard__foot b {
	font-weight: 700;
	color: var(--tx-primary);
}
.tx-fcard__last {
	display: block;
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--tx-text-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tx-fcard__last:hover { color: var(--tx-primary); }

/* ---------- 6. 最新主题 / 热帖 ---------- */
.tx-boards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.tx-board {
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
	overflow: hidden;
}
.tx-board__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 22px;
	border-bottom: 1px solid var(--tx-border);
	background: linear-gradient(90deg, #F7FAFF, #FFFFFF 72%);
}
.tx-board__head h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: var(--tx-text);
}
.tx-board__head h3::before {
	content: "";
	width: 4px;
	height: 15px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--tx-primary), var(--tx-cyan));
}
.tx-board__head a {
	font-size: 12.5px;
	color: var(--tx-muted);
}
.tx-board__head a:hover { color: var(--tx-primary); }
.tx-board__list { padding: 8px 12px 12px; }
.tx-board__list li {
	padding: 10px 12px;
	border-radius: 10px;
	transition: background .16s ease;
}
.tx-board__list li:hover { background: #F6F9FF; }
.tx-board__list li a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #2A3A55;
	overflow: hidden;
}
.tx-board__list li a:hover { color: var(--tx-primary); }
.tx-board__list li a i {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: #F0F4FC;
	color: #7A8BA8;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.tx-board__list li:nth-child(-n+3) a i {
	background: linear-gradient(135deg, var(--tx-primary), #2E8BFF);
	color: #fff;
}
.tx-board__list li a span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.tx-empty {
	padding: 26px 12px;
	text-align: center;
	font-size: 13px;
	color: var(--tx-muted);
}

/* ---------- 7. 在线成员 / 友情链接 ---------- */
.tx-minor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 22px;
}
.tx-minor__box {
	padding: 18px 22px;
	border-radius: var(--tx-radius);
	background: var(--tx-white);
	border: 1px solid var(--tx-border);
	box-shadow: var(--tx-shadow);
}
.tx-minor__box h3 {
	font-size: 15px;
	margin-bottom: 10px;
	color: var(--tx-text);
}
.tx-minor__box h3 span {
	margin-left: 8px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--tx-muted);
}
.tx-online__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-height: 92px;
	overflow: hidden;
}
.tx-online__list li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 4px;
	border-radius: 100px;
	background: #F6F9FF;
	font-size: 12.5px;
	color: var(--tx-text-2);
}
.tx-online__list li img {
	width: 18px;
	height: 18px;
	border-radius: 50%;
}
.tx-online__list li a { color: var(--tx-text-2); }
.tx-online__list li a:hover { color: var(--tx-primary); }
.tx-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tx-links li a,
.tx-links a {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 8px;
	background: #F6F9FF;
	border: 1px solid var(--tx-border);
	font-size: 12.5px;
	color: var(--tx-text-2) !important;
}
.tx-links li a:hover,
.tx-links a:hover {
	color: var(--tx-primary) !important;
	border-color: rgba(20, 86, 240, .35);
	background: #EEF4FF;
}
.tx-links ul { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 8. 底部 CTA ---------- */
.tx-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 56px;
	padding: 38px 44px;
	border-radius: 22px;
	overflow: hidden;
	background:
		radial-gradient(600px 260px at 92% 0%, rgba(0, 194, 255, .34), transparent 62%),
		linear-gradient(112deg, #071B45, #0F3B84 62%, #1456F0);
	box-shadow: 0 22px 48px rgba(6, 22, 52, .26);
}
.tx-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: .5;
	pointer-events: none;
}
.tx-cta__text { position: relative; z-index: 2; }
.tx-cta__text h2 {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.3px;
}
.tx-cta__text p {
	margin-top: 8px;
	font-size: 14px;
	color: rgba(226, 238, 255, .82);
}
.tx-cta__actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- 9. 页脚区域适配 ---------- */
.tx-home + #ft,
#ft {
	margin-top: 56px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
	.tx-hero { padding: 48px 40px 50px; }
	.tx-hero__inner { grid-template-columns: 1fr; gap: 34px; }
	.tx-hero__title { font-size: 33px; }
	.tx-visual { min-height: 280px; }
	.tx-stats { grid-template-columns: repeat(2, 1fr); }
	.tx-services { grid-template-columns: repeat(2, 1fr); }
	.tx-series { grid-template-columns: repeat(2, 1fr); }
	.tx-flist { grid-template-columns: repeat(2, 1fr); }
	.tx-boards, .tx-minor { grid-template-columns: 1fr; }
	.tx-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 760px) {
	.tx-hero { padding: 36px 22px 40px; border-radius: 20px; }
	.tx-hero__title { font-size: 26px; }
	.tx-hero__desc { font-size: 14.5px; }
	.tx-hero__points { gap: 14px; }
	.tx-visual { display: none; }
	.tx-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.tx-stat { padding: 16px 12px; }
	.tx-stat em { font-size: 24px; }
	.tx-services, .tx-series, .tx-flist { grid-template-columns: 1fr; }
	.tx-section { margin-top: 40px; }
	.tx-section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.tx-section__title { font-size: 22px; }
	.tx-cat__head { padding: 14px 16px; }
	.tx-fcard { padding: 16px; }
	.tx-cta { margin-top: 40px; padding: 26px 22px; }
	.tx-cta__text h2 { font-size: 19px; }
}
