/* Fablun Free Growth v2 — Sitewide Top Announcement Strip & Cinematic /free-ai-video-api
   Aligned with Brand 05 Liquid Titanium & AR Prism. Zero AI slop. */

/* ==========================================================================
   1. Sitewide Public Top Announcement Strip
   ========================================================================== */
.fab-top-strip {
  position: relative;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 46px;
  background: linear-gradient(90deg, #090b10 0%, #141925 50%, #090b10 100%);
  color: rgba(244, 246, 250, 0.88);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.fab-top-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(124, 196, 255, 0.42) 28%,
    rgba(198, 180, 255, 0.44) 54%,
    rgba(246, 210, 155, 0.34) 78%,
    transparent 96%
  );
  pointer-events: none;
}
.fab-top-strip[hidden] {
  display: none !important;
}
.fab-top-strip-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  text-align: center;
}
.fab-top-strip-text {
  color: rgba(240, 243, 248, 0.86);
}
.fab-top-strip-text strong {
  color: #ffffff;
  font-weight: 600;
}
.fab-top-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b0d12 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.fab-top-strip-cta:hover {
  background: #f1f5f9;
  transform: translateY(-0.5px);
  box-shadow: 0 2px 10px rgba(124, 196, 255, 0.28);
}
.fab-top-strip-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(240, 243, 248, 0.56);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}
.fab-top-strip-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   2. /free-ai-video-api — Studio Cinema Landing Page
   ========================================================================== */
.seo-public .seo-content.fm-page.ff2-main {
  max-width: 1320px;
  padding: 28px 32px 88px;
}
.ff2-shell {
  display: flex;
  flex-direction: column;
  gap: 72px;
  color: #0b0d12;
}

/* Cinema Hero */
.ff2-hero {
  position: relative;
  min-height: 500px;
  border-radius: 22px;
  overflow: hidden;
  background: #07090d;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  padding: 56px 56px 52px;
  box-shadow: 0 26px 64px rgba(8, 11, 18, 0.22);
  border: 1px solid rgba(11, 13, 18, 0.14);
}
.ff2-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(124, 196, 255, 0.62) 26%,
    rgba(198, 180, 255, 0.62) 54%,
    rgba(246, 210, 155, 0.46) 80%,
    transparent 96%
  );
  pointer-events: none;
}
.ff2-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 42%;
  z-index: 0;
  transform: scale(1.015);
}
.ff2-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.78) 44%, rgba(7, 9, 13, 0.26) 76%, rgba(7, 9, 13, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.22) 0%, rgba(7, 9, 13, 0.08) 46%, rgba(7, 9, 13, 0.78) 100%);
  pointer-events: none;
}
.ff2-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.ff2-hero h1 {
  margin: 0 !important;
  font-size: clamp(36px, 4.4vw, 56px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.036em !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.ff2-hero-lead {
  margin: 18px 0 0 !important;
  max-width: 560px;
  font-size: 16.5px !important;
  line-height: 1.62 !important;
  color: rgba(236, 240, 248, 0.84) !important;
}
.ff2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.ff2-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 19, 28, 0.56);
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ff2-btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.ff2-hero-spec {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(226, 232, 244, 0.78);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* Section Headers */
.ff2-section-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 24px;
}
.ff2-section h2 {
  margin: 0 !important;
  font-size: clamp(26px, 2.5vw, 34px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.028em !important;
  font-weight: 700 !important;
  color: #0b0d12 !important;
}
.ff2-section-sub {
  margin: 8px 0 0 !important;
  max-width: 600px;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #596272 !important;
}
.ff2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0b0d12 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.ff2-text-link:hover {
  text-decoration: underline !important;
}

/* Real Showcase Reel Grid */
.ff2-reel-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}
.ff2-reel-card {
  position: relative;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #0c0e14;
  border: 1px solid rgba(11, 13, 18, 0.08);
  display: flex;
  align-items: flex-end;
}
.ff2-reel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ff2-reel-card:hover img {
  transform: scale(1.04);
}
.ff2-reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.04) 24%, rgba(8, 10, 15, 0.56) 62%, rgba(8, 10, 15, 0.92) 100%);
  pointer-events: none;
}
.ff2-reel-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 22px 20px;
  color: #ffffff;
}
.ff2-reel-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(224, 231, 245, 0.78);
  font-variant-numeric: tabular-nums;
}
.ff2-reel-body h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
  color: #ffffff !important;
}
.ff2-reel-body p {
  margin: 7px 0 14px !important;
  font-size: 13px !important;
  line-height: 1.52 !important;
  color: rgba(232, 237, 245, 0.76) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ff2-reel-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.ff2-reel-action:hover {
  background: #ffffff;
  color: #0b0d12 !important;
  border-color: #ffffff;
  text-decoration: none !important;
}

/* Queue & Model Tier Split (Obsidian Brand 05 Panel) */
.ff2-tiers {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b202c 0%, #0d1016 56%, #080a0f 100%);
  color: #ffffff;
  padding: 48px 50px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 24px 60px rgba(7, 9, 14, 0.18);
}
.ff2-tiers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(124, 196, 255, 0.56) 28%,
    rgba(198, 180, 255, 0.6) 54%,
    rgba(246, 210, 155, 0.44) 80%,
    transparent 96%
  );
  pointer-events: none;
}
.ff2-tiers-head {
  max-width: 640px;
}
.ff2-tiers-head h2 {
  margin: 0 !important;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.ff2-tiers-head p {
  margin: 12px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  color: rgba(226, 232, 245, 0.78) !important;
}
.ff2-tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ff2-tier-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.ff2-tier-card.is-pro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.045) 100%);
  border-color: rgba(164, 198, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ff2-tier-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(216, 224, 240, 0.84);
  letter-spacing: -0.005em;
}
.ff2-tier-price {
  margin-top: 12px;
  font-size: clamp(34px, 3.6vw, 44px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}
.ff2-tier-unit {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(196, 206, 224, 0.72);
}
.ff2-tier-list {
  list-style: none;
  margin: 22px 0 26px !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1 1 auto;
}
.ff2-tier-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(232, 237, 247, 0.88);
}
.ff2-tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(124, 196, 255, 0.85);
}
.ff2-tier-card.is-pro .ff2-tier-list li::before {
  background: #f6d29b;
}
.ff2-tier-cta {
  width: 100%;
  box-sizing: border-box;
}
.ff2-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b0d12 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 150ms ease, background-color 150ms ease;
}
.ff2-btn-white:hover {
  background: #eef2f8;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Developer Quickstart Split */
.ff2-dev-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}
.ff2-dev-copy p {
  margin: 14px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.68 !important;
  color: #4b5563 !important;
}
.ff2-dev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.ff2-code-card {
  border-radius: 16px;
  overflow: hidden;
  background: #0c0e14;
  color: #e6ebf5;
  border: 1px solid rgba(11, 13, 18, 0.14);
  box-shadow: 0 18px 44px rgba(10, 13, 22, 0.12);
}
.ff2-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}
.ff2-code-tabs {
  display: inline-flex;
  gap: 4px;
}
.ff2-code-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(216, 224, 240, 0.62);
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}
.ff2-code-tab:hover {
  color: #ffffff;
}
.ff2-code-tab.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.ff2-copy-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #e6ebf5;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.ff2-copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
}
.ff2-code-pre {
  margin: 0 !important;
  padding: 20px 22px 22px !important;
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace !important;
  font-size: 12.75px !important;
  line-height: 1.68 !important;
  color: #e6ebf5 !important;
  background: transparent !important;
  overflow-x: auto;
  white-space: pre !important;
}

/* Borderless Editorial FAQ */
.ff2-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 48px;
  align-items: start;
  padding-top: 8px;
}
.ff2-faq-head p {
  margin: 10px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #596272 !important;
}
.ff2-faq-list {
  border-top: 1px solid rgba(11, 13, 18, 0.11);
}
.ff2-faq-row {
  border-bottom: 1px solid rgba(11, 13, 18, 0.11);
}
.ff2-faq-row summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #0b0d12;
  cursor: pointer;
}
.ff2-faq-row summary::-webkit-details-marker {
  display: none;
}
.ff2-faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}
.ff2-faq-plus::before,
.ff2-faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: #596272;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}
.ff2-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.ff2-faq-row[open] .ff2-faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}
.ff2-faq-answer p {
  margin: 0 0 20px !important;
  max-width: 680px;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #4b5563 !important;
}

/* Closing Obsidian CTA Band */
.ff2-close {
  border-radius: 20px;
  background: linear-gradient(135deg, #0b0d12 0%, #171c28 100%);
  color: #ffffff;
  padding: 40px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}
.ff2-close h2 {
  margin: 0 !important;
  font-size: clamp(24px, 2.4vw, 30px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
}
.ff2-close p {
  margin: 8px 0 0 !important;
  font-size: 15px !important;
  color: rgba(226, 232, 245, 0.76) !important;
}
.ff2-close .ff2-hero-actions {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .ff2-reel-grid {
    grid-template-columns: 1fr;
  }
  .ff2-reel-card {
    min-height: 280px;
  }
  .ff2-tiers-grid,
  .ff2-dev-section,
  .ff2-faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 680px) {
  .seo-public .seo-content.fm-page.ff2-main {
    padding: 18px 18px 64px;
  }
  .ff2-hero {
    min-height: 440px;
    padding: 36px 24px 64px;
  }
  .ff2-hero-spec {
    left: 24px;
    right: 24px;
    bottom: 18px;
    text-align: center;
  }
  .ff2-tiers {
    padding: 32px 24px;
  }
  .ff2-tier-card {
    padding: 24px 22px;
  }
  .ff2-close {
    padding: 28px 24px;
  }
}
