/* ============================================================================
   EditBook.ai — static fallback landing styles
   Self-contained: only depends on Bootstrap 5 + Bootstrap Icons + Google Fonts
   (all loaded from public CDNs), never on the EditBook origin server.
   Shared by the English (/index.html) and Dutch (/nl/index.html) pages.
   ========================================================================== */

:root {
  --eb-navy:  #0b1c3f;
  --eb-amber: #c8913a;
  --eb-amber-dark: #b07e30;
  --eb-cream: #faf8f4;
  --eb-font-heading: 'Playfair Display', Georgia, serif;
  --eb-font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--eb-font-body);
  color: #1f2937;
  background: var(--eb-cream);
}

h1, h2, h3, h4, h5, h6,
.display-4, .display-5, .display-6,
.founder-signature {
  font-family: var(--eb-font-heading);
}

a { color: var(--eb-amber-dark); }
a:hover { color: var(--eb-amber); }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.fb-navbar {
  background: var(--eb-navy);
}
.fb-navbar .navbar-brand,
.fb-navbar .nav-link {
  color: #fff;
}
.fb-navbar .nav-link { opacity: 0.82; }
.fb-navbar .nav-link:hover { opacity: 1; color: #fff; }
.brand-suffix {
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.brand-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Maintenance banner (sticky) ────────────────────────────────────────── */
.fb-maint-banner {
  background: var(--eb-amber);
  color: #fff;
  font-weight: 500;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}
.fb-maint-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* ── Language switcher (native <details> dropdown, no JS) ───────────────── */
.fb-lang { position: relative; }
.fb-lang > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.375rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.fb-lang > summary::-webkit-details-marker { display: none; }
.fb-lang > summary::marker { content: ""; }
.fb-lang > summary .bi-chevron-down { font-size: 0.65rem; opacity: 0.8; }
.fb-lang[open] > summary { background: rgba(255, 255, 255, 0.12); }
.fb-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  background: #fff;
  border: 1px solid rgba(11, 28, 63, 0.1);
  border-radius: 0.6rem;
  box-shadow: 0 12px 32px rgba(11, 28, 63, 0.18);
  padding: 0.4rem;
  min-width: 210px;
  z-index: 1080;
  max-height: 70vh;
  overflow: auto;
}
.fb-lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  color: var(--eb-navy);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.fb-lang-menu a:hover { background: var(--eb-cream); color: var(--eb-navy); }
.fb-lang-menu a.active { font-weight: 700; background: rgba(200, 145, 58, 0.12); }
.fb-lang-menu .flag { font-size: 1.05rem; line-height: 1; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-amber {
  background: var(--eb-amber);
  border-color: var(--eb-amber);
  color: #fff;
  font-weight: 600;
}
.btn-amber:hover,
.btn-amber:focus {
  background: var(--eb-amber-dark);
  border-color: var(--eb-amber-dark);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.fb-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 90% 0%, rgba(200, 145, 58, 0.10), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(11, 28, 63, 0.06), transparent 55%),
    var(--eb-cream);
  border-bottom: 1px solid rgba(11, 28, 63, 0.06);
}
.fb-eyebrow {
  display: inline-block;
  background: rgba(200, 145, 58, 0.13);
  color: var(--eb-amber-dark);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

/* Decorative "mock editor" card in the hero */
.fb-mock {
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 32px 72px rgba(11, 28, 63, 0.18);
  border: 1px solid rgba(11, 28, 63, 0.07);
  overflow: hidden;
}
.fb-mock-bar {
  background: var(--eb-navy);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.fb-mock-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.fb-mock-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  margin-left: 0.6rem;
}
.fb-mock-body { padding: 1.25rem 1.4rem; }
.fb-mock-line {
  height: 0.62rem;
  border-radius: 999px;
  background: #e9edf3;
  margin-bottom: 0.7rem;
}
.fb-mock-line.short { width: 55%; }
.fb-mock-line.ins {
  background: rgba(34, 139, 87, 0.18);
  border-left: 3px solid #228b57;
}
.fb-mock-line.del {
  background: rgba(200, 60, 60, 0.14);
  border-left: 3px solid #c83c3c;
  width: 70%;
}
.fb-mock-comment {
  margin-top: 1rem;
  background: var(--eb-cream);
  border: 1px solid rgba(11, 28, 63, 0.08);
  border-radius: 0.6rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: #4b5563;
}
.fb-mock-comment .bi { color: var(--eb-amber); }

/* ── Section helpers ────────────────────────────────────────────────────── */
.fb-section { padding: 4rem 0; }
.fb-section-cream { background: var(--eb-cream); }
.feature-tag {
  display: inline-block;
  background: rgba(200, 145, 58, 0.13);
  color: var(--eb-amber-dark);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
}
.text-navy { color: var(--eb-navy) !important; }

/* ── Persona / feature / metric cards ───────────────────────────────────── */
.fb-card {
  height: 100%;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(11, 28, 63, 0.07);
  box-shadow: 0 6px 28px rgba(11, 28, 63, 0.07);
  padding: 1.6rem 1.6rem;
}
.fb-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 0.85rem;
  background: rgba(11, 28, 63, 0.06);
  color: var(--eb-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.fb-card .card-icon.amber {
  background: rgba(200, 145, 58, 0.15);
  color: var(--eb-amber-dark);
}

/* ── How it works steps ─────────────────────────────────────────────────── */
.fb-step-number {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--eb-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Founder ────────────────────────────────────────────────────────────── */
.founder-quote {
  border-left: 4px solid var(--eb-amber);
  padding-left: 1.5rem;
  font-style: italic;
  color: #374151;
  line-height: 1.8;
}
.founder-signature {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--eb-navy);
  margin: 0;
}

/* ── Maintenance callout card ───────────────────────────────────────────── */
.fb-maint-card {
  background: var(--eb-navy);
  color: #fff;
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
}
.fb-maint-card .maint-icon {
  font-size: 2.75rem;
  color: var(--eb-amber);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.fb-footer {
  background: var(--eb-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}
.fb-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.fb-footer a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .fb-section { padding: 3rem 0; }
}
