/* AI Booking Feed v2: standalone stylesheet (base tokens, layout, buttons, FAQ and CTA, then v2 sections). Every selector is scoped to .aibf / .aibf2. */
/*
 * AI Booking Feed page layout.
 * Scoped: every selector starts with .aibf so nothing can leak into the header, footer or other pages.
 * Brand tokens come from the theme: red #C72014, Poppins, dark hero / light sections, Bootstrap-friendly 1200px container.
 * Image paths are relative to this file so they also work in a sub-folder install.
 */

.aibf {
  --red: #C72014;
  --red-soft: #C72014;
  --ink: #1E1E1E;
  --text: #2E3F47;
  --muted: #5B6870;
  --line: rgba(30, 30, 30, .1);
  --paper: #F6F7F9;
  --green: #C72014;
  --radius: 16px;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* style.css gives #footer a 100px top margin; this page ends on a dark band, so cancel it here (margins collapse). */
  margin-bottom: -100px;
}
.aibf *, .aibf *::before, .aibf *::after { box-sizing: border-box; }
.aibf [id] { scroll-margin-top: 96px; }
/* Resets use :where() so they have zero specificity and never beat the component classes below. */
:where(.aibf) :where(h1, h2, h3, h4, p, ol, ul) { margin: 0; padding: 0; }
:where(.aibf) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.aibf) :where(a) { text-decoration: none; color: inherit; }
.aibf a:focus-visible, .aibf button:focus-visible, .aibf video:focus-visible {
  outline: 3px solid #FF9994;
  outline-offset: 3px;
}

/* ---------- Layout primitives ---------- */
.aibf-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.aibf-section { padding: clamp(64px, 8vw, 112px) 0; }
.aibf-section--paper { background: var(--paper); }
.aibf-section--dark { background: var(--ink); color: #fff; }
.aibf-head { max-width: 760px; }
.aibf-head--center { margin: 0 auto; text-align: center; }
.aibf-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: inherit; text-wrap: balance; }
.aibf-sub { margin-top: 16px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.8; color: var(--muted); }
.aibf-section--dark .aibf-sub, .aibf-hero .aibf-sub { color: rgba(255, 255, 255, .74); }
.aibf-accent { color: var(--red); }
.aibf-section--dark .aibf-accent { color: var(--red-soft); }
.aibf-grad {
  background: linear-gradient(90deg, #C72014, #FFC9C6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
/* Look and hover colours come from the global .custom-btn-* classes in style.css; this only places them. */
.aibf-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.aibf .custom-btn-lg, .aibf .custom-btn-outline { width: fit-content; max-width: 100%; height: auto; min-height: 45px; text-align: center; text-decoration: none; }
.aibf .custom-btn-text, .aibf .custom-btn-outline-text { display: flex; align-items: center; justify-content: center; gap: 10px; }
.aibf .custom-btn-text svg, .aibf .custom-btn-outline-text svg { flex: none; }

/* ---------- Hero ---------- */
.aibf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #050404; color: #fff;
  padding-top: clamp(56px, 7vw, 96px);
}
.aibf-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(199, 32, 20, .38), transparent 70%),
    linear-gradient(#0B0606, #050404);
}
.aibf-hero__inner { max-width: 1000px; text-align: center; }
.aibf-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: rgba(199, 32, 20, .22);
  border: 1px solid rgba(255, 153, 148, .55); font-size: 13px; font-weight: 500; color: #fff;
}
.aibf-hero__title { margin: 22px 0 16px; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.aibf-hero__sub { max-width: 680px; margin: 0 auto 36px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; color: rgba(255, 255, 255, .78); }
.aibf-hero__art {
  position: relative; max-width: 1440px; margin: clamp(32px, 4vw, 56px) auto 0;
  aspect-ratio: 1440 / 470; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.aibf-hero__canvas { position: relative; width: 100%; height: 100%; }
.aibf-hero__canvas img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }

/* ---------- Problem ---------- */
.aibf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.aibf-compare__card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 32px;
  box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 18px 40px -24px rgba(30, 30, 30, .18);
}
.aibf-compare__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); }
.aibf-compare__card--good::before { background: var(--green); }
.aibf-compare__icon { width: 52px; height: 52px; margin-bottom: 20px; }
.aibf-compare__title { margin-bottom: 10px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.aibf-compare__card--good .aibf-compare__title { color: var(--green); }
.aibf-compare__desc { margin-bottom: 28px; font-size: 15px; line-height: 1.8; color: var(--text); }
.aibf-code { margin-top: auto; border-radius: 10px; padding: 18px 22px; }
.aibf-code--bad {
  background: #FBF3F2; border: 1px solid rgba(199, 32, 20, .15); border-left: 4px solid var(--red);
  color: #5A1C18; font-size: 14px; font-style: italic;
}
.aibf-code--good { display: flex; justify-content: center; background: var(--ink); border-left: 4px solid var(--green); }
.aibf-code--good img { width: auto; max-width: 100%; }

/* ---------- Cards (features, benefits) ---------- */
.aibf-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.aibf-card:hover { transform: translateY(-4px); border-color: rgba(199, 32, 20, .35); box-shadow: 0 20px 44px -24px rgba(199, 32, 20, .4); }
.aibf-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 14px; background: rgba(199, 32, 20, .08); }
.aibf-icon img { width: 30px; height: 30px; object-fit: contain; }
.aibf-card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.aibf-card p { font-size: 14.5px; line-height: 1.75; color: var(--text); }

.aibf-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.aibf-quote {
  max-width: 860px; margin: 56px auto 0; padding: 28px 32px; text-align: center;
  background: linear-gradient(135deg, #FFF4F3, #fff); border: 1px solid rgba(199, 32, 20, .15); border-left: 5px solid var(--red);
  border-radius: var(--radius); font-size: clamp(17px, 2vw, 22px); font-weight: 600; line-height: 1.5; color: var(--red);
}

/* ---------- How it works ---------- */
.aibf-how { position: relative; isolation: isolate; background: #050404 url("../images/Frame-105.jpg") center top / cover no-repeat; color: #fff; }
.aibf-how::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(5, 4, 4, .5), rgba(5, 4, 4, .82)); }
.aibf-steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.aibf-steps::before {
  content: ""; position: absolute; top: 42px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 15%, var(--red) 85%, transparent);
}
.aibf-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.aibf-step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #0B0A0A; border: 2px solid var(--red); color: #fff; font-size: 22px; font-weight: 700;
  box-shadow: 0 0 0 8px rgba(199, 32, 20, .14);
}
.aibf-step__t { font-size: 20px; font-weight: 600; line-height: 1.4; }

/* ---------- Why activate ---------- */
.aibf-split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.aibf-split-head .aibf-sub { margin-top: 0; }
.aibf-benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.aibf-benefits > * { grid-column: span 2; }
.aibf-benefits > *:nth-child(n + 4) { grid-column: span 3; }

/* ---------- PMS ---------- */
.aibf-pms { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0 0; }
.aibf-pms::before {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -35%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(199, 32, 20, .4), transparent);
}
.aibf-pms__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.aibf-pms__img { align-self: end; }
.aibf-pms__img img { width: 100%; max-width: 560px; margin: 0 auto; }
.aibf-pms__content { padding-bottom: clamp(56px, 7vw, 96px); }
.aibf-pms__list { margin-top: 32px; list-style: none; }
.aibf-pms__item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.aibf-pms__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.aibf-pms__item img { flex: none; width: 48px; height: 48px; }
.aibf-pms__item h3 { margin-bottom: 6px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.aibf-pms__item p { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); }

/* ---------- Why this matters ---------- */
.aibf-matters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.aibf-matter { height: 100%; padding: 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -28px rgba(30, 30, 30, .25); }
.aibf-matter__n {
  display: block; margin-bottom: 18px; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, var(--red), rgba(199, 32, 20, .12));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.aibf-matter p { font-size: 17px; font-weight: 600; line-height: 1.5; }

/* ---------- Footer concept ---------- */
.aibf-fc__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.aibf-fc__lead { margin: 22px 0 10px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.aibf-fc__desc { margin-bottom: 28px; font-size: 15px; line-height: 1.8; color: var(--text); }
.aibf-note { padding: 20px 24px; background: rgba(199, 32, 20, .06); border: 1px solid rgba(199, 32, 20, .14); border-left: 4px solid var(--red); border-radius: 10px; }
.aibf-note h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.aibf-note p { font-size: 14px; line-height: 1.7; color: var(--text); }
.aibf-fc__img img { width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(30, 30, 30, .22)); }

/* ---------- Video ---------- */
.aibf-video__frame {
  max-width: 1000px; margin: 40px auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08);
}
.aibf-video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.aibf-faq__list { display: grid; gap: 12px; max-width: 880px; margin: 48px auto 0; list-style: none; }
.aibf-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.aibf-faq__item.is-open { border-color: var(--red); }
.aibf-faq__q {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 24px; border: 0; border-radius: 14px;
  background: none; color: var(--ink); text-align: left; cursor: pointer; font: 600 17px/1.5 'Poppins', Arial, sans-serif;
}
.aibf-faq__n { flex: none; min-width: 28px; color: var(--red); font-weight: 600; }
.aibf-faq__t { flex: 1; }
.aibf-faq__i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(30, 30, 30, .06); transition: background-color .2s; }
.aibf-faq__i::before, .aibf-faq__i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s, background-color .2s, opacity .2s; }
.aibf-faq__i::after { transform: translate(-50%, -50%) rotate(90deg); }
.aibf-faq__item.is-open .aibf-faq__i { background: var(--red); }
.aibf-faq__item.is-open .aibf-faq__i::before, .aibf-faq__item.is-open .aibf-faq__i::after { background: #fff; }
.aibf-faq__item.is-open .aibf-faq__i::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.aibf-faq__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; }
.aibf-faq__item.is-open .aibf-faq__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.aibf-faq__panel > div { min-height: 0; overflow: hidden; }
.aibf-faq__panel p { padding: 0 24px 24px 68px; font-size: 15.5px; line-height: 1.8; color: var(--text); }

/* ---------- Closing CTA ---------- */
.aibf-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.aibf-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 90% at 50% 100%, rgba(199, 32, 20, .5), transparent 70%);
}
.aibf-cta .aibf-title { max-width: 760px; margin: 0 auto; }
.aibf-cta .aibf-sub { max-width: 640px; margin: 18px auto 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .aibf-features, .aibf-matters { grid-template-columns: repeat(2, 1fr); }
  .aibf-benefits { grid-template-columns: repeat(2, 1fr); }
  .aibf-benefits > *, .aibf-benefits > *:nth-child(n + 4) { grid-column: span 1; }
  .aibf-benefits > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .aibf-split-head { grid-template-columns: 1fr; gap: 16px; }
  .aibf-steps { gap: 16px; }
  .aibf-step__t { font-size: 18px; }
}
@media (max-width: 820px) {
  .aibf-compare, .aibf-fc__inner, .aibf-pms__inner { grid-template-columns: 1fr; }
  .aibf-pms__content { order: -1; padding-bottom: 0; }
  .aibf-pms__img { padding-top: 24px; }
  .aibf-hero__art { aspect-ratio: auto; overflow-x: auto; overflow-y: hidden; -webkit-mask-image: none; mask-image: none; }
  .aibf-hero__canvas { width: 1000px; height: 326px; }
  .aibf-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .aibf-steps::before { top: 0; bottom: 0; left: 42px; right: auto; width: 1px; height: auto; background: linear-gradient(transparent, var(--red) 12%, var(--red) 88%, transparent); }
  .aibf-step { flex-direction: row; gap: 20px; text-align: left; }
  .aibf-step__n { width: 84px; height: 84px; flex: none; }
}
@media (max-width: 600px) {
  .aibf-container { padding: 0 16px; }
  .aibf-features, .aibf-matters, .aibf-benefits { grid-template-columns: 1fr; }
  .aibf-benefits > *:last-child:nth-child(odd) { grid-column: auto; }
  .aibf-actions { flex-direction: column; align-items: stretch; }
  .aibf .custom-btn-lg, .aibf .custom-btn-outline { width: 100%; }
  .aibf-compare__card { padding: 28px 20px 24px; }
  .aibf-quote { padding: 22px 20px; }
  .aibf-faq__q { padding: 16px; gap: 12px; font-size: 15.5px; }
  .aibf-faq__panel p { padding: 0 16px 20px 16px; }
  .aibf-video__frame { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .aibf *, .aibf *::before, .aibf *::after { transition: none !important; }
}

/*
 * AI Booking Feed page, version 2. Loaded after ai-booking-feed.css, which provides the .aibf tokens,
 * container, buttons, FAQ and CTA. Everything here starts with .aibf2 so it stays scoped to this page.
 */

.aibf2 { --code-bg: #0E1014; --line-dark: rgba(255, 255, 255, .12); }
.aibf2 .aibf-actions--left { justify-content: flex-start; }
.aibf2-eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.aibf-section--dark .aibf2-eyebrow { color: var(--red-soft); }
.aibf2-dot { width: 8px; height: 8px; border-radius: 50%; background: #5BD27A; box-shadow: 0 0 0 4px rgba(91, 210, 122, .2); }

/* ---------- Code panel (used in hero and footer concept) ---------- */
.aibf2-code { position: relative; border-radius: 16px; background: var(--code-bg); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: hidden; text-align: left; }
.aibf2-code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid var(--line-dark); }
.aibf2-code__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.aibf2-code__bar em { margin-left: 10px; font: 400 12px/1 'Poppins', Arial, sans-serif; font-style: normal; color: rgba(255, 255, 255, .55); }
.aibf2-code__body { margin: 0; padding: 22px 24px 30px; overflow-x: auto; font: 400 13.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #D9DCE3; background: none; border: 0; white-space: pre; }
.aibf2-code .k { color: #8B93A3; }
.aibf2-code .s { color: #FF8F89; }
.aibf2-code .v { color: #8FD9A8; }
.aibf2-code .n { color: #FFD479; }
.aibf2-code__tag { position: absolute; right: 14px; bottom: 12px; font-size: 11px; color: rgba(255, 255, 255, .45); }
.aibf2-code--sm .aibf2-code__body { padding-bottom: 22px; font-size: 12.5px; }

/* ---------- Hero ---------- */
.aibf2-hero { position: relative; isolation: isolate; overflow: hidden; background: #060507; color: #fff; padding: clamp(64px, 8vw, 112px) 0 0; }
.aibf2-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 55% at 50% 0%, rgba(199, 32, 20, .45), transparent 70%),
    radial-gradient(35% 40% at 100% 70%, rgba(199, 32, 20, .14), transparent 70%);
}
.aibf2-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 25%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 25%, #000, transparent);
}
.aibf2-hero__head { max-width: 860px; margin: 0 auto; text-align: center; }
.aibf2-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.aibf2-hero__title { margin: 24px 0 20px; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.aibf2-hero__sub { max-width: 640px; margin: 0 auto 36px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .72); }
.aibf2-hero .aibf-actions { align-items: center; gap: 14px; }
.aibf2-textlink { display: inline-flex; align-items: center; gap: 8px; padding: 13px 10px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); transition: color .2s; }
.aibf2-textlink:hover { color: #fff; }
.aibf2-textlink:hover .aibf-arrow { transform: translateX(3px); }
.aibf2-textlink .aibf-arrow { transition: transform .2s; }

/* Console: what the engine publishes -> what an AI system understands */
.aibf2-console { position: relative; max-width: 960px; margin: clamp(48px, 6vw, 72px) auto 0; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -40px rgba(199, 32, 20, .55), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; }
.aibf2-console__bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.aibf2-console__bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.aibf2-console__bar em { margin-left: 10px; font-size: 12.5px; font-style: normal; color: rgba(255, 255, 255, .55); }
.aibf2-live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 4px 11px; border-radius: 999px; background: rgba(91, 210, 122, .12); font-size: 12px; font-weight: 600; color: #7BE39A; }
.aibf2-live i { width: 7px; height: 7px; border-radius: 50%; background: #5BD27A; animation: aibf2-pulse 1.8s ease-in-out infinite; }
@keyframes aibf2-pulse { 50% { opacity: .35; } }
.aibf2-console__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.aibf2-console__pane { padding: 24px 28px 30px; text-align: left; }
.aibf2-console__label { margin-bottom: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.aibf2-console__pane--code .aibf2-code__body { margin: 0; padding: 0; overflow-x: auto; font: 400 13px/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #D9DCE3; background: none; border: 0; white-space: pre; }
.aibf2-console .k { color: #8B93A3; }
.aibf2-console .s { color: #FF8F89; }
.aibf2-console .v { color: #8FD9A8; }
.aibf2-console .n { color: #FFD479; }
.aibf2-console__mid { display: grid; place-items: center; width: 56px; color: #fff; }
.aibf2-console__mid svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(199, 32, 20, .22); }
.aibf2-console__pane--read { background: rgba(255, 255, 255, .03); }
.aibf2-console__pane--read ul { display: grid; list-style: none; }
.aibf2-console__pane--read li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.aibf2-console__pane--read li:last-child { border-bottom: 0; }
.aibf2-console__pane--read li span { color: rgba(255, 255, 255, .55); }
.aibf2-console__pane--read li b { font-weight: 600; text-align: right; }
.aibf2-console__pane--read li b.ok { color: #7BE39A; }
.aibf2-console__tag { margin: 0; padding: 0 28px 14px; text-align: right; font-size: 11px; color: rgba(255, 255, 255, .4); }

/* Proof strip */
.aibf2-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 8px auto 0; list-style: none; }
.aibf2-proof li { padding: 4px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.aibf2-proof li:first-child { border-left: 0; }
.aibf2-proof b { display: block; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 700; color: #fff; }
.aibf2-proof span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- Problem: versus cards ---------- */
.aibf2-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.aibf2-vs__card { padding: 36px 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.aibf2-vs__card h3 { font-size: 22px; font-weight: 600; }
.aibf2-vs__card--bad { border-top: 4px solid var(--ink); }
.aibf2-vs__card--good { border-top: 4px solid var(--red); }
.aibf2-vs__lead { margin: 8px 0 22px; font-size: 15px; color: var(--muted); }
.aibf2-vs ul { display: grid; gap: 20px; margin-top: 24px; list-style: none; }
.aibf2-vs li { display: flex; gap: 14px; }
.aibf2-vs li strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 600; margin-top: 3px; }
.aibf2-vs li div span { display: block; font-size: 14px; line-height: 1.65; color: var(--muted); }
.aibf2-vs__mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.aibf2-vs__mark svg { width: 16px; height: 16px; }
.aibf2-vs__card--bad .aibf2-vs__mark { background: rgba(30, 30, 30, .08); color: var(--ink); }
.aibf2-vs__card--good .aibf2-vs__mark { background: rgba(199, 32, 20, .1); color: var(--red); }

/* ---------- Solution ---------- */
.aibf2-solution { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.aibf2-checks { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.aibf2-checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.aibf2-checks svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(199, 32, 20, .1); color: var(--red); }
.aibf2-not { padding: 36px 32px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.aibf2-not h3 { font-size: 20px; font-weight: 600; }
.aibf2-not p { margin: 10px 0 20px; font-size: 15px; line-height: 1.8; color: var(--text); }
.aibf2-not__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aibf2-not__tags span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(199, 32, 20, .6); }

/* ---------- How it works: five-step flow ---------- */
.aibf2-how { background: var(--ink); }
.aibf2-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; list-style: none; counter-reset: none; }
.aibf2-flow__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 20px 24px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.aibf2-flow__step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--red-soft); border-right: 2px solid var(--red-soft); transform: translateY(-50%) rotate(45deg); }
.aibf2-flow__n { display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 10px; align-self: flex-start; margin-bottom: 8px; border-radius: 99px; background: rgba(199, 32, 20, .2); color: #FF9994; font-size: 14px; font-weight: 700; }
.aibf2-flow__step strong { font-size: 17px; font-weight: 600; }
.aibf2-flow__step > span:not(.aibf2-flow__n) { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.aibf2-flow__step.is-key { background: linear-gradient(160deg, rgba(199, 32, 20, .4), rgba(199, 32, 20, .1)); border-color: rgba(255, 153, 148, .5); box-shadow: 0 24px 50px -24px rgba(199, 32, 20, .8); }
.aibf2-flow__step.is-key .aibf2-flow__n { background: var(--red); color: #fff; }

/* ---------- Real-time stats ---------- */
.aibf2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.aibf2-stat { padding: 32px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: center; }
.aibf2-stat b { display: block; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--red); }
.aibf2-stat span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer link concept ---------- */
.aibf2-fl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.aibf2-fl .aibf-note { margin-top: 28px; }
.aibf2-fl__visual { display: grid; gap: 10px; justify-items: center; }
.aibf2-fl__visual > * { width: 100%; max-width: 480px; }
.aibf2-fl__arrow { width: auto !important; color: var(--red); }
.aibf2-site { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(30, 30, 30, .4); overflow: hidden; }
.aibf2-site__bar { display: flex; gap: 6px; padding: 10px 14px; background: #EEF0F3; }
.aibf2-site__bar span { width: 9px; height: 9px; border-radius: 50%; background: #C9CED5; }
.aibf2-site__body { display: grid; gap: 10px; padding: 24px; }
.aibf2-site__body i { display: block; height: 10px; border-radius: 6px; background: #E6E9ED; }
.aibf2-site__body i.w60 { width: 60%; }
.aibf2-site__footer { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 24px; background: var(--ink); font-size: 13px; color: rgba(255, 255, 255, .6); }
.aibf2-site__footer .is-link { color: #fff; font-weight: 600; padding: 2px 10px; margin: -2px 0; border-radius: 6px; background: var(--red); }

/* ---------- Benefit cards ---------- */
.aibf2-cards { display: grid; gap: 20px; margin-top: 56px; }
.aibf2-cards--5 { grid-template-columns: repeat(6, 1fr); }
.aibf2-cards--5 .aibf2-card { grid-column: span 2; }
.aibf2-cards--5 .aibf2-card:nth-child(n + 4) { grid-column: span 3; }
.aibf2-cards--4 { grid-template-columns: repeat(4, 1fr); }
.aibf2-card { padding: 32px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.aibf2-card:hover { background: #FDECEB; border-color: var(--red); }
.aibf2-card__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px; background: rgba(199, 32, 20, .1); color: var(--red); transition: background-color .2s, color .2s; }
.aibf2-card:hover .aibf2-card__ic { background: var(--red); color: #fff; }
.aibf2-card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; }
.aibf2-card p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.aibf2-cards--dark .aibf2-card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.aibf2-cards--dark .aibf2-card:hover { border-color: rgba(255, 153, 148, .5); box-shadow: 0 26px 50px -30px rgba(199, 32, 20, .9); }
.aibf2-cards--dark .aibf2-card__ic { background: rgba(199, 32, 20, .25); color: #FF9994; }
.aibf2-cards--dark .aibf2-card p { color: rgba(255, 255, 255, .7); }
.aibf2-partners { background: #fff; }

/* ---------- Future: quotes ---------- */
.aibf2-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.aibf2-quotes blockquote { margin: 0; padding: 32px 28px; border-radius: 18px; border-left: 4px solid var(--red); background: linear-gradient(135deg, #FFF4F3, #fff); border-top: 1px solid rgba(199, 32, 20, .12); border-right: 1px solid rgba(199, 32, 20, .12); border-bottom: 1px solid rgba(199, 32, 20, .12); font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .aibf2-cards--5 { grid-template-columns: repeat(2, 1fr); }
  .aibf2-cards--5 .aibf2-card, .aibf2-cards--5 .aibf2-card:nth-child(n + 4) { grid-column: span 1; }
  .aibf2-cards--5 .aibf2-card:last-child { grid-column: 1 / -1; }
  .aibf2-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .aibf2-flow { grid-template-columns: repeat(3, 1fr); }
  .aibf2-flow__step:nth-child(3)::after { display: none; }
  .aibf2-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .aibf2-vs, .aibf2-solution, .aibf2-fl { grid-template-columns: 1fr; }
  .aibf2-console__grid { grid-template-columns: 1fr; }
  .aibf2-console__mid { width: auto; padding: 4px 0; }
  .aibf2-console__mid svg { transform: rotate(90deg); }
  .aibf2-console__pane--read { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .aibf2-proof li { padding: 4px 10px; }
  .aibf2-quotes { grid-template-columns: 1fr; }
  .aibf2-flow { grid-template-columns: 1fr; gap: 22px; }
  .aibf2-flow__step:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 38px; transform: rotate(135deg); }
  .aibf2-flow__step:nth-child(3)::after { display: block; }
}
@media (max-width: 600px) {
  .aibf2-cards--5, .aibf2-cards--4, .aibf2-stats { grid-template-columns: 1fr; }
  .aibf2-cards--5 .aibf2-card:last-child { grid-column: auto; }
  .aibf2-vs__card, .aibf2-not { padding: 28px 22px; }
  .aibf2-code__body { font-size: 12px; padding: 18px 16px 28px; }
}

/* What is: six feature cards */
.aibf2-cards--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .aibf2-cards--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aibf2-cards--6 { grid-template-columns: 1fr; } }

/* Partners: three cards */
.aibf2-cards--3 { grid-template-columns: repeat(3, 1fr); }
.aibf2-cards--3 .aibf2-card h3 { margin-bottom: 0; font-size: 17px; line-height: 1.5; }
@media (max-width: 820px) { .aibf2-cards--3 { grid-template-columns: 1fr; } }

/* Partners: text left, photo right, light */
.aibf2-partners { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding: 0 0 clamp(64px, 8vw, 112px); }
.aibf2-partners::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -30%; height: 60%; background: radial-gradient(50% 60% at 30% 100%, rgba(199, 32, 20, .16), transparent 70%); }
.aibf2-pt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.aibf2-pt .aibf-title { font-size: clamp(26px, 3vw, 38px); }
.aibf2-pt .aibf-sub { font-size: 15px; }
.aibf2-pt__list { margin: 28px 0 32px; padding: 22px 26px; list-style: none; display: grid; gap: 12px; background: #FDECEB; border-radius: 12px; }
.aibf2-pt__list li { position: relative; padding-left: 24px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.aibf2-pt__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (max-width: 820px) { .aibf2-pt { grid-template-columns: 1fr; } }

.aibf2-pt__img { min-width: 0; }
.aibf2-pt__img img { display: block; width: 100%; height: auto; }

/* Video: hero-style dark band, the player overlaps its lower edge */
.aibf2-video { --pb: 0px; --over: clamp(120px, 17vw, 240px); position: relative; isolation: isolate; padding: clamp(64px, 8vw, 104px) 0 var(--pb); background: #fff; }
.aibf2-video::before, .aibf2-video::after { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: calc(var(--pb) + var(--over)); }
.aibf2-video::before {
  background: radial-gradient(50% 70% at 50% 0%, rgba(199, 32, 20, .5), transparent 70%), radial-gradient(35% 50% at 100% 60%, rgba(199, 32, 20, .22), transparent 70%), #060507;
}
.aibf2-video::after {
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 20%, #000, transparent);
  mask-image: radial-gradient(70% 90% at 50% 20%, #000, transparent);
}
.aibf2-video .aibf-title { color: #fff; }
.aibf2-video .aibf-sub { color: rgba(255, 255, 255, .72); }
.aibf2-video__frame { position: relative; max-width: 960px; margin: 40px auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 40px 80px -30px rgba(30, 30, 30, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.aibf2-video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.aibf2-video__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2) 55%, rgba(5, 4, 4, .97) 86%); color: #fff; cursor: pointer; transition: opacity .25s, visibility .25s; }
.aibf2-video__play span { display: grid; place-items: center; width: 84px; height: 84px; padding-left: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(199, 32, 20, .28), 0 18px 40px -8px rgba(199, 32, 20, .8); transition: transform .2s; }
.aibf2-video__play:hover span { transform: scale(1.07); }
.aibf2-video__frame.is-playing .aibf2-video__play { opacity: 0; visibility: hidden; }
@media (max-width: 600px) { .aibf2-video__frame { border-radius: 14px; } .aibf2-video__play span { width: 64px; height: 64px; } }

/* FAQ: two independent columns (items 1,3,5,7 left; 2,4,6 right) */
.aibf2-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: start; max-width: none; margin: 48px auto 0; }
.aibf2-faq .aibf-faq__list { margin: 0; max-width: none; }
@media (max-width: 820px) { .aibf2-faq { grid-template-columns: 1fr; gap: 12px; } }

/* FAQ without numbers: answer text lines up with the question text */
.aibf2-faq .aibf-faq__panel p { padding: 0 24px 24px; }
@media (max-width: 600px) { .aibf2-faq .aibf-faq__panel p { padding: 0 16px 20px; } }

/* Review pass: phone hero shows the whole diagram instead of a clipped scroller */
@media (max-width: 820px) {
  .aibf2-hero__art { aspect-ratio: 1440 / 470; overflow: hidden; margin-top: 24px; }
  .aibf2-hero__art .aibf-hero__canvas { width: 100%; height: 100%; }
}

/* Solid theme colors only (no gradient fills or glows); the faint grid lines and edge fades stay */
.aibf-grad { background: none; -webkit-text-fill-color: currentColor; color: var(--red-soft); }
.aibf2-hero { background: var(--ink); }
.aibf2-hero::before { display: none; }
.aibf2-video::before { background: var(--ink); }
.aibf2-partners::before { display: none; }
.aibf-cta::before { display: none; }
.aibf2-flow__step.is-key { background: rgba(199, 32, 20, .22); box-shadow: none; }
.aibf2-video__play { background: rgba(5, 4, 4, .6); }
.aibf2-video__play span { box-shadow: 0 0 0 10px rgba(199, 32, 20, .28); }

/* Hero without the banner image */
.aibf2-hero { padding-bottom: clamp(64px, 8vw, 112px); }
.aibf2-hero, .aibf2-how, .aibf2-video::before { background: var(--ink); }

/* Light grey hero (client does not want the black one). The section below it is white so the two stay separate. */
.aibf2-hero { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.aibf2-hero::after { background-image: linear-gradient(rgba(30, 30, 30, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 30, 30, .05) 1px, transparent 1px); }
.aibf2-hero__sub { color: var(--muted); }

/* This section and the one above are both white, so only one of them adds the space between them */
#what-is.aibf-section { padding-top: 0; }

/* How it works: soft brand red background (same tint as the partner list), white step cards, solid red key step */
.aibf2-how.aibf-section { background: #FDECEB; color: var(--ink); }
.aibf2-how .aibf2-flow__step { background: #fff; border-color: rgba(199, 32, 20, .16); color: var(--ink); }
.aibf2-how .aibf2-flow__step > span:not(.aibf2-flow__n) { color: var(--muted); }
.aibf2-how .aibf2-flow__n { background: #FDECEB; color: var(--red); }
.aibf2-how .aibf2-flow__step.is-key { background: var(--red); border-color: var(--red); color: #fff; }
.aibf2-how .aibf2-flow__step.is-key > span:not(.aibf2-flow__n) { color: rgba(255, 255, 255, .9); }
.aibf2-how .aibf2-flow__step.is-key .aibf2-flow__n { background: #fff; color: var(--red); }

/* Video section: keep the dark band, without the grid illustration */
.aibf2-video::after { display: none; }

/* Hero: no grid illustration, flat grey only */
.aibf2-hero::after { display: none; }

/* Closing call to action: the same light grey as the hero */
.aibf-cta.aibf-section { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.aibf-cta .aibf-sub { color: var(--muted); }

/* Keep the poster clear behind the play button */
.aibf2-video__play { background: rgba(30, 30, 30, .08); }
