/* ========== 全局样式 ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
	background-color: #f5f7fa;
	color: #333;
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ========== 头部导航 ========== */
.header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 0 20px;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 64px;
}

.logo {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 2px;
}

.logo span {
	color: #ffd700;
}

.nav-menu {
	display: flex;
	gap: 30px;
	list-style: none;
}

.nav-menu li a {
	color: rgba(255,255,255,0.85);
	font-size: 15px;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	transition: all 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
	color: #fff;
	border-bottom-color: #ffd700;
}

.header-actions {
	display: flex;
	gap: 12px;
}

.btn {
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
	border: none;
	font-weight: 500;
}

.btn-primary {
	background: #ffd700;
	color: #333;
}

.btn-primary:hover {
	background: #ffc107;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

.btn-outline {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
	background: rgba(255,255,255,0.1);
	border-color: #fff;
}

/* ========== 主横幅 ========== */
.hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 80px 20px 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 30px 30px;
	animation: heroBg 20s linear infinite;
}

@keyframes heroBg {
	0% { transform: translate(0, 0); }
	100% { transform: translate(-50px, -50px); }
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 16px;
}

.hero h1 span {
	color: #ffd700;
}

.hero p {
	font-size: 18px;
	opacity: 0.9;
	margin-bottom: 30px;
	line-height: 1.8;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-top: 40px;
}

.hero-stat {
	text-align: center;
}

.hero-stat .number {
	font-size: 36px;
	font-weight: 700;
	color: #ffd700;
}

.hero-stat .label {
	font-size: 14px;
	opacity: 0.8;
	margin-top: 4px;
}

/* ========== 搜索区域 ========== */
.search-section {
	max-width: 1200px;
	margin: -30px auto 0;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

.search-box {
	background: #fff;
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.search-box h3 {
	font-size: 18px;
	margin-bottom: 16px;
	color: #444;
}

.search-input-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.search-input-group input,
.search-input-group select {
	flex: 1;
	min-width: 160px;
	padding: 12px 16px;
	border: 1.5px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px;
	transition: border-color 0.3s;
	background: #fafafa;
}

.search-input-group input:focus,
.search-input-group select:focus {
	outline: none;
	border-color: #667eea;
	background: #fff;
}

.search-input-group .btn-search {
	padding: 12px 32px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.3s;
	white-space: nowrap;
}

.search-input-group .btn-search:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

/* ========== 主要功能卡片 ========== */
.features {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 20px;
}

.features-title {
	text-align: center;
	margin-bottom: 40px;
}

.features-title h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 8px;
}

.features-title p {
	color: #888;
	font-size: 16px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.feature-card {
	background: #fff;
	border-radius: 16px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
	transition: all 0.3s;
	border: 1px solid #f0f0f0;
}

.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.08);
	border-color: #667eea;
}

.feature-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	font-size: 28px;
}

.feature-icon.purple { background: #f3e8ff; color: #764ba2; }
.feature-icon.blue { background: #e8f0ff; color: #667eea; }
.feature-icon.green { background: #e8fff0; color: #2ecc71; }
.feature-icon.orange { background: #fff3e8; color: #f39c12; }
.feature-icon.red { background: #ffe8e8; color: #e74c3c; }
.feature-icon.teal { background: #e8fff8; color: #1abc9c; }

.feature-card h3 {
	font-size: 18px;
	margin-bottom: 8px;
	color: #333;
}

.feature-card p {
	font-size: 14px;
	color: #888;
	line-height: 1.7;
}

/* ========== 常见问题 ========== */
.faq-section {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 20px;
}

.faq-title {
	text-align: center;
	margin-bottom: 40px;
}

.faq-title h2 {
	font-size: 28px;
	color: #333;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 16px;
}

.faq-item {
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	border: 1px solid #f0f0f0;
	transition: all 0.3s;
}

.faq-item:hover {
	border-color: #667eea;
	box-shadow: 0 4px 16px rgba(102,126,234,0.06);
}

.faq-item .question {
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.faq-item .question::before {
	content: 'Q';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.faq-item .answer {
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	padding-left: 32px;
}

/* ========== 底部 ========== */
.footer {
	background: #1a1a2e;
	color: rgba(255,255,255,0.7);
	padding: 40px 20px 20px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
}

.footer-col h4 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
	font-size: 14px;
	line-height: 2;
	color: rgba(255,255,255,0.6);
	display: block;
}

.footer-col a:hover {
	color: #ffd700;
}

.footer-bottom {
	max-width: 1200px;
	margin: 30px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.08);
	text-align: center;
	font-size: 13px;
	color: rgba(255,255,255,0.4);
}
/* ========== 用户菜单 ========== */
.user-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.user-info-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar.large {
    width: 48px;
    height: 48px;
}

.avatar-icon {
    font-size: 16px;
}

.user-phone {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.dropdown-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.user-info-trigger:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 菜单头部 */
.menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
}

.user-detail {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.user-status {
    font-size: 12px;
    color: #2ecc71;
    margin-top: 2px;
}

/* 分隔线 */
.menu-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 16px;
}

/* 服务网格 */
.service-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 12px 16px;
}

.menu-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.menu-service-item:hover {
    background: #f8f9fa;
}

.menu-icon {
    font-size: 20px;
}

.menu-service-item span:last-child {
    font-size: 12px;
    color: #666;
}

/* 菜单操作按钮 */
.menu-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
}

.menu-action-btn {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #666;
    background: #f5f5f5;
}

.menu-action-btn:hover {
    background: #eee;
    color: #333;
}

.menu-action-btn.logout-btn {
    color: #e74c3c;
    background: #fff5f5;
}

.menu-action-btn.logout-btn:hover {
    background: #ffe8e8;
}
/* ========== 响应式 ========== */
@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}
	.hero h1 {
		font-size: 28px;
	}
	.hero-stats {
		flex-direction: column;
		gap: 20px;
	}
	.search-input-group {
		flex-direction: column;
	}
	.search-input-group input,
	.search-input-group select,
	.search-input-group .btn-search {
		min-width: 100%;
	}
	.faq-grid {
		grid-template-columns: 1fr;
	}
}