/* Floating Bar Online — trang chủ floatingbar.online */
:root {
	--fb-navy: #0b1020;
	--fb-navy2: #121a33;
	--fb-card: rgba(255, 255, 255, 0.06);
	--fb-line: rgba(255, 255, 255, 0.1);
	--fb-text: #e8edf7;
	--fb-muted: #94a3c8;
	--fb-orange: #fb923c;
	--fb-teal: #2dd4bf;
	--fb-white: #ffffff;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Outfit", system-ui, sans-serif;
	background: var(--fb-navy);
	color: var(--fb-text);
	line-height: 1.55;
	overflow-x: hidden;
}

/* Glow background */
.fb-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: radial-gradient(900px 500px at 15% 10%, rgba(251, 146, 60, 0.14), transparent 55%),
		radial-gradient(700px 420px at 85% 30%, rgba(45, 212, 191, 0.1), transparent 50%),
		radial-gradient(600px 400px at 50% 100%, rgba(99, 102, 241, 0.08), transparent 45%),
		linear-gradient(180deg, #0b1020 0%, #0e1528 40%, #0b1020 100%);
}

a {
	color: var(--fb-teal);
}

.fb-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 22px;
}

/* Nav */
.fb-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(14px);
	background: rgba(11, 16, 32, 0.72);
	border-bottom: 1px solid var(--fb-line);
}
.fb-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
}
.fb-logo {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.04em;
	color: var(--fb-white);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.fb-logo__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--fb-orange), var(--fb-teal));
	box-shadow: 0 0 18px rgba(251, 146, 60, 0.55);
}
.fb-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	font-size: 15px;
	font-weight: 500;
}
.fb-menu a {
	color: var(--fb-muted);
	text-decoration: none;
}
.fb-menu a:hover {
	color: var(--fb-white);
}

.fb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.fb-btn:hover {
	transform: translateY(-1px);
}
.fb-btn--ghost {
	border-color: var(--fb-line);
	color: var(--fb-text);
	background: rgba(255, 255, 255, 0.04);
}
.fb-btn--primary {
	background: linear-gradient(135deg, #fb923c, #ea580c);
	color: #fff;
	box-shadow: 0 12px 36px rgba(234, 88, 12, 0.35);
	border: none;
}

/* Hero */
.fb-hero {
	padding: 56px 0 72px;
	text-align: center;
}
.fb-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 8px;
	border-radius: 999px;
	background: var(--fb-card);
	border: 1px solid var(--fb-line);
	font-size: 13px;
	font-weight: 600;
	color: var(--fb-muted);
	margin-bottom: 22px;
}
.fb-hero__badge span {
	color: var(--fb-teal);
}
.fb-hero h1 {
	margin: 0 auto 16px;
	max-width: 900px;
	font-family: "Fraunces", Georgia, serif;
	font-weight: 700;
	font-size: clamp(2rem, 5vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--fb-white);
}
.fb-hero h1 em {
	font-style: normal;
	background: linear-gradient(90deg, var(--fb-orange), #fcd34d);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.fb-hero__lead {
	margin: 0 auto 28px;
	max-width: 640px;
	font-size: 1.125rem;
	color: var(--fb-muted);
}
.fb-hero__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Mock bar illustration */
.fb-mock {
	margin: 48px auto 0;
	max-width: 420px;
	height: 64px;
	border-radius: 999px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--fb-line);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 0 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.fb-mock__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sections */
.fb-section {
	padding: 56px 0;
	border-top: 1px solid var(--fb-line);
}
.fb-section--alt {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.fb-section h2 {
	margin: 0 0 12px;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	color: var(--fb-white);
	letter-spacing: -0.02em;
}
.fb-section__intro {
	margin: 0 0 36px;
	max-width: 620px;
	color: var(--fb-muted);
	font-size: 1.05rem;
}

.fb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}
.fb-card {
	padding: 24px 22px;
	border-radius: 16px;
	background: var(--fb-card);
	border: 1px solid var(--fb-line);
	height: 100%;
}
.fb-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 14px;
	background: rgba(45, 212, 191, 0.12);
	border: 1px solid rgba(45, 212, 191, 0.25);
}
.fb-card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--fb-white);
}
.fb-card p {
	margin: 0;
	font-size: 15px;
	color: var(--fb-muted);
}

/* Steps */
.fb-steps {
	display: grid;
	gap: 16px;
	counter-reset: step;
}
.fb-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: start;
	padding: 20px 22px;
	border-radius: 14px;
	border: 1px solid var(--fb-line);
	background: rgba(255, 255, 255, 0.03);
}
.fb-step::before {
	counter-increment: step;
	content: counter(step);
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	background: linear-gradient(135deg, var(--fb-orange), #c2410c);
	color: #fff;
}
.fb-step strong {
	display: block;
	color: var(--fb-white);
	margin-bottom: 4px;
	font-size: 1.02rem;
}
.fb-step span {
	color: var(--fb-muted);
	font-size: 14px;
}

/* Code / endpoint */
.fb-codebox {
	margin-top: 20px;
	padding: 18px 20px;
	border-radius: 14px;
	background: #070b14;
	border: 1px solid var(--fb-line);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13px;
	color: #a5b4fc;
	word-break: break-all;
	line-height: 1.5;
}

/* Footer */
.fb-footer {
	padding: 40px 0 56px;
	border-top: 1px solid var(--fb-line);
	text-align: center;
	color: var(--fb-muted);
	font-size: 14px;
}
.fb-footer strong {
	color: var(--fb-white);
	font-weight: 700;
}
