/* BuyBox Bridge - shared styles */
:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --teal: #10a5a0;
  --teal-dark: #0c837e;
  --gray-50: #f7f9fb;
  --gray-100: #eef1f5;
  --gray-300: #cbd5e1;
  --gray-600: #5b6b7f;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1120px;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .dot { color: var(--teal); }

nav.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav.main-nav a {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

nav.main-nav a:hover { color: var(--teal-dark); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 16px 24px; width: 100%; border-top: 1px solid var(--gray-100); }
  .nav-cta { margin: 16px 24px; text-align: center; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 96px 0 88px;
}

.hero .eyebrow {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 600px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  margin-left: 12px;
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-dark); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--gray-50); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 2rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

/* Cards / grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  section { padding: 56px 0; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card h3 { margin-top: 0; font-size: 1.3rem; }
.card .tag {
  display: inline-block;
  background: rgba(16,165,160,0.1);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card ul { padding-left: 20px; margin: 16px 0 0; color: var(--gray-600); }
.card ul li { margin-bottom: 8px; }

/* Process steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h4 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--gray-600); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { font-size: 1.9rem; margin: 0 0 16px; }
.cta-band p { color: var(--gray-300); margin-bottom: 28px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--gray-300);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
footer.site-footer a:hover { color: var(--teal); }
.footer-links { display: flex; gap: 24px; }

/* Form */
form.contact-form { display: grid; gap: 18px; max-width: 560px; }
.form-row { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(16,165,160,0.15);
}
textarea { resize: vertical; min-height: 120px; }

.note-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { margin: 0 0 12px; font-size: 2.2rem; }
.page-hero p { color: var(--gray-300); max-width: 620px; margin: 0; }

/* Footer contact row */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.88rem;
  color: var(--gray-300);
  margin-bottom: 16px;
}
.footer-contact a { color: var(--gray-300); }
.footer-contact a:hover { color: var(--teal); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  max-width: 760px;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 4px 24px;
  margin-bottom: 14px;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.3rem;
  color: var(--teal-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--gray-600); margin: 0 0 20px; }

/* Example listing mockups */
.example-block { margin-bottom: 56px; }
.example-tag-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.illustrative-badge {
  display: inline-block;
  background: rgba(11,37,69,0.06);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.listing-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .listing-compare { grid-template-columns: 1fr; } }
.listing-mock {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}
.listing-mock.before { border-top: 4px solid #d97706; }
.listing-mock.after { border-top: 4px solid var(--teal); }
.listing-mock .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.listing-mock.before .label { color: #d97706; }
.listing-mock.after .label { color: var(--teal-dark); }
.mock-img {
  background: var(--gray-100);
  height: 140px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.mock-title { font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.listing-mock.before .mock-title { color: var(--gray-600); font-weight: 500; }
.mock-bullets { padding-left: 18px; margin: 0; color: var(--gray-600); font-size: 0.92rem; }
.mock-bullets li { margin-bottom: 6px; }
.mock-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 10px; }
.mock-stars.faint { color: var(--gray-300); }

/* Chat widget */
#bb-chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 200;
}
#bb-chat-toggle:hover { background: var(--teal-dark); }
#bb-chat-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  height: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(11,37,69,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  border: 1px solid var(--gray-100);
}
#bb-chat-panel.open { display: flex; }
#bb-chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#bb-chat-header button {
  background: none; border: none; color: var(--white);
  font-size: 1.1rem; cursor: pointer;
}
#bb-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.bb-msg { padding: 10px 14px; border-radius: 12px; max-width: 85%; line-height: 1.45; }
.bb-msg.bot { background: var(--gray-50); color: var(--navy); align-self: flex-start; border-bottom-left-radius: 2px; }
.bb-msg.user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 2px; }
#bb-chat-form { display: flex; border-top: 1px solid var(--gray-100); }
#bb-chat-form input {
  flex: 1; border: none; padding: 12px 14px; font-size: 0.9rem; border-radius: 0;
}
#bb-chat-form input:focus { outline: none; box-shadow: none; }
#bb-chat-form button {
  background: var(--navy); color: var(--white); border: none; padding: 0 18px; cursor: pointer; font-weight: 700;
}
#bb-chat-form button:hover { background: var(--navy-dark); }

/* Hero illustration */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration svg { width: 100%; max-width: 380px; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; margin-bottom: 8px; }
  .hero-illustration svg { max-width: 260px; }
}

/* Card icon badges */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16,165,160,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Process step icon */
.step-num svg { width: 20px; height: 20px; }

/* Pricing page */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--teal); }
.save-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { margin: 6px 0 4px; font-size: 1.15rem; }
.price-card .sku-range { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 18px; }
.price-old {
  color: var(--gray-300);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.price-new {
  color: var(--navy);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 2px 0 4px;
}
.price-new span { font-size: 0.95rem; font-weight: 600; color: var(--gray-600); }
.price-card ul { padding-left: 18px; margin: 16px 0; color: var(--gray-600); font-size: 0.9rem; flex: 1; }
.price-card ul li { margin-bottom: 8px; }

.quote-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.quote-callout p { margin: 0; color: var(--gray-300); }
.quote-callout h3 { margin: 0 0 6px; color: var(--white); }
.quote-callout .btn-primary { flex: none; }

.brandmark {
  display: block;
  max-width: 340px;
  margin: 0 auto 8px;
}
.brandmark-wrap { text-align: center; padding: 40px 0 8px; }

.pricing-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
