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

:root {
	--bg: #030712;
	--bg-mid: #0B0F19;
	--card: #111827;
	--border: #1F2937;
	--accent: #00F0FF;
	--green: #00FF85;
	--warning: #FFB800;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', system-ui, sans-serif;
	background: var(--bg);
	color: var(--slate-300);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-center-block { display: block; text-align: center; }
.text-white { color: #fff; }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.font-semibold { font-weight: 600; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }

/* ===== NAV ===== */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 4rem;
	background: rgba(3, 7, 18, 0.88); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav-inner {
	max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; height: 100%;
	display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-img { height: 28px; width: auto; }
.nav-links {
	display: none; align-items: center; gap: 1.75rem;
	font-size: 0.875rem; font-weight: 500; color: var(--slate-400);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
	display: none; background: var(--accent); color: #000;
	font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.08em; padding: 0.6rem 1.2rem; border-radius: 9999px;
}
.nav-cta:hover { background: #fff; }
@media (min-width: 768px) {
	.nav-links { display: flex; }
	.nav-cta { display: inline-flex; }
}
.nav-toggle {
	display: flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 2.25rem; height: 2.25rem; background: transparent; border: none;
	cursor: pointer; padding: 0.25rem; z-index: 60;
}
.nav-toggle-bar {
	display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-mobile {
	display: none; position: absolute; top: 4rem; left: 0; right: 0;
	background: rgba(3, 7, 18, 0.97); backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem 1.75rem;
	flex-direction: column; gap: 0.35rem; z-index: 49;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
	display: block; padding: 0.85rem 0.5rem; font-size: 0.95rem;
	font-weight: 500; color: var(--slate-300); border-radius: 0.5rem;
}
.nav-mobile a:hover { background: rgba(0, 240, 255, 0.08); color: #fff; }
.nav-mobile-cta {
	margin-top: 0.75rem; text-align: center;
	background: var(--accent) !important; color: #000 !important;
	font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.06em;
	font-size: 0.8rem !important; padding: 0.9rem 1rem !important; border-radius: 9999px !important;
}

/* ===== PAGE HERO ===== */
.page-hero {
	position: relative; padding: 9rem 1.5rem 4rem; overflow: hidden; text-align: center;
	border-bottom: 1px solid var(--border);
}
.hero-bg {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at top, #0f172a 0%, var(--bg) 70%);
	z-index: 0;
}
.hero-grid {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(31, 41, 55, 0.45) 1px, transparent 1px);
	background-size: 24px 24px;
	z-index: 1; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; margin: 0 auto; max-width: 48rem; }
.badge {
	display: inline-block;
	font-size: 0.625rem; font-weight: 700; font-family: ui-monospace, monospace;
	text-transform: uppercase; letter-spacing: 0.1em;
	padding: 0.4rem 0.9rem; border-radius: 9999px; margin-bottom: 1.25rem;
}
.badge-green {
	color: var(--green);
	background: rgba(0, 255, 133, 0.08);
	border: 1px solid rgba(0, 255, 133, 0.25);
}
.page-hero-title {
	font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff;
	letter-spacing: -0.03em; margin-bottom: 0.85rem; text-transform: uppercase;
}
.page-hero-subtitle {
	font-size: 0.9375rem; color: var(--slate-400); line-height: 1.65;
	max-width: 36rem; margin: 0 auto;
}

/* ===== SECTION ===== */
.section { padding: 4.5rem 0; }
.section-border { border-top: 1px solid var(--border); }
.section-border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-muted { background: rgba(11, 15, 25, 0.5); }
.section-label {
	display: block;
	font-size: 0.6875rem; font-family: ui-monospace, monospace; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
	margin-bottom: 0.75rem;
}
.section-label-muted {
	display: block;
	font-size: 0.6875rem; font-family: ui-monospace, monospace; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500);
	margin-bottom: 0.75rem;
}
.section-label-green { color: var(--green); }
.section-title {
	font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800; color: #fff;
	margin-bottom: 1rem; text-transform: uppercase; letter-spacing: -0.02em;
}
.card-text {
	font-size: 0.875rem; color: var(--slate-400); line-height: 1.7;
}
.feature-list {
	font-size: 0.8125rem; font-family: ui-monospace, monospace;
	color: var(--slate-400); line-height: 1.85; margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.two-col {
	display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) {
	.two-col { grid-template-columns: 1fr 1fr; }
}
.two-col-reverse { direction: ltr; }
@media (min-width: 900px) {
	.two-col-reverse > *:first-child { order: 2; }
	.two-col-reverse > *:last-child { order: 1; }
}
.grid-2 {
	display: grid; gap: 2rem;
}
@media (min-width: 768px) {
	.grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ===== MEDIA ===== */
.media-box {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--card);
}
.media-inner {
	position: relative;
	min-height: 12rem;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(11, 15, 25, 0.95));
}
.media-inner.glow {
	box-shadow: inset 0 0 40px rgba(0, 240, 255, 0.04);
}
.media-grid-bg {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(31, 41, 55, 0.5) 1px, transparent 1px);
	background-size: 16px 16px;
}
.media-label {
	position: relative; z-index: 1;
	font-size: 0.6875rem; font-family: ui-monospace, monospace;
	color: var(--slate-500); text-align: center; padding: 1rem;
}
.media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===== SPLIT CARD (02 + 03) — ảnh vuông + text cùng hàng ===== */
.split-card {
	display: flex;
	flex-direction: column;
}

.split-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: start;
}

@media (min-width: 480px) {
	.split-body {
		grid-template-columns: 200px 1fr;
		gap: 1.15rem;
	}
}

.media-square {
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 200px;
}

.media-square .media-inner {
	min-height: 0;
	height: 100%;
	aspect-ratio: 1 / 1;
}

.split-text {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.split-text .card-text {
	margin-bottom: 0;
}

/* ===== LAND ACTIONS ===== */
.land-actions {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.land-action {
	padding: 0.65rem 0.75rem;
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	font-size: 0.6875rem; font-family: ui-monospace, monospace; font-weight: 600;
	text-align: center; color: var(--slate-300);
	text-transform: uppercase; letter-spacing: 0.04em;
}

/* ===== STATUS TAG ===== */
.status-tag {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	font-size: 0.5625rem; font-family: ui-monospace, monospace; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--green);
	background: rgba(0, 255, 133, 0.08);
	border: 1px solid rgba(0, 255, 133, 0.25);
	border-radius: 0.25rem;
    width: max-content;
}
.status-tag-check {
	color: var(--accent);
	background: rgba(0, 240, 255, 0.08);
	border-color: rgba(0, 240, 255, 0.25);
}

/* ===== 05 TX FLOW ===== */
.tx-header {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 2rem;
}
.tx-lead {
	max-width: 40rem;
	margin: 0 auto;
}
.tx-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.4rem;
	margin-bottom: 1.75rem;
}
.tx-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 7.5rem;
	padding: 1rem 0.9rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	text-align: center;
}
.tx-step-accent {
	border-color: rgba(0, 240, 255, 0.35);
	background: rgba(0, 240, 255, 0.06);
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.06);
}
.tx-step-num {
	font-size: 0.5625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--slate-500);
	margin-bottom: 0.35rem;
}
.tx-step-label {
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--slate-400);
	margin-bottom: 0.4rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.tx-step-val {
	font-size: 1rem;
	font-weight: 800;
	font-family: ui-monospace, monospace;
	color: #fff;
}
.tx-step-accent .tx-step-val {
	color: var(--accent);
}
.tx-flow-arrow {
	font-size: 1rem;
	color: var(--slate-500);
	font-weight: 500;
	flex-shrink: 0;
}
.tx-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	align-items: center;
}
.tx-meta-pill {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	font-size: 0.625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--green);
	background: rgba(0, 255, 133, 0.08);
	border: 1px solid rgba(0, 255, 133, 0.22);
	border-radius: 9999px;
}
.tx-meta-muted {
	color: var(--slate-500);
	background: rgba(100, 116, 139, 0.08);
	border-color: rgba(100, 116, 139, 0.25);
}

/* ===== 06 LAYERS ===== */
.layers-lead {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}
.layers-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
}
@media (min-width: 640px) {
	.layers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.layers-grid { grid-template-columns: repeat(5, 1fr); }
}
.layer-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	padding: 1rem 0.9rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	transition: border-color 0.2s;
}
.layer-card:hover {
	border-color: rgba(0, 240, 255, 0.3);
}
.layer-icon {
	font-size: 0.5625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--slate-500);
}
.layer-name {
	font-size: 0.75rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.35;
}
.layer-st {
	font-size: 0.5625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--green);
	text-transform: uppercase;
}

/* ===== 07 STATUS CARDS ===== */
.status-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	max-width: 48rem;
	margin: 0 auto;
}
@media (min-width: 640px) {
	.status-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.status-cards { grid-template-columns: repeat(3, 1fr); }
}
.status-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.1rem 1.15rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
}
.status-card-accent {
	border-color: rgba(0, 240, 255, 0.3);
	background: rgba(0, 240, 255, 0.04);
}
.status-card-warn {
	border-color: rgba(255, 184, 0, 0.3);
	background: rgba(255, 184, 0, 0.04);
}
.status-card-muted {
	border-color: rgba(100, 116, 139, 0.25);
	opacity: 0.85;
}
.status-card-name {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fff;
}
.st-built {
	font-size: 0.625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.st-check {
	font-size: 0.625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.st-test {
	font-size: 0.625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	color: var(--warning);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.st-none {
	font-size: 0.625rem;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	color: var(--slate-500);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ===== PROOF ===== */
.proof-grid {
	display: grid; gap: 1.25rem;
	max-width: 36rem; margin: 0 auto;
}
@media (min-width: 640px) {
	.proof-grid { grid-template-columns: 1fr 1fr; }
}
.card {
	background: linear-gradient(135deg, rgba(17, 24, 39, 0.7), rgba(11, 15, 25, 0.85));
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 1rem;
	padding: 1.5rem;
}
.proof-value {
	font-size: 1.1rem; font-family: ui-monospace, monospace;
	margin-top: 0.5rem;
}
.proof-note {
	margin-top: 0.65rem;
	font-size: 0.625rem; font-family: ui-monospace, monospace;
	color: var(--slate-500); line-height: 1.5;
}

/* ===== CTA ===== */
.max-w-cta { max-width: 32rem; margin-left: auto; margin-right: auto; }
.hero-actions {
	display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.75rem 1.35rem;
	font-size: 0.75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em;
	border-radius: 9999px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
	background: var(--accent); color: #000;
}
.btn-primary:hover { background: #fff; }
.btn-outline {
	background: transparent; color: var(--slate-300);
	border: 1px solid var(--border);
}
.btn-outline:hover {
	border-color: var(--accent); color: #fff;
}

/* ===== FOOTER (giữ nguyên — footer.php dùng chung) ===== */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
	display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.footer-top { flex-direction: row; justify-content: space-between; }
}
.footer-brand { font-size: 1.35rem; font-weight: 900; color: #fff; margin-bottom: 0.4rem; }
.footer-tagline { font-size: 0.8125rem; color: var(--slate-500); }
.footer-links {
	display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; color: var(--slate-400);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
	display: flex; flex-direction: column; gap: 1rem; align-items: center;
	padding-top: 1.75rem; border-top: 1px solid var(--border);
	font-size: 0.8125rem; color: var(--slate-500);
}
@media (min-width: 640px) {
	.footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-social { display: flex; gap: 1.25rem; font-size: 1.1rem; }
.footer-social a:hover { color: var(--accent); }