/* ============================================
   业主e家 - 智慧社区服务平台
   ICP备案页面样式
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: #333;
	line-height: 1.6;
	background: #f8fafc;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.header {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 8px;
}

.logo-icon {
	font-size: 28px;
}

.logo-text {
	font-size: 22px;
	font-weight: 700;
	color: #17a2b8;
	letter-spacing: 1px;
}

.nav {
	display: flex;
	gap: 28px;
}

.nav a {
	text-decoration: none;
	color: #555;
	font-size: 15px;
	transition: color 0.3s;
}

.nav a:hover {
	color: #17a2b8;
}

/* ---------- 主视觉 ---------- */
.hero {
	background: linear-gradient(135deg, #17a2b8 0%, #1fc8db 50%, #38AFC5 100%);
	color: #fff;
	text-align: center;
	padding: 100px 20px;
}

.hero h1 {
	font-size: 56px;
	font-weight: 700;
	letter-spacing: 6px;
	margin-bottom: 16px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
	font-size: 22px;
	letter-spacing: 3px;
	margin-bottom: 20px;
	opacity: 0.95;
}

.hero-desc {
	font-size: 16px;
	max-width: 640px;
	margin: 0 auto 36px;
	line-height: 1.8;
	opacity: 0.9;
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 30px;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.3s;
}

.btn-primary {
	background: #fff;
	color: #17a2b8;
	font-weight: 600;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #fff;
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

/* ---------- 通用区块 ---------- */
.section {
	padding: 80px 20px;
}

.section-title {
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	color: #222;
	position: relative;
	margin-bottom: 8px;
}

.section-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: #17a2b8;
	margin: 12px auto 0;
	border-radius: 2px;
}

.section-subtitle {
	text-align: center;
	color: #999;
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 40px;
}

/* ---------- 关于我们 ---------- */
.about {
	background: #fff;
}

.about-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	color: #555;
	text-align: center;
}

.about-content p {
	margin-bottom: 16px;
	line-height: 1.9;
}

/* ---------- 服务项目 ---------- */
.services {
	background: #f8fafc;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 960px;
	margin: 0 auto;
}

.service-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
	font-size: 40px;
	margin-bottom: 16px;
}

.service-card h3 {
	font-size: 18px;
	color: #222;
	margin-bottom: 10px;
}

.service-card p {
	font-size: 14px;
	color: #888;
	line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.footer {
	background: #1e2a32;
	color: #aab4bd;
	padding: 32px 20px;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-copyright {
	font-size: 14px;
}

.footer a {
	color: #aab4bd;
	font-size: 14px;
	transition: color 0.3s;
}

.footer a:hover {
	color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
	.nav {
		gap: 12px;
	}

	.nav a {
		font-size: 13px;
	}

	.hero h1 {
		font-size: 36px;
		letter-spacing: 3px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.service-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-inner {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.service-grid {
		grid-template-columns: 1fr;
	}
}
