@charset "UTF-8";

:root {
	--primary: #8e44ad;
	--secondary: #3498db;
	--accent: #e84393;
	--light: #f8f9fa;
	--dark: #343a40;
	--success: #2ecc71;
	--border: #e0e0e0;
	--shadow: 0 4px 12px rgba(0,0,0,0.08);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: #f9f7fe;
	color: #333;
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header Styles */
header {
	background-color: white;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo h1 {
	color: var(--primary);
	font-size: 24px;
	margin-left: 10px;
}

.logo-icon {
	color: var(--primary);
	font-size: 28px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	transition: color 0.3s;
	font-size: 16px;
}

nav ul li a:hover {
	color: var(--primary);
}

.auth-buttons {
	display: flex;
	gap: 15px;
}

/* 修改按钮为a标签样式 */
.auth-buttons a {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.3s;
	text-align: center;
	text-decoration: none;
	font-size: 15px;
}

.btn-secondary {
	background-color: white;
	color: var(--primary);
	border: 1px solid var(--primary);
}

.btn-secondary:hover {
	background-color: #f5f5f5;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
	border: none;
}

.btn-primary:hover {
	background-color: #7d3c98;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
	padding: 80px 0;
	color: white;
	text-align: center;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero h2 {
	font-size: 42px;
	margin-bottom: 20px;
	font-weight: 700;
}

.hero p {
	font-size: 18px;
	margin-bottom: 30px;
	opacity: 0.9;
}

.hero-buttons a {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
	text-decoration: none;
}

.btn-hero-primary {
	background-color: white;
	color: var(--primary);
}

.btn-hero-outline {
	margin-left:10px;
	background-color: transparent;
	color: white;
}

.hero-buttons a:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Features Section */
.features {
	padding: 80px 0;
	background-color: white;
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title h2 {
	font-size: 32px;
	color: var(--primary);
	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: 30px;
}

.feature-card {
	background-color: white;
	border-radius: 10px;
	padding: 30px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: transform 0.3s;
}

.feature-card:hover {
	transform: translateY(-10px);
}

.feature-icon {
	font-size: 48px;
	color: var(--primary);
	margin-bottom: 20px;
}

.feature-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: var(--dark);
}

/* How It Works */
.how-it-works {
	padding: 80px 0;
	background-color: #f5f7ff;
}

.steps {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 50px;
}

.step {
	flex: 1;
	min-width: 250px;
	text-align: center;
	padding: 0 20px;
	position: relative;
}

.step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -10px;
	height: 2px;
	width: 20px;
	background-color: var(--primary);
}

.step-number {
	width: 80px;
	height: 80px;
	background-color: var(--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
	margin: 0 auto 25px;
}

.step h3 {
	margin-bottom: 15px;
	color: var(--primary);
}

/* Testimonials */
.testimonials {
	padding: 80px 0;
	background-color: white;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 30px;
	box-shadow: var(--shadow);
}

.testimonial-content {
	font-style: italic;
	margin-bottom: 20px;
	color: #555;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.author-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #ddd;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-weight: bold;
}

.author-info h4 {
	margin-bottom: 5px;
}

.author-info p {
	color: #777;
	font-size: 14px;
}

/* FAQ Section */
.faq {
	padding: 80px 0;
	background-color: #f5f7ff;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.faq-question {
	background-color: white;
	padding: 20px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	background-color: white;
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
	padding: 20px 0;
	border-top: 1px solid var(--border);
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

/* CTA Section */
.cta {
	padding: 80px 0;
	background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
	text-align: center;
	color: white;
}

.cta h2 {
	font-size: 36px;
	margin-bottom: 20px;
}

.cta p {
	max-width: 600px;
	margin: 0 auto 30px;
	font-size: 18px;
	opacity: 0.9;
}

.cta-button {
	display: inline-block;
	background-color: white;
	color: var(--primary);
	border: none;
	padding: 15px 40px;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Footer */
footer {
	background-color: var(--dark);
	color: white;
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 20px;
	margin-bottom: 20px;
	color: #f1f1f1;
}

.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;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-links a {
	display: inline-flex;
	align-items: center;

	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255,255,255,0.1);
	border-radius: 50%;
	color: white;
	transition: background-color 0.3s;
	text-decoration: none;
}

.social-links a:hover {
	background-color: var(--primary);
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: #aaa;
	font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
		padding: 15px 0;
	}
	
	nav ul {
		margin: 20px 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	nav ul li {
		margin: 5px 15px;
	}
	
	.hero h2 {
		font-size: 32px;
	}
	
	.hero-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	
	.step:not(:last-child)::after {
		display: none;
	}
	
	.step {
		margin-bottom: 40px;
		flex: 100%;
	}
            
	.auth-buttons {
		margin-top: 15px;
	}
}
