* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #00A8FF;
	--accent-color: #FF7D00;
	--dark-bg: #1E2329;
	--mid-gray: #4E5969;
	--light-gray: #F2F3F5;
	--white: #FFFFFF;
	--text-primary: #1E2329;
	--text-secondary: #4E5969;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

.lazy-section {
	content-visibility: auto;
	contain-intrinsic-size: 800px;
}

.download-section.lazy-section {
	contain-intrinsic-size: 420px;
}

.footer.lazy-section {
	contain-intrinsic-size: 260px;
}

/* 导航栏 */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 168, 255, 0.1);
	z-index: 1000;
	padding: 12px 0;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
}

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

.logo-img {
	height: 40px;
	width: auto;
}

.logo-text {
	font-size: 20px;
	font-weight: bold;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-links {
	display: flex;
	gap: 30px;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	transition: color 0.3s;
	position: relative;
}

.nav-links a:hover {
	color: var(--primary-color);
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: width 0.3s;
}

.nav-links a:hover::after {
	width: 100%;
}

.search-box {
	display: flex;
	align-items: center;
	background: var(--light-gray);
	border-radius: 20px;
	padding: 8px 16px;
	gap: 8px;
}

.search-box input {
	border: none;
	background: transparent;
	outline: none;
	width: 200px;
	font-size: 14px;
}

.search-icon {
	width: 18px;
	height: 18px;
	fill: var(--mid-gray);
}

.nav-download-btn {
	display: none;
	border: none;
	background: #fcb434;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* Hero区域 - 参考示例页面 1:1 布局 */
.hero {
	margin-top: 64px;
	min-height: 620px;
	background: linear-gradient(135deg, #00A8FF, #0093E9);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%),
		radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.18) 0, transparent 60%),
		radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.12) 0, transparent 55%);
	opacity: 1;
}

.hero-inner {
	max-width: 1040px;
	margin: 0 auto;
	padding: 40px 32px 48px;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	column-gap: 60px;
}

.hero-left {
	position: relative;
}

.comic-stack {
	position: relative;
	width: 100%;
	max-width: 460px;
	height: 260px;
	margin: 0 auto;
}

.comic-card {
	position: absolute;
	width: 68%;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	border: 4px solid #ffffff;
	background-size: cover;
	background-position: center;
	background-color: transparent;
}

.comic-card.small-top-left {
	left: 0;
	top: 6%;
	transform: rotate(-12deg);
}

.comic-card.small-top-right {
	right: 0;
	top: 0;
	transform: rotate(8deg);
}

.comic-card.main-center {
	left: 50%;
	top: 18%;
	transform: translateX(-50%);
	width: 72%;
}

.comic-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.comic-inner {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 10% 8%;
}

.comic-character {
	width: 46%;
	height: 78%;
	border-radius: 999px 999px 60% 60%;
	background: radial-gradient(circle at 30% 20%, #ffdfc5 0, #f7a66c 38%, #d8743b 70%);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
	position: relative;
}

.comic-speech {
	position: absolute;
	top: 10%;
	left: 10%;
	right: 10%;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.speech-bubble {
	flex: 1;
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	padding: 8px 12px;
	font-size: 11px;
	color: #333333;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.speech-bubble.small {
	max-width: 60%;
}

/* 气泡小尾巴，默认在下方居中 */
.speech-bubble::after {
	content: '';
	position: absolute;
	left: 28px;
	bottom: -7px;
	width: 10px;
	height: 10px;
	background: #ffffff;
	border-left: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	transform: rotate(45deg);
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
}

.comic-caption-strip {
	position: absolute;
	bottom: 10%;
	left: 8%;
	right: 8%;
	height: 14%;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.comic-progress-track {
	width: 88%;
	height: 35%;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.25);
	overflow: hidden;
	position: relative;
}

.comic-progress-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 55%;
	border-radius: inherit;
	background: linear-gradient(90deg, #ff7d00, #ffd26f);
}

.comic-progress-thumb {
	position: absolute;
	right: -6px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
	transform: translateY(-50%);
}

.comic-cta-card {
	margin: 0 auto;
	margin-top: 40px;
	max-width: 380px;
	background: #ffc72c;
	border-radius: 12px;
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
	padding: 18px 36px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: #543700;
}

.comic-cta-sub {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	font-weight: 500;
}

.hero-right {
	color: #ffffff;
	align-self: center;
}

.hero-kicker {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}

.hero-title {
	font-size: 46px;
	line-height: 1.1;
	font-weight: 800;
	margin-bottom: 24px;
}

.hero-title .highlight-title {
	font-size: 64px;
}

.hero-subtitle {
	font-size: 22px;
	line-height: 1.4;
	font-weight: 700;
	margin-bottom: 18px;
}

.hero-desc {
	font-size: 16px;
	line-height: 1.6;
	max-width: 420px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 28px;
}

.cta-buttons {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.btn {
	height: 54px;
	padding: 0 36px;
	border-radius: 28px;
	border: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary {
	background: #fcb434;
	color: #ffffff;
	box-shadow: 0 4px 18px rgba(252, 180, 52, 0.4);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 26px rgba(252, 180, 52, 0.55);
}

.btn-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* 功能卡片区 */
.features {
	margin: 0;
	padding: 80px 20px;
	position: relative;
	overflow: hidden;
}

.features::before,
.features::after {
	content: '';
	position: absolute;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(0, 168, 255, 0.22), transparent 70%);
	top: -120px;
	left: -80px;
	z-index: 0;
}

.features::after {
	bottom: -140px;
	right: -120px;
	top: auto;
	left: auto;
	background: radial-gradient(circle, rgba(255, 125, 0, 0.18), transparent 70%);
}

.features-container {
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.section-headline {
	text-align: center;
	margin-bottom: 48px;
}

.section-headline .badge,
.gallery-header .badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.section-headline h2 {
	font-size: 36px;
	margin: 18px 0 12px;
	color: var(--text-primary);
}

.section-headline p {
	color: var(--text-secondary);
	max-width: 620px;
	margin: 0 auto;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.feature-card {
	background: white;
	border-radius: 22px;
	padding: 28px;
	position: relative;
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
	border: 3px solid var(--light-gray);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::after {
	content: '';
	position: absolute;
	inset: 14px;
	border: 2px dashed rgba(0, 168, 255, 0.2);
	border-radius: 18px;
	pointer-events: none;
}

.feature-card:hover {
	transform: translateY(-8px) rotate(-1deg);
	box-shadow: 0 25px 40px rgba(0, 168, 255, 0.18);
}

.feature-card.tilt-left {
	transform: rotate(-2deg);
}

.feature-card.tilt-right {
	transform: rotate(2deg);
}

.feature-card.accent {
	background: linear-gradient(135deg, #00a8ff, #00bcd4);
	color: white;
	border-color: rgba(255, 255, 255, 0.4);
}

.feature-card.accent::after {
	border-color: rgba(255, 255, 255, 0.35);
}

.feature-card.accent p {
	color: rgba(255, 255, 255, 0.88);
}

.feature-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(0, 168, 255, 0.1);
	fill: var(--primary-color);
	display: block;
}

.feature-card.accent .feature-icon {
	background: rgba(255, 255, 255, 0.15);
	fill: #ffffff;
}

.feature-card h3 {
	font-size: 20px;
	margin-bottom: 10px;
	color: inherit;
}

.feature-card p {
	color: var(--text-secondary);
	line-height: 1.6;
}

.feature-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mid-gray);
	margin-bottom: 12px;
}

.feature-card.accent .feature-badge {
	color: rgba(255, 255, 255, 0.9);
}

/* 产品介绍 */
.gallery-section {
	background: var(--light-gray);
	padding: 80px 20px 100px;
}

.gallery-container {
	max-width: 1280px;
	margin: 0 auto;
}

.gallery-header {
	text-align: center;
	margin-bottom: 40px;
}

.gallery-header h2 {
	font-size: 36px;
	color: var(--text-primary);
	margin: 14px 0 10px;
}

.gallery-header p {
	color: var(--text-secondary);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 180px;
	gap: 18px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-item.span-2x2 {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery-item.span-2x1 {
	grid-column: span 2;
	grid-row: span 1;
}

.gallery-item.span-1x2 {
	grid-column: span 1;
	grid-row: span 2;
}

.gallery-caption {
	display: none;
}

.gallery-carousel {
	display: none;
	position: relative;
	margin-top: 20px;
}

.carousel-window {
	overflow: hidden;
	border-radius: 14px;
}

.carousel-track {
	display: flex;
	transition: transform 0.4s ease;
}

.carousel-slide {
	min-width: 100%;
	padding: 8px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.carousel-slide img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	display: block;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.carousel-dots .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(0, 168, 255, 0.35);
	transition: background 0.3s;
}

.carousel-dots .dot.active {
	background: var(--primary-color);
}

@media (max-width: 900px) {
	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 160px;
	}

	.gallery-item.span-2x2,
	.gallery-item.span-2x1,
	.gallery-item.span-1x2 {
		grid-column: span 2;
		grid-row: span 1;
	}

	.gallery-grid {
		display: none;
	}

	.gallery-carousel {
		display: block;
	}
}

/* 下载区域 */
.download-section {
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 20px;
	text-align: center;
}

.download-card {
	background: linear-gradient(135deg, var(--primary-color), #0099E6);
	border-radius: 20px;
	padding: 60px 40px;
	color: white;
	box-shadow: 0 8px 40px rgba(0, 168, 255, 0.3);
}

.download-card h2 {
	font-size: 36px;
	margin-bottom: 12px;
}

.download-card p {
	font-size: 18px;
	margin-bottom: 12px;
	opacity: 0.9;
}

.download-btn {
	background: white;
	color: var(--primary-color);
	padding: 16px 40px;
	font-size: 18px;
	border-radius: 30px;
	border: none;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.download-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.android-icon {
	width: 24px;
	height: 24px;
	fill: var(--primary-color);
}

/* 页脚 */
.footer {
	background: var(--dark-bg);
	color: white;
	padding: 60px 20px 30px;
	margin-top: 80px;
}

.footer-content {
	max-width: 1100px;
	margin: 0 auto 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	justify-content: space-between;
	align-items: flex-start;
}

.footer-section {
	flex: 1 1 260px;
	min-width: 220px;
}

.footer-section h3 {
	margin-bottom: 20px;
	color: var(--primary-color);
}

.footer-section p,
.footer-section a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	line-height: 2;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--primary-color);
}

.footer-bottom {
	display: none;
}

.beian-link {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
}

.beian-link:hover {
	color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 900px) {
	.nav-links {
		display: none;
	}

	.search-box {
		display: none;
	}

	.nav-download-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 10px 24px;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		row-gap: 40px;
		padding: 72px 20px 52px;
	}

	.comic-stack {
		max-width: 400px;
	}

	.comic-cta-card {
		margin-top: 300px;
		font-size: 18px;
	}

	.hero-title {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.intro-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	.search-box input {
		width: 150px;
	}
}

/* 加载动画 */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* 懒加载 */
.lazy-load {
	opacity: 0;
	transition: opacity 0.3s;
}

.lazy-load.loaded {
	opacity: 1;
}