/* =========================================================================
   GB Finance — Website Theme
   Shared stylesheet for the home page and sign-in page.
   Ships 3 switchable blue color palettes via [data-gb-theme] on <html>.
   ========================================================================= */

:root {
	/* ---- Palette: Ocean (default) ---- */
	--gbf-primary: #2563eb;
	--gbf-primary-dark: #1d4ed8;
	--gbf-primary-light: #60a5fa;
	--gbf-primary-50: #eff6ff;
	--gbf-accent: #06b6d4;
	--gbf-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);

	/* ---- Neutrals (shared across palettes) ---- */
	--gbf-ink: #0f172a;
	--gbf-ink-muted: #52627a;
	--gbf-ink-soft: #8492a6;
	--gbf-bg: #f6f9fd;
	--gbf-surface: #ffffff;
	--gbf-surface-alt: #f1f5fb;
	--gbf-border: #e2e8f4;
	--gbf-shadow: 0 20px 45px -20px rgba(15, 43, 97, 0.25);
	--gbf-shadow-sm: 0 8px 20px -12px rgba(15, 43, 97, 0.25);
	--gbf-radius: 16px;
	--gbf-radius-sm: 10px;
	--gbf-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-gb-theme="royal"] {
	--gbf-primary: #3730a3;
	--gbf-primary-dark: #1e1b6e;
	--gbf-primary-light: #6366f1;
	--gbf-primary-50: #eef0fd;
	--gbf-accent: #4f46e5;
	--gbf-gradient: linear-gradient(135deg, #0f172a 0%, #312e81 55%, #4338ca 100%);
}

:root[data-gb-theme="sky"] {
	--gbf-primary: #0284c7;
	--gbf-primary-dark: #075985;
	--gbf-primary-light: #38bdf8;
	--gbf-primary-50: #ecf9ff;
	--gbf-accent: #22d3ee;
	--gbf-gradient: linear-gradient(135deg, #0c4a6e 0%, #0284c7 55%, #38bdf8 100%);
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */

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

.gbf {
	font-family: var(--gbf-font);
	color: var(--gbf-ink);
	background: var(--gbf-bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.gbf img {
	max-width: 100%;
	display: block;
}

.gbf a {
	color: inherit;
	text-decoration: none;
}

.gbf ul {
	list-style: none;
}

.gbf button {
	font-family: inherit;
}

.gbf-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.gbf-section {
	padding: 88px 0;
}

.gbf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gbf-primary);
	background: var(--gbf-primary-50);
	border: 1px solid color-mix(in srgb, var(--gbf-primary) 22%, transparent);
	padding: 6px 14px;
	border-radius: 999px;
}

.gbf-section-head {
	max-width: 620px;
	margin: 0 auto 52px;
	text-align: center;
}

.gbf-section-head h2 {
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 16px 0 14px;
	color: var(--gbf-ink);
}

.gbf-section-head p {
	color: var(--gbf-ink-muted);
	font-size: 16.5px;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */

.gbf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.gbf-btn:active {
	transform: translateY(1px);
}

.gbf-btn-primary {
	background: var(--gbf-primary);
	color: #fff;
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--gbf-primary) 70%, transparent);
}

.gbf-btn-primary:hover {
	background: var(--gbf-primary-dark);
	box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--gbf-primary) 75%, transparent);
}

.gbf-btn-ghost {
	background: transparent;
	color: var(--gbf-ink);
	border-color: var(--gbf-border);
}

.gbf-btn-ghost:hover {
	border-color: var(--gbf-primary);
	color: var(--gbf-primary);
}

.gbf-btn-light {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(6px);
}

.gbf-btn-light:hover {
	background: rgba(255, 255, 255, 0.24);
}

.gbf-btn-block {
	width: 100%;
}

.gbf-btn-lg {
	padding: 15px 28px;
	font-size: 16px;
}

/* ---------------------------------------------------------------------- */
/* Theme switcher                                                         */
/* ---------------------------------------------------------------------- */

.gbf-theme-switch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.gbf-theme-switch[data-surface="light"] {
	background: var(--gbf-surface-alt);
	border-color: var(--gbf-border);
}

.gbf-theme-dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 0;
	position: relative;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.gbf-theme-dot:hover {
	transform: scale(1.08);
}

.gbf-theme-dot[data-active="true"] {
	border-color: currentColor;
}

.gbf-theme-dot[data-active="true"]::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 1px solid currentColor;
	border-radius: 50%;
	opacity: 0.55;
}

.gbf-theme-dot.gbf-swatch-ocean {
	background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
	color: #1e3a8a;
}

.gbf-theme-dot.gbf-swatch-royal {
	background: linear-gradient(135deg, #0f172a, #4338ca);
	color: #312e81;
}

.gbf-theme-dot.gbf-swatch-sky {
	background: linear-gradient(135deg, #0c4a6e, #38bdf8);
	color: #0284c7;
}

/* ---------------------------------------------------------------------- */
/* Navbar                                                                 */
/* ---------------------------------------------------------------------- */

.gbf-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--gbf-border);
}

.gbf-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 24px;
}

.gbf-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: var(--gbf-ink);
}

.gbf-brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--gbf-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	flex: none;
}

.gbf-nav-links {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--gbf-ink-muted);
}

.gbf-nav-links a:hover {
	color: var(--gbf-primary);
}

.gbf-nav-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.gbf-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--gbf-border);
	border-radius: 8px;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */

.gbf-hero {
	position: relative;
	overflow: hidden;
	padding: 90px 0 60px;
}

.gbf-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}

.gbf-hero h1 {
	font-size: clamp(34px, 4.6vw, 54px);
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-weight: 800;
	margin: 18px 0 20px;
}

.gbf-hero h1 span {
	background: var(--gbf-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.gbf-hero p.gbf-lede {
	font-size: 18px;
	color: var(--gbf-ink-muted);
	max-width: 520px;
	margin-bottom: 32px;
}

.gbf-hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.gbf-hero-trust {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	color: var(--gbf-ink-soft);
	font-size: 13.5px;
}

.gbf-hero-trust li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.gbf-hero-trust svg {
	width: 16px;
	height: 16px;
	color: var(--gbf-primary);
	flex: none;
}

/* Hero visual: mock finance dashboard card */

.gbf-hero-visual {
	position: relative;
}

.gbf-mock {
	background: var(--gbf-surface);
	border: 1px solid var(--gbf-border);
	border-radius: var(--gbf-radius);
	box-shadow: var(--gbf-shadow);
	padding: 22px;
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.gbf-mock-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.gbf-mock-top strong {
	font-size: 14px;
}

.gbf-mock-badge {
	font-size: 11.5px;
	font-weight: 700;
	color: #16a34a;
	background: #ecfdf3;
	border-radius: 999px;
	padding: 4px 10px;
}

.gbf-mock-balance {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 4px;
}

.gbf-mock-sub {
	font-size: 13px;
	color: var(--gbf-ink-soft);
	margin-bottom: 20px;
}

.gbf-mock-bars {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 88px;
	margin-bottom: 20px;
}

.gbf-mock-bars i {
	flex: 1;
	border-radius: 6px 6px 2px 2px;
	background: var(--gbf-primary-50);
}

.gbf-mock-bars i.is-active {
	background: var(--gbf-gradient);
}

.gbf-mock-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gbf-mock-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--gbf-border);
}

.gbf-mock-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.gbf-mock-row-left {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--gbf-ink-muted);
}

.gbf-mock-dot {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--gbf-primary-50);
	color: var(--gbf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.gbf-mock-amt {
	font-weight: 700;
}

.gbf-mock-amt.is-up {
	color: #16a34a;
}

.gbf-mock-amt.is-down {
	color: #dc2626;
}

.gbf-hero-float {
	position: absolute;
	background: var(--gbf-surface);
	border: 1px solid var(--gbf-border);
	border-radius: 12px;
	box-shadow: var(--gbf-shadow-sm);
	padding: 12px 16px;
	font-size: 12.5px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.gbf-hero-float strong {
	display: block;
	font-size: 14px;
}

.gbf-hero-float.gbf-float-1 {
	top: -18px;
	right: 24px;
}

.gbf-hero-float.gbf-float-2 {
	bottom: -20px;
	left: -18px;
}

.gbf-hero-float svg {
	width: 20px;
	height: 20px;
	color: var(--gbf-primary);
}

/* ---------------------------------------------------------------------- */
/* Stats bar                                                              */
/* ---------------------------------------------------------------------- */

.gbf-stats {
	background: var(--gbf-surface);
	border-top: 1px solid var(--gbf-border);
	border-bottom: 1px solid var(--gbf-border);
}

.gbf-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 40px 0;
	gap: 20px;
	text-align: center;
}

.gbf-stats-row strong {
	display: block;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: var(--gbf-primary);
	letter-spacing: -0.02em;
}

.gbf-stats-row span {
	font-size: 13.5px;
	color: var(--gbf-ink-muted);
}

/* ---------------------------------------------------------------------- */
/* Feature grid                                                           */
/* ---------------------------------------------------------------------- */

.gbf-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.gbf-feature-card {
	background: var(--gbf-surface);
	border: 1px solid var(--gbf-border);
	border-radius: var(--gbf-radius);
	padding: 26px 24px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gbf-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--gbf-shadow);
	border-color: color-mix(in srgb, var(--gbf-primary) 30%, var(--gbf-border));
}

.gbf-feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--gbf-primary-50);
	color: var(--gbf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.gbf-feature-icon svg {
	width: 22px;
	height: 22px;
}

.gbf-feature-card h3 {
	font-size: 16.5px;
	font-weight: 700;
	margin-bottom: 8px;
}

.gbf-feature-card p {
	font-size: 14.5px;
	color: var(--gbf-ink-muted);
}

/* ---------------------------------------------------------------------- */
/* Steps / workflow                                                       */
/* ---------------------------------------------------------------------- */

.gbf-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.gbf-step {
	position: relative;
	padding: 30px 26px;
	border-radius: var(--gbf-radius);
	background: var(--gbf-surface-alt);
	border: 1px solid var(--gbf-border);
}

.gbf-step-num {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--gbf-gradient);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.gbf-step h3 {
	font-size: 16.5px;
	margin-bottom: 8px;
}

.gbf-step p {
	font-size: 14.5px;
	color: var(--gbf-ink-muted);
}

/* ---------------------------------------------------------------------- */
/* Security band                                                          */
/* ---------------------------------------------------------------------- */

.gbf-security {
	background: var(--gbf-ink);
	background: var(--gbf-gradient);
	border-radius: 28px;
	padding: 56px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	color: #fff;
}

.gbf-security h2 {
	font-size: clamp(26px, 3.2vw, 34px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 14px 0 14px;
}

.gbf-security p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15.5px;
	max-width: 460px;
}

.gbf-security-list {
	display: grid;
	gap: 16px;
}

.gbf-security-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 14px;
}

.gbf-security-list svg {
	width: 20px;
	height: 20px;
	flex: none;
	margin-top: 1px;
}

.gbf-security-list strong {
	display: block;
	font-size: 14.5px;
	margin-bottom: 2px;
}

.gbf-security-list span {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13.5px;
}

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */

.gbf-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.gbf-quote-card {
	background: var(--gbf-surface);
	border: 1px solid var(--gbf-border);
	border-radius: var(--gbf-radius);
	padding: 26px;
}

.gbf-quote-stars {
	color: #f59e0b;
	font-size: 14px;
	margin-bottom: 14px;
	letter-spacing: 2px;
}

.gbf-quote-card p {
	font-size: 14.5px;
	color: var(--gbf-ink);
	margin-bottom: 20px;
}

.gbf-quote-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gbf-quote-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--gbf-gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
}

.gbf-quote-person strong {
	display: block;
	font-size: 13.5px;
}

.gbf-quote-person span {
	font-size: 12.5px;
	color: var(--gbf-ink-soft);
}

/* ---------------------------------------------------------------------- */
/* CTA band                                                               */
/* ---------------------------------------------------------------------- */

.gbf-cta {
	background: var(--gbf-gradient);
	border-radius: 28px;
	padding: 56px;
	text-align: center;
	color: #fff;
}

.gbf-cta h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 14px 0 14px;
}

.gbf-cta p {
	color: rgba(255, 255, 255, 0.82);
	max-width: 480px;
	margin: 0 auto 28px;
}

.gbf-cta-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.gbf-footer {
	background: var(--gbf-ink);
	color: rgba(255, 255, 255, 0.7);
	padding: 64px 0 28px;
}

.gbf-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gbf-footer-brand .gbf-brand {
	color: #fff;
	margin-bottom: 14px;
}

.gbf-footer-brand p {
	font-size: 13.5px;
	max-width: 260px;
	color: rgba(255, 255, 255, 0.55);
}

.gbf-footer-col h4 {
	color: #fff;
	font-size: 13.5px;
	margin-bottom: 16px;
	font-weight: 600;
}

.gbf-footer-col ul {
	display: grid;
	gap: 10px;
	font-size: 13.5px;
}

.gbf-footer-col a:hover {
	color: #fff;
}

.gbf-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	flex-wrap: wrap;
	gap: 12px;
}

.gbf-footer-socials {
	display: flex;
	gap: 10px;
}

.gbf-footer-socials a {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gbf-footer-socials svg {
	width: 16px;
	height: 16px;
}

/* ---------------------------------------------------------------------- */
/* Sign-in page                                                           */
/* ---------------------------------------------------------------------- */

.gbf-auth {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
}

.gbf-auth-side {
	position: relative;
	background: var(--gbf-gradient);
	color: #fff;
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}

.gbf-auth-side::before,
.gbf-auth-side::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.gbf-auth-side::before {
	width: 340px;
	height: 340px;
	top: -120px;
	right: -100px;
}

.gbf-auth-side::after {
	width: 260px;
	height: 260px;
	bottom: -100px;
	left: -70px;
	background: rgba(255, 255, 255, 0.06);
}

.gbf-auth-side-top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gbf-auth-side .gbf-brand {
	color: #fff;
}

.gbf-auth-copy {
	position: relative;
	max-width: 420px;
}

.gbf-auth-copy h1 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.18;
	margin-bottom: 16px;
}

.gbf-auth-copy p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15.5px;
	margin-bottom: 30px;
}

.gbf-auth-points {
	display: grid;
	gap: 14px;
}

.gbf-auth-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

.gbf-auth-points svg {
	width: 20px;
	height: 20px;
	flex: none;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 7px;
	padding: 3px;
}

.gbf-auth-quote {
	position: relative;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	padding: 20px;
	font-size: 13.5px;
}

.gbf-auth-quote p {
	color: #fff;
	margin-bottom: 10px;
}

.gbf-auth-quote span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 12.5px;
}

.gbf-auth-main {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
	background: var(--gbf-bg);
}

.gbf-auth-card {
	width: 100%;
	max-width: 400px;
}

.gbf-auth-card-head {
	margin-bottom: 28px;
}

.gbf-auth-card-head h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 6px;
}

.gbf-auth-card-head p {
	color: var(--gbf-ink-muted);
	font-size: 14.5px;
}

.gbf-field {
	margin-bottom: 18px;
}

.gbf-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 7px;
	color: var(--gbf-ink);
}

.gbf-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.gbf-input-wrap svg {
	position: absolute;
	left: 14px;
	width: 17px;
	height: 17px;
	color: var(--gbf-ink-soft);
}

.gbf-field input {
	width: 100%;
	padding: 12px 14px 12px 40px;
	border-radius: 10px;
	border: 1.5px solid var(--gbf-border);
	background: var(--gbf-surface);
	font-size: 14.5px;
	color: var(--gbf-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gbf-field input:focus {
	outline: none;
	border-color: var(--gbf-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gbf-primary) 14%, transparent);
}

.gbf-field-toggle {
	position: absolute;
	right: 10px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--gbf-ink-soft);
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
}

.gbf-field-toggle:hover {
	color: var(--gbf-primary);
	background: var(--gbf-primary-50);
}

.gbf-field-toggle svg {
	position: static;
	width: 18px;
	height: 18px;
}

.gbf-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	font-size: 13.5px;
}

.gbf-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gbf-ink-muted);
	cursor: pointer;
}

.gbf-remember input {
	width: 16px;
	height: 16px;
	accent-color: var(--gbf-primary);
}

.gbf-link-btn {
	background: none;
	border: none;
	color: var(--gbf-primary);
	font-weight: 600;
	cursor: pointer;
	font-size: 13.5px;
	padding: 0;
}

.gbf-link-btn:hover {
	text-decoration: underline;
}

.gbf-alert {
	display: none;
	align-items: flex-start;
	gap: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13.5px;
	margin-bottom: 18px;
}

.gbf-alert.is-visible {
	display: flex;
}

.gbf-alert.is-success {
	background: #ecfdf3;
	border-color: #bbf7d0;
	color: #15803d;
}

.gbf-alert svg {
	width: 17px;
	height: 17px;
	flex: none;
	margin-top: 1px;
}

.gbf-auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
	color: var(--gbf-ink-soft);
	font-size: 12.5px;
}

.gbf-auth-divider::before,
.gbf-auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--gbf-border);
}

.gbf-auth-foot {
	text-align: center;
	font-size: 13.5px;
	color: var(--gbf-ink-muted);
}

.gbf-auth-back {
	position: fixed;
	top: 22px;
	left: 22px;
	z-index: 5;
}

.gbf-auth-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gbf-ink-muted);
	background: var(--gbf-surface);
	border: 1px solid var(--gbf-border);
	padding: 8px 14px;
	border-radius: 999px;
	box-shadow: var(--gbf-shadow-sm);
}

.gbf-auth-back svg {
	width: 15px;
	height: 15px;
}

/* Modal (forgot password) */

.gbf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 60;
	padding: 20px;
}

.gbf-modal-overlay.is-open {
	display: flex;
}

.gbf-modal {
	background: var(--gbf-surface);
	border-radius: 16px;
	padding: 28px;
	width: 100%;
	max-width: 380px;
	box-shadow: var(--gbf-shadow);
}

.gbf-modal h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.gbf-modal p {
	font-size: 13.5px;
	color: var(--gbf-ink-muted);
	margin-bottom: 20px;
}

.gbf-modal-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

/* Loading spinner inside submit button */

.gbf-spinner {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	animation: gbf-spin 0.7s linear infinite;
	display: none;
}

.is-loading .gbf-spinner {
	display: inline-block;
}

.is-loading .gbf-btn-label {
	opacity: 0.7;
}

@keyframes gbf-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes gbf-shake {
	10%, 90% { transform: translateX(-1px); }
	20%, 80% { transform: translateX(2px); }
	30%, 50%, 70% { transform: translateX(-4px); }
	40%, 60% { transform: translateX(4px); }
}

.gbf-shake {
	animation: gbf-shake 0.5s ease;
}

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll                                                       */
/* ---------------------------------------------------------------------- */

.gbf-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.gbf-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */

@media (max-width: 980px) {
	.gbf-auth {
		grid-template-columns: 1fr;
	}

	.gbf-auth-side {
		display: none;
	}

	.gbf-hero-grid {
		grid-template-columns: 1fr;
	}

	.gbf-hero-visual {
		order: -1;
		max-width: 460px;
		margin: 0 auto;
	}

	.gbf-features,
	.gbf-steps,
	.gbf-quotes {
		grid-template-columns: repeat(2, 1fr);
	}

	.gbf-security {
		grid-template-columns: 1fr;
	}

	.gbf-stats-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.gbf-footer-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 720px) {
	.gbf-nav-links {
		display: none;
	}

	.gbf-nav-toggle {
		display: flex;
	}

	.gbf-section {
		padding: 60px 0;
	}

	.gbf-features,
	.gbf-steps,
	.gbf-quotes {
		grid-template-columns: 1fr;
	}

	.gbf-security,
	.gbf-cta {
		padding: 36px 24px;
		border-radius: 20px;
	}

	.gbf-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.gbf-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
