/* Fully Booked AI brand — demo page theme.
 * Tokens + components lifted from the live fullybookedai.co.uk design system:
 * dark navy + purple→pink gradient, Plus Jakarta Sans, eyebrow pills,
 * rounded cards, dark bands, gradient stat numbers.
 */

:root {
  --fb-dark: #0f0b1e;       /* dark navy */
  --fb-card: #161226;       /* card navy */
  --fb-accent: #6c3de8;     /* purple */
  --fb-pink: #ec4899;       /* pink */
  --fb-lilac: #a78bfa;
  --fb-rose: #f9a8d4;
  --fb-ink: #0f0b1e;
  --fb-body: #3d3a52;       /* body text on light */
  --fb-muted: #6b6880;
  --fb-line: rgba(108, 61, 232, 0.14);
  --fb-grad: linear-gradient(135deg, #6c3de8 0%, #ec4899 100%);
  --fb-maxw: 1080px;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: var(--fb-ink);
}

.fb * { box-sizing: border-box; }
.fb-wrap { max-width: var(--fb-maxw); margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.fb-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 11, 30, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(108, 61, 232, 0.25);
}
.fb-nav-inner {
  max-width: var(--fb-maxw); margin: 0 auto; height: 64px;
  padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
}
.fb-wordmark {
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px;
  background: var(--fb-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-nav-tag { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }

/* ---- hero ---- */
.fb-hero {
  position: relative; overflow: hidden; background: #fff;
  padding: 64px 0 72px; text-align: center;
}
.fb-hero::before {
  content: ""; position: absolute; top: -160px; right: -160px;
  width: 760px; height: 760px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(at 60% 40%, rgba(139, 92, 246, 0.18) 0%,
    rgba(236, 72, 153, 0.12) 45%, transparent 70%);
}
.fb-hero-inner { position: relative; z-index: 1; }
.fb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(108, 61, 232, 0.08), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(108, 61, 232, 0.2);
  padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 700; color: var(--fb-accent); margin-bottom: 22px;
}
.fb-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fb-grad); }
.fb-h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.06;
  letter-spacing: -1.5px; color: var(--fb-ink);
  margin: 0 auto 20px; max-width: 18ch;
}
.fb-h1 .grad {
  background: var(--fb-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fb-sub {
  font-size: 18px; color: var(--fb-body); line-height: 1.6;
  margin: 0 auto 30px; max-width: 56ch;
}
.fb-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.fb-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--fb-grad); color: #fff; padding: 15px 32px; border-radius: 9px;
  font-size: 15px; font-weight: 700; box-shadow: 0 10px 30px rgba(108, 61, 232, 0.35);
  transition: transform 0.2s;
}
.fb-btn:hover { transform: translateY(-2px); color: #fff; }
.fb-btn-ghost {
  display: inline-flex; align-items: center; text-decoration: none;
  background: transparent; color: var(--fb-ink); padding: 15px 26px; border-radius: 9px;
  font-size: 15px; font-weight: 600; border: 1.5px solid rgba(108, 61, 232, 0.25);
  transition: border-color 0.2s, color 0.2s;
}
.fb-btn-ghost:hover { border-color: var(--fb-accent); color: var(--fb-accent); }

/* ---- video (founder / pitch) ---- */
.fb-video {
  margin: 38px auto 0; max-width: 640px; position: relative; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 34px 80px -30px rgba(108, 61, 232, 0.45);
}
.fb-video iframe, .fb-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.pv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15, 11, 30, 0.6); z-index: 3; display: grid; place-items: center;
  transition: background 0.15s ease, transform 0.1s ease;
}
.pv-play:hover { background: rgba(108, 61, 232, 0.85); }
.pv-play:active { transform: translate(-50%, -50%) scale(0.95); }
.pv-play::before {
  content: ""; display: block; width: 0; height: 0; margin-left: 5px;
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

/* ---- generic section ---- */
.fb-section { padding: 72px 0; }
.fb-h2 {
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -1px;
  line-height: 1.14; margin: 0 0 28px; color: inherit;
}
.fb-lead { font-size: 17px; color: var(--fb-body); line-height: 1.6; margin: 0 0 32px; max-width: 56ch; }

/* dark band (solution + calculator) */
.fb-band { background: var(--fb-dark); color: #fff; }
.fb-band .fb-h2 { color: #fff; }
.fb-band .fb-lead { color: rgba(255, 255, 255, 0.72); }

/* ---- problem (PAS) ---- */
.fb-painlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.fb-painlist li {
  position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; color: var(--fb-body);
}
.fb-painlist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--fb-accent), var(--fb-pink));
}

/* ---- solution pillars ---- */
.fb-pillars { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 800px) { .fb-pillars { grid-template-columns: repeat(3, 1fr); } }
.fb-pillar {
  background: var(--fb-card); border: 1px solid rgba(108, 61, 232, 0.3);
  border-radius: 16px; padding: 28px 24px;
}
.fb-pillar-n {
  font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--fb-lilac), var(--fb-pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fb-pillar h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 9px; }
.fb-pillar p { font-size: 15px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; margin: 0; }

/* ---- "we saw your ad" card ---- */
.fb-adsec { text-align: center; }
.fb-ad-lead { font-size: 22px; font-weight: 800; margin: 0 0 6px; color: var(--fb-ink); }
.fb-ad-bridge { color: var(--fb-muted); margin: 0 auto 26px; max-width: 48ch; }
.adcard {
  text-align: left; max-width: 440px; margin: 0 auto; background: #fff;
  border: 1px solid var(--fb-line); border-radius: 14px;
  box-shadow: 0 18px 48px -30px rgba(108, 61, 232, 0.5); overflow: hidden;
}
.adcard-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; }
.adcard-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; color: #fff;
  background: var(--fb-grad); font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.adcard-name { font-weight: 700; font-size: 15px; }
.adcard-spon { font-size: 12px; color: var(--fb-muted); }
.adcard-head { padding: 0 16px; font-weight: 700; font-size: 16px; }
.adcard-text { padding: 8px 16px 14px; color: var(--fb-ink); line-height: 1.5; }
.adcard-cta {
  border-top: 1px solid var(--fb-line); background: #f7f5ff;
  padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--fb-accent);
}

/* ---- live demo ---- */
.fb-demo { text-align: center; }
.fb-demo .fb-lead { margin-left: auto; margin-right: auto; }
.fb-phonewrap { display: flex; justify-content: center; margin-top: 8px; }

/* ---- calculator (dark band) ---- */
.fb-calc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 640px; margin: 0 0 30px; }
@media (min-width: 680px) { .fb-calc-grid { grid-template-columns: 1fr 1fr; } }
.fb-field {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.fb-field input[type="number"], .fb-field select {
  background: var(--fb-card); border: 1px solid rgba(108, 61, 232, 0.4); color: #fff;
  border-radius: 10px; padding: 12px 14px; font-size: 16px; font-family: inherit; outline: none;
}
.fb-field input[type="number"]:focus, .fb-field select:focus { border-color: var(--fb-lilac); }
.fb-field input[type="range"] { accent-color: var(--fb-pink); margin-top: 4px; }
.fb-conv-out { color: var(--fb-rose); font-weight: 800; }
.fb-calc-result {
  background: var(--fb-grad); border-radius: 18px; padding: 30px 24px;
  text-align: center; max-width: 640px;
}
.fb-calc-label { font-size: 15px; color: rgba(255, 255, 255, 0.92); margin-bottom: 4px; }
.fb-calc-big { font-size: clamp(40px, 9vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -2px; color: #fff; }
.fb-calc-sub { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.92); }

/* ---- comparison ---- */
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-head { margin-bottom: 8px; }
.cmp-h-today, .cmp-h-with {
  font-weight: 800; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding: 0 4px;
}
.cmp-h-today { color: var(--fb-muted); }
.cmp-h-with {
  background: var(--fb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cmp-row { margin-bottom: 12px; }
.cmp-today, .cmp-with { border-radius: 12px; padding: 16px 18px; font-size: 15px; line-height: 1.45; }
.cmp-today { background: #f4f3f8; color: var(--fb-muted); border: 1px solid #ecebf2; }
.cmp-with {
  background: linear-gradient(135deg, rgba(108, 61, 232, 0.07), rgba(236, 72, 153, 0.07));
  border: 1px solid rgba(108, 61, 232, 0.22); color: var(--fb-ink);
  position: relative; padding-left: 40px;
}
.cmp-with::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--fb-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/11px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/11px no-repeat;
}

/* ---- faq ---- */
.fb-faq details {
  border: 1px solid var(--fb-line); border-radius: 12px; padding: 2px 18px;
  margin-bottom: 10px; background: #fff;
}
.fb-faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700;
  font-size: 16px; position: relative; padding-right: 28px;
}
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 13px; font-size: 24px;
  font-weight: 400; color: var(--fb-accent); line-height: 1;
}
.fb-faq details[open] summary::after { content: "–"; }
.fb-faq details p { margin: 0 0 16px; color: var(--fb-body); line-height: 1.55; }

/* ---- final CTA band ---- */
.fb-cta-band { background: var(--fb-grad); color: #fff; text-align: center; padding: 72px 0; }
.fb-cta-band h2 { margin: 0 0 14px; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; }
.fb-cta-band p { margin: 0 auto 28px; max-width: 48ch; font-size: 17px; opacity: 0.95; }
.fb-btn-light {
  display: inline-block; text-decoration: none; background: #fff; color: var(--fb-accent);
  padding: 15px 34px; border-radius: 9px; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); transition: transform 0.2s;
}
.fb-btn-light:hover { transform: translateY(-2px); color: var(--fb-accent); }

/* ---- footer ---- */
.fb-footer { background: var(--fb-dark); color: rgba(255, 255, 255, 0.45); text-align: center; padding: 44px 0; font-size: 13px; }
.fb-footer .fb-honesty { max-width: 52ch; margin: 0 auto 8px; }

/* ---- phone restyle to brand (overrides styles.css) ---- */
.fb .phone .head { background: var(--fb-grad); }
.fb .phone { box-shadow: 0 30px 60px -25px rgba(108, 61, 232, 0.45); }
.fb .msg.us { background: var(--fb-accent); }
.fb .composer button { background: var(--fb-accent); }
.fb-phonewrap .phone { width: 360px; max-width: 100%; }

@media (max-width: 560px) {
  .fb-section { padding: 52px 0; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; }
  .fb-btn, .fb-btn-ghost, .fb-btn-light { width: 100%; text-align: center; justify-content: center; }
  .fb-phonewrap .phone { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .fb-section, .fb-hero-inner { animation: fb-rise 0.5s ease both; }
}
@keyframes fb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
