:root {
	--bg: #0b0f1a;
	--card: #0f1524;
	--muted: #8ea0b8;
	--text: #e9eef7;
	--brand: #3aa0ff;
	--brand-2: #7c5cff;
	--ok: #2ecc71;
	--warn: #f39c12;
	--danger: #e74c3c;
	--border: #1b2233;
}

* { box-sizing: border-box; }
html, body {
	margin: 0;
	padding: 0;
	background: radial-gradient(1200px 800px at 70% -10%, #13203e 0%, var(--bg) 50%) fixed;
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	line-height: 1.6;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: saturate(140%) blur(10px);
	background: rgba(11,15,26,.6);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 0;
}
.site-header .brand { margin-left: -50px; }
.brand .logo { display: inline-block; }
.brand-name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .5px;
}
.brand-badge {
	font-size: 12px;
	color: #a3ffcc;
	border: 1px solid #26d47d55;
	background: #1a2a2150;
	padding: 2px 6px;
	border-radius: 999px;
}
.nav a {
	color: var(--muted);
	text-decoration: none;
	margin-left: 18px;
	transition: color .2s ease;
}
.nav a:hover { color: var(--text); }

.menu-toggle { display: none; }

.nav-backdrop { display: none; }

.hero {
	padding: 64px 0 32px;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 28px;
	align-items: center;
}
.hero-text h1 {
	font-size: 40px;
	margin: 0 0 8px;
	letter-spacing: .4px;
}
.hero-text p {
	margin: 0 0 16px;
	color: var(--muted);
}
.download-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 10px;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
	transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
	border: 1px solid #ffffff10;
	box-shadow: 0 6px 18px rgba(0,0,0,.25) inset, 0 10px 24px rgba(58,160,255,.08);
}
.btn:hover { transform: translateY(-1px); }
.btn-ios { background: linear-gradient(135deg, #232533, #3b3f58); }
.btn-android { background: linear-gradient(135deg, #1f3a2a, #2f6b42); }
.btn-desktop { background: linear-gradient(135deg, #1e2a3d, #223b66); }

.hint {
	font-size: 13px;
	color: var(--muted);
}
.qrcards {
	display: grid;
	grid-template-columns: repeat(3, 160px);
	gap: 14px;
	margin-top: 14px;
}
.qrcard {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px;
	text-align: center;
}
.qrcard span {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 13px;
}

.hero-art {
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.phone-mock {
	width: 320px;
	height: 560px;
	border-radius: 28px;
	background: linear-gradient(180deg, #0e1422, #0b0f1a);
	border: 1px solid #ffffff10;
	box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 6px #0b0f1a;
	padding: 16px;
}
.app-showcase { margin-top: 12px; display: flex; justify-content: center; }
.app-showcase img {
	width: 538px;
	height: 616px;
	max-width: 100%;
	border: none;
	border-radius: 0;
}
.phone-mock .screen {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	border: 1px solid #24314a;
	background:
		radial-gradient(500px 240px at 20% 10%, rgba(124,92,255,.25), transparent 60%),
		radial-gradient(400px 260px at 80% 20%, rgba(58,160,255,.18), transparent 60%),
		linear-gradient(180deg, #0c1321, #0c121e 60%, #0b101a);
	position: relative;
	overflow: hidden;
}
.card {
	position: absolute;
	width: 86px;
	height: 124px;
	border-radius: 10px;
	border: 1px solid #ffffff18;
	background: linear-gradient(180deg, #fefefe, #e7eaf0);
	color: #111;
	font-size: 32px;
	font-weight: 800;
	display: grid;
	place-items: center;
	box-shadow: 0 16px 28px rgba(0,0,0,.25);
	transform: rotate(-8deg);
}
.card-a { left: 42px; top: 120px; }
.card-k { left: 120px; top: 180px; transform: rotate(8deg); }
.chip {
	position: absolute;
	right: 40px;
	bottom: 60px;
	width: 72px;
	height: 72px;
	border-radius: 999px;
	background: radial-gradient(circle at 30% 30%, #ffd89e, #f39c12 60%, #e67e22);
	box-shadow: 0 10px 24px rgba(243,156,18,.35), inset 0 0 20px rgba(255,255,255,.35);
	display: grid;
	place-items: center;
	color: #000;
	font-weight: 900;
}

.features, .safe, .help { padding: 28px 0; }
.features h2, .safe h2, .help h2 {
	margin: 0 0 14px;
	font-size: 24px;
}
.news { padding: 28px 0; }
.news h2 { margin: 0 0 14px; font-size: 24px; }
.news-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.news-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .12s ease, border-color .12s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: #2a3d5f; }
.news-card img { display: block; width: 100%; height: auto; }
.news-meta { padding: 12px; }
.news-meta h3 { margin: 0 0 6px; font-size: 16px; }
.news-meta p { margin: 0; color: var(--muted); font-size: 14px; }

.article { padding: 28px 0; }
.article h1 {
	margin: 0 0 10px;
	font-size: 24px;
}
.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--muted);
	font-size: 13px;
	margin-bottom: 20px;
}
.article-meta span::before {
	content: "•";
	margin: 0 8px 0 0;
	color: #3a4b6a;
}
.article-meta span:first-child::before { content: ""; margin: 0; }
.article-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 20px;
	align-items: start;
}
.article-main {
	flex: 1;
}
.article-content {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px;
	color: var(--text);
}
.article-content p { margin: 0 0 12px; }
.article-content h3 { margin: 14px 0 8px; font-size: 18px; }
.article-content ul { margin: 0 0 12px 18px; color: var(--muted); }
.article-content blockquote {
	margin: 12px 0;
	padding: 10px 12px;
	border-left: 3px solid #3a5ca8;
	background: #0e1626;
	color: #c5d2eb;
	border-radius: 6px;
}
.article-tags {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.article-tags a {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: #aab8d3;
	text-decoration: none;
	font-size: 12px;
	background: #0e1626;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.article-tags a:hover {
	color: #e9eef7;
	border-color: #2a3d5f;
	background: #0f1a2c;
}
.article-sidebar {
	position: sticky;
	top: 90px;
}
.hot-topics {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
}
.hot-topics h3 {
	margin: 0 0 16px;
	font-size: 18px;
	color: var(--text);
	border-bottom: 1px solid var(--border);
	padding-bottom: 12px;
}
.hot-topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hot-topics-list li {
	margin-bottom: 12px;
}
.hot-topics-list li:last-child {
	margin-bottom: 0;
}
.hot-topic-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
	padding: 10px;
	border-radius: 8px;
	transition: background .15s ease, transform .12s ease;
}
.hot-topic-item:hover {
	background: rgba(58, 160, 255, 0.08);
	transform: translateX(2px);
}
.hot-rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 6px;
	flex-shrink: 0;
}
.hot-topics-list li:nth-child(1) .hot-rank {
	background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
	color: #fff;
}
.hot-topics-list li:nth-child(2) .hot-rank {
	background: linear-gradient(135deg, #ffa726, #fb8c00);
	color: #fff;
}
.hot-topics-list li:nth-child(3) .hot-rank {
	background: linear-gradient(135deg, #66bb6a, #43a047);
	color: #fff;
}
.hot-topics-list li:nth-child(4) .hot-rank,
.hot-topics-list li:nth-child(5) .hot-rank {
	background: var(--card);
	border: 1px solid var(--border);
	color: var(--muted);
}
.hot-title {
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
	transition: color .15s ease;
}
.hot-topic-item:hover .hot-title {
	color: var(--brand);
}
.hot-keywords {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}
.hot-keywords p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
	text-align: justify;
}
.feature-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.feature-grid li {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px;
}
.feature-grid h3 { margin: 0 0 6px; font-size: 16px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.safe-list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: grid;
	gap: 8px;
}
.hash-box {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.hash-box code {
	display: inline-block;
	background: #0c1321;
	border: 1px solid var(--border);
	padding: 8px 10px;
	border-radius: 8px;
	color: #aab8d3;
	user-select: all;
}

.help-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.help-grid h3 { margin: 0 0 6px; font-size: 16px; }
.help-grid ol { margin: 0; padding-left: 18px; color: var(--muted); }

.site-footer {
	border-top: 1px solid var(--border);
	padding: 18px 0 28px;
	background: linear-gradient(180deg, rgba(12,18,33,.2), rgba(11,15,26,.8) 30%, var(--bg));
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr auto 1fr;
	align-items: start;
	gap: 14px;
}
.footer-left { max-width: 520px; }
.footer-intro { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-inner .links {
	display: flex;
	gap: 14px;
	justify-content: center;
}
.footer-inner .links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 14px;
}
.footer-inner .links a:hover { color: var(--text); }
.footer-inner .legal {
	justify-self: end;
	color: var(--muted);
	font-size: 12px;
}
.brand.small .brand-name { font-size: 16px; }

@media (min-width: 981px) {
	/* Align footer logo with header logo on desktop */
	.site-footer .brand { margin-left: -50px; }
}

@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; }
	.phone-mock { margin-top: 8px; height: 520px; }
	.feature-grid { grid-template-columns: 1fr 1fr; }
	.help-grid { grid-template-columns: 1fr 1fr; }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.hash-box { grid-template-columns: 1fr; }
	.qrcards { display: none; }
	.footer-inner { grid-template-columns: 1fr; text-align: center; }
	.footer-inner .legal { justify-self: center; }
	.footer-left { justify-self: center; }
	.footer-intro { max-width: 560px; }
	/* hide windows button and hint on mobile */
	#btn-windows { display: none; }
	.hint { display: none; }
	/* article layout on tablet */
	.article-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.article-sidebar {
		position: static;
	}

	/* mobile nav inline (no drawer) */
	.nav {
		position: static;
		top: auto;
		right: auto;
		height: auto;
		width: auto;
		padding: 0;
		background: transparent;
		border: 0;
		transform: none;
		display: flex;
		flex-wrap: wrap;
		gap: 10px 14px;
	}
	.nav a {
		display: inline-block;
		margin: 0;
		font-size: 16px;
	}

	/* app image size on mobile */
	.app-showcase img {
		width: 330px;
		height: 378px;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {}

@media (max-width: 560px) {
	.hero-text h1 { font-size: 32px; }
	.download-actions { gap: 10px; }
	.btn { width: 100%; justify-content: center; }
	.feature-grid { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr; }
	.help-grid { grid-template-columns: 1fr; }
	.qrcards { grid-template-columns: 1fr 1fr; }
}


