/* 基础样式重置 */
:root {
	--primary-color: #5e72e4;
	--secondary-color: #f7fafc;
	--accent-color: #667eea;
	--text-color: #2d3748;
	--light-text: #718096;
	--white: #ffffff;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--border-radius: 12px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
	background-color: var(--secondary-color);
	color: var(--text-color);
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-align: center;
	cursor: pointer;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	background-color: var(--accent-color);
	transform: translateY(-2px);
}

.section {
	padding: 100px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.5rem;
	color: var(--text-color);
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.section-title p {
	color: var(--light-text);
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* 导航栏 */
.navbar {
	background-color: var(--white);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 42px;
	margin-right: 12px;
}

.logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-color);
}

.logo-text span {
	color: var(--primary-color);
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 30px;
}

.nav-links a {
	font-weight: 600;
	color: var(--text-color);
	transition: color 0.3s;
	position: relative;
}

.nav-links a:hover {
	color: var(--primary-color);
}

.mobile-menu-btn {
	display: none;
	font-size: 1.5rem;
	color: var(--text-color);
	cursor: pointer;
}

/* 英雄区域 */
.hero {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #e2e8f0 100%);
	padding: 180px 0 100px;
	position: relative;
	overflow: hidden;
}

.hero-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: 3rem;
	color: var(--text-color);
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero p {
	color: var(--light-text);
	font-size: 1.1rem;
	margin-bottom: 30px;
}

.hero-btns {
	display: flex;
	gap: 20px;
}

.hero-image {
	position: relative;
	z-index: 1;
}

.hero-image img {
	width: 100%;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-20px);
	}

	100% {
		transform: translateY(0px);
	}
}

/* 特色卡片 */
.features {
	background-color: var(--white);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: var(--secondary-color);
	border-radius: var(--border-radius);
	padding: 40px 30px;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.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(--primary-color) 0%, var(--accent-color) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	color: var(--white);
	font-size: 2rem;
	box-shadow: var(--shadow);
}

.feature-card h3 {
	font-size: 1.5rem;
	color: var(--text-color);
	margin-bottom: 15px;
}

.feature-card p {
	color: var(--light-text);
}

/* 关于我们 */
.about {
	background-color: var(--secondary-color);
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-image {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.about-image img {
	width: 100%;
	display: block;
	transition: transform 0.5s;
}

.about-image:hover img {
	transform: scale(1.05);
}

.about-content h2 {
	font-size: 2rem;
	color: var(--text-color);
	margin-bottom: 20px;
}

.about-content p {
	color: var(--light-text);
	margin-bottom: 20px;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 30px;
}

.stat-item {
	text-align: center;
	padding: 20px;
	background-color: var(--white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 5px;
}

.stat-label {
	color: var(--light-text);
	font-size: 0.9rem;
}

/* 服务展示 */
.services {
	background-color: var(--white);
}

.services-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	flex-wrap: wrap;
	gap: 10px;
}

.tab-btn {
	padding: 12px 25px;
	background-color: transparent;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	color: var(--light-text);
	cursor: pointer;
	transition: all 0.3s;
}

.tab-btn.active {
	background-color: var(--primary-color);
	color: var(--white);
	box-shadow: var(--shadow);
}

.tab-content {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tab-content.active {
	display: block;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.service-item {
	background-color: var(--secondary-color);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s;
}

.service-item:hover {
	transform: translateY(-10px);
}

.service-img {
	height: 200px;
	overflow: hidden;
}

.service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.service-item:hover .service-img img {
	transform: scale(1.1);
}

.service-info {
	padding: 25px;
}

.service-info h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: var(--text-color);
}

.service-info p {
	color: var(--light-text);
	margin-bottom: 20px;
}

/* 团队展示 */
.team {
	background-color: var(--secondary-color);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.team-member {
	background-color: var(--white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform 0.3s;
}

.team-member:hover {
	transform: translateY(-10px);
}

.member-img {
	height: 250px;
	overflow: hidden;
}

.member-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.team-member:hover .member-img img {
	transform: scale(1.1);
}

.member-info {
	padding: 25px;
}

.member-info h3 {
	font-size: 1.3rem;
	margin-bottom: 5px;
	color: var(--text-color);
}

.member-info p {
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 500;
}

/* 页脚 */
.footer {
	background-color: #2d3748;
	color: var(--white);
	padding: 80px 0 30px;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.footer-about h3 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.footer-about p {
	opacity: 0.8;
	margin-bottom: 20px;
}

.footer-links h3 {
	font-size: 1.3rem;
	margin-bottom: 20px;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	opacity: 0.8;
	transition: opacity 0.3s;
}

.footer-links a:hover {
	opacity: 1;
	color: var(--accent-color);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0.7;
	font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {

	.hero-container,
	.about-container {
		grid-template-columns: 1fr;
	}

	.hero-image {
		order: -1;
		max-width: 600px;
		margin: 0 auto;
	}

	.section {
		padding: 80px 0;
	}
}

@media (max-width: 768px) {
	.navbar-container {
		position: relative;
	}

	.nav-links {
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background-color: var(--white);
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transform: translateY(-150%);
		transition: transform 0.3s;
		z-index: 999;
	}

	.nav-links.active {
		transform: translateY(0);
	}

	.nav-links li {
		margin: 15px 0;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.section-title h2 {
		font-size: 2rem;
	}

	.hero-btns {
		flex-direction: column;
		gap: 15px;
	}

	.btn {
		width: 100%;
	}

	.about-stats {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 576px) {
	.hero {
		padding: 150px 0 80px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.about-stats {
		grid-template-columns: 1fr;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}
}