*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 1rem;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-700);
  background: linear-gradient(135deg, var(--gray-50) 0%, #eff6ff 100%);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; }

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover { color: var(--gray-900); text-decoration: none; }
.brand span { color: var(--blue-600); }

.brand-logo {
  height: 2.5rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  background: var(--blue-600);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-700);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: #fff;
  color: var(--gray-700) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.625rem;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600) !important;
  text-decoration: none;
}

main { flex: 1; padding: 2.5rem 0 4rem; }

.landing-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-align: center;
  padding: 0 2rem 2.5rem;
}

.accent-bar { height: 4px; width: 100%; margin: 0 -2rem 2rem; width: calc(100% + 4rem); }

.system-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.landing-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.landing-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  max-width: 36rem;
  margin: 0 auto 1rem;
}

.coming-soon {
  display: inline-block;
  margin: 1rem 0 1.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 999px;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.site-footer {
  background: var(--gray-900);
  color: #94a3b8;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer strong { color: #f1f5f9; }
.site-footer a { color: #93c5fd; }
.site-footer p + p { margin-top: 0.5rem; }

.accent-green { background: #16a34a; }
.accent-red { background: #dc2626; }
.accent-blue { background: #2563eb; }
.accent-slate { background: #475569; }
.accent-purple { background: #9333ea; }
.accent-yellow { background: #ca8a04; }
.accent-cyan { background: #0891b2; }
.accent-pink { background: #db2777; }
.accent-orange { background: #ea580c; }
.accent-teal { background: #0d9488; }
.accent-indigo { background: #4f46e5; }

.tag-green { color: #16a34a; }
.tag-red { color: #dc2626; }
.tag-blue { color: #2563eb; }
.tag-slate { color: #475569; }
.tag-purple { color: #9333ea; }
.tag-yellow { color: #ca8a04; }
.tag-cyan { color: #0891b2; }
.tag-pink { color: #db2777; }
.tag-orange { color: #ea580c; }
.tag-teal { color: #0d9488; }
.tag-indigo { color: #4f46e5; }

/* ── Full system landing pages ── */
html { scroll-behavior: smooth; }

body.full-landing main { padding: 0; }

body.full-landing .container {
  max-width: 1200px;
}

.btn-green {
  background: #16a34a !important;
}

.btn-green:hover {
  background: #15803d !important;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.landing-hero {
  padding: 3.5rem 0 4rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .landing-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.landing-hero-content h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.landing-hero-content .subheadline {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.landing-hero-content .sfbb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #15803d;
  background: #dcfce7;
  border-radius: 999px;
}

.landing-hero-visual {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.landing-hero-visual video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--gray-900);
}

.dashboard-preview {
  padding: 1.25rem;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 40%);
}

.dashboard-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-preview-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.dashboard-preview-header span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.preview-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.preview-stat .label {
  font-size: 0.65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.preview-stat .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.preview-checks {
  display: grid;
  gap: 0.4rem;
}

.preview-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-700);
  padding: 0.45rem 0.6rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
}

.preview-check.done { border-color: #bbf7d0; background: #f0fdf4; }
.preview-check .icon { font-size: 0.85rem; }

.landing-section {
  padding: 4rem 0;
}

.landing-section.alt-bg {
  background: rgba(255, 255, 255, 0.65);
}

.landing-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.landing-section .section-lead {
  text-align: center;
  color: var(--gray-500);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.social-proof {
  padding: 2.5rem 0;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.5);
}

.social-proof p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.logo-row span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: -0.01em;
}

.problem-solution {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .problem-solution {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.ps-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.ps-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}

.ps-card.problem h3 { color: #dc2626; }
.ps-card.solution h3 { color: #16a34a; }

.ps-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.ps-list .bullet {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.ps-card.problem .bullet { background: #fee2e2; color: #dc2626; }
.ps-card.solution .bullet { background: #dcfce7; color: #16a34a; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: #86efac;
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
}

.benefit-item .check {
  color: #16a34a;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.demo-visual {
  margin-top: 2.5rem;
  background: var(--gray-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-visual video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonial-card cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-card cite span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: #16a34a;
  box-shadow: 0 10px 40px rgba(22, 163, 74, 0.15);
  position: relative;
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.pricing-card .price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-card .price-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  font-size: 0.875rem;
  color: var(--gray-600);
  display: grid;
  gap: 0.5rem;
}

.pricing-cta {
  text-align: center;
}

.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-item details {
  padding: 0;
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-500);
  flex-shrink: 0;
}

.faq-item details[open] summary::after { content: "−"; }

.faq-item .answer {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.final-cta {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  color: #fff;
}

.final-cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: #dcfce7;
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
}

.final-cta .btn-primary {
  background: #fff !important;
  color: #15803d !important;
  font-size: 1rem;
  padding: 0.85rem 2rem;
}

.final-cta .btn-primary:hover {
  background: #f0fdf4 !important;
}

.site-footer.full {
  text-align: left;
}

.site-footer.full .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .site-footer.full .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.site-footer.full .footer-brand p {
  margin-top: 0.75rem;
  max-width: 20rem;
}

.site-footer.full h4 {
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.site-footer.full ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.site-footer.full ul a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
}

.site-footer.full ul a:hover { color: #93c5fd; }

.site-footer.full .footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.four-cs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.four-cs span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
