/* =================全局变量与重置================= */
:root {
	--xf_color_bg: #000000;
	--xf_color_text_main: #d1d5db;
	--xf_color_text_muted: #6b7280;
	--xf_color_cyan: #00f0ff;
	--xf_color_blue: #246bfd;
	--xf_color_gold: #ffd700;
	--xf_color_pale_gold: #f3eeb8;
	--xf_color_card_dark: #1c1c1c;
	--xf_font_main: 'Heiti SC', 'Microsoft YaHei', system-ui, sans-serif;
	--xf_gap_base: 20px;
}

/* =================通用布局容器================= */
.xf_container {
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 20px;
}

/* =================头部样式================= */
.xf_header {
	text-align: center;
	padding: 80px 20px;
	padding-top: 0;
}

.xf_header_title {
	font-size: 32px;
	font-weight: 300;
	color: #bffffc;
	letter-spacing: 0.3em;
	margin-bottom: 16px;
	text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.xf_header_subtitle {
	font-size: 10px;
	color: var(--xf_color_text_muted);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
}

/* 媒体查询：大屏幕头部 */
@media (min-width: 768px) {
	.xf_header_title {
		font-size: 48px;
		letter-spacing: 0.5em;
	}
	.xf_header_subtitle {
		font-size: 12px;
		letter-spacing: 0.4em;
	}
}

/* =================服务卡片通用样式================= */
.xf_service_item {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	border-bottom: 1px solid #1f2937;
	padding-bottom: 48px;
	margin-bottom: 48px;
}

@media (min-width: 768px) {
	.xf_service_item {
		flex-direction: row;
		align-items: flex-start;
	}
}

/* 左侧图片区域（带扫描效果） */
.xf_service_img_box {
	width: 100%;
	height: 224px;
	flex-shrink: 0;
	border-radius: 24px;
	position: relative;
	overflow: hidden;
	border: 1px solid #1f2937;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
	background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 768px) {
	.xf_service_img_box {
		width: 224px;
	}
}

.xf_service_img_bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.3;
	mix-blend-mode: luminosity;
}

.xf_service_title_overlay {
	position: relative;
	z-index: 10;
	font-size: 30px;
	font-weight: bold;
	color: #fff;
	letter-spacing: 0.1em;
}

/* 扫描线动画 */
.xf_scan_line {
	position: absolute;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.1);
	top: 0;
	left: 0;
	animation: xf_anim_scan 4s infinite linear;
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
	z-index: 5;
}

@keyframes xf_anim_scan {
	0% { top: 0%; opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { top: 100%; opacity: 0; }
}

/* 右侧内容区域 */
.xf_service_content {
	flex: 1;
	text-align: center;
	width: 100%;
}

@media (min-width: 768px) {
	.xf_service_content {
		text-align: left;
	}
}

.xf_service_desc {
	font-size: 16px;
	font-weight: 300;
	color: #d1d5db;
	margin-bottom: 20px;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.xf_service_desc {
		font-size: 18px;
	}
}

/* 标签组 */
.xf_tags_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	.xf_tags_wrapper {
		justify-content: flex-start;
	}
}

.xf_tag {
	padding: 6px 16px;
	border-radius: 9999px;
	font-size: 14px;
	border: 1px solid #374151;
	color: #9ca3af;
}

.xf_tag.xf_tag_highlight {
	border-color: rgba(0, 240, 255, 0.3);
	color: #cffafe;
}

/* 服务内容列表 (无边框版) */
.xf_feature_list_box {
	margin-top: 16px;
	text-align: left;
	display: inline-block;
	width: 100%;
}

@media (min-width: 768px) {
	.xf_feature_list_box {
		width: auto;
	}
}

.xf_feature_title {
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 12px;
}

.xf_feature_ul {
	padding-left: 4px;
}

.xf_feature_li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: #d1d5db;
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.xf_feature_li {
		font-size: 16px;
	}
}

.xf_dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--xf_color_cyan);
	flex-shrink: 0;
}

.xf_dot.xf_dot_gold {
	background-color: var(--xf_color_gold);
	box-shadow: 0 0 5px var(--xf_color_gold);
}

.xf_text_gold_light {
	color: rgba(254, 243, 199, 0.8);
}

/* 按钮组 */
.xf_btn_group {
	display: flex;
	gap: 20px;
	justify-content: center;
	padding-top: 16px;
}

@media (min-width: 768px) {
	.xf_btn_group {
		justify-content: flex-start;
	}
}

.xf_btn {
	padding: 10px 40px;
	border-radius: 9999px;
	font-weight: bold;
	font-size: 16px;
	transition: all 0.2s;
}

.xf_btn_primary {
	background-color: #fff;
	color: #000;
}
.xf_btn_primary:hover {
	background-color: #e5e7eb;
}

.xf_btn_outline {
	background-color: transparent;
	border: 1px solid #fff;
	color: #fff;
}
.xf_btn_outline:hover {
	background-color: rgba(255,255,255,0.1);
}

/* =================调研指南模块================= */
.xf_section_header {
	text-align: center;
	padding-top: 32px;
	padding-bottom: 48px;
}

/* 指南模块底部有分隔线 */
.xf_guide_section {
	border-bottom: 1px solid #1f2937;
}

.xf_section_title {
	font-size: 30px;
	color: #f3f4f6;
	letter-spacing: 0.2em;
	margin-bottom: 12px;
}

.xf_section_sub {
	font-size: 14px;
	color: var(--xf_color_text_muted);
	letter-spacing: 0.1em;
}

.xf_poster_grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-top: 40px;
	margin-bottom: 40px;
}

@media (min-width: 768px) {
	.xf_poster_grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}
}

.xf_poster_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.xf_poster_card {
	width: 100%;
	aspect-ratio: 2/3;
	border-radius: 32px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: transform 0.3s;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.xf_poster_card:hover {
	transform: translateY(-8px);
}

/* 海报 1: 近视手术样式 */
.xf_poster_eye_top {
	height: 55%;
	background-color: #1a4b8c;
	position: relative;
	overflow: hidden;
}
.xf_poster_eye_bottom {
	height: 45%;
	background: linear-gradient(to bottom, #e3f4ff, #cceeff);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 24px;
	position: relative;
}
.xf_poster_year {
	color: #20b7d6;
	font-weight: bold;
	font-size: 20px;
	letter-spacing: 0.1em;
}
.xf_poster_h1 {
	color: #122d57;
	font-weight: bold;
	font-size: 36px;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}
.xf_poster_h2 {
	color: #122d57;
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.2em;
}
.xf_poster_status_active {
	color: var(--xf_color_cyan);
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-shadow: 0 0 5px rgba(0, 240, 255, 0.8);
}

/* 海报通用背景图覆盖 */
.xf_img_cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.xf_blend_overlay {
	mix-blend-mode: overlay;
	opacity: 0.6;
}
.xf_grayscale_invert {
	filter: grayscale(1) invert(1);
	opacity: 0.4;
	mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* 海报 2 & 3: 深色样式 */
.xf_poster_dark {
	background-color: #111;
	border: 1px solid #1f2937;
}
.xf_poster_dark_content {
	position: absolute;
	bottom: 32px;
	width: 100%;
	text-align: center;
	z-index: 20;
}
.xf_poster_dark_title {
	color: #cffafe;
	font-weight: bold;
	font-size: 36px;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
	text-shadow: 0 4px 6px rgba(0,0,0,0.5);
}
.xf_poster_dark_sub {
	color: #06b6d4;
	font-size: 18px;
	letter-spacing: 0.2em;
	font-weight: 300;
}
.xf_poster_status_wait {
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.1em;
}

/* =================视频版块================= */
.xf_video_section {
	padding-top: 32px;
	padding-bottom: 32px;
	text-align: center;
}

.xf_video_grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 768px) {
	.xf_video_grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}
}

.xf_video_card {
	cursor: pointer;
}

.xf_video_thumb_box {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #1f2937;
	background-color: #111827;
	margin-bottom: 16px;
}

.xf_video_thumb_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity 0.3s;
}

.xf_video_card:hover .xf_video_thumb_img {
	opacity: 0.8;
}

.xf_video_overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0,0,0,0.4);
	transition: background-color 0.3s;
}
.xf_video_card:hover .xf_video_overlay {
	background-color: rgba(0,0,0,0.2);
}

.xf_play_btn_center {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.xf_play_circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.3);
	background-color: rgba(255,255,255,0.1);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.xf_video_card:hover .xf_play_circle {
	transform: scale(1.1);
	background-color: rgba(0, 240, 255, 0.9);
	border-color: transparent;
}

.xf_play_icon {
	width: 24px;
	height: 24px;
	fill: #fff;
	margin-left: 4px; /* 视觉校正 */
	transition: fill 0.3s;
}

.xf_video_card:hover .xf_play_icon {
	fill: #000;
}

.xf_video_time {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background-color: rgba(0,0,0,0.8);
	color: #d1d5db;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 4px;
}

.xf_video_title {
	text-align: left;
	font-size: 18px;
	font-weight: 500;
	color: #e5e7eb;
	margin-bottom: 4px;
	transition: color 0.3s;
}

.xf_video_card:hover .xf_video_title {
	color: #22d3ee;
}

.xf_video_meta {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #6b7280;
}

/* =================会员版块================= */
.xf_vip_wrapper {
	padding-top: 32px;
	padding-bottom: 32px;
}

.xf_vip_card {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(202, 138, 4, 0.3);
	border-radius: 24px;
	padding: 32px;
	position: relative;
	overflow: hidden;
}

@media (min-width: 768px) {
	.xf_vip_card {
		padding: 48px;
	}
}

.xf_vip_glow {
	position: absolute;
	top: 0;
	right: 0;
	width: 256px;
	height: 256px;
	background-color: #ca8a04;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.1;
	mix-blend-mode: screen;
	pointer-events: none;
}

.xf_vip_inner {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
}

@media (min-width: 768px) {
	.xf_vip_inner {
		flex-direction: row;
		text-align: left;
	}
}

.xf_vip_text_area {
	text-align: center;
}

@media (min-width: 768px) {
	.xf_vip_text_area {
		text-align: left;
	}
}

.xf_vip_h2 {
	font-size: 30px;
	color: var(--xf_color_gold);
	font-weight: 300;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
	.xf_vip_h2 {
		font-size: 36px;
	}
}

.xf_vip_sub {
	font-size: 14px;
	color: rgba(254, 249, 195, 0.6);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.xf_vip_features {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}

@media (min-width: 768px) {
	.xf_vip_features {
		justify-content: flex-start;
	}
}

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

.xf_vip_dot {
	width: 8px;
	height: 8px;
	background-color: var(--xf_color_gold);
	border-radius: 50%;
	box-shadow: 0 0 5px var(--xf_color_gold);
}

.xf_vip_feature_text {
	font-size: 16px;
	color: #d1d5db;
}

.xf_vip_btn {
	position: relative;
	padding: 16px 40px;
	background: transparent;
	overflow: hidden;
	border-radius: 9999px;
	border: 1px solid rgba(234, 179, 8, 0.5);
	color: var(--xf_color_gold);
	transition: color 0.3s;
	margin-top: 16px;
}

@media (min-width: 768px) {
	.xf_vip_btn {
		margin-top: 0;
	}
}

.xf_vip_btn:hover {
	color: #000;
}

.xf_vip_btn_bg {
	position: absolute;
	inset: 0;
	width: 0;
	background-color: var(--xf_color_gold);
	transition: width 0.25s ease-out;
	z-index: 1;
}

.xf_vip_btn:hover .xf_vip_btn_bg {
	width: 100%;
}

.xf_vip_btn_content {
	position: relative;
	z-index: 2;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* =================新增：8宫格会员服务详情模块================= */
.xf_vip_grid_section {
	padding-top: 48px;
	padding-bottom: 48px;
	text-align: center;
}

.xf_vip_grid_header {
	margin-bottom: 40px;
}

.xf_vip_grid_title {
	font-size: 30px;
	color: #fff;
	letter-spacing: 0.2em;
	font-weight: 300;
	margin-bottom: 16px;
}

.xf_vip_grid_subtitle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: #e5e5e5;
	font-size: 14px;
	letter-spacing: 0.3em;
	font-weight: 300;
}

/* 模拟标题两侧的长线 */
.xf_vip_grid_subtitle::before,
.xf_vip_grid_subtitle::after {
	content: '';
	display: block;
	width: 80px;
	height: 1px;
	background-color: #555;
}

/* 箭头符号微调 */
.xf_arrow_font {
	font-family: Arial, sans-serif;
	opacity: 0.7;
}

/* 网格容器 */
.xf_vip_services_grid {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 手机端2列 */
	gap: 16px;
}

/* 电脑端4列 */
@media (min-width: 768px) {
	.xf_vip_services_grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}
}

/* 单个服务卡片 */
.xf_vip_service_card {
	background-color: var(--xf_color_card_dark);
	border-radius: 12px;
	padding: 32px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	transition: transform 0.3s, background-color 0.3s;
	border: 1px solid transparent;
}

.xf_vip_service_card:hover {
	transform: translateY(-5px);
	background-color: #262626;
	border-color: rgba(255, 255, 255, 0.1);
}

/* 图标容器 */
.xf_vip_icon_box {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* SVG 图标样式 (淡金色) */
.xf_vip_icon_svg {
	width: 40px;
	height: 40px;
	fill: var(--xf_color_pale_gold);
}

/* 卡片文字 */
.xf_vip_service_text {
	color: var(--xf_color_pale_gold);
	font-size: 14px;
	letter-spacing: 0.05em;
}

@media (min-width: 768px) {
	.xf_vip_service_text {
		font-size: 16px;
	}

	.xf_vip_grid_subtitle {
		font-size: 10px;
	}
}

@media (max-width: 768px) {
	.xf_vip_grid_subtitle {
		font-size: 10px;
	}
}