﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --fb-bg-main: #071426;
  --fb-bg-nav: #0b1f3a;
  --fb-bg-card: #0a1d37;
  --fb-bg-card-2: #071426;
  --fb-border: #1f2a44;
  --fb-text-main: #ffffff;
  --fb-text-sub: #a0a0a0;
  --fb-text-soft: #d2dcef;
  --fb-blue: #2f80ed;
  --fb-blue-2: #60a5fa;
  --fb-orange: #ff7a00;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: var(--fb-bg-main);
  color: var(--fb-text-main);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.fb-container {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* NAV */

.fb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--fb-bg-nav);
  border-bottom: 1px solid var(--fb-border);
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: none;
  will-change: transform;
}

main {
  position: relative;
  z-index: auto;
}

main section {
  position: relative;
}

.fb-nav {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  column-gap: 28px;
}

.fb-brand {
  display: flex;
  align-items: center;
}

.fb-brand-logo {
  width: 92px;
  height: auto;
}

.fb-nav-main {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}

.fb-nav-dual-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 142px;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
}

.fb-nav-dual-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 180ms ease;
}

.fb-nav-dual-btn:hover,
.fb-nav-dual-btn.fb-is-active {
  filter: brightness(1.08);
}

.fb-nav-dual-btn-clients {
  background: #E86a17;
}

.fb-nav-dual-btn-builders {
  background: rgba(47, 128, 237, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fb-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-right: 28px;
}

.fb-nav-links a,
.fb-login-link {
  color: var(--fb-text-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease;
}

.fb-nav-links a:hover,
.fb-login-link:hover {
  color: var(--fb-blue);
}

.fb-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fb-blue);
  color: var(--fb-text-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.fb-btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.fb-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--fb-border);
  background: transparent;
  color: var(--fb-text-main);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.fb-hero-actions .fb-btn-primary,
.fb-hero-actions .fb-btn-secondary,
.fb-final-actions .fb-btn-primary {
  min-height: 50px;
  padding: 0 28px;
  font-size: 17px;
}

.fb-btn-secondary:hover {
  border-color: var(--fb-blue);
  color: var(--fb-blue);
}

/* HERO */

.fb-hero {
  padding: 72px 0 34px;
  background: var(--fb-bg-main);
}

.fb-hero-wrap {
  max-width: 1040px;
}

.fb-kicker {
  color: var(--fb-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fb-hero-title {
  max-width: 980px;
  font-size: 62px;
  line-height: 0.94;
  font-weight: 700;
  margin-bottom: 18px;
}

.fb-hero-sub {
  max-width: 920px;
  color: var(--fb-text-soft);
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.fb-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.fb-hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #9eb3d8;
  font-size: 14px;
  line-height: 1.6;
}

.fb-hero-trust span {
  position: relative;
}

.fb-hero-trust span:not(:last-child)::after {
  content: "•";
  margin-left: 18px;
  color: #6f88b1;
}

/* SHARED */

.fb-section-head {
  margin-bottom: 28px;
}

.fb-section-title {
  font-size: 42px;
  line-height: 1.02;
  font-weight: 700;
  margin-bottom: 12px;
  max-width: 880px;
}

.fb-section-sub {
  max-width: 860px;
  color: var(--fb-text-soft);
  font-size: 17px;
  line-height: 1.75;
}

/* WHY */

.fb-why-section {
  padding: 18px 0 54px;
}

.fb-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fb-why-card {
  background: linear-gradient(180deg, var(--fb-bg-card) 0%, var(--fb-bg-card-2) 100%);
  border: 1px solid var(--fb-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.fb-why-title {
  font-size: 24px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 12px;
}

.fb-why-text {
  color: var(--fb-text-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* PROCESS */

.fb-process-section {
  padding: 0 0 60px;
}

.fb-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fb-process-card {
  background: linear-gradient(180deg, var(--fb-bg-card) 0%, var(--fb-bg-card-2) 100%);
  border: 1px solid var(--fb-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.fb-process-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,128,237,0.12);
  border: 1px solid rgba(47,128,237,0.28);
  color: #dceaff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.fb-process-title {
  font-size: 24px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 12px;
}

.fb-process-text {
  color: var(--fb-text-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* FIT */

.fb-fit-section {
  padding: 0 0 60px;
}

.fb-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fb-fit-card {
  background: linear-gradient(180deg, #0d2442 0%, #071426 100%);
  border: 1px solid rgba(47,128,237,0.24);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.16);
}

.fb-fit-card-muted {
  border-color: rgba(255,255,255,0.08);
}

.fb-fit-title {
  font-size: 28px;
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 16px;
}

.fb-fit-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.fb-fit-list li {
  color: var(--fb-text-soft);
  font-size: 16px;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.fb-fit-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fb-blue-2);
}

/* VALUE */

.fb-value-section {
  padding: 0 0 62px;
}

.fb-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fb-value-card {
  background: linear-gradient(180deg, var(--fb-bg-card) 0%, var(--fb-bg-card-2) 100%);
  border: 1px solid var(--fb-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.fb-value-title {
  font-size: 26px;
  line-height: 1.06;
  font-weight: 700;
  margin-bottom: 12px;
}

.fb-value-text {
  color: var(--fb-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* FOUNDING */

.fb-founding-section {
  padding: 0 0 60px;
}

.fb-founding-card {
  background: linear-gradient(180deg, #0d2442 0%, #071426 100%);
  border: 1px solid rgba(47,128,237,0.24);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 16px 46px rgba(0,0,0,0.18);
}

.fb-founding-title {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 840px;
}

.fb-founding-sub {
  max-width: 900px;
  color: var(--fb-text-soft);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.fb-founding-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fb-founding-point {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d7e5fb;
  font-size: 14px;
  font-weight: 600;
}

/* PATHS */

.fb-paths-section {
  padding: 0 0 60px;
}

.fb-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fb-path-card {
  background: linear-gradient(180deg, var(--fb-bg-card) 0%, var(--fb-bg-card-2) 100%);
  border: 1px solid var(--fb-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.fb-path-label {
  color: var(--fb-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fb-path-title {
  font-size: 28px;
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 12px;
}

.fb-path-text {
  color: var(--fb-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* FINAL */

.fb-final-section {
  padding: 0 0 88px;
}

.fb-final-card {
  background: linear-gradient(180deg, #0a1d37 0%, #071426 100%);
  border: 1px solid var(--fb-border);
  border-radius: 30px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.fb-final-title {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
}

.fb-final-sub {
  max-width: 760px;
  color: var(--fb-text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.fb-final-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.fb-final-contact {
  color: #a9bddf;
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.fb-final-contact a {
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .fb-why-grid,
  .fb-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fb-paths-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .fb-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .fb-nav {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .fb-nav-main {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .fb-nav-dual-cta {
    width: 156px;
    min-height: 56px;
  }

  .fb-nav-links {
    justify-content: flex-start;
    margin-right: 0;
    flex-wrap: wrap;
  }

  .fb-nav-actions {
    justify-content: flex-start;
  }

  .fb-brand-logo {
    width: 78px;
  }

  .fb-hero {
    padding-top: 52px;
  }

  .fb-hero-title {
    font-size: 42px;
  }

  .fb-hero-sub {
    font-size: 17px;
  }

  .fb-fit-grid,
  .fb-value-grid {
    grid-template-columns: 1fr;
  }

  .fb-section-title,
  .fb-founding-title,
  .fb-final-title {
    font-size: 32px;
  }

  .fb-section-sub,
  .fb-founding-sub,
  .fb-final-sub {
    font-size: 16px;
  }

  .fb-final-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .fb-final-actions {
    align-items: flex-start;
  }

  .fb-final-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .fb-hero-title {
    font-size: 34px;
  }

  .fb-hero-sub {
    font-size: 16px;
  }

  .fb-why-grid,
  .fb-process-grid {
    grid-template-columns: 1fr;
  }

  .fb-why-title,
  .fb-process-title,
  .fb-fit-title,
  .fb-value-title,
  .fb-path-title {
    font-size: 22px;
  }
}
