/* ===============================
   全局样式
=============================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", Arial, sans-serif;
	color: #333;
	line-height: 1.6;
	scroll-behavior: smooth;
	background: #f9f9f9;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

/* ===============================
   Header
=============================== */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(233, 78, 119, 0.9);
	z-index: 1000;
	height: 60px;
	display: flex;
	align-items: center;
	padding: 0 50px;
	transition: background 0.3s;
	flex-wrap: wrap;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.logo-link img {
	width: 48px;
	height: 48px;
}

.logo-link h1 {
	color: white;
	font-size: 1.5rem;
	margin: 0;
}

nav {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

nav a {
	color: white;
	font-weight: bold;
	transition: 0.3s;
}

nav a.active,
nav a:hover {
	color: #fff200;
}

.lang-toggle {
	position: absolute;
	top: 17.5px;
	right: 20px;
	background: white;
	color: #e94e77;
	border: none;
	padding: 5px 12px;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
}

/* ===============================
   Banner
=============================== */
.banner {
	position: relative;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow: hidden;
	padding: 0 10px;
}

.banner-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: bannerZoom 20s ease-in-out infinite alternate;
}

@keyframes bannerZoom {
	from {
		transform: scale(1) translateY(0);
	}

	to {
		transform: scale(1.1) translateY(-20px);
	}
}

.banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.banner-content {
	position: relative;
	z-index: 1;
	color: white;
}

.banner-content h1 {
	font-size: clamp(1.8rem, 5vw, 3rem);
	margin-bottom: 20px;
	animation: fadeUp 1s ease forwards;
	opacity: 0;
}

.banner-content p {
	font-size: clamp(0.9rem, 3vw, 1.2rem);
	max-width: 700px;
	margin: auto;
	animation: fadeUp 1s 0.5s ease forwards;
	opacity: 0;
}

/* ===============================
   Section
=============================== */
section {
	padding: 40px 20px;
	max-width: 1200px;
	margin: auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

section h2 {
	text-align: center;
	font-size: clamp(1.8rem, 5vw, 2.5rem);
	margin-bottom: 40px;
	scroll-margin-top: 80px;
	color: #e94e77;
}

/* ===============================
   About / Services / Cases
=============================== */
.about,
.services,
.cases-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.about-left,
.about-right {
	flex: 1;
	min-width: 300px;
}

.about-images {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about-images img,
.services img {
	width: 100%;
	object-fit: cover;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-right h3 {
	color: #e94e77;
	margin: 20px 0 10px 0;
}

.about-right p {
	margin-bottom: 15px;
	color: #555;
	line-height: 1.7;
}

.about-right {
	flex-direction: column;
}

/* ===============================
   Card 样式 & Hover 3D
=============================== */
.service-card,
.case-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	padding: 20px;
	text-align: center;
	opacity: 0;
	transform: translateY(30px);
	flex: 0 0 250px;
	max-width: 250px;
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
		box-shadow 0.3s ease,
		filter 0.3s ease;
	perspective: 1000px;
	will-change: transform;
}

.service-card h3 {
	color: #e94e77;
	margin-bottom: 10px;
}

.service-card p,
.case-card p {
	margin-bottom: 10px;
	color: #666;
}

.service-card-inner,
.case-card-inner {
	transform-style: preserve-3d;
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover,
.case-card:hover {
	transform: translateY(-15px) scale(1.05);
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
	filter: brightness(1.05);
	z-index: 10;
}

.service-card:hover .service-card-inner,
.case-card:hover .case-card-inner {
	transform: rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

/* ===============================
   Fade-in 动画
=============================== */
.fade-element {
	opacity: 0;
	transform: translateY(30px);
	transition: 0.8s ease-out;
	will-change: opacity, transform;
}

.fade-in {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===============================
   Pricing 卡片（精致 + 差异化 + 推荐徽章）
=============================== */
.pricing-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: flex-start;
	/* 高度随内容撑开 */
	margin-top: 40px;
	position: relative;
}

.pricing-card {
	position: relative;
	flex: 0 1 260px;
	/* 宽度自适应 */
	max-width: 300px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
	transform: translateY(-6px) scale(1.03);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.pricing-header {
	padding: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 1.3rem;
	color: #fff;
	border-radius: 12px 12px 0 0;
	margin-bottom: 16px;
}

.pricing-basic .pricing-header {
	background: linear-gradient(90deg, #e94e77, #ff7aa3);
}

.pricing-advanced .pricing-header {
	background: linear-gradient(90deg, #ff9800, #ffc107);
}

.pricing-strategy .pricing-header {
	background: linear-gradient(90deg, #3f51b5, #6573c3);
}

.pricing-annual .pricing-header {
	background: linear-gradient(90deg, #009688, #26a69a);
}

.badge {
	position: absolute;
	top: -10px;
	right: -10px;
	background: #e94e77;
	color: #fff;
	font-size: 0.75rem;
	font-weight: bold;
	padding: 4px 8px;
	border-radius: 12px;
}

.pricing-price {
	text-align: center;
	margin-bottom: 16px;
}

.main-price {
	font-size: 1.6rem;
	font-weight: bold;
	display: inline;
}

.sub-price {
	font-size: 0.9rem;
	color: #666;
	display: inline;
	margin-left: 4px;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.pricing-features li {
	padding: 8px 0;
	border-bottom: 1px dashed #ddd;
	font-size: 0.95rem;
	color: #444;
	text-align: left;
}

.pricing-features li:last-child {
	border-bottom: none;
}

.note {
	font-size: 0.8rem;
	color: #999;
	text-align: center;
	margin-top: 12px;
}

.pricing-footer {
	text-align: center;
	margin-top: auto;
}

.pricing-footer button {
	background: #e60012;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.3s;
}

.pricing-footer button:hover {
	background: #b8000f;
}

/* ===============================
   响应式布局
=============================== */
@media (max-width: 1024px) {

	.service-card,
	.case-card,
	.pricing-card {
		flex: 1 1 45%;
		max-width: 45%;
	}
}

@media (max-width: 768px) {
	header {
		flex-direction: column;
		height: auto;
		padding: 10px 20px;
	}

	nav {
		position: static;
		transform: none;
		justify-content: center;
		gap: 20px;
	}

	.lang-toggle {
		position: static;
		margin-top: 10px;
	}

	.about,
	.services,
	.cases-container,
	.pricing-container {
		flex-direction: column;
		text-align: center;
	}

	.service-card,
	.case-card,
	.pricing-card,
	.about-left,
	.about-right {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.banner-content h1 {
		font-size: 2rem;
	}

	.banner-content p {
		font-size: 1rem;
		max-width: 90%;
	}

	nav a {
		font-size: 0.9rem;
	}

	section {
		padding: 30px 10px;
	}
}

@media (max-width: 360px) {
	header h1 {
		font-size: 1.2rem;
	}

	nav a {
		font-size: 0.8rem;
	}

	.banner-content h1 {
		font-size: 1.6rem;
	}

	.banner-content p {
		font-size: 0.9rem;
	}
}


/* 后加代码 */
/* ===== 定价卡片精致风格 ===== */
.pricing-card {
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 20px;
}

.pricing-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.pricing-header {
	padding: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 1.3rem;
	color: #fff;
	position: relative;
}

.badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffcf00;
	color: #333;
	font-size: 0.8rem;
	padding: 4px 8px;
	border-radius: 12px;
	font-weight: bold;
}

.pricing-body {
	padding: 20px;
	flex-grow: 1;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin-bottom: 15px;
}

.pricing-features li {
	padding: 6px 0;
	border-bottom: 1px dashed #eee;
	font-size: 0.95rem;
	color: #444;
}

.pricing-features li:last-child {
	border-bottom: none;
}

.pricing-price {
	text-align: center;
	margin-bottom: 20px;
}

.main-price {
	font-size: 1.8rem;
	font-weight: bold;
	color: #222;
}

.sub-price {
	font-size: 0.9rem;
	color: #666;
}

.pricing-footer button {
	background: #e94e77;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	transition: background 0.3s;
	width: 100%;
}

.pricing-footer button:hover {
	background: #d23d6c;
}

/* ===============================
   定价方案卡片样式
=============================== */
.pricing-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-top: 30px;
}

.pricing-card {
	flex: 1 1 250px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.pricing-card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-header {
	padding: 20px;
	color: #fff;
	position: relative;
}

.pricing-header h3 {
	margin: 0;
	font-size: 1.3rem;
	font-weight: bold;
}

.badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffce00;
	color: #000;
	font-weight: bold;
	padding: 5px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	white-space: nowrap;
}

/* 套餐颜色示例（可根据需要自定义） */
.pricing-basic .pricing-header {
	background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.pricing-advanced .pricing-header {
	background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.pricing-strategy .pricing-header {
	background: linear-gradient(135deg, #f6d365, #fda085);
}

.pricing-annual .pricing-header {
	background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.pricing-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.pricing-features li {
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: #555;
}

.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 5px;
	margin-top: auto;
}

.pricing-price .main-price {
	font-size: 1.8rem;
	font-weight: bold;
	color: #e94e77;
}

.pricing-price .sub-price {
	font-size: 0.9rem;
	color: #888;
}

.pricing-footer {
	padding: 0 20px 20px 20px;
}

.pricing-footer button {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 8px;
	background: #e94e77;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}

.pricing-footer button:hover {
	background: #d23d6c;
}

/* Badge 角标 */
.badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffce00;
	color: #000;
	font-weight: bold;
	padding: 5px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	white-space: nowrap;
}

/* 底部备注文字 */
.pricing-note {
	font-size: 0.75rem;
	color: #888;
	text-align: center;
	margin-top: 8px;
	line-height: 1.3;
}

.banner-content {
	animation: floatBreathSwing 8s ease-in-out infinite;
	position: relative;
	z-index: 1;
	color: white;
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@keyframes floatBreathSwing {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 0.95;
	}

	20% {
		transform: translate(-3px, -5px) scale(1.02);
		opacity: 1;
	}

	40% {
		transform: translate(3px, -10px) scale(1.04);
		opacity: 0.98;
	}

	60% {
		transform: translate(-2px, -5px) scale(1.02);
		opacity: 1;
	}

	80% {
		transform: translate(2px, -8px) scale(1.03);
		opacity: 0.99;
	}

	100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.95;
	}
}




.banner-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 80%);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: overlayExpand 1.5s ease-out forwards;
	pointer-events: none;
}

@keyframes overlayExpand {
	0% {
		width: 0;
		height: 0;
		opacity: 0.8;
	}

	50% {
		width: 150%;
		height: 150%;
		opacity: 0.6;
	}

	100% {
		width: 300%;
		height: 300%;
		opacity: 0;
	}
}

.about-section {
	background: linear-gradient(135deg, #f0f0f0, #dcdcdc);
	padding: 60px 20px;
	position: relative;
	overflow: hidden;
}

/* 给图片增加微光层和层次漂浮 */
.about-images img {
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.05) inset;
	transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
	animation: floatUpDown 6s ease-in-out infinite, rotateSlight 12s linear infinite;
	will-change: transform;
}

/* hover 时更立体 */
.about-images img:hover {
	transform: translateY(-15px) scale(1.1) rotateZ(0);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 255, 255, 0.1) inset;
	filter: brightness(1.15) saturate(1.1);
}


/* ===== About Right 文本优化 ===== */
.about-right {
	display: flex;
	flex-direction: column;
	gap: 10px;
	/* 每个模块间距稍微缩小 */
	padding-left: 10px;
	/* 左边留白 */
	font-family: 'Inter', 'Helvetica', sans-serif;
	color: #333;
}

/* 小标题优化 */
.about-right h3 {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: #e94e77;
	/* 改成主题色 */
	position: relative;
}

/* 段落文字优化 - 紧凑版 */
.about-right p {
	font-size: 1rem;
	line-height: 1.2;
	/* 调整行距，更紧凑 */
	color: #555;
	letter-spacing: 0.5px;
	text-align: justify;
}


/* 响应式优化 */
@media (max-width: 768px) {
	.about-right {
		padding-left: 0;
		gap: 18px;
	}

	.about-right h3 {
		font-size: 1.2rem;
	}

	.about-right p {
		font-size: 0.95rem;
	}
}

/* 新增代码 */
/* 遮罩层 + 背景模糊 */
.card-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.card-overlay.active {
	opacity: 1;
	pointer-events: all;
}

/* 放大卡片 */
.card-popup {
	position: relative;
	transform: scale(0.9);
	transition: transform 0.5s ease;
	max-width: 90%;
	max-height: 90%;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.card-overlay.active .card-popup {
	transform: scale(1);
}

/* 光线脉动 */
.card-popup::before {
	content: '';
	position: absolute;
	top: -20%;
	left: -20%;
	width: 140%;
	height: 140%;
	border-radius: 16px;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 70%);
	pointer-events: none;
	animation: lightPulse 2.5s infinite alternate;
}

@keyframes lightPulse {
	0% {
		opacity: 0.3;
		transform: scale(1);
	}

	100% {
		opacity: 0.6;
		transform: scale(1.05);
	}
}

/* 鼠标跟随微光 */
.card-popup::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
	transition: background-position 0.1s linear;
}

/* 放在你的 style-base.css 末尾以覆盖原值 */
.card-popup {
	max-height: 90vh;
	/* 限制高度，避免超出屏幕 */
	overflow-y: auto;
	/* 卡片内部可滚动 */
	-webkit-overflow-scrolling: touch;
	/* iOS 平滑滚动 */
}

.card-popup::-webkit-scrollbar {
	display: none;
	/* Chrome / Safari / Edge */
}

body.no-scroll {
	overflow: hidden;
	height: 100vh;
}