/* 基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
	--primary: #5381f8;
	--secondary: #409eff;
	--accent: #FFD166;
	--dark: #2D3047;
	--light: #F7F9FC;
	--text: #333333;
}

body {
	color: var(--text);
	line-height: 1.6;
	background-color: var(--light);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 导航栏 */
header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	z-index: 1000;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	color: white;
	font-weight: bold;
	font-size: 20px;
}

.logo-text {
	font-size: 24px;
	font-weight: 700;
	color: var(--dark);
}

.logo-text span {
	color: var(--primary);
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 30px;
}

.nav-links a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: var(--primary);
}

.download-btn {
	background-color: var(--primary);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.download-btn:hover {
	background-color: #5381f8;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(107, 203, 255, 0.3);
}

/* 英雄区域 */
.hero {
    height: 90vh;
    padding: 0 20px; /* 移除上下padding，用flex居中替代 */
    background: linear-gradient(135deg, #f9f7fe 0%, #e3f2fd 100%);
    text-align: center;
    display: flex; /* 添加flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

.hero .container {
    width: 100%; /* 确保容器宽度100% */
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	color: var(--dark);
	line-height: 1.2;
}

.hero p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto 40px;
	color: #555;
}

.highlight {
	color: var(--primary);
	font-weight: 700;
}

.cta-buttons {
	display: flex;
	justify-content: center;
    padding-top: 70px;
	gap: 50px;
	margin-top: 30px;
}

.btn {
	padding: 14px 30px;
	border-radius: 30px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-primary:hover {
	background-color: #5381f8;
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(107, 198, 255, 0.3);
}

.btn-secondary {
	background-color: white;
	color: var(--dark);
	border: 2px solid var(--dark);
}

.btn-secondary:hover {
	background-color: var(--dark);
	color: white;
	transform: translateY(-3px);
}

/* 功能区域 */
.features {
	padding: 100px 0;
	background-color: white;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.5rem;
	color: var(--dark);
	margin-bottom: 15px;
}

.section-title p {
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.feature-card {
	background-color: var(--light);
	border-radius: 15px;
	padding: 30px;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: white;
	font-size: 30px;
}

.feature-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--dark);
}

/* 应用展示 */
.app-showcase {
	padding: 100px 0;
	background: linear-gradient(135deg, #e3f2fd 0%, #f9f7fe 100%);
}

.showcase-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.showcase-text {
	flex: 1;
}

.showcase-text h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--dark);
}

.showcase-text p {
	margin-bottom: 20px;
	color: #555;
}

.showcase-image {
	flex: 1;
	text-align: center;
}

.mockup {
	max-width: 100%;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 下载区域 */
.download {
	padding: 100px 0;
	background-color: white;
	text-align: center;
}

.download h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--dark);
}

.download p {
	max-width: 600px;
	margin: 0 auto 40px;
	color: #666;
}

.qr-codes {
	display: flex;
	justify-content: center;
	gap: 50px;
	margin-top: 40px;
}

.qr-code {
	text-align: center;
}

.qr-code img {
	width: 150px;
	height: 150px;
	border: 1px solid #eee;
	border-radius: 10px;
	margin-bottom: 15px;
}

/* 页脚 */
footer {
	background-color: var(--dark);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background-color: var(--primary);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #bbb;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: white;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #bbb;
	font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.navbar {
		flex-direction: column;
		padding: 15px 0;
	}

	.nav-links {
		margin-top: 15px;
	}

	.nav-links li {
		margin: 0 10px;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.showcase-content {
		flex-direction: column;
	}

	.qr-codes {
		flex-direction: column;
		gap: 30px;
	}
}

/* 导航栏按钮样式 */
.contact-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    background-color: #409eff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

/* 按钮图标样式 */
.btn-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 社交媒体图标样式 */
.social-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* 功能图标样式调整 */
.feature-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}