/* Fengbird portal overlays — tokens live in tokens.css */
header.site-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--fb-header-h);
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--fb-line);
  box-shadow: 0 6px 20px rgba(31, 36, 48, 0.06);
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header .header-cta .btn-ghost,
.site-header .header-cta .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: 0.2s ease;
}

.site-header .header-cta .btn-ghost {
  color: var(--fb-navy);
  border: 1px solid var(--fb-line);
  background: transparent;
}

.site-header .header-cta .btn-ghost:hover {
  border-color: rgba(59, 130, 246, 0.45);
  color: var(--fb-blue);
  background: var(--fb-blue-soft);
}

.site-header .header-cta .btn-solid {
  color: #fff;
  background: var(--fb-blue);
  border: 1px solid var(--fb-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.site-header .header-cta .btn-solid:hover {
  background: var(--fb-navy);
  border-color: var(--fb-navy);
  box-shadow: none;
  color: #fff;
}

@media (max-width: 991px) {
  .site-header .header-cta {
    display: none;
  }
}

/* Hero rewrite */
.fb-hero-block {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2040 center/cover no-repeat;
  color: #fff;
}

.fb-hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 32, 64, 0.92) 0%,
    rgba(26, 32, 64, 0.55) 55%,
    rgba(70, 152, 255, 0.28) 100%
  );
  z-index: 0;
}

.fb-hero-block .container {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
}

.fb-hero-block .brand-mark {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--fb-blue);
  padding-left: 10px;
}

.fb-hero-block h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  max-width: 16ch;
}

.fb-hero-block .lead {
  margin: 0 0 28px;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.fb-hero-block .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.fb-hero-block .hero-actions .button,
.fb-hero-block .hero-actions .button-2 {
  margin: 0;
}

.fb-hero-block .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fb-hero-block .hero-points li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.fb-hero-block .hero-points li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--fb-blue);
  vertical-align: middle;
}

/* Trust strip */
.fb-trust-strip {
  background: var(--fb-surface);
  border-bottom: 1px solid var(--fb-line);
  padding: 28px 0;
}

.fb-trust-strip .item {
  text-align: center;
  padding: 8px 12px;
}

.fb-trust-strip .item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--fb-navy);
}

.fb-trust-strip .item span {
  color: var(--fb-muted);
  font-size: 13px;
}

/* Feature showcase */
.fb-feature-showcase {
  padding: 80px 0;
  background: var(--fb-surface);
}

.fb-feature-showcase .section-title {
  margin-bottom: 40px;
}

.fb-feature-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.fb-feature-nav button {
  border: 1px solid var(--fb-line);
  background: var(--fb-surface);
  color: var(--fb-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.fb-feature-nav button:hover,
.fb-feature-nav button.is-active {
  background: var(--fb-blue);
  border-color: var(--fb-blue);
  color: #fff;
}

.fb-feature-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  padding: 32px;
  min-height: 280px;
}

@media (max-width: 767px) {
  .fb-feature-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

.fb-feature-panel h3 {
  margin: 0 0 12px;
  color: var(--fb-navy);
  font-size: 26px;
}

.fb-feature-panel .summary {
  margin: 0 0 20px;
  color: var(--fb-muted);
  line-height: 1.7;
}

.fb-feature-panel .sub-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.fb-feature-panel .sub-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--fb-line);
  color: var(--fb-ink);
}

.fb-feature-panel .sub-list li:last-child {
  border-bottom: 0;
}

.fb-feature-panel .sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fb-blue);
}

.fb-feature-panel .sub-list strong {
  display: block;
  margin-bottom: 2px;
}

.fb-feature-panel .sub-list span {
  color: var(--fb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.fb-feature-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, #2d3666 0%, #3d5a9a 55%, #4698ff 130%);
  color: #fff;
  border-radius: 10px;
  padding: 28px;
}

.fb-feature-aside p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.fb-feature-aside .button {
  align-self: flex-start;
}

/* Why section */
.fb-why {
  padding: 80px 0;
  background: var(--fb-surface);
}

.fb-why .why-grid {
  margin-top: 20px;
}

.fb-why .why-card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--fb-line);
  border-radius: 10px;
  background: var(--fb-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-why .why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(34, 37, 56, 0.08);
}

.fb-why .why-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(70, 152, 255, 0.12);
  color: var(--fb-blue);
  font-size: 20px;
}

.fb-why .why-card h4 {
  margin: 0 0 10px;
  color: var(--fb-navy);
}

.fb-why .why-card p {
  margin: 0;
  color: var(--fb-muted);
  line-height: 1.7;
}

/* CTA band */
.fb-cta-band {
  padding: 64px 0;
  background: linear-gradient(120deg, #222538 0%, #2d3666 50%, #3a6fb8 100%);
  color: #fff;
  text-align: center;
}

.fb-cta-band h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
}

.fb-cta-band p {
  margin: 0 auto 24px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.85);
}

.fb-cta-band .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fb-cta-band .button-2 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: transparent;
}

.fb-cta-band .button-2:hover {
  color: var(--fb-navy);
  background: #fff;
  border-color: #fff !important;
}

/* Float consult */
.fb-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Only the FAB triggers — not links inside the panel */
.fb-float > a,
.fb-float > button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--fb-navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 37, 56, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.fb-float > a:hover,
.fb-float > button:hover {
  background: var(--fb-blue);
  transform: translateY(-2px);
  color: #fff;
}

.fb-float-panel {
  position: absolute;
  right: 64px;
  bottom: 0;
  width: 280px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--fb-ink);
  box-shadow: 0 18px 48px rgba(31, 36, 48, 0.18);
  border: 1px solid var(--fb-line);
}

.fb-float-panel h5 {
  margin: 0 0 8px;
  color: var(--fb-navy);
  font-size: 16px;
  font-weight: 700;
}

.fb-float-panel > p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--fb-muted);
  line-height: 1.6;
}

.fb-float-panel .button {
  width: 100%;
  height: auto;
  text-align: center;
  border-radius: 8px;
  display: inline-block;
  box-shadow: none;
}

.fb-float-contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fb-line);
}

.fb-float-contact h6 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fb-navy);
}

.fb-float-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  height: auto;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fb-ink);
  background: var(--fb-bg);
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.fb-float-contact__row:last-child {
  margin-bottom: 0;
}

.fb-float-contact__row:hover {
  background: var(--fb-blue-soft);
  color: var(--fb-blue);
  text-decoration: none;
  transform: none;
}

.fb-float-contact__row i {
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--fb-blue);
}

.fb-float-contact__row span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  word-break: break-all;
}

.fb-float-contact__row em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--fb-muted);
}

.fb-float-signin {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
  color: var(--fb-muted);
}

.fb-float-signin a {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--fb-blue);
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 575px) {
  .fb-float {
    right: 12px;
    bottom: 72px;
  }
}

/* Header layout */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--fb-header-h);
  padding: 0;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none !important;
  line-height: 1;
  min-width: 0;
}

.site-header__mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  color: #2a335f !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
  transform: translateY(0.5px);
}

.site-header__logo:hover .site-header__brand {
  color: #3b82f6 !important;
}

/* kill legacy logo height clipping from main.css */
.site-header a.site-header__logo,
.site-header .site-header__logo {
  height: auto !important;
  padding: 0 !important;
}

.site-header__logo img {
  max-height: 34px !important;
  width: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-header .header-cta {
  margin-right: 0;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 14px;
  color: #3a4358;
  text-decoration: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--fb-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.site-nav__item.is-active > .site-nav__link {
  color: var(--fb-blue);
}

.site-nav__item.is-active > .site-nav__link::after {
  transform: scaleX(1);
}

.site-nav__link:hover {
  color: var(--fb-blue);
  background: var(--fb-blue-soft);
}

.site-nav__toggle .fa {
  font-size: 12px;
  transition: transform 0.18s ease;
  opacity: 0.7;
}

.site-nav__item.is-open > .site-nav__toggle .fa {
  transform: rotate(180deg);
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(31, 36, 48, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: 0.16s ease;
  z-index: 30;
}

.site-nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.site-nav__item.is-open > .site-nav__dropdown,
.site-nav__item:hover > .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #3a4358;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  transition: 0.15s ease;
}

.site-nav__dropdown a:hover {
  color: var(--fb-blue);
  background: var(--fb-blue-soft);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--fb-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  height: 30px;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 100%;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fb-muted);
  text-decoration: none;
  line-height: 1;
}

.lang-switch__btn.is-active {
  background: var(--fb-navy);
  color: #fff;
}

/* Footer */
.site-footer .site-footer__brand .logo img {
  max-height: 40px;
  width: auto;
}

.site-footer__company {
  margin: 14px 0 0;
  color: var(--fb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer_widget .inner {
  margin-bottom: 24px;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .site-footer .footer-nav {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .text-lg-right {
    text-align: left !important;
  }
}

/* Support / resources / help / about */
.fb-page-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--fb-muted);
  line-height: 1.7;
  text-align: center;
}

.fb-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 767px) {
  .fb-resource-grid {
    grid-template-columns: 1fr;
  }
}

.fb-resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fb-resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 37, 56, 0.08);
}

.fb-resource-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--fb-muted);
}

.fb-resource-card .tag {
  color: var(--fb-blue);
  font-weight: 500;
}

.fb-resource-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--fb-navy);
}

.fb-resource-card p {
  margin: 0 0 16px;
  color: var(--fb-muted);
  line-height: 1.65;
  flex: 1;
}

.fb-resource-card .card-link {
  color: var(--fb-blue);
  text-decoration: none;
  font-weight: 500;
}

.fb-help-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .fb-help-layout {
    grid-template-columns: 1fr;
  }
}

.fb-help-side {
  position: sticky;
  top: 88px;
  padding: 16px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
}

.fb-help-side a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--fb-ink);
  text-decoration: none;
}

.fb-help-side a:hover,
.fb-help-side a.is-active {
  background: rgba(70, 152, 255, 0.08);
  color: var(--fb-blue);
}

.fb-help-block {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
}

.fb-help-block h3 {
  margin: 0 0 8px;
  color: var(--fb-navy);
}

.fb-help-block > p {
  margin: 0 0 16px;
  color: var(--fb-muted);
}

.fb-help-article {
  border-top: 1px solid var(--fb-line);
  padding: 14px 0;
}

.fb-help-article:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.fb-help-article h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--fb-ink);
}

.fb-help-article .summary {
  margin: 0 0 8px;
  color: var(--fb-muted);
  font-size: 14px;
}

.fb-help-article ul {
  margin: 0;
  padding-left: 18px;
  color: var(--fb-ink);
}

.fb-help-article li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.fb-support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 767px) {
  .fb-support-cards {
    grid-template-columns: 1fr;
  }
}

.fb-support-card {
  display: block;
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid var(--fb-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fb-support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 37, 56, 0.08);
  color: inherit;
  text-decoration: none;
}

.fb-support-card h3 {
  margin: 0 0 8px;
  color: var(--fb-navy);
}

.fb-support-card p {
  margin: 0;
  color: var(--fb-muted);
}

.fb-service-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.fb-service-points li {
  position: relative;
  padding: 4px 0 4px 14px;
  color: var(--fb-muted);
  font-size: 13px;
}

.fb-service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fb-blue);
}

.single-service .inner {
  height: 100%;
}

.faq .single-item .content {
  display: none;
}

.faq .single-item.active .content {
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.fb-service-detail {
  background: #fff;
}

.fb-service-detail__card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--fb-line);
  background: #f8fafc;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fb-service-detail__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 37, 56, 0.08);
}

.fb-service-detail__card h3 {
  margin: 0 0 10px;
  color: var(--fb-navy);
  font-size: 20px;
}

.fb-service-detail__card > p {
  margin: 0 0 8px;
  color: var(--fb-muted);
  line-height: 1.7;
}

.pricing-area .single-pricing {
  margin-bottom: 24px;
}

.pricing-area .single-pricing .inner {
  height: 100%;
}

.fb-assure {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--fb-line);
}

.fb-assure__item {
  padding: 8px 4px 12px;
}

.fb-assure__item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fb-navy);
  font-size: 16px;
}

.fb-assure__item span {
  color: var(--fb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.fb-plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1199px) {
  .fb-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fb-plan-grid {
    grid-template-columns: 1fr;
  }
}

.fb-plan-card {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
}

.fb-plan-card .inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 22px 18px 20px !important;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--fb-line);
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fb-plan-card.active .inner,
.fb-plan-card:hover .inner {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 14px 32px rgba(31, 36, 48, 0.08);
}

/* Override legacy main.css .single-pricing.active blue fill */
.fb-plan-card.active .inner {
  background: #fff;
  color: inherit;
}

.fb-plan-card.active .inner a.button {
  background-color: var(--fb-navy);
  border-color: var(--fb-navy) !important;
}

.fb-plan-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--fb-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.fb-plan-card .title {
  position: static;
  padding-right: 0;
}

.fb-plan-card .title h2 {
  margin: 0 0 6px;
  padding-right: 72px;
  font-size: 22px !important;
  color: var(--fb-navy) !important;
}

.fb-plan-card__tagline {
  margin: 0 0 14px !important;
  color: var(--fb-muted) !important;
  font-size: 13px !important;
  line-height: 1.4;
  min-height: 1.4em;
}

/* Reset legacy absolute 100x100 price badge from main.css */
.fb-plan-card .inner .title .price {
  position: static;
  right: auto;
  top: auto;
  width: auto;
  height: auto;
  display: block;
  text-align: left;
  background: transparent;
  border-radius: 0;
  margin: 0 0 8px;
  padding: 0;
  justify-content: initial;
  flex-direction: initial;
}

.fb-plan-card .inner .title .price span {
  color: inherit;
}

.fb-plan-card .inner .title .price span:first-child {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--fb-navy);
  line-height: 1.2;
}

.fb-plan-card .inner .title .price span:last-child {
  color: var(--fb-muted);
  font-size: 12px;
}

.fb-plan-card ul {
  flex: 1 1 auto;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

.fb-plan-card ul li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-bottom: 1px dashed var(--fb-line);
  color: #3a4358;
  font-size: 13px;
  line-height: 1.45;
  text-align: left !important;
}

.fb-plan-card ul li:last-child {
  border-bottom: 0;
}

.fb-plan-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fb-blue);
}

.fb-plan-card .button {
  width: 100%;
  text-align: center;
  border-radius: 8px;
  margin-top: auto;
}

.fb-plan-matrix__wrap {
  overflow-x: auto;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
}

.fb-plan-matrix__table {
  width: 100%;
  min-width: 860px;
  margin: 0;
  border-collapse: collapse;
}

.fb-plan-matrix__table th,
.fb-plan-matrix__table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--fb-line);
  font-size: 13px;
  line-height: 1.45;
  vertical-align: middle;
}

.fb-plan-matrix__table thead th {
  background: #f8fafc;
  color: var(--fb-navy);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.fb-plan-matrix__table thead th:first-child,
.fb-plan-matrix__table tbody th {
  text-align: left;
  color: var(--fb-navy);
  font-weight: 600;
  background: #f8fafc;
  white-space: nowrap;
  width: 140px;
}

.fb-plan-matrix__table tbody td {
  text-align: center;
  color: #3a4358;
}

.fb-plan-matrix__table tbody tr:last-child th,
.fb-plan-matrix__table tbody tr:last-child td {
  border-bottom: 0;
}

.fb-plan-matrix__table tbody tr:hover td,
.fb-plan-matrix__table tbody tr:hover th {
  background: rgba(59, 130, 246, 0.04);
}

/* Auth pages */
.fb-auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.16), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(42, 51, 95, 0.12), transparent 36%),
    var(--fb-bg);
  font-family: var(--fb-font);
  color: var(--fb-ink);
}

.fb-auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 28px;
}

.fb-auth-top,
.fb-auth-bottom {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.fb-auth-top {
  justify-content: space-between;
  margin-bottom: 28px;
}

.fb-auth-top__back {
  color: var(--fb-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.fb-auth-top__back:hover {
  color: var(--fb-blue);
}

.fb-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-auth-bottom {
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--fb-muted);
  font-size: 13px;
}

.fb-auth-bottom a {
  color: var(--fb-muted);
  text-decoration: none;
}

.fb-auth-bottom a:hover {
  color: var(--fb-blue);
}

.fb-auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(31, 36, 48, 0.08);
  padding: 32px 28px 28px;
}

.fb-auth-card__head {
  margin-bottom: 22px;
}

.fb-auth-card__head h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--fb-navy);
}

.fb-auth-card__head p {
  margin: 0;
  color: var(--fb-muted);
  font-size: 14px;
  line-height: 1.6;
}

.fb-auth-form__tip {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--fb-navy);
  font-size: 13px;
  line-height: 1.5;
}

.fb-auth-field {
  margin-bottom: 14px;
}

.fb-auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fb-navy);
}

.fb-auth-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  background: #fff;
  color: var(--fb-ink);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fb-auth-field input:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.fb-auth-field.is-error input,
.fb-auth-agree-wrap.is-error .fb-auth-check {
  border-color: #e25555;
}

.fb-auth-field.is-error input {
  box-shadow: 0 0 0 3px rgba(226, 85, 85, 0.12);
}

.fb-auth-field.is-error label {
  color: #d64545;
}

.fb-auth-field__error {
  margin: 6px 0 0;
  color: #d64545;
  font-size: 12px;
  line-height: 1.4;
}

.fb-auth-agree-wrap {
  margin: 8px 0 14px;
}

.fb-auth-agree-wrap .fb-auth-agree {
  margin: 0;
}

.fb-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
}

.fb-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #3a4358;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.fb-auth-check input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.fb-auth-agree a,
.fb-auth-link,
.fb-auth-switch a {
  color: var(--fb-blue);
  text-decoration: none;
}

.fb-auth-agree a:hover,
.fb-auth-link:hover,
.fb-auth-switch a:hover {
  text-decoration: underline;
}

/* Vue Notification toast */
.fb-notify-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.fb-notify {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--fb-line);
  box-shadow: 0 12px 32px rgba(31, 36, 48, 0.14);
}

.fb-notify--error {
  border-color: rgba(226, 85, 85, 0.35);
}

.fb-notify--error .fb-notify__title,
.fb-notify--error .fb-notify__msg {
  color: #d64545;
}

.fb-notify--warning .fb-notify__title,
.fb-notify--warning .fb-notify__msg {
  color: #c47d16;
}

.fb-notify--success .fb-notify__title,
.fb-notify--success .fb-notify__msg {
  color: #1f9d63;
}

.fb-notify--info .fb-notify__title {
  color: var(--fb-navy);
}

.fb-notify__body {
  flex: 1;
  min-width: 0;
}

.fb-notify__title {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fb-navy);
}

.fb-notify__msg {
  margin: 0;
  color: #3a4358;
  font-size: 13px;
  line-height: 1.45;
}

.fb-notify__close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8a93a6;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.fb-notify__close:hover {
  background: #f3f5f8;
  color: var(--fb-navy);
}

.fb-notify-enter-active,
.fb-notify-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fb-notify-enter-from,
.fb-notify-leave-to {
  opacity: 0;
  transform: translateX(12px);
}

.fb-auth-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--fb-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25);
  transition: background 0.15s ease, opacity 0.15s ease;
}

.fb-auth-submit:hover:not(:disabled) {
  background: var(--fb-navy);
}

.fb-auth-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.fb-auth-switch {
  margin: 16px 0 0;
  text-align: center;
  color: var(--fb-muted);
  font-size: 14px;
}

/* Legal pages */
.fb-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(31, 36, 48, 0.05);
}

.fb-legal__intro p,
.fb-legal__section p {
  color: #3a4358;
  line-height: 1.8;
  margin: 0 0 12px;
  font-size: 14.5px;
}

.fb-legal__section {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid var(--fb-line);
}

.fb-legal__section h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--fb-navy);
}

.fb-legal__section ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.fb-legal__section li {
  margin-bottom: 8px;
  color: #3a4358;
  line-height: 1.7;
  font-size: 14.5px;
}

.fb-legal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--fb-line);
}

.fb-legal__footer a {
  color: var(--fb-blue);
  text-decoration: none;
  font-weight: 500;
}

.fb-legal__footer a:hover {
  text-decoration: underline;
}

/* Typography / section polish against legacy main.css */
.section-title h2,
.page-title h2,
.safe-content h3,
.portfolio-content h3 {
  font-family: var(--fb-font) !important;
  letter-spacing: -0.01em;
}

.section-title p {
  color: var(--fb-muted) !important;
}

.portfolio-area {
  background: var(--fb-bg);
}

/* Compact inner-page banner (non-home) */
.page-title.sp {
  position: relative;
  padding: 36px 0 32px !important;
  background-color: #1a2040;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-title.sp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.55) 0%,
    rgba(17, 24, 39, 0.62) 100%
  );
  pointer-events: none;
}

.page-title.sp .container {
  position: relative;
  z-index: 1;
}

.page-title.sp h2 {
  margin: 0 0 6px;
  font-size: 28px !important;
  line-height: 1.25;
  font-weight: 700;
  color: #fff !important;
}

.page-title.sp p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 767px) {
  .page-title.sp {
    padding: 28px 0 24px !important;
  }

  .page-title.sp h2 {
    font-size: 22px !important;
  }
}

.fb-why {
  background: var(--fb-bg);
}

.site-footer {
  background: #fff;
}

.footer-top {
  border-top: 1px solid var(--fb-line);
}
