:root {
	--primary-color: #4CAF50;
	--secondary-color: #388E3C;
	--accent-color: #8BC34A;
	--light-color: #F1F8E9;
	--dark-color: #1B5E20;
	--text-color: #333;
	--light-text: #757575;
	--background: #f9f9f9;
	--card-bg: #ffffff;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--windows-blue: #0078D7;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: var(--background);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 导航栏样式 */
header {
	background-color: white;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

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

.logo img {
	height: 40px;
	width: 40px;
	object-fit: contain;
}

.logo h1 {
	font-size: 1.5rem;
	color: var(--dark-color);
}

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

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

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

.mobile-menu-btn {
	display: none;
	font-size: 1.5rem;
	background: none;
	border: none;
	color: var(--primary-color);
	cursor: pointer;
}

/* 英雄区域样式 */
.hero {
	text-align: center;
	padding: 80px 0;
}

.app-logo {
	width: 120px;
	height: 120px;
	margin: 0 auto 30px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	border: 4px solid white;
}

.app-logo i {
	font-size: 60px;
	color: white;
}

.hero h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--dark-color);
}

.hero p {
	font-size: 1.1rem;
	margin-bottom: 30px;
	color: var(--light-text);
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.download-btn {
	display: inline-block;
	background-color: var(--primary-color);
	color: white;
	padding: 15px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	transition: background-color 0.3s, transform 0.3s;
	box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
	margin: 10px;
	position: relative;
}

.download-btn.windows {
	background-color: var(--windows-blue);
	box-shadow: 0 4px 10px rgba(0, 120, 215, 0.3);
}

.download-btn.windows:hover {
	background-color: #106EBE;
}

.download-btn:hover {
	background-color: var(--secondary-color);
	transform: translateY(-3px);
}

.version-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background-color: var(--accent-color);
	color: white;
	font-size: 0.7rem;
	padding: 3px 8px;
	border-radius: 10px;
	font-weight: bold;
}

.platform-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.8rem;
	margin-left: 8px;
}

/* 功能区域样式 */
.features {
	padding: 80px 0;
	background-color: var(--light-color);
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
	color: var(--dark-color);
}

.section-title h2 {
	font-size: 2.2rem;
	margin-bottom: 15px;
}

.section-title p {
	color: var(--light-text);
	max-width: 700px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: var(--card-bg);
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--shadow);
	transition: transform 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-icon {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.feature-card h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: var(--dark-color);
}

.platform-tag {
	display: inline-block;
	font-size: 0.7rem;
	padding: 3px 8px;
	border-radius: 4px;
	background-color: var(--accent-color);
	color: white;
	margin-left: 8px;
	vertical-align: middle;
}

.windows-tag {
	background-color: var(--windows-blue);
}

/* 截图区域样式 */
.screenshots {
	padding: 80px 0;
	background-color: white;
	position: relative;
}

.carousel {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

.carousel-container {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	height: 450px;
	position: relative;
}

.carousel-slides {
	display: flex;
	transition: transform 0.5s ease;
	height: 100%;
}

.carousel-slide {
	min-width: 100%;
	height: 100%;
	position: relative;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.slide-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 10px;
	text-align: center;
	font-size: 0.9rem;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.8);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 10;
	transition: background 0.3s;
}

.carousel-btn:hover {
	background: white;
}

.carousel-btn.prev {
	left: -20px;
}

.carousel-btn.next {
	right: -20px;
}

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

.carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
	transition: background 0.3s;
}

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

/* 下载区域样式 */
.download-section {
	padding: 80px 0;
	text-align: center;
	background-color: var(--light-color);
}

.download-content {
	max-width: 700px;
	margin: 0 auto;
}

.download-content p {
	margin-bottom: 40px;
	color: var(--light-text);
}

.download-buttons {
	margin-top: 20px;
}

.platform-options {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 15px;
}

.platform-option {
	padding: 12px 25px;
	background: white;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: var(--shadow);
	border: 2px solid transparent;
}

.platform-option.active {
	border-color: var(--primary-color);
	background-color: var(--light-color);
}

.platform-option i {
	margin-right: 8px;
}

.downloads-container {
	display: none;
}

.downloads-container.active {
	display: block;
}

/* 加入群聊区域样式 */
.community {
	padding: 80px 0;
	text-align: center;
}

.community-content {
	max-width: 700px;
	margin: 0 auto;
}

.community-btn {
	display: inline-block;
	background-color: var(--accent-color);
	color: white;
	padding: 15px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	margin: 15px;
	transition: background-color 0.3s;
	cursor: pointer;
}

.community-btn:hover {
	background-color: var(--primary-color);
}

/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.modal.active {
	display: flex;
}

.modal-content {
	background-color: white;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
	position: relative;
}

.close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 1.5rem;
	color: #999;
	cursor: pointer;
	background: none;
	border: none;
}

.close-modal:hover {
	color: #333;
}

.qrcode-image {
	width: 200px;
	height: 200px;
	margin: 20px auto;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	overflow: hidden;
}

.qrcode-image img {
	max-width: 100%;
	max-height: 100%;
}

.qrcode-placeholder {
	color: #999;
	font-size: 0.9rem;
}

.group-mp-number {
	margin-top: 20px;
	margin-bottom: 15px;
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--dark-color);
	background-color: var(--light-color);
	padding: 10px 15px;
	border-radius: 8px;
	display: inline-block;
}

.group-mp-desc {
	margin-top: 15px;
	margin-bottom: 10px;
	color: var(--light-text);
	font-size: 0.9rem;
}

.group-number {
	margin-top: 0px;
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--dark-color);
	background-color: var(--light-color);
	padding: 10px 15px;
	border-radius: 8px;
	display: inline-block;
}

.group-desc {
	margin-top: 15px;
	color: var(--light-text);
	font-size: 0.9rem;
}

/* 备案信息样式 */
.beian-info {
	text-align: center;
	margin-top: 20px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #ccc;
	font-size: 0.9rem;
}

.beian-info a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.beian-info a:hover {
	color: white;
	text-decoration: underline;
}

/* 页脚样式 */
footer {
	background-color: var(--dark-color);
	color: white;
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 30px;
}

.footer-column h3 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: var(--accent-color);
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 10px;
}

.footer-column a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-column a:hover {
	color: white;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #ccc;
	font-size: 0.9rem;
}

/* 历史版本页面样式 */
.history-page {
	display: none;
	padding: 40px 0;
}

.version-timeline {
	position: relative;
	max-width: 800px;
	margin: 40px auto;
	padding-left: 30px;
}

.version-timeline::before {
	content: '';
	position: absolute;
	left: 7px;
	top: 0;
	height: 100%;
	width: 2px;
	background: var(--primary-color);
}

.version-item {
	position: relative;
	margin-bottom: 30px;
	background: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: var(--shadow);
}

.version-item::before {
	content: '';
	position: absolute;
	left: -38px;
	top: 20px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--primary-color);
	border: 4px solid white;
	box-shadow: 0 0 0 2px var(--primary-color);
}

.version-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.version-title {
	font-size: 1.3rem;
	color: var(--dark-color);
}

.version-date {
	color: var(--light-text);
	font-size: 0.9rem;
}

.version-download {
	display: inline-block;
	margin-top: 15px;
	padding: 8px 16px;
	background: var(--primary-color);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	transition: background 0.3s;
}

.windows-download {
	background: var(--windows-blue);
}

.version-download:hover {
	background: var(--secondary-color);
}

.windows-download:hover {
	background: #106EBE;
}

.back-to-home {
	display: inline-block;
	margin-bottom: 20px;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

/* Tab样式 */
.version-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
}

.version-tab {
	padding: 12px 30px;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--light-text);
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	transition: color 0.3s;
}

.version-tab.active {
	color: var(--primary-color);
}

.version-tab.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--primary-color);
}

.version-tab-content {
	display: none;
}

.version-tab-content.active {
	display: block;
}

.link-left {
    margin-left: 38px;
}

/* 响应式设计 */
@media (max-width: 900px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 80px;
		right: 20px;
		background: white;
		padding: 20px;
		border-radius: 8px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		flex-direction: column;
		gap: 15px;
		z-index: 100;
	}

	.nav-links.active {
		display: flex;
	}

	.mobile-menu-btn {
		display: block;
	}

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

	.carousel {
		max-width: 90%;
	}

	.carousel-container {
		height: 350px;
	}

	.app-logo {
		width: 100px;
		height: 100px;
	}

	.app-logo i {
		font-size: 50px;
	}

	.download-btn {
		display: block;
		margin: 10px auto;
		max-width: 250px;
	}
}

@media (max-width: 600px) {
	.hero h2 {
		font-size: 2rem;
	}

	.section-title h2 {
		font-size: 1.8rem;
	}

	.download-btn {
		padding: 12px 25px;
		font-size: 1rem;
	}

	.carousel-container {
		height: 300px;
	}

	.carousel-btn {
		width: 30px;
		height: 30px;
	}

	.carousel-btn.prev {
		left: -15px;
	}

	.carousel-btn.next {
		right: -15px;
	}

	.app-logo {
		width: 80px;
		height: 80px;
	}

	.app-logo i {
		font-size: 40px;
	}

	.platform-options {
		flex-direction: column;
		align-items: center;
	}

	.platform-option {
		width: 100%;
		max-width: 250px;
		text-align: center;
	}

	.modal-content {
		padding: 20px;
	}

	.qrcode-image {
		width: 200px;
		height: 200px;
	}

	.version-tabs {
		flex-direction: column;
		align-items: center;
	}

	.version-tab {
		width: 100%;
		max-width: 250px;
		text-align: center;
		margin-bottom: 10px;
	}
}