:root {
	--bg: #09090b;
	--bg-2: #0f0f12;
	--bg-3: #18181b;
	--border: #27272a;
	--text: #fafafa;
	--text-2: #a1a1aa;
	--text-3: #71717a;
	--white: #fff;
	--green: #22c55e;
	--red: #ef4444;
	--yellow: #eab308;
	--blue: #3b82f6;
}

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

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

a { color: var(--text-2); text-decoration: none; }
a:hover { color: var(--white); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 60px; }

.btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 20px; border-radius: 6px;
	font-size: 14px; font-weight: 500; cursor: pointer;
	border: none; font-family: inherit; text-decoration: none;
	transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { background: #d4d4d8; color: var(--bg); }
.btn-outline { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-outline:hover { color: var(--text); border-color: var(--text-3); }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-green { background: var(--green); color: #000; }
.btn-green:hover { background: #16a34a; color: #000; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Nav */
.navbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: rgba(9, 9, 11, 0.9); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; height: 56px; padding: 0 20px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
.nav-logo:hover { color: var(--text); }
.nav-logo i { color: var(--green); font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-3); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary { color: var(--bg); }
.nav-links a.btn-primary:hover { color: var(--bg); background: #d4d4d8; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; margin-left: auto; padding: 8px; }

/* Hero */
.hero { padding: 140px 0 80px; }
.hero h1 {
	font-size: 52px; font-weight: 700; line-height: 1.1;
	letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero p {
	font-size: 18px; color: var(--text-3); line-height: 1.6;
	margin-bottom: 32px; max-width: 600px;
}
.hero-buttons { display: flex; gap: 12px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 64px; padding-top: 36px; border-top: 1px solid var(--border); }
.hero-stat h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.hero-stat p { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* Section */
.section { padding: 72px 0; }
.section-label { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.section-title { font-size: 36px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 10px; }
.section-desc { font-size: 16px; color: var(--text-3); line-height: 1.6; }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.feature-card {
	background: var(--bg); padding: 28px;
}
.feature-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.feature-icon {
	width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
	font-size: 14px; margin-bottom: 14px; color: var(--text-3);
}

/* Code */
.code-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.code-block {
	background: var(--bg-2); border: 1px solid var(--border); overflow: hidden;
}
.code-header {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 16px; border-bottom: 1px solid var(--border);
	background: var(--bg-3);
}
.code-dot { width: 8px; height: 8px; border-radius: 50%; }
.code-dot.red { background: #f87171; }
.code-dot.yellow { background: #fbbf24; }
.code-dot.green { background: #4ade80; }
.code-header span { margin-left: 8px; font-size: 12px; color: var(--text-3); }
.code-body {
	padding: 20px; font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: 12px; line-height: 1.7; color: var(--text-2);
	overflow-x: auto;
}
.code-body .keyword { color: #c084fc; }
.code-body .string { color: #4ade80; }
.code-body .comment { color: var(--text-3); }
.code-body .func { color: #60a5fa; }
.code-body .prop { color: #fbbf24; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pricing-card { background: var(--bg); padding: 36px; position: relative; }
.pricing-card.featured { background: var(--bg-2); }
.pricing-card .badge {
	display: inline-block; background: var(--white); color: var(--bg);
	padding: 3px 10px; font-size: 11px; font-weight: 600;
	margin-bottom: 16px;
}
.pricing-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pricing-card .price { font-size: 40px; font-weight: 700; margin: 12px 0; letter-spacing: -1px; }
.pricing-card .price span { font-size: 14px; color: var(--text-3); font-weight: 400; }
.pricing-card .desc { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
	display: flex; align-items: center; gap: 8px;
	padding: 5px 0; font-size: 13px; color: var(--text-2);
}
.pricing-features li i { color: var(--text-3); font-size: 11px; }

/* CTA */
.cta-section { padding: 72px 0; border-top: 1px solid var(--border); }
.cta-section h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 10px; }
.cta-section p { font-size: 15px; color: var(--text-3); margin-bottom: 24px; }

/* Coins */
.coins-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.coin-badge {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 16px; border: 1px solid var(--border);
	font-size: 13px; font-weight: 500; color: var(--text-2);
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-logo i { color: var(--green); }
.footer-desc { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.footer-col h4 { font-size: 12px; font-weight: 600; margin-bottom: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-3); padding: 3px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--text-3); }

/* Forms */
.form-card {
	background: var(--bg-2); border: 1px solid var(--border);
	padding: 36px; max-width: 420px; width: 100%;
}
.form-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; text-align: center; }
.form-card .form-desc { font-size: 13px; color: var(--text-3); text-align: center; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 4px; color: var(--text-2); }
.form-control {
	width: 100%; padding: 10px 12px;
	background: var(--bg); border: 1px solid var(--border);
	color: var(--text); font-size: 14px; font-family: inherit;
	transition: border-color 0.15s;
}
.form-control:focus { outline: none; border-color: var(--text-3); }
.form-control::placeholder { color: var(--text-3); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
select.form-control option { background: var(--bg); color: var(--text); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-link { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 16px; }
.form-link a { color: var(--text-2); text-decoration: underline; }
.form-error {
	background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.2);
	color: var(--red); padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}
.form-success {
	background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.2);
	color: var(--green); padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}

/* Toast */
.toast {
	position: fixed; top: 20px; right: 20px; z-index: 500;
	background: #111; border: 1px solid #222; padding: 14px 20px;
	font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px;
	border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.4);
	animation: toastIn .3s ease both;
}
.toast.success { border-color: rgba(34,197,94,.3); color: var(--green); }
.toast.error { border-color: rgba(239,68,68,.3); color: var(--red); }
.toast.out { animation: toastOut .25s ease both; }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(20px); } }

/* Dashboard */
.dash-layout { display: flex; min-height: calc(100vh - 56px); margin-top: 56px; }
.dash-sidebar {
	width: 220px; background: var(--bg-2);
	border-right: 1px solid var(--border);
	padding: 20px 0; flex-shrink: 0;
}
.dash-sidebar a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 20px; font-size: 13px; font-weight: 500;
	color: var(--text-3);
}
.dash-sidebar a:hover { color: var(--text); }
.dash-sidebar a.active { color: var(--text); background: rgba(255,255,255,0.04); }
.dash-sidebar a i { width: 16px; text-align: center; font-size: 12px; }
.dash-menu-btn { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 200; width: 44px; height: 44px; background: var(--white); color: var(--bg); border: none; border-radius: 50%; font-size: 16px; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.dash-main { flex: 1; padding: 28px; }
.dash-header { margin-bottom: 28px; }
.dash-header h1 { font-size: 20px; font-weight: 600; }
.dash-header p { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 28px; }
.stat-card { background: var(--bg); padding: 18px 20px; }
.stat-card .stat-label { font-size: 11px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card .stat-value { font-size: 24px; font-weight: 700; margin-top: 4px; letter-spacing: -0.5px; }

/* Table */
.table-wrap { border: 1px solid var(--border); overflow: hidden; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th {
	text-align: left; padding: 10px 16px; font-size: 11px;
	font-weight: 500; color: var(--text-3); text-transform: uppercase;
	letter-spacing: 0.5px; background: var(--bg-2);
	border-bottom: 1px solid var(--border);
}
.table-wrap td {
	padding: 10px 16px; font-size: 13px; color: var(--text-2);
	border-bottom: 1px solid var(--border);
}
.table-wrap tr:last-child td { border-bottom: none; }

/* Badges */
.badge-status {
	display: inline-block; padding: 2px 8px;
	font-size: 11px; font-weight: 600;
}
.badge-status.completed { background: rgba(34,197,94,0.1); color: var(--green); }
.badge-status.pending { background: rgba(234,179,8,0.1); color: var(--yellow); }
.badge-status.confirming { background: rgba(59,130,246,0.1); color: var(--blue); }
.badge-status.expired, .badge-status.failed { background: rgba(239,68,68,0.1); color: var(--red); }

/* Copy */
.copy-field {
	display: flex; align-items: center;
	background: var(--bg); border: 1px solid var(--border);
}
.copy-field input {
	flex: 1; padding: 10px 12px; background: transparent;
	border: none; color: var(--text); font-family: 'SF Mono', monospace;
	font-size: 12px; outline: none;
}
.copy-field button {
	padding: 10px 14px; background: transparent; border: none;
	border-left: 1px solid var(--border); color: var(--text-3);
	cursor: pointer;
}
.copy-field button:hover { color: var(--text); }

/* Tablet */
@media (max-width: 1024px) {
	.container { padding: 0 32px; }
	.hero h1 { font-size: 40px; }
	.hero p { font-size: 16px; }
	.hero-stats { gap: 40px; }
	.section-title { font-size: 28px; }
	.code-section { gap: 40px; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.dash-main { padding: 24px; }
	.pricing-grid { max-width: 100%; }
	.nav-links { display: none; }
	.nav-links.open {
		display: flex; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
		background: #0a0a0a; padding: 0; flex-direction: column;
		gap: 0; z-index: 999;
	}
	body.menu-open { overflow: hidden; }
	.nav-links.open a {
		padding: 16px 20px; font-size: 15px; font-weight: 500;
		border-bottom: 1px solid #1a1a1a; color: #ccc;
		text-align: left; display: block;
	}
	.nav-links.open a:hover { color: #fff; background: #111; }
	.nav-links.open a:last-child { border-bottom: none; }
	.nav-links.open a.btn-primary {
		border-bottom: none; margin: 16px 20px 0; padding: 14px;
		font-size: 14px; border-radius: 6px; color: #000; background: #fff;
		text-align: center; display: block;
	}
	.nav-links.open a::after { display: none; }
	.nav-toggle { display: block; }
}

/* Mobile */
@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.hero { padding: 90px 0 48px; }
	.hero h1 { font-size: 28px; letter-spacing: -0.8px; }
	.hero p { font-size: 15px; max-width: 100%; }
	.hero-buttons { flex-direction: column; }
	.hero-buttons .btn { width: 100%; justify-content: center; }
	.hero-stats { flex-direction: column; gap: 12px; }
	.hero-stat { display: flex; align-items: baseline; gap: 8px; }
	.hero-stat h3 { font-size: 18px; }
	.hero-stat p { font-size: 12px; }
	.section { padding: 48px 0; }
	.section-title { font-size: 24px; }
	.section-desc { font-size: 14px; }
	.section-header { margin-bottom: 28px; }
	.features-grid { grid-template-columns: 1fr; }
	.feature-card { padding: 20px; }
	.code-section { grid-template-columns: 1fr; gap: 24px; }
	.code-body { font-size: 11px; padding: 14px; }
	.pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
	.pricing-card { padding: 24px; }
	.pricing-card .price { font-size: 32px; }
	.cta-section { padding: 48px 0; }
	.cta-section h2 { font-size: 24px; }
	.coins-row { gap: 8px; }
	.coin-badge { padding: 6px 12px; font-size: 12px; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.footer { padding: 32px 0 16px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.dash-layout { flex-direction: column; }
	.dash-sidebar {
		display: flex; flex-direction: row; width: 100%; overflow-x: auto;
		border-right: none; border-bottom: 1px solid var(--border);
		padding: 8px 12px; gap: 6px; position: static;
		-webkit-overflow-scrolling: touch;
	}
	.dash-sidebar::-webkit-scrollbar { display: none; }
	.dash-sidebar a {
		white-space: nowrap; padding: 6px 14px; font-size: 12px;
		border: 1px solid var(--border); border-radius: 100px;
		flex-shrink: 0;
	}
	.dash-sidebar a:hover { background: rgba(255,255,255,.04); }
	.dash-sidebar a.active { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--text-3); }
	.dash-sidebar a i { display: none; }
	.dash-menu-btn { display: none; }
	.dash-main { padding: 16px; }
	.dash-header h1 { font-size: 18px; }
	.dash-header { flex-direction: column; gap: 8px; }
	.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.table-wrap table { min-width: 500px; }
	.form-card { padding: 24px; max-width: 100%; }
	.auth-page { padding: 72px 16px 32px; }
	.copy-field { max-width: 100%; }
	.copy-field input { min-width: 0; width: 0; flex: 1; }
	.wallet-item { overflow: hidden; }
	.wallet-item > div { flex-wrap: wrap; }
	.form-control { max-width: 100%; }
	.form-group input, .form-group select { max-width: 100%; }
	[style*="display:grid"][style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
	[style*="display:flex"][style*="justify-content:space-between"] { flex-wrap: wrap; gap: 8px; }
	[style*="max-width:800px"] { max-width: 100% !important; }

	/* API docs mobile */
	.docs-page { padding: 72px 0 32px !important; overflow: hidden; }
	.docs-page .dash-header h1 { font-size: 22px !important; }
	.docs-page .dash-header p { font-size: 14px; }
	.docs-grid { min-width: 0; }
	.docs-grid > div { min-width: 0; overflow: hidden; }
	.docs-endpoint { flex-wrap: wrap; }
	.docs-endpoint h3 { font-size: 14px !important; word-break: break-all; }
	.docs-page code { word-break: break-all; }
	.code-block { max-width: 100%; }
	.code-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.code-body pre { margin: 0; }
	.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.docs-page [style*="margin-bottom:48px"] { margin-bottom: 28px !important; }
	.docs-page [style*="padding-top:48px"] { padding-top: 28px !important; }
}

/* Page transitions */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes slideDown {
	from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
	to { opacity: 1; max-height: 500px; }
}
@keyframes scaleIn {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1); }
}
@keyframes modalIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes modalOut {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(20px); }
}
/* Full-page modal - works on desktop and mobile */
.fullmodal {
	position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	z-index: 999999 !important; background: rgba(0,0,0,.85); overflow-y: auto;
	display: flex; align-items: center; justify-content: center;
	animation: fadeIn .2s ease both;
}
.fullmodal.closing { animation: fadeOut .15s ease both; pointer-events: none; }
@keyframes fadeOut { from { opacity:1; } to { opacity:0; } }
.fullmodal-inner {
	padding: 28px; max-width: 560px; width: 100%; margin: 20px;
	background: #111; border: 1px solid #222; border-radius: 12px;
	animation: scaleIn .2s ease both;
}
.fullmodal.closing .fullmodal-inner { animation: modalOut .15s ease both; }
.fullmodal-header {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #1e1e1e;
}
.fullmodal-header h3 { font-size: 18px; font-weight: 600; }
.fullmodal-close {
	background: none; border: none; color: #666; cursor: pointer;
	font-size: 20px; padding: 8px; transition: color .15s;
}
.fullmodal-close:hover { color: #fff; }
@media (max-width: 640px) {
	.fullmodal { align-items: flex-start; }
	.fullmodal-inner { margin: 0; border-radius: 0; min-height: 100%; padding: 20px; border: none; }
}

.hero, .section, .cta-section { animation: fadeUp 0.4s ease both; }
.hero { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.15s; }

.dash-main { animation: fadeUp 0.3s ease both; }
.stat-card { animation: fadeUp 0.3s ease both; }
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.form-card { animation: scaleIn 0.3s ease both; }
.form-success, .form-error { animation: fadeUp 0.25s ease both; }
.table-wrap { animation: fadeUp 0.3s ease 0.1s both; }

.feature-card { animation: fadeUp 0.3s ease both; }
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.08s; }
.feature-card:nth-child(3) { animation-delay: 0.11s; }
.feature-card:nth-child(4) { animation-delay: 0.14s; }
.feature-card:nth-child(5) { animation-delay: 0.17s; }
.feature-card:nth-child(6) { animation-delay: 0.2s; }

/* Slide toggle for wallet add form etc */
.slide-open { animation: slideDown 0.25s ease both; }

/* Modal */
.modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200;
	display: flex; align-items: center; justify-content: center;
	animation: fadeIn 0.15s ease both;
}
.modal-overlay > div { animation: scaleIn 0.2s ease both; }

/* Sidebar active indicator */
.dash-sidebar a { transition: color 0.15s, background 0.15s; }

/* Wallet list items */
.wallet-item { transition: background 0.15s; }
.wallet-item:hover { background: var(--bg-2) !important; }

/* Hover lift on cards */
.pricing-card { transition: background 0.2s; }
.coin-badge { transition: border-color 0.15s, color 0.15s; }
.coin-badge:hover { border-color: var(--text-3); color: var(--text); }

/* Nav link underline on hover - desktop only */
@media (min-width: 1025px) {
	.nav-links a:not(.btn) { position: relative; }
	.nav-links a:not(.btn)::after {
		content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
		height: 1px; background: var(--text); transform: scaleX(0);
		transition: transform 0.2s ease;
	}
	.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
}

/* Hero stats stagger */
.hero-stat { animation: fadeUp 0.4s ease both; }
.hero-stat:nth-child(1) { animation-delay: 0.15s; }
.hero-stat:nth-child(2) { animation-delay: 0.2s; }
.hero-stat:nth-child(3) { animation-delay: 0.25s; }
.hero-stat:nth-child(4) { animation-delay: 0.3s; }

/* Code block */
.code-block { animation: fadeUp 0.35s ease 0.15s both; }

/* Smooth focus */
.form-control { transition: border-color 0.15s, box-shadow 0.15s; }
.form-control:focus { box-shadow: 0 0 0 2px rgba(255,255,255,0.05); }

/* Button press */
.btn:active { transform: scale(0.97); }
.btn { transition: background 0.15s, border-color 0.15s, transform 0.1s; }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 20px 40px; }
.mono { font-family: 'SF Mono', 'Fira Code', monospace; }
