/* 基础样式 - 移动优先 */
:root {
	--primary: #3a86ff;
	--primary-light: #4cc9f0;
	--secondary: #4361ee;
	--dark: #14213d;
	--light: #f8f9fa;
	--text: #212529;
	--text-light: #6c757d;
	--white: #ffffff;
	--border: #dee2e6;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	background-color: var(--light);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

img {
	max-width: 100%;
	height: auto;
}

/* 按钮样式 */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	text-align: center;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: var(--white);
	box-shadow: 0 4px 12px rgba(58, 134, 255, 0.25);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(58, 134, 255, 0.35);
}

.btn-outline {
	border: 2px solid var(--primary);
	color: var(--primary);
	background-color: transparent;
}

.btn-outline:hover {
	background-color: rgba(58, 134, 255, 0.1);
}

/* 顶部导航 - 响应式 */
.navbar {
	background-color: var(--white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 15px 0;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	z-index: 1001;
}

.logo {
	height: 40px;
	margin-right: 12px;
}

.brand-name {
	font-size: 22px;
	font-weight: 700;
	color: var(--dark);
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* 移动端菜单按钮 */
.menu-toggle {
	display: block;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--text);
	cursor: pointer;
	padding: 5px;
	z-index: 1001;
}

.nav-menu {
	display: none;
	width: 100%;
	order: 1;
	flex-direction: column;
	padding: 20px 0;
	background-color: var(--white);
	position: absolute;
	top: 70px;
	left: 0;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
	display: flex;
}

.nav-list {
	list-style: none;
	width: 100%;
}

.nav-item {
	margin: 0;
	border-bottom: 1px solid var(--border);
}

.nav-link {
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	padding: 15px;
	transition: color 0.3s;
	display: block;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary);
	background-color: rgba(58, 134, 255, 0.05);
}

.nav-actions {
	display: flex;
	flex-direction: column;
	padding: 15px;
	gap: 10px;
}

/* 英雄区域 - 全新布局 */
.hero {
	padding: 60px 0;
	background: linear-gradient(135deg, rgba(58, 134, 255, 0.05), rgba(76, 201, 240, 0.05));
}

.hero-container {
	display: flex;
	flex-direction: column;
}

.hero-content {
	order: 1;
	text-align: center;
	margin-bottom: 40px;
}

.hero-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--dark);
}

.hero-subtitle {
	font-size: 16px;
	color: var(--text-light);
	margin-bottom: 30px;
	max-width: 100%;
	padding: 0 15px;
}

.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 40px;
	width: 100%;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}

.hero-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-top: 30px;
}

.feature-item {
	background: var(--white);
	border-radius: 10px;
	padding: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.feature-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(76, 201, 240, 0.1));
	color: var(--primary);
	font-size: 18px;
}

.feature-text {
	font-size: 14px;
	font-weight: 500;
}

/* 平台优势区域 */
.advantages {
	padding: 60px 0;
	background-color: var(--white);
}

.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 15px;
}

.section-subtitle {
	font-size: 16px;
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto;
}

.advantages-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.advantage-card {
	background: var(--light);
	border-radius: 12px;
	padding: 30px;
	transition: all 0.3s ease;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
}

.advantage-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	border-color: transparent;
}

.advantage-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: var(--white);
	font-size: 24px;
}

.advantage-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--dark);
}

/* 交易产品区域 - 全新布局 */
.products {
	padding: 60px 0;
	background-color: var(--light);
}

.products-container {
	display: flex;
	flex-direction: column;
}

.products-header {
	margin-bottom: 40px;
}

.product-tabs {
	display: flex;
	overflow-x: auto;
	padding-bottom: 10px;
	margin-bottom: 30px;
	scrollbar-width: none;
	/* Firefox */
}

.product-tabs::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

.tab-btn {
	padding: 12px 20px;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 600;
	color: var(--text-light);
	cursor: pointer;
	position: relative;
	white-space: nowrap;
	flex-shrink: 0;
}

.tab-btn.active {
	color: var(--primary);
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20px;
	right: 20px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 3px;
}

.product-content {
	display: none;
}

.product-content.active {
	display: block;
}

.product-desc {
	margin-bottom: 20px;
}

/* 安全保障区域 */
.security {
	padding: 60px 0;
	background-color: var(--white);
}

.security-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.security-item {
	display: flex;
	align-items: flex-start;
	background: var(--light);
	border-radius: 12px;
	padding: 20px;
	transition: all 0.3s ease;
	border: 1px solid var(--border);
}

.security-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
	border-color: transparent;
}

.security-icon {
	width: 50px;
	height: 50px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(76, 201, 240, 0.1));
	color: var(--primary);
	font-size: 20px;
	flex-shrink: 0;
}

.security-content h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

/* 页脚 - 响应式 */
.footer {
	background-color: var(--dark);
	color: var(--white);
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-brand {
	text-align: center;
	margin-bottom: 30px;
}

.footer-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}

.footer-logo img {
	height: 36px;
	margin-right: 10px;
}

.footer-logo-text {
	font-size: 22px;
	font-weight: 700;
	position: relative;
}

.footer-logo-text::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-about {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.footer-social {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 8px;
	color: var(--white);
	transition: all 0.3s ease;
}

.social-link:hover {
	background: var(--primary);
	transform: translateY(-3px);
}

.footer-column {
	margin-bottom: 30px;
	text-align: center;
}

.footer-column h3 {
	font-size: 18px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
	color: var(--white);
	display: inline-block;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

/* 平板设备样式 (768px以上) */
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.nav-menu {
		display: flex;
		position: static;
		flex-direction: row;
		width: auto;
		order: 0;
		padding: 0;
		background-color: transparent;
		box-shadow: none;
	}

	.nav-list {
		display: flex;
		margin-right: 15px;
	}

	.nav-item {
		margin: 0 10px;
		border-bottom: none;
	}

	.nav-link {
		padding: 8px 0;
	}

	.nav-actions {
		flex-direction: row;
		padding: 0;
	}

	.hero {
		padding: 80px 0;
	}

	.hero-title {
		font-size: 40px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.hero-actions {
		flex-direction: row;
		max-width: 100%;
	}

	.hero-features {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}

	.section-title {
		font-size: 32px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	.advantages-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.security-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-column {
		text-align: left;
	}

	.footer-brand {
		text-align: left;
	}

	.footer-social {
		justify-content: flex-start;
	}
}

/* 小桌面设备样式 (992px以上) */
@media (min-width: 992px) {
	.hero {
		padding: 100px 0;
	}

	.hero-container {
		flex-direction: row;
		align-items: center;
		gap: 60px;
	}

	.hero-content {
		order: 1;
		text-align: left;
		align-items: flex-start;
		flex: 1;
		margin-bottom: 0;
	}

	.hero-subtitle {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.hero-actions {
		justify-content: flex-start;
		margin-left: 0;
		margin-right: 0;
	}

	.hero-features {
		justify-content: flex-start;
		margin-left: 0;
	}

	.advantages-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.products-container {
		flex-direction: row;
		align-items: flex-start;
		gap: 60px;
	}

	.product-tabs {
		flex-direction: column;
		margin-right: 30px;
		min-width: 200px;
	}

	.tab-btn {
		text-align: left;
		padding: 12px 0;
		margin-bottom: 10px;
	}

	.tab-btn.active::after {
		left: 0;
		right: auto;
		width: 3px;
		height: 100%;
		top: 0;
		bottom: 0;
	}

	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* 大桌面设备样式 (1200px以上) */
@media (min-width: 1200px) {
	.hero-title {
		font-size: 48px;
	}

	.section-title {
		font-size: 36px;
	}
}