/* Finobazaar Launch Mode — Landing Page Styles
   Original design. No external libraries, no stock photography. */

:root {
	--fb-ink: #0b1220;
	--fb-ink-soft: #47526b;
	--fb-bg: #ffffff;
	--fb-bg-tint: #f6f8fc;
	--fb-bg-dark: #0b1220;
	--fb-line: #e6eaf2;

	--fb-brand: #0f6e5b;      /* deep emerald — premium, trustworthy fintech accent */
	--fb-brand-2: #12a37e;
	--fb-brand-soft: #e6f6f1;
	--fb-gold: #d6a94a;       /* subtle premium accent for highlights */

	--fb-radius-lg: 20px;
	--fb-radius-md: 14px;
	--fb-radius-sm: 10px;

	--fb-shadow-sm: 0 2px 10px rgba(15, 30, 60, 0.06);
	--fb-shadow-md: 0 12px 30px rgba(15, 30, 60, 0.10);
	--fb-shadow-lg: 0 24px 60px rgba(15, 30, 60, 0.16);

	--fb-container: 1180px;
	--fb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset (scoped, minimal) */
.fb-landing, .fb-landing * , .fb-landing *::before, .fb-landing *::after {
	box-sizing: border-box;
}
body.fb-landing {
	margin: 0;
	font-family: var(--fb-font);
	color: var(--fb-ink);
	background: var(--fb-bg);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
.fb-landing img { max-width: 100%; display: block; }
.fb-landing a { color: inherit; text-decoration: none; }
.fb-landing h1, .fb-landing h2, .fb-landing h3 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
}
.fb-landing p { margin: 0 0 1em; color: var(--fb-ink-soft); }

.fb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fb-brand);
	color: #fff;
	padding: 12px 18px;
	z-index: 1000;
	border-radius: 0 0 8px 0;
}
.fb-skip-link:focus {
	left: 0;
}

.fb-landing :focus-visible {
	outline: 3px solid var(--fb-gold);
	outline-offset: 2px;
}

.fb-container {
	max-width: var(--fb-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------------- Header ---------------- */
.fb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--fb-line);
}
.fb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
}
.fb-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; }
.fb-logo__mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--fb-brand), var(--fb-brand-2));
	color: #fff;
	font-weight: 800;
}
.fb-nav {
	display: none;
	align-items: center;
	gap: 28px;
	font-weight: 600;
	font-size: 0.95rem;
}
.fb-nav a { color: var(--fb-ink-soft); transition: color 0.2s ease; }
.fb-nav a:hover { color: var(--fb-brand); }
.fb-nav__cta {
	background: var(--fb-brand);
	color: #fff !important;
	padding: 9px 18px;
	border-radius: 999px;
}
.fb-nav__cta:hover { background: var(--fb-brand-2); }
.fb-status-pill {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--fb-brand);
	background: var(--fb-brand-soft);
	border: 1px solid rgba(15, 110, 91, 0.2);
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}

@media (min-width: 860px) {
	.fb-nav { display: flex; }
}

/* ---------------- Hero ---------------- */
.fb-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, var(--fb-bg-tint) 100%);
	padding: 56px 0 40px;
}
.fb-hero__inner {
	display: grid;
	gap: 40px;
	align-items: center;
}
.fb-eyebrow {
	color: var(--fb-brand);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.8rem;
	margin-bottom: 14px;
}
.fb-hero h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
}
.fb-hero__sub {
	font-size: 1.1rem;
	max-width: 46ch;
}
.fb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}
.fb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.fb-btn--primary {
	background: linear-gradient(135deg, var(--fb-brand), var(--fb-brand-2));
	color: #fff;
	box-shadow: var(--fb-shadow-md);
}
.fb-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--fb-shadow-lg); }
.fb-btn--ghost {
	background: transparent;
	border-color: var(--fb-line);
	color: var(--fb-ink);
}
.fb-btn--ghost:hover { border-color: var(--fb-brand); color: var(--fb-brand); }

.fb-hero__visual {
	position: relative;
	min-height: 260px;
}
.fb-hero__glow {
	position: absolute;
	inset: -20% -10%;
	background: radial-gradient(circle at 60% 40%, rgba(18, 163, 126, 0.18), transparent 60%);
	z-index: 0;
}
.fb-orbit-card {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid var(--fb-line);
	border-radius: var(--fb-radius-md);
	box-shadow: var(--fb-shadow-md);
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 220px;
	margin-bottom: 16px;
}
.fb-orbit-card__label { font-size: 0.78rem; color: var(--fb-ink-soft); font-weight: 600; }
.fb-orbit-card__value { font-size: 1.3rem; font-weight: 800; color: var(--fb-ink); }
.fb-orbit-card__value small { font-size: 0.7rem; font-weight: 600; color: var(--fb-ink-soft); }
.fb-orbit-card--2 { margin-left: auto; }
.fb-orbit-card__bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.fb-orbit-card__bars i { width: 8px; border-radius: 3px; background: linear-gradient(180deg, var(--fb-brand-2), var(--fb-brand)); display: inline-block; }
.fb-orbit-ring {
	--pct: 78;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: conic-gradient(var(--fb-brand-2) calc(var(--pct) * 1%), var(--fb-line) 0);
	display: block;
	position: relative;
}
.fb-orbit-ring::after {
	content: "";
	position: absolute;
	inset: 8px;
	background: #fff;
	border-radius: 50%;
}

@media (min-width: 900px) {
	.fb-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------------- Coming Soon banner ---------------- */
.fb-coming-soon {
	background: linear-gradient(135deg, var(--fb-brand), var(--fb-brand-2));
	color: #fff;
	padding: 46px 0;
}
.fb-coming-soon__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.fb-coming-soon h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); color: #fff; }
.fb-coming-soon p { color: rgba(255, 255, 255, 0.92); margin: 0; }

/* ---------------- Generic section ---------------- */
.fb-section { padding: 64px 0; }
.fb-section--tinted { background: var(--fb-bg-tint); }
.fb-section--dark { background: var(--fb-bg-dark); color: #fff; }
.fb-section--dark p { color: rgba(255, 255, 255, 0.72); }
.fb-section__eyebrow {
	color: var(--fb-brand);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.8rem;
	margin-bottom: 10px;
}
.fb-section__eyebrow--light { color: var(--fb-gold); }
.fb-section__title { font-size: clamp(1.6rem, 4vw, 2.3rem); max-width: 720px; }
.fb-section__title--light { color: #fff; }
.fb-section__lede { max-width: 60ch; }

/* Category cards */
.fb-grid { display: grid; gap: 16px; margin-top: 32px; }
.fb-grid--categories { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .fb-grid--categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .fb-grid--categories { grid-template-columns: repeat(5, 1fr); } }

.fb-card {
	background: #fff;
	border: 1px solid var(--fb-line);
	border-radius: var(--fb-radius-md);
	box-shadow: var(--fb-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fb-card--category {
	padding: 22px 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.fb-card--category:hover { transform: translateY(-4px); box-shadow: var(--fb-shadow-md); }
.fb-card__icon { font-size: 1.6rem; }
.fb-card__label { font-weight: 700; font-size: 0.95rem; }

/* Calculator chips */
.fb-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.fb-chip {
	background: #fff;
	border: 1px solid var(--fb-line);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--fb-ink-soft);
}
.fb-calc-banner {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px dashed var(--fb-brand);
	border-radius: var(--fb-radius-md);
	padding: 20px 22px;
	font-weight: 700;
	color: var(--fb-brand);
}
.fb-calc-banner__icon { font-size: 1.6rem; }

/* Value cards */
.fb-grid--values { grid-template-columns: 1fr; }
@media (min-width: 640px) { .fb-grid--values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .fb-grid--values { grid-template-columns: repeat(4, 1fr); } }
.fb-card--value { padding: 26px 22px; }
.fb-card__num {
	display: inline-block;
	font-weight: 800;
	color: var(--fb-brand);
	background: var(--fb-brand-soft);
	border-radius: 8px;
	padding: 3px 9px;
	font-size: 0.8rem;
	margin-bottom: 14px;
}
.fb-card--value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.fb-card--value p { margin: 0; font-size: 0.92rem; }

/* Platform preview */
.fb-grid--preview { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .fb-grid--preview { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .fb-grid--preview { grid-template-columns: repeat(5, 1fr); } }
.fb-preview-pill {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--fb-radius-sm);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fb-preview-pill span { font-weight: 700; color: #fff; font-size: 0.95rem; }
.fb-preview-pill em { font-style: normal; font-size: 0.75rem; color: var(--fb-gold); }

/* ---------------- Notify / early access ---------------- */
.fb-notify { background: var(--fb-bg-tint); }
.fb-notify__inner {
	display: grid;
	gap: 32px;
	background: #fff;
	border: 1px solid var(--fb-line);
	border-radius: var(--fb-radius-lg);
	box-shadow: var(--fb-shadow-md);
	padding: 36px;
}
@media (min-width: 860px) {
	.fb-notify__inner { grid-template-columns: 1fr 1fr; align-items: center; padding: 48px; }
}
.fb-notify__copy h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.fb-notify__form { display: flex; flex-direction: column; gap: 16px; }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field label { font-weight: 700; font-size: 0.88rem; }
.fb-field input {
	padding: 13px 14px;
	border-radius: var(--fb-radius-sm);
	border: 1.5px solid var(--fb-line);
	font-size: 1rem;
	font-family: inherit;
}
.fb-field input:focus { border-color: var(--fb-brand); }
.fb-field--honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.fb-notify__submit { margin-top: 4px; }
.fb-notify__status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.fb-notify__status[data-state="success"] { color: var(--fb-brand); }
.fb-notify__status[data-state="error"] { color: #b3261e; }

/* ---------------- Footer ---------------- */
.fb-footer { background: var(--fb-bg-dark); color: rgba(255, 255, 255, 0.75); padding: 40px 0 20px; }
.fb-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 20px;
}
@media (min-width: 640px) {
	.fb-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.fb-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.fb-footer .fb-logo__text { color: #fff; font-weight: 800; }
.fb-footer__tagline { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.fb-footer__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.9rem; }
.fb-footer__links a:hover { color: #fff; }
.fb-footer__copy { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.fb-landing * { transition: none !important; animation: none !important; }
}

/* Reveal-on-scroll (progressive enhancement, JS toggles .is-visible) */
.fb-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fb-reveal.is-visible { opacity: 1; transform: none; }
