html { scroll-behavior: smooth; }

:root {
	--ink: #11181f;
	--heading: #27323c;
	--muted: #5e6975;
	--soft: #7c8793;
	--line: #dde4ea;
	--panel: #f5f7f8;
	--canvas: #ffffff;
	--accent: #0a5b4d;
	--surface-blue-top: #e6edf3;
	--surface-blue-mid: #dde6ed;
	--surface-blue-bottom: #f1f5f8;
	--surface-blue-radial-left: rgba(90, 111, 132, 0.18);
	--surface-blue-radial-right: rgba(131, 147, 162, 0.12);
	--surface-blue-border: rgba(17, 24, 31, 0.1);
	--max-width: 1260px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--canvas);
	color: var(--ink);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

button {
	font: inherit;
}

ul {
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.05em;
}

h1,
h2 {
	color: var(--heading);
}

p {
	color: var(--muted);
}

.container {
	width: min(100% - 48px, var(--max-width));
	margin: 0 auto;
}

section[id],
footer[id],
div[id] {
	scroll-margin-top: 96px;
}

header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(17, 24, 31, 0.08);
}

.nav-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
}

.logo {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	z-index: 1001;
}

.logo a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 0.76rem;
	letter-spacing: 0.06em;
}

.logo-cn {
	font-size: 0.84rem;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--soft);
}

.main-nav ul {
	display: flex;
	gap: 32px;
}

.main-nav a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--muted);
}

.main-nav a:hover {
	color: var(--ink);
}

.cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	background: var(--ink);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.cta-btn:hover {
	background: var(--accent);
}

.hamburger {
	display: none;
	width: 24px;
	height: 18px;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-between;
	z-index: 1002;
}

.hamburger .bar {
	width: 100%;
	height: 2px;
	background: var(--ink);
	border-radius: 999px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

footer {
	padding: 84px 0 34px;
	background: #fbfbfa;
	border-top: 1px solid rgba(221, 228, 234, 0.72);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr 1fr;
	gap: 40px;
	padding-bottom: 34px;
}

.footer-col h4 {
	margin-bottom: 14px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #97a2ad;
}

.footer-col p,
.footer-col li,
.footer-col a {
	font-size: 0.94rem;
	line-height: 1.72;
	color: #75808b;
}

.footer-col ul {
	display: grid;
	gap: 8px;
}

.footer-col a:hover {
	color: var(--ink);
}

.copyright {
	padding-top: 22px;
	border-top: 1px solid rgba(221, 228, 234, 0.72);
	font-size: 0.84rem;
	color: #96a1ac;
	text-align: center;
}

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.container {
		width: min(100% - 32px, var(--max-width));
	}

	section[id],
	footer[id],
	div[id] {
		scroll-margin-top: 84px;
	}

	.nav-wrapper {
		min-height: 68px;
	}

	.hamburger {
		display: flex;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.98);
		border-bottom: 1px solid var(--line);
		transition: max-height 0.35s ease;
	}

	.main-nav.active {
		max-height: 320px;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 10px 0;
	}

	.main-nav a {
		display: block;
		padding: 14px 16px;
	}

	footer {
		padding: 68px 0 26px;
	}

	.footer-grid {
		gap: 28px;
		padding-bottom: 26px;
	}

	.footer-col p,
	.footer-col li,
	.footer-col a {
		font-size: 0.94rem;
		line-height: 1.75;
	}

	.copyright {
		padding-top: 16px;
		font-size: 0.82rem;
	}

	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}
