/* =====================================================
   responsive.css — 深度恢复大师网站自适应补丁
   用法：在 index.css 之后引入：
   <link rel="stylesheet" href="css/responsive.css">
   本文件不修改任何原有样式，只在后面覆盖 + 补充媒体查询
   ===================================================== */

/* ---------- 5. 软件清单双列卡片（公司·软件介绍） ---------- */
.soft-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 14px 0;
}
.soft-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #e6eefc;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	box-shadow: 0 1px 4px rgba(26, 117, 255, 0.05);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.soft-list li::before {
	content: "✓";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #eaf2ff;
	color: #1a75ff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.soft-list li:hover {
	transform: translateY(-2px);
	border-color: #bcd4ff;
	box-shadow: 0 4px 10px rgba(26, 117, 255, 0.12);
}
.soft-list li strong { color: #1a75ff; }
/* 已停止运营的条目置灰 */
.soft-list li.soft-list__stop {
	background: #f5f6f8;
	border-color: #e5e8ec;
	color: #999;
}
.soft-list li.soft-list__stop::before {
	content: "—";
	background: #e8ebef;
	color: #999;
}

@media screen and (max-width: 768px) {
	.soft-list { grid-template-columns: 1fr; gap: 8px; }
	.soft-list li { font-size: 13px; padding: 9px 10px; }
}

/* ---------- 4. 常见问题速览：左问题右按钮，点击展开答案 ---------- */
.faq-list {
	max-width: 1180px;
	margin: 0 auto 30px;
	columns: 2;
	column-gap: 16px;
}

/* 组别卡片 */
.faq-group {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #e6eefc;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(26, 117, 255, 0.07);
	overflow: hidden;
}
.faq-group__head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}
.faq-group__head em {
	font-style: normal;
	font-size: 11px;
	font-weight: 400;
	opacity: .9;
	margin-left: auto;
}
.faq-group__body { padding: 10px; }

/* 组别配色 */
.faq-group--blue   .faq-group__head { background: linear-gradient(135deg, #1a75ff, #4d9bff); }
.faq-group--orange .faq-group__head { background: linear-gradient(135deg, #f0912a, #f7b551); }
.faq-group--green  .faq-group__head { background: linear-gradient(135deg, #1d9e5f, #43c17e); }
.faq-group--purple .faq-group__head { background: linear-gradient(135deg, #7b4fe0, #a586ff); }
.faq-group--gray   .faq-group__head { background: linear-gradient(135deg, #64748b, #94a3b8); }
.faq-group--teal   .faq-group__head { background: linear-gradient(135deg, #0d9db5, #3cc4d8); }

.faq-item {
	background: #fff;
	border: 1px solid #e6eefc;
	border-radius: 8px;
	box-shadow: none;
	margin-bottom: 10px;
	overflow: hidden;
	transition: box-shadow .25s, border-color .25s;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item[open] {
	border-color: #bcd4ff;
	box-shadow: 0 2px 10px rgba(26, 117, 255, 0.12);
}
.faq-item summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
	content: "Q";
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: linear-gradient(135deg, #1a75ff, #4d9bff);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.faq-q {
	flex: 1;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	transition: color .2s;
}
.faq-item summary:hover .faq-q { color: #1a75ff; }
.faq-toggle {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #1a75ff;
	background: #eaf2ff;
	transition: all .25s;
	white-space: nowrap;
}
.faq-toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .25s;
}
.faq-item[open] .faq-toggle {
	background: #1a75ff;
	color: #fff;
}
.faq-item[open] .faq-toggle::after {
	transform: rotate(-135deg) translateY(-2px);
}
.faq-answer { padding: 0 16px 14px 50px; }
.faq-answer__box {
	background: #f0f6ff;
	border-radius: 8px;
	border-top-left-radius: 2px;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.9;
	color: #444;
	text-align: justify;
}
.faq-answer__box strong { color: #1a75ff; }
.faq-answer__box a { color: #1a75ff; word-break: break-all; }

/* 分类标签 */
.faq-tag {
	flex-shrink: 0;
	font-style: normal;
	font-size: 11px;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	background: #eef4ff;
	color: #1a75ff;
	border: 1px solid #d6e5ff;
}
.faq-tag--orange { background: #fff4e8; color: #e07817; border-color: #ffe0bd; }
.faq-tag--green  { background: #eafaf0; color: #1d9e5f; border-color: #c9efd9; }
.faq-tag--purple { background: #f3efff; color: #7b4fe0; border-color: #e2d8ff; }
.faq-tag--gray   { background: #f2f4f7; color: #64748b; border-color: #e2e8f0; }

@media screen and (max-width: 768px) {
	.faq-list { max-width: 100%; columns: 1; }
	.faq-group__head { font-size: 14px; padding: 10px 12px; }
	.faq-group__body { padding: 8px; }
	.faq-item summary { padding: 12px; gap: 8px; }
	.faq-q { font-size: 13px; }
	.faq-tag { font-size: 10px; padding: 3px 6px; }
	.faq-toggle { padding: 3px 9px; font-size: 11px; }
	.faq-answer { padding: 0 12px 12px; }
	.faq-answer__box { font-size: 12px; padding: 8px 10px; }
}

/* ---------- 0. 联系我们新版卡片样式（配合 about.html 新结构） ---------- */
.contact-cards {
	display: flex;
	gap: 24px;
	margin-bottom: 30px;
}
.contact-card {
	flex: 1;
	background: #fff;
	border-radius: 12px;
	padding: 32px 36px;
	box-shadow: 0 2px 12px rgba(26, 117, 255, 0.08);
	border-top: 3px solid #1a75ff;
}
.contact-card__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	margin-bottom: 10px;
}
.contact-card__label svg { flex-shrink: 0; }
.contact-card__value {
	font-size: 30px;
	font-weight: 700;
	color: #1a75ff;
	letter-spacing: 1px;
}
.contact-card__value--mail {
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0;
}
.contact-card__sub {
	margin-top: 8px;
	font-size: 14px;
	color: #999;
}
.contact-desc {
	background: #fff;
	border-radius: 12px;
	padding: 24px 36px;
	font-size: 16px;
	line-height: 2;
	color: #555;
	box-shadow: 0 2px 12px rgba(26, 117, 255, 0.06);
	margin-bottom: 30px;
}
.contact-desc strong { color: #111; }

/* ---------- 1. 解除全局最小宽度 / 固定容器 ---------- */
html, body {
	min-width: 0;
}
.w1220 {
	width: 92%;
	max-width: 1220px;
}
.infot .w1220 {
	width: 92%;
	max-width: 1220px;
}

/* ---------- 2. 平板及以下（≤1260px）---------- */
@media screen and (max-width: 1260px) {
	/* 导航允许换行 */
	nav {
		height: auto;
		flex-wrap: wrap;
		padding: 15px 0;
	}
	nav .logo img { max-width: 100%; height: auto; }

	/* banner 标题缩小 */
	.banner { height: auto; padding-bottom: 60px; }
	.banner .w1220 { height: auto; }
	.banner .title { padding-top: 60px; font-size: 46px; }
	.banner .title span { font-size: 46px; height: auto; line-height: 60px; }

	/* 大标题缩小、圆点装饰跟缩 */
	.bts .title h2 { font-size: 36px; height: 44px; line-height: 44px; }
	.bts .title h2 i:nth-child(1),
	.bts .title h2 i:nth-child(2) {
		width: 24px; height: 24px;
		left: -46px; right: auto;
		background-size: contain;
		top: 12px;
	}
	.bts .title h2 i:nth-child(2) { left: auto; right: -46px; }

	.ysb { height: auto; padding: 60px 0; background-size: cover; }
	.ysb .title h2 { font-size: 36px; height: 44px; line-height: 44px; }
}

/* ---------- 3. 手机（≤768px）---------- */
@media screen and (max-width: 768px) {
	/* 导航：纵向堆叠 */
	nav {
		flex-direction: column;
		gap: 12px;
	}
	nav ul { flex-wrap: wrap; justify-content: center; }
	nav ul li { margin-right: 14px; }
	nav ul a { font-size: 16px; }

	/* banner */
	.banner .title { font-size: 30px; }
	.banner .title span { font-size: 30px; padding: 0 16px; line-height: 44px; }
	.banner .text { font-size: 17px; }
	.banner .yws { font-size: 15px; }
	/* banner 上的绝对定位装饰图在小屏隐藏，避免错位 */
	.banner_inc, .banner_incq, .inc1, .inc2, .inc3, .inc4, .inc5, .inc6 {
		display: none;
	}

	/* 大标题进一步缩小 */
	.bts .title h2 { font-size: 26px; height: 34px; line-height: 34px; }
	.bts .title h2 i:nth-child(1),
	.bts .title h2 i:nth-child(2) {
		width: 16px; height: 16px;
		left: -26px; right: auto;
		top: 8px;
	}
	.bts .title h2 i:nth-child(2) { left: auto; right: -26px; }
	.bts .title h2::after { height: 8px; }
	.bts .text { font-size: 16px; line-height: 26px; }

	/* 正文 */
	.gywm { font-size: 16px; line-height: 30px; }
	.mt67 { margin-top: 40px; }

	/* 联系我们卡片：竖排 */
	.contact-cards { flex-direction: column; gap: 16px; }
	.contact-card { padding: 22px 20px; }
	.contact-card__value { font-size: 26px; }
	.contact-card__value--mail { font-size: 19px; word-break: break-all; }
	.contact-desc { padding: 18px 20px; font-size: 15px; }

	/* 优势卡片 / 标签页 / 优势板块 */
	.xfinf div { width: 100%; }
	.tab { flex-direction: column; gap: 14px; }
	.tab-item { width: 100%; }
	.ysb_main div { width: 100%; height: auto; padding-bottom: 20px; }
	.ysb .title h2 { font-size: 26px; height: 34px; line-height: 34px; }
	.ysb .title h2 i:nth-child(1),
	.ysb .title h2 i:nth-child(2) {
		width: 16px; height: 16px;
		left: -26px; right: auto;
		top: 8px;
		background-size: contain;
	}
	.ysb .title h2 i:nth-child(2) { left: auto; right: -26px; }

	/* 蓝色横条 */
	.infot { height: auto; }
	.infot .w1220 {
		height: auto;
		flex-direction: column;
		padding: 24px 0;
		gap: 16px;
	}
	.infot div h1 { font-size: 26px; }

	/* 用户评价 */
	.syt .texts { font-size: 18px; line-height: 30px; padding-right: 0; }
	.syt .user, .syt .user img { width: 120px; height: 120px; }

	/* 下载按钮 */
	.download, .tdownload { width: 80%; max-width: 290px; }

	/* 页脚 */
	.footer { font-size: 14px; line-height: 26px; padding: 24px 12px; }
}
