/* MODERN CSS RESET */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
    scroll-behavior: smooth;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  padding-top: 70px; /* offset for fixed navbar */
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}












body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #ffffff;
}

.fb-navbar{
    margin: 0 auto;
    padding: 12px 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    background: #ffffff;
    backdrop-filter: saturate(180%) blur(6px);
    border-bottom: 1px solid #eae7e4;
}

.fb-navbar a img{
    margin: 0;
    max-width: 180px;
}

.fb-hero{
    margin: 40px auto 20px auto;
    text-align: center;
    padding: 40px 16px 0 16px;
    
}

.fb-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #040200;
  line-height: 46px;
}

.fb-hero-sub-title {
  font-size: 20px;
  font-weight: 400;
  color: #040200;
  margin: 10px 0 25px 0;
}

.fb-hero-helper {
  font-size: 14px;
  color:#2a2824;
  margin-top: 10px;
}


.fb-hero a button{
    cursor: pointer;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
}

.fb-hero .fb-button-primary {
    background-color: #F2CC67;
    color: #040200;
    border: none;
    padding: 12px 25px;
    margin: 0px 5px;
}

.fb-hero .fb-button-secondary {
    background-color: #ffffff;
    color: #040200;
    border: 1px solid #a2a09d;
    padding: 12px 25px;
    margin: 0px 5px;
}

#features{
  background-color: #ffffff;
}

#faq{
  background-color: #ffffff;
}

.fb-how{
    margin: 20px auto;
    text-align: center;
}


.fb-how img{
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}


footer {
  text-align: center;
}


footer p{
    text-align: center;
    margin: 60px auto;
    font-size: 14px;
    color: #2a2824;
}



/* Accessibility */
.fb-skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fb-skip-link:focus{
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #fff;
  color: #040200;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #a2a09d;
  z-index: 1000;
}

/* Navbar */
.fb-nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fb-brand{ display: inline-flex; align-items: center; }
.fb-nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.fb-nav-bar{
  display: block;
  width: 24px;
  height: 2px;
  background: #040200;
  margin: 5px 0;
  border-radius: 2px;
}
.fb-nav-links{
  display: flex;
  gap: 25px;
  align-items: center;
}
.fb-nav-links a{
  color: #040200;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.fb-nav-cta{ display: flex; gap: 10px; margin-left: 10px; }
.fb-link-primary, .fb-link-secondary{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
}
.fb-link-primary{
  background-color: #F2CC67;
  color: #040200;
}
.fb-link-secondary{
  background-color: #ffffff;
  color: #040200;
  border: 1px solid #a2a09d;
}
.fb-link-primary:hover{ filter: brightness(0.95); }
.fb-link-secondary:hover{ background: #f7f6f3; }

/* Buttons */
.fb-button-primary, .fb-button-secondary{
  cursor: pointer;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
}
.fb-button-primary{
  background-color: #F2CC67;
  color: #040200;
  border: none;
}
.fb-button-secondary{
  background-color: #ffffff;
  color: #040200;
  border: 1px solid #a2a09d;
}
.fb-button-primary:hover{ filter: brightness(1.05); transition: all 0.6s ease; }
.fb-button-secondary:hover{ background: #f7f6f3; transition: all 0.6s ease; }
.fb-hero-cta{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fb-hero-sub{ font-size: 14px; color: #2a2824; margin-top: 10px; }

/* Sections */
.fb-section{ padding: 60px 0; scroll-margin-top: 90px; }
.fb-section.alt{ background: #EFE9DE; }
.fb-container{ max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.fb-section h2{ font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; color: #040200; }
.fb-section-lead{ text-align: center; color: #2a2824; margin-bottom: 28px; }

/* How */
.fb-how{ text-align: center; }
.fb-how-wrap{ display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.fb-steps{ list-style: none; padding: 0; margin: 0 auto; max-width: 520px; text-align: left; }
.fb-steps li{ display: flex; align-items: center; gap: 10px; margin: 8px 0; color: #040200; }
.fb-steps li span{ display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 999px; background: #040200; color: #F2EDE3; font-weight: 700; }

/* Grids/Cards */
.fb-grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fb-grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fb-card{ background: #0f0f0f; border: 1px solid #e2dfda; border-radius: 12px; padding: 30px 35px; }
.fb-card-icon{ width: 100%; height: 280px; display: inline-flex; align-items: center; justify-content: center; background: #F3E7C6; border-radius: 10px; padding: 40px; margin-bottom: 15px; }
.fb-card h3{ font-size: 18px; margin-bottom: 6px; color: #f2cc67; font-weight: 500; }
.fb-card p{ font-size: 15px; color: #cccccc; }

/* Code */
.fb-code-wrap{ position: relative; max-width: 800px; margin: 0 auto; }
.fb-screens img{ margin: 0 auto; max-width: 300px; margin-bottom: 15px;}
.fb-screens .fb-code{ background: #0f0f0f; color: #eaeaea; border-radius: 10px; padding: 16px; overflow: auto; }
.fb-screens code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 14px; }
.fb-copy-btn{ position: absolute; right: 8px; top: 8px; background: #F2CC67; color: #040200; border: 0; border-radius: 6px; padding: 8px 10px; font-weight: 700; cursor: pointer; }
.fb-copy-toast{ text-align: center; font-size: 14px; color: #040200; margin-top: 10px; min-height: 18px; }

/* Pricing */
.fb-pricing .fb-price-card{ background: #fff; border: 2px solid #e2dfda; border-radius: 14px; padding: 20px; text-align: center; }
.fb-pricing .fb-price-card h3{ font-size: 20px; }
.fb-pricing .fb-price{ font-size: 36px; font-weight: 700; margin: 6px 0 12px 0; }
.fb-pricing .fb-price span{ font-size: 14px; font-weight: 600; color: #2a2824; }
.fb-pricing ul{ list-style: none; padding: 0; margin: 10px 0 18px 0; }
.fb-pricing li{ margin: 8px 0; color: #2a2824; }
.fb-price-btn{ display: inline-block; margin-top: 4px; }
.fb-price-card.fb-featured{ border-color: #F2CC67; box-shadow: 0 6px 0 #F2CC67; }

/* Testimonials */
.fb-testimonials .fb-quote{ background: #fff; border-left: 4px solid #F2CC67; padding: 16px; border-radius: 8px; color: #040200; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.fb-avatar{ width: 36px; height: 36px; border-radius: 999px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; }
.fb-testimonials cite{ display: block; margin-top: 8px; color: #2a2824; font-style: normal; }

/* Metrics */
.fb-metrics-grid{ align-items: stretch; }
.fb-metric{ background: #fff; border: 1px solid #e2dfda; border-radius: 12px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.fb-metric strong{ font-size: 28px; line-height: 1; }
.fb-metric span{ color: #2a2824; }

/* Compare */
.fb-compare-table{ display: grid; grid-template-columns: 1fr; border: 1px solid #e2dfda; border-radius: 12px; overflow: hidden; background: #fff; }
.fb-compare-header, .fb-compare-row{ display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; padding: 12px 16px; }
.fb-compare-header{ background: #F3E7C6; font-weight: 700; }
.fb-compare-row:nth-child(even){ background: #faf8f4; }
.fb-compare-row span{ display: block; }

/* Changelog */
.fb-changelog-grid{ align-items: stretch; }
.fb-changelog-card{ background: #fff; border: 1px solid #e2dfda; border-radius: 12px; padding: 16px; }

/* Contact */
.fb-contact{ text-align: center; }
.fb-copy-wrap{ display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fb-email{ font-weight: 700; color: #040200; }
.fb-copy-email{ background: #fff; border: 1px solid #a2a09d; padding: 8px 10px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; }
.fb-copy-email:hover{ background: #f7f6f3; }

/* Legal */
.fb-legal .fb-legal-links{ text-align: center; margin-top: 16px; }
.fb-legal .fb-legal-links a{ color: #040200; font-weight: 700; text-decoration: none; }

/* FAQ */
.fb-faq .fb-faq-list{ max-width: 800px; margin: 0 auto; }
.fb-faq details{ background: #fff; border: 1px solid #a2a09d; border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
.fb-faq summary{ cursor: pointer; font-weight: 700; color: #040200; list-style: none; position: relative; padding-right: 28px; }
.fb-faq summary::-webkit-details-marker{ display: none; }
.fb-faq summary::after{ content: "▾"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); transition: transform .2s ease; }
.fb-faq details[open] summary::after{ transform: translateY(-50%) rotate(180deg); }
.fb-faq p{ margin-top: 8px; color: #2a2824; }

.fb-cta {text-align: center;}

/* Footer */
.fb-footer{ margin-top: 100px; padding: 100px 0 40px 0; background-color: #e2decf; }
.fb-footer-meta{ display: flex; align-items: center; gap: 12px; }
.fb-footer-links a{ color: #040200; text-decoration: none; font-weight: 500; margin: 0 20px; }

/* Responsive */
@media (max-width: 900px){
  .fb-grid-3{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .fb-nav-toggle{ display: inline-block; }
  .fb-nav-links{ position: absolute; left: 0; right: 0; top: 64px; background: #F2EDE3; border-top: 1px solid #e2dfda; display: block; overflow: hidden; max-height: 0; opacity: 0; transform: translateY(-6px); transition: max-height .3s ease, opacity .25s ease, transform .25s ease; }
  .fb-nav-links.open{ max-height: 320px; opacity: 1; transform: translateY(0); padding: 12px 16px; display: block; }
  .fb-nav-links a, .fb-nav-cta{ display: block; margin: 8px 0; }
  .fb-grid-3{ grid-template-columns: 1fr; }
  .fb-grid-2{ grid-template-columns: 1fr; }
  .fb-footer{ flex-direction: column; align-items: flex-start; }
  .fb-card-icon{ height: auto; }
}

@media (min-width: 900px){
  .fb-how-wrap{ grid-template-columns: 1fr; }
  .fb-steps{ max-width: none; }
  .fb-steps li{ margin: 0; }
  .fb-steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
