/* ==========================================================================
   BidForge Marketing Site — light/enterprise theme
   Fully scoped under .bf-mktg so it never touches the app/dashboard themes.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@700,900&display=swap');

.bf-mktg {
  --bf-orange: #FF6A00;
  --bf-orange-dark: #E85D00;
  --bf-orange-soft: rgba(255, 106, 0, 0.08);
  --bf-ink: #0D0A0A;
  --bf-text: #1F2937;
  --bf-muted: #6B7280;
  --bf-border: #E8E6E2;
  --bf-bg: #FFFFFF;
  --bf-bg-alt: #FAF9F7;
  --bf-shadow: 0 1px 3px rgba(13, 10, 10, 0.06), 0 8px 24px rgba(13, 10, 10, 0.05);
  --bf-shadow-lg: 0 20px 50px rgba(13, 10, 10, 0.10);
  --bf-radius: 14px;

  font-family: 'Inter', system-ui, sans-serif;
  color: var(--bf-text);
  background: var(--bf-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bf-mktg *,
.bf-mktg *::before,
.bf-mktg *::after { box-sizing: border-box; }

.bf-mktg h1,
.bf-mktg h2,
.bf-mktg h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  color: var(--bf-ink);
  letter-spacing: -0.02em;
}

.bf-mktg p { color: var(--bf-text); }
.bf-mktg a { color: inherit; text-decoration: none; }

.bf-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.bf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bf-border);
}
.bf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.bf-brand { display: flex; align-items: center; gap: 0.6rem; }
.bf-brand img { height: 38px; width: auto; }
.bf-brand-name {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--bf-ink);
  letter-spacing: -0.01em;
}
.bf-nav { display: flex; align-items: center; gap: 2rem; }
.bf-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--bf-muted);
  transition: color 0.18s ease;
}
.bf-nav a:hover { color: var(--bf-ink); }
.bf-header-actions { display: flex; align-items: center; gap: 1rem; }

.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.bf-btn-primary {
  background: var(--bf-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.28);
}
.bf-btn-primary:hover { background: var(--bf-orange-dark); transform: translateY(-1px); }
.bf-btn-ghost {
  background: transparent;
  color: var(--bf-ink);
  border-color: var(--bf-border);
}
.bf-btn-ghost:hover { border-color: var(--bf-orange); color: var(--bf-orange); }
.bf-btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; }
.bf-link-quiet { font-weight: 600; font-size: 0.95rem; color: var(--bf-muted); }
.bf-link-quiet:hover { color: var(--bf-ink); }

/* ---------- Hero ---------- */
.bf-hero {
  position: relative;
  text-align: center;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}
.bf-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.10), transparent 62%);
  pointer-events: none;
}
.bf-hero-logo {
  display: block;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--bf-shadow-lg);
}
.bf-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  max-width: 14ch;
  margin: 0 auto 1.25rem;
}
.bf-hero-sub {
  font-size: 1.18rem;
  color: var(--bf-muted);
  max-width: 640px;
  margin: 0 auto 2.25rem;
}
.bf-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.bf-pull-quote {
  max-width: 720px;
  margin: 3.5rem auto 0;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--bf-orange);
  background: var(--bf-bg-alt);
  border-radius: 0 var(--bf-radius) var(--bf-radius) 0;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bf-ink);
  text-align: left;
}

/* ---------- Sections ---------- */
.bf-section { padding: 5rem 0; }
.bf-section-alt { background: var(--bf-bg-alt); border-top: 1px solid var(--bf-border); border-bottom: 1px solid var(--bf-border); }
.bf-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bf-orange);
  text-align: center;
  margin-bottom: 0.75rem;
}
.bf-section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.9rem;
}
.bf-section-lead {
  max-width: 660px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--bf-muted);
  font-size: 1.08rem;
}

/* ---------- Stat strip ---------- */
.bf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.bf-stat { text-align: center; }
.bf-stat-num {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--bf-orange);
  line-height: 1;
}
.bf-stat-label { color: var(--bf-muted); font-size: 0.95rem; margin-top: 0.4rem; }

/* ---------- Cards ---------- */
.bf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bf-card {
  background: var(--bf-bg);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  padding: 2rem;
  box-shadow: var(--bf-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bf-card:hover { transform: translateY(-4px); box-shadow: var(--bf-shadow-lg); border-color: rgba(255, 106, 0, 0.4); }
.bf-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bf-orange-soft);
  margin-bottom: 1.25rem;
}
.bf-card-icon img { width: 36px; height: 36px; object-fit: contain; }
.bf-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.bf-card p { color: var(--bf-muted); font-size: 0.98rem; }

/* ---------- How it works ---------- */
.bf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.bf-step { position: relative; padding: 1.5rem; }
.bf-step-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bf-ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.bf-step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.bf-step p { color: var(--bf-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.bf-cta-band {
  background: var(--bf-ink);
  border-radius: 22px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bf-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.25), transparent 60%);
}
.bf-cta-band h2 { color: #fff; position: relative; margin-bottom: 0.75rem; }
.bf-cta-band p { color: rgba(255, 255, 255, 0.7); position: relative; max-width: 560px; margin: 0 auto 2rem; }
.bf-cta-band .bf-hero-cta { position: relative; }

/* ---------- Footer ---------- */
.bf-footer {
  margin-top: auto;
  background: var(--bf-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}
.bf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.bf-footer-brand img { height: 40px; margin-bottom: 1rem; }
.bf-footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; max-width: 30ch; }
.bf-footer h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; font-family: 'Satoshi', sans-serif; }
.bf-footer ul { list-style: none; padding: 0; margin: 0; }
.bf-footer li { margin-bottom: 0.6rem; }
.bf-footer a { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; transition: color 0.18s ease; }
.bf-footer a:hover { color: var(--bf-orange); }
.bf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Legal / FAQ content pages ---------- */
.bf-page-head {
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--bf-border);
}
.bf-page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.bf-page-head p { color: var(--bf-muted); margin-top: 0.75rem; }
.bf-prose { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.bf-prose h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; color: var(--bf-ink); }
.bf-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.bf-prose p { margin-bottom: 1rem; color: var(--bf-text); }
.bf-prose ul { margin: 0 0 1rem 1.25rem; }
.bf-prose li { margin-bottom: 0.5rem; }
.bf-prose a { color: var(--bf-orange); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.bf-faq { max-width: 780px; margin: 0 auto; }
.bf-faq-item {
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  margin-bottom: 0.85rem;
  background: var(--bf-bg);
  overflow: hidden;
}
.bf-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bf-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bf-faq-item summary::-webkit-details-marker { display: none; }
.bf-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--bf-orange);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.bf-faq-item[open] summary::after { transform: rotate(45deg); }
.bf-faq-item .bf-faq-body { padding: 0 1.5rem 1.35rem; color: var(--bf-muted); }

/* ---------- Format pills (parser) ---------- */
.bf-format-group { margin-bottom: 1.75rem; }
.bf-format-group h3 { font-size: 1.05rem; color: var(--bf-ink); margin-bottom: 0.75rem; }
.bf-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bf-pill {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bf-ink);
  background: var(--bf-bg-alt);
  border: 1px solid var(--bf-border);
  border-radius: 7px;
  padding: 0.35rem 0.7rem;
}
.bf-pill-note { color: var(--bf-muted); font-size: 0.92rem; margin-top: 1rem; }

/* ---------- Split feature row ---------- */
.bf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.bf-split h2 { text-align: left; }
.bf-split .bf-eyebrow { text-align: left; }
.bf-split ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.bf-split li { position: relative; padding-left: 1.75rem; margin-bottom: 0.85rem; color: var(--bf-text); }
.bf-split li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--bf-orange); font-weight: 800;
}
.bf-split-card {
  background: var(--bf-ink);
  color: #fff;
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: var(--bf-shadow-lg);
}
.bf-split-card h4 { color: #fff; font-family: 'Satoshi', sans-serif; margin-bottom: 1rem; font-size: 1.1rem; }
.bf-split-card .bf-tier { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }
.bf-split-card .bf-tier:last-child { border-bottom: none; }
.bf-split-card .bf-tier span:first-child { color: rgba(255,255,255,0.85); }
.bf-split-card .bf-tier span:last-child { color: var(--bf-orange); font-weight: 700; }

/* ---------- Trades grid ---------- */
.bf-trades { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.bf-trade {
  border: 1px solid var(--bf-border);
  border-radius: 11px;
  padding: 1.1rem 1.25rem;
  background: var(--bf-bg);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bf-trade:hover { border-color: rgba(255,106,0,0.4); transform: translateX(3px); }
.bf-trade strong { display: block; color: var(--bf-ink); font-family: 'Satoshi', sans-serif; font-size: 1.02rem; margin-bottom: 0.2rem; }
.bf-trade span { color: var(--bf-muted); font-size: 0.9rem; line-height: 1.5; }

/* ---------- Mobile ---------- */
.bf-menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--bf-ink); }
@media (max-width: 860px) {
  .bf-nav { display: none; }
  .bf-grid, .bf-steps, .bf-stats { grid-template-columns: 1fr 1fr; }
  .bf-footer-grid { grid-template-columns: 1fr 1fr; }
  .bf-split { grid-template-columns: 1fr; gap: 2rem; }
  .bf-trades { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bf-grid, .bf-steps, .bf-stats, .bf-footer-grid { grid-template-columns: 1fr; }
  .bf-header-actions .bf-link-quiet { display: none; }
}
