/* ============================================================
   91yingxiao.cn 首页修复与精修（追加式补丁）
   说明：原站 style.css 一律不改动；本文件只做
   ① 缺失背景补齐 ② 排版/间距/按钮精修 ③ 移动端适配
   回滚：删掉本文件 + 还原 index.html 即可（备份见 /www/backup/）
   ============================================================ */

/* ---------- 1. 顶部栏：从"裸给黑色"变成有层次的固定顶栏 ---------- */
.header {
	background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, 0) 100%);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.header .head {
	padding: 18px 20px 22px;
	max-width: 1600px;
	margin: 0 auto;
}

/* 品牌区：原 logo.png 缺失（404），改用站点现有星形资源 + 文字 */
.header .logo_box .brand {
	display: flex;
	align-items: center;
	float: left;
	color: #fff;
	line-height: 44px;
}

.header .logo_box .brand:hover {
	text-decoration: none;
}

.header .logo_box .brand_mark {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 12px;
	border-radius: 50%;
	background: radial-gradient(circle, #ffffff 0%, #a8d0ff 42%, rgba(168, 208, 255, 0) 74%);
	box-shadow: 0 0 12px rgba(150, 200, 255, .85);
}

.header .logo_box .brand_name {
	font-size: 19px;
	letter-spacing: 2px;
	font-weight: 400;
	white-space: nowrap;
	text-shadow: 0 0 14px rgba(140, 200, 255, .35);
}

/* 导航：让 #nav_box 与 .ic_line 生效（原样式保留了容器位置） */
.header .nav_box ul#nav_box {
	float: right;
}

.header .nav_box ul#nav_box li {
	float: left;
	padding: 0 14px;
}

.header .nav_box ul#nav_box li a {
	font-size: 15px;
	line-height: 44px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, .82);
	transition: color .2s;
}

.header .nav_box ul#nav_box li a:hover {
	color: #fff;
	text-decoration: none;
}

.header .nav_box .ic_line {
	background: linear-gradient(90deg, rgba(120, 190, 255, 0), #8fc7ff 50%, rgba(120, 190, 255, 0));
	bottom: 12px;
	box-shadow: 0 0 8px rgba(140, 200, 255, .7);
}

/* ---------- 2. 第 2 屏原本是"纯黑无背景"：用站点已有星云图补齐 ---------- */
.page_2 .page_bg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2400px;
	height: 2000px;
	margin: -1000px 0 0 -1200px;
	transform-origin: center center;
	-webkit-transform-origin: center center;
}

.page_2 .page_bg:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
	background: url(../img/page3_bg.jpg) center center no-repeat;
	background-size: cover;
	opacity: .9;
	transform-origin: center center;
	-webkit-transform-origin: center center;
}

.page_2.show .page_bg {
	animation: opc_effect 1.2s both linear, p2bg_effect 40s both linear;
	-webkit-animation: opc_effect 1.2s both linear, p2bg_effect 40s both linear;
}

@keyframes p2bg_effect {
	0% { transform: scale(1.05) rotate(0); }
	100% { transform: scale(1.25) rotate(6deg); }
}

@-webkit-keyframes p2bg_effect {
	0% { -webkit-transform: scale(1.05) rotate(0); }
	100% { -webkit-transform: scale(1.25) rotate(6deg); }
}

/* ---------- 3. 文案排版：字距/发光/可读宽度 ---------- */
/* 文字下加一层柔和暗底，避免压在亮星云上读不清 */
.page_wp .txt_box {
	padding: 26px 0 30px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 26%, rgba(0, 0, 0, .5) 74%, rgba(0, 0, 0, 0) 100%);
}

.page_wp .txt_box h2 {
	font-size: 40px;
	line-height: 1.35;
	letter-spacing: 3px;
	text-shadow: 0 0 24px rgba(120, 190, 255, .45), 0 2px 10px rgba(0, 0, 0, .85);
}

.page_wp .txt_box .txt_brief {
	max-width: 820px;
	font-size: 15px;
	line-height: 30px;
	letter-spacing: .6px;
	color: rgba(255, 255, 255, .86);
	text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

/* 文案与按钮之间留呼吸空间（原 btns_wp 固定在 bottom:70px） */
.btns_wp {
	bottom: 84px;
}

/* ---------- 4. 「立即咨询」按钮精修（文案与链接不变） ---------- */
.btn_download {
	width: 168px;
	height: 44px;
	line-height: 40px;
	font-size: 17px;
	letter-spacing: 3px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 24px;
	color: #fff;
	background: rgba(255, 255, 255, .04);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 6px 22px rgba(0, 0, 0, .45);
	transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}

.btn_download:hover {
	background: #fff;
	color: #111;
	text-decoration: none;
	box-shadow: 0 0 24px rgba(160, 210, 255, .65);
	transform: translateY(-2px);
}

/* ---------- 5. 页脚：压暗、居中、行高更稳 ---------- */
.footer .foot {
	text-align: center;
	font-size: 13px;
	line-height: 22px;
	color: rgba(255, 255, 255, .42);
	letter-spacing: .5px;
}

.footer .foot a {
	color: rgba(255, 255, 255, .42);
}

.footer .foot a:hover {
	color: rgba(255, 255, 255, .75);
}

/* ---------- 6. 分页圆点：改用清晰的圆点（原雪碧图未选中态几乎看不见） ---------- */
.btn_control {
	right: 42px;
}

.btn_control a {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .38);
	background-image: none;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
	transition: background .2s, box-shadow .2s, transform .2s;
}

.btn_control a.cur,
.btn_control a:hover {
	background: #fff;
	box-shadow: 0 0 10px rgba(160, 210, 255, .9);
	transform: scale(1.25);
}

/* ---------- 7. 移动端适配（原站仅有 scale(.7)，字号会挤） ---------- */
@media screen and (max-width: 767px) {
	.header .head {
		padding: 12px 14px 16px;
	}

	.header .logo_box .brand_mark {
		width: 26px;
		height: 26px;
		margin-right: 8px;
	}

	.header .logo_box .brand_name {
		font-size: 15px;
		letter-spacing: 1px;
	}

	.header .nav_box ul#nav_box li {
		padding: 0 8px;
	}

	.header .nav_box ul#nav_box li a {
		font-size: 14px;
		line-height: 34px;
	}

	.page_wp .txt_box {
		bottom: 118px;
		padding: 20px 0 22px;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 20%, rgba(0, 0, 0, .55) 80%, rgba(0, 0, 0, 0) 100%);
	}

	.page_wp .txt_box h2,
	.page_wp .txt_box .txt_brief {
		padding-left: 18px;
		padding-right: 18px;
	}

	.page_wp .txt_box h2 {
		font-size: 24px;
		letter-spacing: 1px;
		line-height: 1.4;
	}

	.page_wp .txt_box .txt_brief {
		font-size: 13px;
		line-height: 24px;
		max-width: 100%;
	}

	.btns_wp {
		bottom: 66px;
	}

	.btn_download {
		width: 150px;
		height: 40px;
		line-height: 36px;
		font-size: 15px;
	}

	.footer {
		bottom: 8px;
	}

	.footer .foot {
		font-size: 11px;
		line-height: 18px;
		padding: 0 12px;
	}

	.btn_control {
		display: none;
	}
}
