/* 重置样式 */
:root {
	--primary: #2563eb;
	--primary-light: #3b82f6;
	--primary-dark: #1d4ed8;
	--accent: #06b6d4;
	--success: #10b981;
	--gray-100: #f8fafc;
	--gray-200: #e2e8f0;
	--gray-300: #cbd5e1;
	--gray-500: #64748b;
	--gray-700: #334155;
	--gray-900: #0f172a;
	--white: #ffffff;
	--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--radius: 0.5rem;
	--radius-lg: 0.75rem;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
	line-height: 1.7;
	color: var(--gray-700);
	background-color: var(--gray-100);
	overflow-x: hidden;
}
a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}
img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}
.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	background-color: var(--primary);
	color: var(--white);
	border: none;
	border-radius: var(--radius);
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	gap: 0.5rem;
}
.btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.btn-outline {
	background: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}
.btn-outline:hover {
	background-color: var(--primary);
	color: var(--white);
}
.btn-lg {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}
.btn-accent {
	background-color: var(--accent);
}
.btn-accent:hover {
	background-color: #0891b2;
}
/* Header & Navigation */
header {
	background-color: var(--white);
	box-shadow: var(--shadow-sm);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}
.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.logo i {
	color: var(--accent);
}
nav ul {
	display: flex;
	list-style: none;
	gap: 2rem;
}
nav ul li a {
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
}
nav ul li a:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary);
	transition: var(--transition);
}
nav ul li a:hover:after {
	width: 100%;
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}
/* Hero Section */
.hero {
	padding: 200px 0 120px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.85) 100%), url('../images/photo-1519389950473-47ba0277781c-192080.webp') center/cover no-repeat;
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
	pointer-events: none;
}
.hero-content {
	max-width: 860px;
	z-index: 1;
	position: relative;
}
.hero h1 {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.1;
}
.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.95;
}
.hero-stats {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}
.stat {
	display: flex;
	flex-direction: column;
}
.stat-number {
	font-size: 2rem;
	font-weight: 700;
}
.stat-label {
	font-size: 0.9rem;
	opacity: 0.8;
}
/* Section Base */
section {
	padding: 100px 0;
	background-color: var(--white);
}
.section-title {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2.2rem;
	color: var(--gray-900);
	font-weight: 600;
}
.section-subtitle {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem;
	color: var(--gray-500);
	font-size: 1.1rem;
}
/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}
.service-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
	border: 1px solid var(--gray-200);
}
.service-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-lg);
}
.service-icon {
	height: 120px;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: white;
}
.service-content {
	padding: 1.5rem;
}
.service-content h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: var(--gray-900);
}
.service-content ul {
	list-style: none;
	margin: 1rem 0;
	color: var(--gray-500);
}
.service-content ul li {
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.service-content ul li::before {
	content: '✓';
	color: var(--success);
	font-weight: bold;
}
/* Features */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.feature {
	text-align: center;
	padding: 2rem 1.5rem;
	background: var(--gray-100);
	border-radius: var(--radius);
	transition: var(--transition);
}
.feature:hover {
	background: var(--primary);
	color: var(--white);
	transform: translateY(-5px);
}
.feature:hover h3, .feature:hover p, .feature:hover i {
	color: var(--white);
}
.feature i {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 1.5rem;
}
.feature h3 {
	margin-bottom: 1rem;
	font-size: 1.3rem;
}
/* Case Studies */
.case-studies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}
.case-card {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: white;
	border: 1px solid var(--gray-200);
}
.case-img {
	height: 200px;
	overflow: hidden;
}
.case-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.case-card:hover .case-img img {
	transform: scale(1.05);
}
.case-content {
	padding: 1.8rem;
}
.case-content h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: var(--primary);
}
.case-meta {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: var(--gray-500);
}
.case-result {
	background: rgba(16, 185, 129, 0.1);
	border-left: 4px solid var(--success);
	padding: 1rem;
	margin: 1.5rem 0;
	border-radius: 0 0.5rem 0.5rem 0;
}
/* Testimonials */
.testimonials {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.testimonials::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L100 0 L100 100 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
	background-size: 100% 100%;
	pointer-events: none;
}
.testimonials .section-title {
	color: var(--white);
}
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}
.testimonial-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: var(--radius-lg);
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.testimonial-card p {
	font-style: italic;
	margin-bottom: 1.5rem;
	position: relative;
}
.testimonial-card p::before {
	content: '"';
	font-size: 4rem;
	position: absolute;
	top: -20px;
	left: -10px;
	opacity: 0.2;
	font-family: serif;
}
.client {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.client-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--accent);
}
.client-info h4 {
	margin: 0;
	font-weight: 600;
}
.client-info p {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.8;
}
/* CTA Section */
.cta {
	padding: 120px 0;
	text-align: center;
	background: var(--gray-100);
}
.cta h2 {
	font-size: 2.8rem;
	margin-bottom: 1.5rem;
	color: var(--gray-900);
}
.cta p {
	max-width: 700px;
	margin: 0 auto 2.5rem;
	color: var(--gray-500);
	font-size: 1.1rem;
}
.cta-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}
/* About Section */
.about {
	padding: 100px 0;
	background: var(--white);
}
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.about-text h3 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	color: var(--gray-900);
}
.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}
.about-stat {
	text-align: center;
}
.about-stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
}
.about-stat-label {
	font-size: 0.95rem;
	color: var(--gray-500);
}
/* Contact Section */
.contact {
	padding: 100px 0;
	background: var(--white);
}
.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}
.contact-info h3 {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
	color: var(--gray-900);
}
.contact-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	align-items: flex-start;
}
.contact-icon {
	background: var(--primary);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius);
	font-family: inherit;
}
.contact-form textarea {
	height: 150px;
}
/* Footer */
footer {
	background-color: var(--gray-900);
	color: var(--gray-300);
	padding: 80px 0 30px;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}
.footer-column h3 {
	color: var(--white);
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
	position: relative;
	padding-bottom: 0.5rem;
}
.footer-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--primary);
}
.footer-column ul {
	list-style: none;
}
.footer-column ul li {
	margin-bottom: 0.8rem;
}
.footer-column ul li a {
	color: var(--gray-300);
}
.footer-column ul li a:hover {
	color: var(--white);
	padding-left: 5px;
}
.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}
.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--white);
	transition: var(--transition);
}
.social-links a:hover {
	background: var(--primary);
	transform: translateY(-3px);
}
.copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	color: var(--gray-500);
}
/* Responsive */
@media (max-width: 1024px) {
	.hero h1 {
		font-size: 3rem;
	}
	.about-content,
	.contact-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	        nav ul {
                display: none;
        }
        .nav-actions {
                gap: 0.5rem;
        }

}
@media (max-width: 768px) {
	.hero {
		padding: 180px 0 100px;
	}
	.hero h1 {
		font-size: 2.5rem;
	}
	.hero p {
		font-size: 1.1rem;
	}
	.section-title {
		font-size: 2rem;
	}
	nav ul {
		display: none;
	}
	.nav-actions {
		gap: 0.5rem;
	}
	.btn {
		padding: 0.6rem 1.2rem;
		font-size: 0.9rem;
	}
}
@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.hero h1 {
		font-size: 2.2rem;
	}
	.hero-stats {
		flex-direction: column;
		gap: 1rem;
	}
	.cta-buttons {
		flex-direction: column;
	}


	#zx {
		display: none;
	}

}



/* 模态框背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px); /* 可选：毛玻璃效果 */
  -webkit-overflow-scrolling: touch; /* 平滑滚动 */
}



/* 模态框背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px); /* 可选：毛玻璃效果 */
  -webkit-overflow-scrolling: touch; /* 平滑滚动 */
}

/* 模态框内容 */
.modal-content {
  background: white;
  padding: 20px 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 380px; /* 适合小屏手机 */
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  animation: fadeIn 0.3s ease-out;
  overflow: hidden;
  margin: 16px; /* 与视口保持间距 */
}

/* 图标 */
.modal-icon {
  font-size: 44px;
  color: #4CAF50;
  margin-bottom: 14px;
}

/* 标题 */
.modal-title {
  font-size: 18px;        /* 适配移动端 */
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* 消息文本 */
.modal-message {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  word-wrap: break-word; /* 长单词换行 */
}

/* 按钮 */
.modal-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  min-width: 100px;
  transition: background-color 0.2s;
}

.modal-btn:hover,
.modal-btn:active {
  background-color: #45a049;
  transform: scale(0.98); /* 轻微点击反馈 */
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 防止背景滚动（可选：JS 配合） */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
