:root {
	--bg: #0F172A;
	--bg-deep: #020617;
	--accent: #22D3EE;
	--accent-purple: #A78BFA;
	--text: #F8FAFC;
	--text-muted: #94A3B8;
	--content-width: 1440px;
}

/* ==================== 页脚 Section ==================== */
.footer-section {
	position: relative;
	padding: 0 0 0 0;
	background: var(--bg-deep);
	overflow: hidden;
}

/* 极光背景层 */
.aurora-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
		radial-gradient(ellipse at 70% 60%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
		radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.06) 0%, transparent 40%);
}

/* 星轨流光线条 */
.aurora-lines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.3;
	background:
		repeating-linear-gradient(45deg,
			transparent,
			transparent 200px,
			rgba(34, 211, 238, 0.015) 200px,
			rgba(34, 211, 238, 0.015) 201px),
		repeating-linear-gradient(-30deg,
			transparent,
			transparent 300px,
			rgba(167, 139, 250, 0.012) 300px,
			rgba(167, 139, 250, 0.012) 301px);
}

.footer-inner {
	position: relative;
	z-index: 2;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 80px 40px 40px;
}

/* ==================== CTA 浮动卡片 ==================== */
.footer-section .cta-card {
	position: relative;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	padding: 56px 48px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto 80px;
	box-shadow:
		0 32px 64px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(34, 211, 238, 0.08) inset,
		0 0 60px rgba(34, 211, 238, 0.05);
	overflow: hidden;
}

/* CTA 卡片顶部的微光 */
.footer-section .cta-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 40px;
	right: 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
	opacity: 0.6;
}

.footer-section .cta-card .cta-headline {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	color: var(--text);
	margin-bottom: 16px;
	letter-spacing: -0.3px;
	line-height: 1.3;
}

.footer-section .cta-card .cta-sub {
	font-size: 16px;
	color: var(--text-muted);
	margin-bottom: 36px;
	line-height: 1.7;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.footer-section .cta-card .cta-sub .highlight {
	color: var(--accent);
	font-weight: 700;
}

/* CTA 按钮容器 */
.footer-section .cta-card.cta-card-nowrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title button"
		"copy button";
	column-gap: 72px;
	align-items: center;
	width: 100vw;
	max-width: none;
	min-height: 360px;
	margin: -80px 0 80px calc(50% - 50vw);
	padding: 76px max(48px, calc((100vw - 1200px) / 2));
	border: 0;
	border-radius: 0;
	text-align: left;
	background:
		radial-gradient(circle at 15% 15%, rgba(45, 214, 246, .42), transparent 25%),
		radial-gradient(circle at 88% 88%, rgba(99, 62, 255, .44), transparent 34%),
		linear-gradient(120deg, #075b8f 0%, #153b9a 46%, #3c248e 100%);
	box-shadow: none;
}

.footer-section .cta-card.cta-card-nowrap .cta-headline,
.footer-section .cta-card.cta-card-nowrap .cta-sub {
	white-space: normal;
}

.footer-section .cta-card.cta-card-nowrap .cta-headline {
	grid-area: title;
	max-width: 760px;
	margin: 0 0 18px;
	font-size: clamp(44px, 5vw, 72px);
	line-height: 1.05;
	letter-spacing: -.05em;
}

.footer-section .cta-card.cta-card-nowrap .cta-sub {
	grid-area: copy;
	max-width: 100%;
	margin: 0;
	color: rgba(226, 242, 255, .72);
	font-size: 18px;
}

.footer-section .cta-card.cta-card-nowrap .cta-btn {
	grid-area: button;
	min-width: 280px;
	justify-content: center;
	color: #f5f8ff;
	background: rgba(4, 12, 31, .82);
	box-shadow: 0 22px 50px rgba(0, 0, 0, .28), inset 0 1px rgba(255,255,255,.08);
}

.footer-section .cta-card.cta-card-nowrap .trust-badges { display: none; }

.footer-section .cta-card.cta-card-nowrap::before {
	left: 0;
	right: 0;
	top: 0;
	height: 100%;
	background:
		radial-gradient(circle at 28% 70%, rgba(255,255,255,.1), transparent 23%),
		repeating-linear-gradient(120deg, transparent 0 120px, rgba(255,255,255,.025) 121px 122px);
	opacity: .8;
	animation: footerCtaDrift 12s ease-in-out infinite alternate;
}

@keyframes footerCtaDrift {
	from { transform: translate3d(-2%,0,0) scale(1); }
	to { transform: translate3d(2%,-2%,0) scale(1.04); }
}

.footer-section .cta-buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* CTA 按钮 - 呼吸发光 */
.footer-section .cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 48px;
	font-size: 17px;
	font-weight: 700;
	color: #0F172A;
	background: linear-gradient(135deg, #22D3EE, #38BDF8);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: all 0.35s ease;
	box-shadow: 0 0 30px rgba(34, 211, 238, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
	animation: ctaGlow 2.5s ease-in-out infinite;
}

/* CTA 次要按钮 - 联系技术支持 */
.footer-section .cta-btn-secondary {
	display: inline-flex;
	align-items: center;
	padding: 18px 48px;
	font-size: 17px;
	font-weight: 700;
	color: var(--text);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	cursor: pointer;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: all 0.35s ease;
}

.footer-section .cta-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@keyframes ctaGlow {
	0%, 100% {
		box-shadow: 0 0 30px rgba(34, 211, 238, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
	}
	50% {
		box-shadow: 0 0 50px rgba(34, 211, 238, 0.7), 0 12px 32px rgba(0, 0, 0, 0.5);
	}
}

.footer-section .cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 56px rgba(34, 211, 238, 0.8), 0 16px 40px rgba(0, 0, 0, 0.5);
	background: linear-gradient(135deg, #3DD8F0, #5DC6F8);
}

.footer-section .cta-btn .btn-arrow {
	width: 18px;
	height: 18px;
	transition: transform 0.3s;
}

.footer-section .cta-btn:hover .btn-arrow {
	transform: translateX(4px);
}

/* 信任徽章 */
.footer-section .trust-badges {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.footer-section .trust-badge {
	font-size: 11px;
	font-weight: 500;
	color: rgba(148, 163, 184, 0.7);
	letter-spacing: 0.8px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-section .trust-badge .badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10B981;
	box-shadow: 0 0 6px #10B981;
}

/* ==================== 页脚主体 ==================== */
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
	gap: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 品牌区 */
.footer-brand .footer-logo {
	font-size: 22px;
	font-weight: 800;
	color: var(--text);
	letter-spacing: 1.5px;
	margin-bottom: 14px;
}

.footer-brand .footer-logo .highlight {
	color: var(--accent);
}

.footer-brand .footer-brand-logo {
	display: inline-flex;
	width: 200px;
	margin-bottom: 14px;
	line-height: 0;
	text-decoration: none;
}

.footer-brand .footer-brand-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.footer-brand .brand-desc {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.7;
	max-width: 240px;
}

/* 链接列 */
.footer-col h5 {
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin-bottom: 20px;
}

.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col ul li a {
	font-size: 13px;
	color: rgba(148, 163, 184, 0.65);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-col ul li a:hover {
	color: var(--accent);
}

/* 社交媒体区 */
.footer-social {
	display: flex;
	gap: 16px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.social-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(148, 163, 184, 0.6);
	transition: all 0.25s;
	cursor: pointer;
	text-decoration: none;
}

.social-icon:hover {
	border-color: rgba(34, 211, 238, 0.4);
	color: var(--accent);
	background: rgba(34, 211, 238, 0.08);
	box-shadow: 0 0 16px rgba(34, 211, 238, 0.1);
}

/* 底部 */
/* 友情链接 */
.footer-friends {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.03);
	flex-wrap: wrap;
}

.friends-label {
	font-size: 11px;
	font-weight: 600;
	color: rgba(148, 163, 184, 0.35);
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
}

.friends-links {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	justify-content: center;
}

.friends-links a {
	font-size: 12px;
	color: rgba(148, 163, 184, 0.4);
	text-decoration: none;
	padding: 2px 6px;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}

.friends-links a:hover {
	color: var(--accent);
	background: rgba(34, 211, 238, 0.04);
}

.friend-sep {
	font-size: 10px;
	color: rgba(148, 163, 184, 0.2);
	user-select: none;
	pointer-events: none;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 28px;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-bottom .copyright {
	font-size: 12px;
	color: rgba(148, 163, 184, 0.5);
	letter-spacing: 0.3px;
}

.footer-bottom .lang-switch {
	font-size: 12px;
	color: rgba(148, 163, 184, 0.6);
	cursor: pointer;
	padding: 6px 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.2s;
	background: transparent;
}

.footer-bottom .lang-switch:hover {
	border-color: rgba(34, 211, 238, 0.3);
	color: var(--text);
}

@media (max-width: 1024px) {
	.footer-main {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-brand {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.footer-main {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.footer-brand {
		grid-column: auto;
	}
	.footer-section .cta-card {
		padding: 40px 24px;
		border-radius: 20px;
	}
	.footer-section .cta-btn {
		padding: 16px 36px;
		font-size: 15px;
	}
	.footer-section .trust-badges {
		gap: 16px;
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer-friends {
		gap: 10px;
	}
}

@media (max-width: 900px) {
	.footer-section .cta-card.cta-card-nowrap .cta-headline,
	.footer-section .cta-card.cta-card-nowrap .cta-sub {
		white-space: normal;
	}
}

@media (max-width: 820px) {
	.footer-section .cta-card.cta-card-nowrap {
		grid-template-columns: 1fr;
		grid-template-areas: "title" "copy" "button";
		gap: 0;
		min-height: 410px;
		padding: 64px 24px;
		text-align: center;
	}
	.footer-section .cta-card.cta-card-nowrap .cta-headline { margin: 0 auto 18px; font-size: clamp(40px, 11vw, 58px); }
	.footer-section .cta-card.cta-card-nowrap .cta-sub { margin: 0 auto 32px; }
	.footer-section .cta-card.cta-card-nowrap .cta-btn { min-width: 0; justify-self: center; }
}

.footer-section .footer-social {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 70px;
	flex-wrap: wrap;
	max-width: 280px;
}

.footer-section .footer-social .social-icon {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(148, 163, 184, 0.72);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-section .footer-social .social-icon svg {
	width: 20px;
	height: 20px;
	display: block;
	fill: currentColor;
}

.footer-section .footer-social .social-icon .cutout {
	fill: var(--bg-deep);
}

.footer-section .footer-social .social-icon:hover {
	transform: translateY(-3px);
	border-color: rgba(34, 211, 238, 0.35);
	background: rgba(15, 23, 42, 0.95);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 16px rgba(34, 211, 238, 0.12);
}

.footer-section .footer-social .social-icon.youtube:hover {
	color: #ff4b4b;
	border-color: rgba(255, 75, 75, 0.45);
	background: rgba(255, 75, 75, 0.08);
	box-shadow: 0 14px 32px rgba(255, 75, 75, 0.16);
}

.footer-section .footer-social .social-icon.telegram:hover {
	color: #38bdf8;
	border-color: rgba(56, 189, 248, 0.45);
	background: rgba(56, 189, 248, 0.08);
	box-shadow: 0 14px 32px rgba(56, 189, 248, 0.16);
}

.footer-section .footer-social .social-icon.x:hover {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 14px 32px rgba(255, 255, 255, 0.08);
}

.footer-section .footer-social .social-icon.tiktok:hover {
	color: #22d3ee;
	border-color: rgba(34, 211, 238, 0.45);
	background: rgba(34, 211, 238, 0.08);
	box-shadow: 0 14px 32px rgba(34, 211, 238, 0.16);
}

.footer-section .footer-social .social-icon.gmail:hover {
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.45);
	background: rgba(248, 113, 113, 0.08);
	box-shadow: 0 14px 32px rgba(248, 113, 113, 0.16);
}

@media (max-width: 640px) {
	.footer-section .footer-social {
		max-width: none;
		gap: 10px;
		margin-top: 70px;
	}

	.footer-section .footer-social .social-icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}

	.footer-section .footer-social .social-icon svg {
		width: 18px;
		height: 18px;
	}
}
