/* Notes Baba Frontpage — all rules scoped under .nbf */

.nbf {
	--nbf-bg: #fdfaf6;
	--nbf-fg: #1f1a17;
	--nbf-surface: #ffffff;
	--nbf-muted: #6d6258;
	--nbf-border: rgba(31, 26, 23, 0.1);
	--nbf-soft: rgba(31, 26, 23, 0.05);
	--nbf-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--nbf-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nbf-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	font-family: var(--nbf-sans);
	background: var(--nbf-bg);
	color: var(--nbf-fg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-align: left;
	overflow-x: clip;
}
.nbf--full {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}
.nbf *, .nbf *::before, .nbf *::after { box-sizing: border-box; }
.nbf h1, .nbf h2, .nbf h3, .nbf p, .nbf ul, .nbf li, .nbf figure, .nbf blockquote { margin: 0; padding: 0; }
.nbf h1, .nbf h2, .nbf h3 { font-family: inherit; color: inherit; text-transform: none; font-style: normal; }
.nbf ul { list-style: none; }
.nbf a { text-decoration: none; color: inherit; box-shadow: none; border-bottom: 0; }
.nbf a:hover { text-decoration: none; color: inherit; }
.nbf button, .nbf input { font-family: inherit; }
.nbf button { cursor: pointer; }
.nbf .nbf-i { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.nbf .nbf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nbf .nbf-rel { position: relative; }

/* ----- Layout ----- */
.nbf .nbf-sec { padding: 96px 24px; border-top: 1px solid var(--nbf-border); position: relative; }
.nbf .nbf-sec--surface { background: var(--nbf-surface); }
.nbf .nbf-wrap { max-width: 1280px; margin: 0 auto; }
.nbf .nbf-wrap--6 { max-width: 1152px; }
.nbf .nbf-wrap--3 { max-width: 768px; }
.nbf .nbf-wrap--cta { text-align: center; }

.nbf .nbf-head { text-align: center; margin-bottom: 64px; }
.nbf .nbf-head--sm { margin-bottom: 48px; }
.nbf .nbf-head h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }
.nbf .nbf-head p { max-width: 672px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: var(--nbf-muted); }
.nbf .nbf-head .nbf-pill { margin-bottom: 16px; }

.nbf .nbf-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 4px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--nbf-primary) 10%, transparent);
	color: var(--nbf-primary);
	font-family: var(--nbf-mono); font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5;
}
.nbf .nbf-pill--line { border: 1px solid color-mix(in srgb, var(--nbf-primary) 30%, transparent); font-weight: 500; margin-bottom: 16px; }
.nbf .nbf-accent { color: var(--nbf-primary); }

/* ----- Animations ----- */
@keyframes nbf-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes nbf-glow {
	0%, 100% { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25), 0 0 20px -5px color-mix(in srgb, var(--nbf-primary) 22%, transparent); }
	50%      { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25), 0 0 40px -2px color-mix(in srgb, var(--nbf-primary) 40%, transparent); }
}
@keyframes nbf-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes nbf-pulse { 50% { opacity: .5; } }
.nbf .nbf-enter { animation: nbf-slide-up .8s var(--nbf-ease) both; }
.nbf .nbf-glow { animation: nbf-glow 4s ease-in-out infinite; }
.nbf .nbf-pulse { animation: nbf-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

/* ----- Colour palette (cards / icons) ----- */
.nbf .nbf-c-primary { --c-bg: color-mix(in srgb, var(--nbf-primary) 10%, transparent); --c-fg: var(--nbf-primary); --c-on: var(--nbf-on-primary); }
.nbf .nbf-c-orange  { --c-bg: #ffedd5; --c-fg: #ea580c; --c-on: #fff; }
.nbf .nbf-c-blue    { --c-bg: #dbeafe; --c-fg: #2563eb; --c-on: #fff; }
.nbf .nbf-c-emerald { --c-bg: #d1fae5; --c-fg: #059669; --c-on: #fff; }
.nbf .nbf-c-purple  { --c-bg: #f3e8ff; --c-fg: #9333ea; --c-on: #fff; }
.nbf .nbf-c-rose    { --c-bg: #ffe4e6; --c-fg: #e11d48; --c-on: #fff; }
.nbf .nbf-c-amber   { --c-bg: #fef3c7; --c-fg: #d97706; --c-on: #fff; }
.nbf .nbf-c-indigo  { --c-bg: #e0e7ff; --c-fg: #4f46e5; --c-on: #fff; }
.nbf .nbf-c-teal    { --c-bg: #ccfbf1; --c-fg: #0d9488; --c-on: #fff; }

/* Generic icon chip */
.nbf .nbf-ico {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	background: var(--c-bg, color-mix(in srgb, var(--nbf-primary) 10%, transparent));
	color: var(--c-fg, var(--nbf-primary));
	transition: all .3s ease;
}
.nbf .nbf-ico--sm { width: 40px; height: 40px; border-radius: 12px; }
.nbf .nbf-ico--md { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.nbf .nbf-ico--lg { width: 48px; height: 48px; border-radius: 12px; }
.nbf .nbf-ico--xl { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }

/* ----- Buttons ----- */
.nbf .nbf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; line-height: 1.5;
	transition: opacity .2s, transform .2s, box-shadow .2s;
}
.nbf .nbf-btn--dark { background: var(--nbf-fg); color: var(--nbf-bg); }
.nbf .nbf-btn--dark:hover { opacity: .9; color: var(--nbf-bg); }
.nbf .nbf-btn--ghost { border: 1px solid var(--nbf-border); color: var(--nbf-fg); }
.nbf .nbf-btn--ghost:hover { background: var(--nbf-soft); }
.nbf .nbf-btn--primary { background: var(--nbf-primary); color: var(--nbf-on-primary); box-shadow: 0 10px 15px -3px rgba(0,0,0,.12); }
.nbf .nbf-btn--primary:hover { color: var(--nbf-on-primary); transform: translateY(-2px); box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--nbf-primary) 60%, transparent); }
.nbf .nbf-btn--lg { padding: 14px 28px; border-radius: 12px; margin-top: 32px; }

/* ================= HERO ================= */
.nbf .nbf-hero { border-top: 0; padding: 96px 24px 64px; }
.nbf .nbf-hero__in { max-width: 896px; margin: 0 auto; text-align: center; }
.nbf .nbf-hero__badge {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
	padding: 4px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--nbf-primary) 10%, transparent); color: var(--nbf-primary);
	font-family: var(--nbf-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.nbf .nbf-ping { position: relative; display: inline-flex; width: 8px; height: 8px; }
.nbf .nbf-ping__a { position: absolute; inset: 0; border-radius: 50%; background: var(--nbf-primary); opacity: .75; animation: nbf-ping 1s cubic-bezier(0,0,.2,1) infinite; }
.nbf .nbf-ping__b { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--nbf-primary); }
.nbf .nbf-hero__title { font-size: 48px; line-height: .9; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 24px; text-wrap: balance; }
.nbf .nbf-hero__sub { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--nbf-muted); margin-bottom: 48px; }
.nbf .nbf-md-br { display: none; }

.nbf .nbf-search { position: relative; max-width: 672px; margin: 0 auto; }
.nbf .nbf-search__halo { position: absolute; inset: -4px; border-radius: 22px; background: color-mix(in srgb, var(--nbf-primary) 10%, transparent); opacity: .5; filter: blur(24px); }
.nbf .nbf-search__form {
	position: relative; display: flex; align-items: center; margin: 0;
	background: var(--nbf-surface); border-radius: 20px; padding: 8px;
	box-shadow: 0 25px 50px -12px rgba(0,0,0,.25), 0 0 0 1px rgba(31,26,23,.05);
}
.nbf .nbf-search__ico { margin-left: 12px; color: var(--nbf-muted); }
.nbf .nbf-search__form input {
	flex: 1; min-width: 0; width: 100%; height: auto; border: 0 !important; outline: 0 !important; box-shadow: none !important;
	background: transparent !important; padding: 12px !important; margin: 0 !important;
	font-size: 14px; font-weight: 500; color: var(--nbf-fg); border-radius: 0;
	-webkit-appearance: none; appearance: none;
}
.nbf .nbf-search__form input::placeholder { color: rgba(109, 98, 88, .6); opacity: 1; }
.nbf .nbf-search__form input::-webkit-search-cancel-button { display: none; }
.nbf .nbf-search__form button {
	flex-shrink: 0; border: 0; border-radius: 12px; padding: 10px 24px; margin: 0;
	background: var(--nbf-fg); color: var(--nbf-bg); font-size: 14px; font-weight: 600; line-height: 1.5;
}
.nbf .nbf-search__form button:hover { opacity: .9; }
.nbf .nbf-search__stats {
	margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
	font-family: var(--nbf-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(109, 98, 88, .85);
}

/* ================= STATS ================= */
.nbf .nbf-stats { background: var(--nbf-surface); border-top: 1px solid var(--nbf-border); border-bottom: 1px solid var(--nbf-border); padding: 56px 24px; }
.nbf .nbf-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
.nbf .nbf-stat { text-align: center; padding: 0 16px; }
.nbf .nbf-stat__v { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: var(--nbf-primary); margin-bottom: 6px; transition: transform .3s; }
.nbf .nbf-stat:hover .nbf-stat__v { transform: translateY(-2px); }
.nbf .nbf-stat__l { font-family: var(--nbf-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--nbf-muted); }
.nbf .nbf-stats__note { margin-top: 40px; text-align: center; font-family: var(--nbf-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(109, 98, 88, .6); }

/* ================= GRIDS ================= */
.nbf .nbf-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ---- Exam cards ---- */
.nbf .nbf-exam {
	position: relative; display: block; overflow: hidden; padding: 24px;
	background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .5s ease;
}
.nbf .nbf-exam:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--nbf-primary) 30%, transparent); box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--nbf-primary) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--nbf-primary) 25%, transparent); }
.nbf .nbf-exam__blob { position: absolute; right: -64px; top: -64px; width: 160px; height: 160px; border-radius: 50%; background: color-mix(in srgb, var(--nbf-primary) 20%, transparent); filter: blur(48px); opacity: 0; transition: opacity .5s; pointer-events: none; }
.nbf .nbf-exam:hover .nbf-exam__blob { opacity: 1; }
.nbf .nbf-exam__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--nbf-primary), color-mix(in srgb, var(--nbf-primary) 40%, transparent)); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.nbf .nbf-exam:hover .nbf-exam__bar { transform: scaleX(1); }
.nbf .nbf-exam__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.nbf .nbf-exam .nbf-ico { transition: all .5s; }
.nbf .nbf-exam:hover .nbf-ico { transform: scale(1.1) rotate(-6deg); background: var(--nbf-primary); color: var(--nbf-on-primary); }
.nbf .nbf-exam__total { font-family: var(--nbf-mono); font-size: 11px; font-weight: 500; color: var(--nbf-muted); transition: color .3s; }
.nbf .nbf-exam:hover .nbf-exam__total { color: var(--nbf-primary); }
.nbf .nbf-exam h3 { position: relative; font-size: 20px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.nbf .nbf-exam p { position: relative; font-size: 14px; line-height: 1.625; color: var(--nbf-muted); margin-bottom: 20px; }
.nbf .nbf-exam__chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-family: var(--nbf-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .03em; color: rgba(109, 98, 88, .8); }
.nbf .nbf-exam__chips span { background: var(--nbf-soft); padding: 4px 8px; border-radius: 999px; }
.nbf .nbf-exam__go { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--nbf-primary); transition: gap .3s; }
.nbf .nbf-exam:hover .nbf-exam__go { gap: 12px; }

/* ---- Bento feature cards ---- */
.nbf .nbf-bento { display: grid; gap: 20px; grid-template-columns: 1fr; grid-auto-rows: minmax(140px, auto); }
.nbf .nbf-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column;
	background: var(--nbf-bg); border: 1px solid var(--nbf-border); box-shadow: 0 1px 2px rgba(0,0,0,.05);
	transition: all .3s ease;
}
.nbf .nbf-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08); }
.nbf .nbf-card__bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c-fg), color-mix(in srgb, var(--c-fg) 45%, transparent)); transition: opacity .3s; }
.nbf .nbf-card--standard .nbf-card__bar, .nbf .nbf-card--wide .nbf-card__bar { opacity: 0; }
.nbf .nbf-card:hover .nbf-card__bar { opacity: 1; }
.nbf .nbf-card--standard, .nbf .nbf-card--wide { padding: 24px; border-radius: 16px; }
.nbf .nbf-card--large { padding: 28px; border-radius: 24px; grid-row: span 2; }
.nbf .nbf-card:hover .nbf-ico { background: var(--c-fg); color: var(--c-on); }
.nbf .nbf-card h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: 4px; }
.nbf .nbf-card p { font-size: 14px; line-height: 1.625; color: var(--nbf-muted); }
.nbf .nbf-card--wide p { max-width: 448px; }
.nbf .nbf-card--large h3 { font-size: 24px; line-height: 1.33; margin-bottom: 8px; }
.nbf .nbf-card--large p { font-size: 16px; max-width: 384px; margin-bottom: 24px; }
.nbf .nbf-card__chips { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--nbf-mono); font-size: 11px; font-weight: 500; color: rgba(109, 98, 88, .75); }
.nbf .nbf-card__chips span { background: var(--nbf-soft); padding: 4px 10px; border-radius: 999px; }

/* ================= AI LEARNING ================= */
.nbf .nbf-ai { overflow: hidden; }
.nbf .nbf-ai__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.nbf .nbf-ai__glow--1 { top: -128px; left: 50%; width: 520px; height: 520px; transform: translateX(-50%); background: color-mix(in srgb, var(--nbf-primary) 15%, transparent); filter: blur(120px); }
.nbf .nbf-ai__glow--2 { bottom: 0; right: 0; width: 380px; height: 380px; transform: translateX(33%); background: color-mix(in srgb, var(--nbf-primary) 10%, transparent); filter: blur(110px); }
.nbf .nbf-ai__head { max-width: 672px; margin-bottom: 56px; }
.nbf .nbf-ai__head h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; }
.nbf .nbf-ai__head p { margin-top: 16px; font-size: 18px; color: var(--nbf-muted); }
.nbf .nbf-ai__cols { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }

.nbf .nbf-chat-wrap { position: relative; min-width: 0; }
.nbf .nbf-chat-wrap__halo { position: absolute; inset: -4px; border-radius: 26px; background: linear-gradient(to top right, color-mix(in srgb, var(--nbf-primary) 40%, transparent), color-mix(in srgb, var(--nbf-primary) 5%, transparent), transparent); opacity: .6; filter: blur(24px); }
.nbf .nbf-chat { position: relative; overflow: hidden; background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.nbf .nbf-chat__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--nbf-surface); border-bottom: 1px solid var(--nbf-border); }
.nbf .nbf-chat__brand { display: flex; align-items: center; gap: 8px; font-family: var(--nbf-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.nbf .nbf-chat__logo { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--nbf-primary); color: var(--nbf-on-primary); }
.nbf .nbf-chat__status { display: flex; align-items: center; gap: 6px; font-family: var(--nbf-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--nbf-muted); }
.nbf .nbf-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; display: inline-block; }
.nbf .nbf-chat__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.nbf .nbf-chat__user { display: flex; justify-content: flex-end; }
.nbf .nbf-chat__user div { max-width: 80%; background: var(--nbf-fg); color: var(--nbf-bg); padding: 10px 16px; font-size: 14px; border-radius: 16px 16px 4px 16px; }
.nbf .nbf-chat__ai { display: flex; gap: 12px; }
.nbf .nbf-chat__avatar { margin-top: 2px; width: 28px; height: 28px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: color-mix(in srgb, var(--nbf-primary) 15%, transparent); color: var(--nbf-primary); }
.nbf .nbf-chat__col { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.nbf .nbf-chat__bubble { background: var(--nbf-surface); border: 1px solid var(--nbf-border); padding: 12px 16px; font-size: 14px; line-height: 1.625; border-radius: 16px 16px 16px 4px; }
.nbf .nbf-caret { display: inline-block; width: 2px; height: 16px; margin-left: 2px; background: var(--nbf-primary); vertical-align: middle; transform: translateY(2px); }
.nbf .nbf-chat__label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-family: var(--nbf-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--nbf-muted); }
.nbf .nbf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nbf .nbf-tags span { background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; transition: all .2s; cursor: default; }
.nbf .nbf-tags span:hover { border-color: color-mix(in srgb, var(--nbf-primary) 50%, transparent); color: var(--nbf-primary); }
.nbf .nbf-points { display: flex; flex-direction: column; gap: 6px; }
.nbf .nbf-points li { display: flex; gap: 8px; font-size: 12px; line-height: 1.625; color: var(--nbf-muted); }
.nbf .nbf-points .nbf-i { margin-top: 2px; color: var(--nbf-primary); }
.nbf .nbf-qs { display: flex; flex-direction: column; gap: 8px; }
.nbf .nbf-q { display: flex; align-items: flex-start; gap: 8px; background: var(--nbf-surface); border: 1px solid var(--nbf-border); border-radius: 12px; padding: 8px 12px; font-size: 12px; line-height: 1.625; transition: all .2s; }
.nbf .nbf-q:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--nbf-primary) 50%, transparent); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.nbf .nbf-q__n { font-family: var(--nbf-mono); font-size: 10px; font-weight: 700; color: var(--nbf-primary); }
.nbf .nbf-q__t { flex: 1; }
.nbf .nbf-q > .nbf-i { margin-top: 2px; color: var(--nbf-muted); transition: all .2s; }
.nbf .nbf-q:hover > .nbf-i { color: var(--nbf-primary); transform: translateX(2px); }
.nbf .nbf-chat__foot { padding: 16px; background: var(--nbf-surface); border-top: 1px solid var(--nbf-border); }
.nbf .nbf-chat__input { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 16px; background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.nbf .nbf-chat__input:focus-within { border-color: color-mix(in srgb, var(--nbf-primary) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nbf-primary) 15%, transparent); }
.nbf .nbf-chat__input input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; font-size: 14px; color: var(--nbf-fg); height: auto; }
.nbf .nbf-chat__input input::placeholder { color: var(--nbf-muted); opacity: 1; }
.nbf .nbf-chat__enter { display: none; align-items: center; gap: 4px; font-family: var(--nbf-mono); font-size: 10px; text-transform: uppercase; color: var(--nbf-muted); }
.nbf .nbf-chat__input button { width: 32px; height: 32px; padding: 0; margin: 0; border: 0; border-radius: 8px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--nbf-primary); color: var(--nbf-on-primary); transition: transform .2s; }
.nbf .nbf-chat__input button:hover { transform: scale(1.05); }

.nbf .nbf-aitools { border: 1px solid var(--nbf-border); border-radius: 16px; overflow: hidden; background: var(--nbf-bg); }
.nbf .nbf-aitool { display: flex; align-items: flex-start; gap: 16px; padding: 20px; transition: background .2s; }
.nbf .nbf-aitool + .nbf-aitool { border-top: 1px solid var(--nbf-border); }
.nbf .nbf-aitool:hover { background: var(--nbf-surface); }
.nbf .nbf-aitool:hover .nbf-ico { background: var(--nbf-primary); color: var(--nbf-on-primary); box-shadow: 0 0 20px color-mix(in srgb, var(--nbf-primary) 45%, transparent); }
.nbf .nbf-aitool h3 { font-size: 16px; line-height: 1.5; font-weight: 700; }
.nbf .nbf-aitool p { font-size: 14px; line-height: 1.625; color: var(--nbf-muted); }
.nbf .nbf-aitool__arrow { margin-left: auto; margin-top: 8px; color: var(--nbf-muted); opacity: 0; transform: translateX(-4px); transition: all .2s; }
.nbf .nbf-aitool:hover .nbf-aitool__arrow { opacity: 1; transform: none; color: var(--nbf-primary); }

/* ================= WHY ================= */
.nbf .nbf-why { background: var(--nbf-surface); border: 1px solid var(--nbf-border); border-radius: 16px; padding: 28px; transition: all .3s ease; }
.nbf .nbf-why:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08), 0 0 0 1px color-mix(in srgb, var(--nbf-primary) 20%, transparent); }
.nbf .nbf-why .nbf-ico { margin-bottom: 20px; }
.nbf .nbf-why:hover .nbf-ico { background: var(--nbf-primary); color: var(--nbf-on-primary); }
.nbf .nbf-why h3 { font-size: 18px; line-height: 1.55; font-weight: 700; margin-bottom: 8px; }
.nbf .nbf-why p { font-size: 14px; line-height: 1.625; color: var(--nbf-muted); }

/* ================= HOW IT WORKS ================= */
.nbf .nbf-how { position: relative; isolation: isolate; }
.nbf .nbf-how__line { display: none; position: absolute; top: 52px; left: 0; width: 100%; height: 2px; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--nbf-primary) 30%, transparent), color-mix(in srgb, var(--nbf-primary) 60%, transparent), color-mix(in srgb, var(--nbf-primary) 30%, transparent)); }
.nbf .nbf-how__grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
.nbf .nbf-step { position: relative; display: flex; align-items: flex-start; gap: 24px; }
.nbf .nbf-step:not(:last-child)::after { content: ""; position: absolute; top: 72px; left: 30px; width: 4px; height: calc(100% - 40px); z-index: 0; background: linear-gradient(to bottom, var(--nbf-primary), color-mix(in srgb, var(--nbf-primary) 60%, transparent)); }
.nbf .nbf-step__badge { position: relative; z-index: 1; flex-shrink: 0; }
.nbf .nbf-step__badge > div { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--nbf-border); background: var(--nbf-surface); box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: all .3s ease; }
.nbf .nbf-step:hover .nbf-step__badge > div { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 0 0 1px color-mix(in srgb, var(--nbf-primary) 20%, transparent); }
.nbf .nbf-step__ico { color: var(--nbf-primary); transition: transform .3s; }
.nbf .nbf-step:hover .nbf-step__ico { transform: scale(1.1); }
.nbf .nbf-step__badge span { font-family: var(--nbf-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(109, 98, 88, .7); line-height: 1; }
.nbf .nbf-step__txt { min-width: 0; flex: 1; }
.nbf .nbf-step h3 { font-size: 20px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; transition: color .2s; }
.nbf .nbf-step:hover h3 { color: var(--nbf-primary); }
.nbf .nbf-step p { font-size: 14px; line-height: 1.625; color: var(--nbf-muted); }

/* ================= PRICING ================= */
.nbf .nbf-plans { display: grid; gap: 24px; grid-template-columns: 1fr; }
.nbf .nbf-plan { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 28px; background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .3s ease; }
.nbf .nbf-plan:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08); }
.nbf .nbf-plan.is-pop { border-color: color-mix(in srgb, var(--nbf-primary) 40%, transparent); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 0 0 1px color-mix(in srgb, var(--nbf-primary) 20%, transparent); }
.nbf .nbf-plan__badge { position: absolute; right: 24px; top: 24px; padding: 4px 10px; border-radius: 999px; background: var(--nbf-primary); color: var(--nbf-on-primary); font-family: var(--nbf-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.nbf .nbf-plan h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.nbf .nbf-plan__tag { margin-top: 4px; font-size: 14px; color: var(--nbf-muted); }
.nbf .nbf-plan__price { margin-top: 24px; display: flex; align-items: baseline; gap: 4px; }
.nbf .nbf-plan__amt { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.nbf .nbf-plan__per { font-family: var(--nbf-mono); font-size: 12px; color: var(--nbf-muted); }
.nbf .nbf-plan__covers { margin-top: 16px; background: var(--nbf-soft); border-radius: 12px; padding: 8px 12px; font-family: var(--nbf-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--nbf-muted); }
.nbf .nbf-plan__fh { margin-top: 24px; font-family: var(--nbf-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--nbf-primary); }
.nbf .nbf-plan__list { flex: 1; margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.nbf .nbf-plan__list.is-spaced { margin-top: 28px; }
.nbf .nbf-plan__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--nbf-muted); }
.nbf .nbf-plan__list .nbf-i { margin-top: 2px; color: var(--nbf-primary); }
.nbf .nbf-plan__btn { margin-top: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: all .2s; }
.nbf .nbf-plan__btn--outline { border: 1px solid var(--nbf-border); }
.nbf .nbf-plan__btn--outline:hover { border-color: color-mix(in srgb, var(--nbf-primary) 50%, transparent); color: var(--nbf-primary); }
.nbf .nbf-plan__btn--solid { background: var(--nbf-fg); color: var(--nbf-bg); }
.nbf .nbf-plan__btn--solid:hover { opacity: .9; color: var(--nbf-bg); }
.nbf .nbf-plan__btn--primary { background: var(--nbf-primary); color: var(--nbf-on-primary); }
.nbf .nbf-plan__btn--primary:hover { opacity: .9; color: var(--nbf-on-primary); }
.nbf .nbf-plans__foot { margin-top: 48px; text-align: center; }
.nbf .nbf-plans__foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--nbf-primary); transition: gap .2s; }
.nbf .nbf-plans__foot a:hover { gap: 10px; color: var(--nbf-primary); }

/* ================= TESTIMONIALS ================= */
.nbf .nbf-car { max-width: 1152px; margin: 0 auto; --per: 1; --gap: 16px; }
.nbf .nbf-car__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 8px 2px 24px; margin: 0 -2px; outline: none; }
.nbf .nbf-car__track::-webkit-scrollbar { display: none; }
.nbf .nbf-car__item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--nbf-bg); border: 1px solid var(--nbf-border); border-radius: 16px; padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.nbf .nbf-car__item:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08); }
.nbf .nbf-car__q { color: color-mix(in srgb, var(--nbf-primary) 60%, transparent); margin-bottom: 20px; }
.nbf .nbf-car blockquote { flex: 1; margin-bottom: 24px; font-size: 16px; line-height: 1.625; color: rgba(31, 26, 23, .9); border: 0; quotes: none; padding: 0; background: none; font-style: normal; }
.nbf .nbf-car blockquote::before, .nbf .nbf-car blockquote::after { content: none; }
.nbf .nbf-car figcaption { border-top: 1px solid var(--nbf-border); padding-top: 20px; }
.nbf .nbf-car__name { font-size: 14px; font-weight: 700; }
.nbf .nbf-car__ctx { font-family: var(--nbf-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--nbf-muted); }
.nbf .nbf-car__nav { margin-top: 16px; display: flex; justify-content: center; gap: 12px; }
.nbf .nbf-car__nav button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--nbf-border); background: var(--nbf-bg); color: var(--nbf-fg); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.nbf .nbf-car__nav button:hover { background: color-mix(in srgb, var(--nbf-primary) 12%, transparent); border-color: color-mix(in srgb, var(--nbf-primary) 40%, transparent); color: var(--nbf-primary); }

/* ================= FAQ ================= */
.nbf .nbf-faq__item { border-bottom: 1px solid var(--nbf-border); }
.nbf .nbf-faq__item h3 { font-size: inherit; line-height: inherit; }
.nbf .nbf-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; margin: 0; border: 0; background: transparent; color: var(--nbf-fg); text-align: left; font-size: 16px; font-weight: 700; line-height: 1.5; text-transform: none; letter-spacing: 0; transition: color .2s; }
.nbf .nbf-faq__q:hover, .nbf .nbf-faq__q:focus-visible { color: var(--nbf-primary); background: transparent; }
.nbf .nbf-faq__chev { color: var(--nbf-muted); transition: transform .2s; }
.nbf .nbf-faq__q[aria-expanded="true"] .nbf-faq__chev { transform: rotate(180deg); }
.nbf .nbf-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.nbf .nbf-faq__a > div { overflow: hidden; }
.nbf .nbf-faq__a p { padding-bottom: 24px; font-size: 14px; line-height: 1.625; color: var(--nbf-muted); }
.nbf .nbf-faq__item.is-open .nbf-faq__a { grid-template-rows: 1fr; }

/* ================= CTA ================= */
.nbf .nbf-cta__head { margin-bottom: 48px; }
.nbf .nbf-cta__head h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }
.nbf .nbf-cta__head p { max-width: 512px; margin: 0 auto; color: var(--nbf-muted); }
.nbf .nbf-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ================= RESPONSIVE ================= */
@media (min-width: 640px) {
	.nbf .nbf-stat + .nbf-stat { border-left: 1px solid var(--nbf-border); }
	.nbf .nbf-grid--exams, .nbf .nbf-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.nbf .nbf-bento { grid-template-columns: repeat(2, 1fr); }
	.nbf .nbf-card--large, .nbf .nbf-card--wide { grid-column: span 2; }
	.nbf .nbf-car { --per: 2; }
	.nbf .nbf-chat__enter { display: flex; }
	.nbf .nbf-ai__head h2 { font-size: 36px; }
}
@media (min-width: 768px) {
	.nbf .nbf-hero__title { font-size: 72px; }
	.nbf .nbf-hero__sub { font-size: 20px; }
	.nbf .nbf-md-br { display: inline; }
	.nbf .nbf-head h2, .nbf .nbf-cta__head h2 { font-size: 36px; }
	.nbf .nbf-stat__v { font-size: 36px; }
	.nbf .nbf-how__line { display: block; }
	.nbf .nbf-how__grid { grid-template-columns: repeat(var(--nbf-steps, 4), 1fr); gap: 32px; }
	.nbf .nbf-step { display: block; text-align: center; }
	.nbf .nbf-step:not(:last-child)::after { display: none; }
	.nbf .nbf-step__badge { margin: 0 auto 24px; }
	.nbf .nbf-step__badge > div { width: 104px; height: 104px; background: var(--nbf-bg); }
	.nbf .nbf-step h3 { font-size: 18px; }
	.nbf .nbf-step p { font-size: 16px; }
	.nbf .nbf-plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 1024px) {
	.nbf .nbf-stats__grid { grid-template-columns: repeat(4, 1fr); }
	.nbf .nbf-grid--exams, .nbf .nbf-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.nbf .nbf-bento { grid-template-columns: repeat(4, 1fr); }
	.nbf .nbf-car { --per: 3; }
	.nbf .nbf-ai__head h2 { font-size: 48px; }
	.nbf .nbf-ai__cols { grid-template-columns: 1fr 1fr; gap: 56px; }
	.nbf .nbf-step h3 { font-size: 20px; }
}
@media (max-width: 480px) {
	.nbf .nbf-sec { padding-left: 16px; padding-right: 16px; }
	.nbf .nbf-search__form button { padding: 10px 16px; }
	.nbf .nbf-plan { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.nbf *, .nbf *::before, .nbf *::after { animation: none !important; transition: none !important; }
}
