/* ==========================================================================
   Full Blown Web Design — styles.css
   Design system: charcoal / near-black base, white type, orange #fe5f07 accent,
   restrained cyan secondary, technical grid, glass cards, editorial type.
   ========================================================================== */

:root {
  --fb-bg: #0a0b0f;
  --fb-bg-soft: #0d0f15;
  --fb-panel: #10131b;
  --fb-panel-2: #141824;
  --fb-line: rgba(255, 255, 255, 0.09);
  --fb-line-soft: rgba(255, 255, 255, 0.06);
  --fb-text: #f5f6f8;
  --fb-muted: #a8afbc;
  --fb-muted-2: #7d8595;
  --fb-orange: #fe5f07;
  --fb-orange-2: #ff8a3d;
  --fb-orange-deep: #d94e00;
  --fb-orange-soft: rgba(254, 95, 7, 0.14);
  --fb-cyan: #4cc9f0;
  --fb-cyan-soft: rgba(76, 201, 240, 0.12);
  --fb-radius: 16px;
  --fb-radius-sm: 10px;
  --fb-font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fb-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fb-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fb-shadow-glow: 0 8px 40px rgba(254, 95, 7, 0.28);
  --fb-header-h: 76px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--fb-header-h) + 24px);
}

body {
  background-color: var(--fb-bg);
  color: var(--fb-text);
  font-family: var(--fb-font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 520px at 85% -10%, rgba(254, 95, 7, 0.10), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(76, 201, 240, 0.05), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-attachment: fixed;
}

::selection {
  background: var(--fb-orange);
  color: #12080a;
}

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--fb-font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fb-text);
}

a {
  color: var(--fb-orange-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--fb-orange-2); }

:focus-visible {
  outline: 2px solid var(--fb-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 3000;
  background: var(--fb-orange);
  color: #12080a;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #12080a; }

/* ---------- Header ---------- */
.fb-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 1.0);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.fb-header.is-stuck {
  background: rgb(221, 221, 221, 0.92);
  border-bottom-color: var(--fb-line-soft);
}

.fb-navbar { padding: 14px 0; min-height: auto; }

.fb-logo {
  width: 200px;
  height: auto; max-height: 70px;   
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(254, 95, 7, 0.35));
}

.fb-brand-text {
  font-family: var(--fb-font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--fb-text);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fb-brand-text small {
  font-family: var(--fb-font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fb-orange-2);
}

.fb-phone {
  font-family: var(--fb-font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fb-muted);
}
.fb-phone i { color: var(--fb-bg); }
.fb-phone:hover { color: var(--fb-orange); }

.navbar-nav {
  margin-top: 0.35rem;
  gap: 2px;
}
.navbar .nav-link {
  color: var(--fb-bg);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--fb-orange); background: rgba(255, 255, 255, 0.04); }
.navbar .nav-link.active { color: var(--fb-orange); }
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fb-orange), var(--fb-orange-2));
}

.dropdown-menu {
  background: rgba(16, 19, 27, 0.98);
  border: 1px solid var(--fb-line);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  padding: 8px;
  min-width: 240px;
  backdrop-filter: blur(12px);
}
.dropdown-item {
  color: var(--fb-muted);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--fb-orange-soft);
  color: var(--fb-text);
}
.dropdown-item.active { color: var(--fb-orange-2); font-weight: 600; }

.navbar-toggler {
  border: 1px solid var(--fb-line);
  border-radius: 10px;
  padding: 8px 10px;
  background: transparent;
}
.navbar-toggler:focus-visible { box-shadow: 0 0 0 3px var(--fb-orange-soft); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(245,246,248,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fb-mobile-cta { margin: 14px 0 18px; }

/* ---------- Buttons ---------- */
.fb-btn {
  font-family: var(--fb-font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
}
.fb-btn:active { transform: translateY(1px); }

.fb-btn--primary {
  background: linear-gradient(135deg, var(--fb-orange) 0%, var(--fb-orange-2) 100%);
  color: #140a04;
  box-shadow: 0 4px 22px rgba(254, 95, 7, 0.30);
}
.fb-btn--primary:hover, .fb-btn--primary:focus {
  background: linear-gradient(135deg, #ff6a12 0%, #ff9a52 100%);
  color: #140a04;
  box-shadow: var(--fb-shadow-glow);
  transform: translateY(-2px);
}

.fb-btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--fb-line);
  color: var(--fb-text);
}
.fb-btn--ghost:hover, .fb-btn--ghost:focus {
  border-color: rgba(254, 95, 7, 0.55);
  color: var(--fb-text);
  background: rgba(254, 95, 7, 0.08);
  transform: translateY(-2px);
}

.fb-btn--light {
  background: #f5f6f8;
  color: #14100c;
  font-weight: 700;
}
.fb-btn--light:hover { background: #ffffff; color: #14100c; transform: translateY(-2px); }

.fb-btn--darkghost {
  background: rgba(10, 11, 15, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.fb-btn--darkghost:hover { background: rgba(10, 11, 15, 0.6); color: #fff; transform: translateY(-2px); }

.fb-cta { font-size: 0.9rem; padding: 0.7rem 1.2rem; }

/* ---------- Hero ---------- */
.fb-hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.fb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 18% 8%, rgba(254, 95, 7, 0.16), transparent 65%),
    radial-gradient(520px 300px at 88% 90%, rgba(76, 201, 240, 0.07), transparent 65%);
  pointer-events: none;
}
.fb-hero .container-xxl { position: relative; }

.fb-kicker {
  font-family: var(--fb-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fb-orange-2);
  margin-bottom: 14px;
}
.fb-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--fb-orange);
  vertical-align: middle;
  margin-right: 12px;
}

.fb-h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 16ch;
}
.fb-h1 .fb-accent,
.fb-h2 .fb-accent {
  background: linear-gradient(120deg, var(--fb-orange) 10%, var(--fb-orange-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb-lead {
  font-size: 1.13rem;
  color: var(--fb-muted);
  max-width: 62ch;
  margin: 22px 0 0;
}

/* ---------- Sections ---------- */
.fb-section { padding: 88px 0; position: relative; }
.fb-section--tight { padding: 44px 0; }
.fb-section--panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.012));
  border-top: 1px solid var(--fb-line-soft);
  border-bottom: 1px solid var(--fb-line-soft);
}

.fb-h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.fb-muted { color: var(--fb-muted); }
.fb-muted a { color: var(--fb-orange-2); }
.fb-muted a:hover { text-decoration: underline; }

.fb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.fb-list li {
  position: relative;
  padding-left: 30px;
  color: var(--fb-muted);
}
.fb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--fb-orange-soft);
  border: 1px solid rgba(254, 95, 7, 0.4);
}
.fb-list li::after {
  content: "\2713";
  position: absolute;
  left: 3.5px;
  top: 3.5px;
  font-size: 0.62rem;
  color: var(--fb-orange-2);
}

/* ---------- Stats ---------- */
.fb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--fb-line-soft);
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  overflow: hidden;
}
.fb-stat {
  background: rgba(13, 15, 21, 0.9);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-stat__num {
  font-family: var(--fb-font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 20%, var(--fb-orange-2) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fb-stat__suffix {
  font-size: 0.6em;
  color: var(--fb-orange);
  -webkit-text-fill-color: var(--fb-orange);
  margin-left: 2px;
}
.fb-stat__label {
  font-size: 0.86rem;
  color: var(--fb-muted);
}

/* ---------- Cards ---------- */
.fb-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  padding: 26px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
  display: block;
}
.fb-card:hover, .fb-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(254, 95, 7, 0.45);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 6px 28px rgba(254, 95, 7, 0.14);
  background: rgba(255, 255, 255, 0.045);
}
.fb-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(254, 95, 7, 0.18), rgba(254, 95, 7, 0.05));
  border: 1px solid rgba(254, 95, 7, 0.35);
  color: var(--fb-orange-2);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.fb-card__title {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.fb-card__text {
  color: var(--fb-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}
.fb-card__tag {
  display: inline-block;
  font-family: var(--fb-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fb-cyan);
  background: var(--fb-cyan-soft);
  border: 1px solid rgba(76, 201, 240, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.fb-chipcard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--fb-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fb-line-soft);
  color: var(--fb-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}
.fb-chipcard i { color: var(--fb-orange); font-size: 1.05rem; }
.fb-chipcard:hover {
  transform: translateX(4px);
  border-color: rgba(254, 95, 7, 0.45);
  background: var(--fb-orange-soft);
  color: var(--fb-text);
}

/* ---------- Panel ---------- */
.fb-panel {
  background: linear-gradient(160deg, var(--fb-panel) 0%, var(--fb-panel-2) 100%);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  padding: 30px 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.fb-panel__title {
  font-size: 1.15rem;
  margin-bottom: 14px;
  position: relative;
  padding-left: 16px;
}
.fb-panel__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--fb-orange), var(--fb-orange-2));
}

/* ---------- Code card ---------- */
.fb-codecard {
  background: #0b0d13;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.fb-codecard__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--fb-line-soft);
}
.fb-codecard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.fb-codecard__dot:first-child { background: var(--fb-orange); }
.fb-codecard__title {
  margin-left: 10px;
  font-family: var(--fb-font-mono);
  font-size: 0.72rem;
  color: var(--fb-muted-2);
}
.fb-codecard pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: var(--fb-font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: #cdd3df;
}
.c-kw { color: var(--fb-orange-2); }
.c-fn { color: var(--fb-cyan); }
.c-str { color: #9ad1a0; }
.c-cmt { color: #5d6575; font-style: italic; }

/* ---------- Projects ---------- */
.fb-project {
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.fb-project:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 95, 7, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.fb-project__art {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.92);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.fb-project__art--1 { background-color: linear-gradient(135deg, #23130a, #0d0f15); background-color: #1a1108; }
.fb-project__art--2 { background-color: #101a22; }
.fb-project__art--3 { background-color: #170f14; }
.fb-project__art i { text-shadow: 0 0 30px rgba(254, 95, 7, 0.55); }
.fb-project__body { padding: 20px 22px 24px; }
.fb-project__title { font-size: 1.08rem; margin-bottom: 8px; }
.fb-project__desc { color: var(--fb-muted); font-size: 0.93rem; margin-bottom: 12px; }
.fb-project__tags {
  font-family: var(--fb-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--fb-muted-2);
  margin-bottom: 0;
}

/* ---------- Industries ---------- */
.fb-ind {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--fb-radius-sm);
  border: 1px solid var(--fb-line-soft);
  background: rgba(255, 255, 255, 0.025);
  color: var(--fb-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.25s ease, color 0.2s ease, background 0.25s ease;
}
.fb-ind i { color: var(--fb-orange); font-size: 0.75rem; }
.fb-ind:hover {
  border-color: rgba(254, 95, 7, 0.4);
  background: var(--fb-orange-soft);
  color: var(--fb-text);
}

/* ---------- Ref cards ---------- */
.fb-refcard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  padding: 22px 20px;
  height: 100%;
}
.fb-refcard > i {
  color: var(--fb-orange);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.fb-refcard h3 { font-size: 1rem; margin-bottom: 8px; }
.fb-refcard p { font-size: 0.88rem; color: var(--fb-muted); }
.fb-refcard__link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 12px;
}

/* ---------- Accordion ---------- */
.fb-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--fb-line-soft);
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.fb-accordion .accordion-button {
  background: transparent;
  color: var(--fb-text);
  font-family: var(--fb-font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 20px;
  box-shadow: none !important;
}
.fb-accordion .accordion-button:not(.collapsed) {
  color: var(--fb-orange-2);
  background: rgba(254, 95, 7, 0.06);
}
.fb-accordion .accordion-button::after {
  filter: invert(1) brightness(1.6);
}
.fb-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(60%) sepia(90%) saturate(1200%) hue-rotate(350deg);
}
.fb-accordion .accordion-body {
  padding: 4px 20px 20px;
  color: var(--fb-muted);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.fb-cta-band {
  position: relative;
  margin: 40px 0 0;
  padding: 64px 0;
  background:
    radial-gradient(600px 280px at 12% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, var(--fb-orange-deep) 0%, var(--fb-orange) 55%, #ff7a2f 100%);
  overflow: hidden;
}
.fb-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.fb-cta-band .container-xxl { position: relative; }
.fb-cta-band__title {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.fb-cta-band__text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.fb-footer {
  background: #07080c;
  border-top: 1px solid var(--fb-line-soft);
  padding: 64px 0 0;
}
.fb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fb-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fb-text);
  margin-bottom: 16px;
}
.fb-footer__brand img { width: 38px; height: 38px; object-fit: contain; }
.fb-footer__brand:hover { color: var(--fb-text); }
.fb-footer__blurb { color: var(--fb-muted); font-size: 0.92rem; max-width: 40ch; }
.fb-footer__contact {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.fb-footer__contact i { color: var(--fb-orange); width: 20px; }
.fb-footer__contact a { color: var(--fb-muted); }
.fb-footer__contact a:hover { color: var(--fb-text); }
.fb-footer__head {
  font-family: var(--fb-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fb-muted-2);
  margin-bottom: 16px;
}
.fb-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.fb-footer__links a { color: var(--fb-muted); font-size: 0.92rem; }
.fb-footer__links a:hover { color: var(--fb-orange-2); }
.fb-footer__bottom {
  border-top: 1px solid var(--fb-line-soft);
  margin-top: 48px;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.fb-footer__bottom p { margin: 0; color: var(--fb-muted-2); font-size: 0.85rem; }
.fb-footer__built i { color: var(--fb-orange); margin-right: 6px; }

/* ---------- Back to top ---------- */
.fb-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--fb-line);
  background: rgba(16, 19, 27, 0.9);
  backdrop-filter: blur(10px);
  color: var(--fb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.fb-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fb-top:hover { border-color: rgba(254, 95, 7, 0.5); color: var(--fb-orange-2); }

/* ---------- Breadcrumbs ---------- */
.fb-crumbs { margin-bottom: 26px; }
.fb-crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  font-family: var(--fb-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.fb-crumbs li { display: flex; align-items: center; }
.fb-crumbs li + li::before {
  content: "/";
  color: var(--fb-muted-2);
  margin: 0 10px;
}
.fb-crumbs a { color: var(--fb-muted); }
.fb-crumbs a:hover { color: var(--fb-orange-2); }
.fb-crumbs li.active { color: var(--fb-orange-2); }

/* ---------- Tags ---------- */
.fb-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--fb-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fb-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.fb-tag:hover {
  border-color: rgba(254, 95, 7, 0.5);
  color: var(--fb-text);
  background: var(--fb-orange-soft);
}

/* ---------- Forms ---------- */
.fb-form .form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fb-text);
  margin-bottom: 6px;
}
.fb-req { color: var(--fb-orange-2); }
.fb-form .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  color: var(--fb-text);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fb-form .form-control::placeholder { color: var(--fb-muted-2); }
.fb-form .form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--fb-orange);
  box-shadow: 0 0 0 4px rgba(254, 95, 7, 0.16);
  color: var(--fb-text);
}
.fb-form .form-control.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}
.fb-form .invalid-feedback { color: #ff9d9d; font-size: 0.8rem; }
.fb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fb-form__status {
  display: inline-block;
  margin-left: 14px;
  font-size: 0.9rem;
  color: var(--fb-muted);
}
.fb-form__status.is-error { color: #ff9d9d; }
.fb-form__status.is-success { color: #8fe3a1; }
.fb-form-success {
  border: 1px solid rgba(143, 227, 161, 0.35);
  background: rgba(143, 227, 161, 0.07);
  border-radius: var(--fb-radius);
  padding: 28px 26px;
}
.fb-form-success h3 { color: #8fe3a1; font-size: 1.15rem; margin-bottom: 8px; }
.fb-form-success p { color: var(--fb-muted); margin-bottom: 0; }

/* ---------- Prose (blog / long-form) ---------- */
.fb-prose {
  max-width: 74ch;
  font-size: 1.02rem;
  color: #c9ceda;
}
.fb-prose > p { margin-bottom: 1.25rem; }
.fb-prose h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 1rem;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 18px;
}
.fb-prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--fb-orange), var(--fb-orange-2));
}
.fb-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.8rem; }
.fb-prose ul, .fb-prose ol { color: #c9ceda; padding-left: 1.4rem; margin-bottom: 1.25rem; }
.fb-prose li { margin-bottom: 0.5rem; }
.fb-prose li::marker { color: var(--fb-orange-2); }
.fb-prose a { color: var(--fb-orange-2); text-decoration: underline; text-underline-offset: 3px; }
.fb-prose strong { color: var(--fb-text); }
.fb-prose blockquote {
  border-left: 3px solid var(--fb-orange);
  background: var(--fb-orange-soft);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 1.6rem 0;
  font-family: var(--fb-font-display);
  font-size: 1.12rem;
  color: var(--fb-text);
}
.fb-prose blockquote p { margin-bottom: 0; }
.fb-prose code {
  font-family: var(--fb-font-mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--fb-line-soft);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--fb-orange-2);
}
.fb-prose pre {
  background: #0b0d13;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 1.4rem 0;
}
.fb-prose pre code { background: none; border: none; padding: 0; color: #cdd3df; }
.fb-prose hr {
  border: none;
  height: 1px;
  background: var(--fb-line);
  margin: 2.4rem 0;
}
.fb-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.93rem; }
.fb-prose th, .fb-prose td { padding: 12px 14px; border: 1px solid var(--fb-line-soft); text-align: left; vertical-align: top; }
.fb-prose th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--fb-font-display);
  font-weight: 600;
  color: var(--fb-text);
}
.fb-prose td { color: var(--fb-muted); }
.fb-prose img { border-radius: 12px; }

/* ---------- TOC ---------- */
.fb-toc {
  border: 1px solid var(--fb-line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--fb-radius);
  padding: 22px 24px;
  margin: 0 0 2rem;
}
.fb-toc__title {
  font-family: var(--fb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fb-muted-2);
  margin-bottom: 12px;
}
.fb-toc ol {
  padding-left: 1.2rem;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}
.fb-toc li { margin-bottom: 7px; font-size: 0.92rem; }
.fb-toc a { color: var(--fb-muted); }
.fb-toc a:hover { color: var(--fb-orange-2); }

/* ---------- Meta chips ---------- */
.fb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.fb-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb-font-mono);
  font-size: 0.76rem;
  color: var(--fb-muted);
  border: 1px solid var(--fb-line-soft);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
}
.fb-meta__item i { color: var(--fb-orange); font-size: 0.7rem; }

/* ---------- Blog list cards ---------- */
.fb-post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  padding: 24px 24px 26px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  margin-bottom: 18px;
}
.fb-post:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 95, 7, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.fb-post__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--fb-font-mono);
  font-size: 0.72rem;
  color: var(--fb-muted-2);
  margin-bottom: 12px;
}
.fb-post__cat { color: var(--fb-cyan); }
.fb-post h3 { font-size: 1.22rem; margin-bottom: 10px; }
.fb-post h3 a { color: var(--fb-text); }
.fb-post h3 a:hover { color: var(--fb-orange-2); }
.fb-post p { color: var(--fb-muted); font-size: 0.94rem; margin-bottom: 14px; }
.fb-post__link { font-weight: 600; font-size: 0.9rem; }

/* ---------- Process steps ---------- */
.fb-steps { counter-reset: step; display: grid; gap: 14px; }
.fb-step {
  position: relative;
  padding: 20px 22px 20px 74px;
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.fb-step:hover { border-color: rgba(254, 95, 7, 0.4); background: rgba(254, 95, 7, 0.04); }
.fb-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: var(--fb-font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--fb-orange), var(--fb-orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fb-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fb-step p { color: var(--fb-muted); font-size: 0.93rem; margin-bottom: 0; }

/* ---------- Split feature rows ---------- */
.fb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Comparison table (plain, outside prose) ---------- */
.fb-tablewrap {
  border: 1px solid var(--fb-line-soft);
  border-radius: var(--fb-radius);
  overflow-x: auto;
}
.fb-tablewrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fb-tablewrap th, .fb-tablewrap td { padding: 14px 18px; border-bottom: 1px solid var(--fb-line-soft); text-align: left; vertical-align: top; }
.fb-tablewrap thead th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--fb-font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.fb-tablewrap tbody tr:last-child td { border-bottom: none; }
.fb-tablewrap td { color: var(--fb-muted); font-size: 0.93rem; }
.fb-tablewrap .fb-yes { color: #8fe3a1; font-weight: 600; }
.fb-tablewrap .fb-no { color: #ff9d9d; font-weight: 600; }

/* ---------- Utility ---------- */
.fb-main { min-height: 60vh; }
.fb-sep { border: none; height: 1px; background: var(--fb-line-soft); margin: 0; }

@media (max-width: 991.98px) {
  .fb-stats { grid-template-columns: repeat(2, 1fr); }
  .fb-split { grid-template-columns: 1fr; }
  .fb-toc ol { columns: 1; }
  .fb-cta-band .lg-align-end { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
  .fb-section { padding: 64px 0; }
  .fb-hero { padding: 60px 0 52px; }
  .fb-stats { grid-template-columns: 1fr 1fr; }
  .fb-stat { padding: 20px 18px; }
  .fb-cta-band { padding: 48px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
