/* ════════════════════════════════════════════════════════════════════════
   Landing Page — shared premium layer for Section Builder pages
   (GV, FIP, DN, PM, sectioned). Presentation only — no content changes.
   ════════════════════════════════════════════════════════════════════════ */

.fa-landing-page .fa-sectioned-main {
  --landing-accent: var(--fa-accent, #1e5aa8);
  --landing-accent-soft: var(--fa-accent-soft, #eaf2ff);
  --landing-radius: 20px;
  --landing-shadow: 0 24px 60px -36px rgba(11, 27, 51, 0.28);
}

/* ── FIP: keep text readable (transform-only reveal, not opacity hide) ─── */
.fa-landing-page.fa-layout--fip .fa-section {
  opacity: 1 !important;
}

/* ── Alternating section bands ─────────────────────────────────────────── */
.fa-landing-page .fa-landing-section {
  position: relative;
  overflow: hidden;
}

.fa-landing-page .fa-landing-section--band {
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.fa-landing-page .fa-landing-section--band::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--landing-accent), transparent 85%);
  opacity: 0.55;
  pointer-events: none;
}

.fa-landing-page .fa-landing-section--band::after {
  content: "";
  position: absolute;
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--landing-accent) 12%, transparent) 0%, transparent 70%);
  inset-inline-end: -8%;
  top: -18%;
  pointer-events: none;
}

/* ── Section headings ──────────────────────────────────────────────────── */
.fa-landing-page .fa-section__title {
  position: relative;
  letter-spacing: -0.02em;
}

.fa-landing-page .fa-section__title::after {
  content: "";
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--landing-accent), color-mix(in srgb, var(--landing-accent) 20%, transparent));
}

.fa-landing-page .fa-section--centered .fa-section__title::after {
  margin-inline: auto;
}

.fa-landing-page .fa-section__eyebrow {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* ── Content card on banded sections ───────────────────────────────────── */
.fa-landing-page .fa-landing-section--band .fa-text-block__main {
  background: #fff;
  border: 1px solid rgba(11, 27, 51, 0.07);
  border-radius: var(--landing-radius);
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
  box-shadow: var(--landing-shadow);
}

.fa-landing-page .fa-text-block__body strong {
  color: #0a1628;
  font-weight: 800;
}

.fa-landing-page .fa-text-block__body a {
  color: var(--landing-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--landing-accent) 35%, transparent);
  transition: text-decoration-color 0.2s ease;
}

.fa-landing-page .fa-text-block__body a:hover {
  text-decoration-color: var(--landing-accent);
}

/* ── Scroll reveal: lines, headings, media ─────────────────────────────── */
.fa-landing-page .fa-landing-line,
.fa-landing-page .fa-landing-heading,
.fa-landing-page .fa-landing-list-item,
.fa-landing-page .fa-landing-table-wrap,
.fa-landing-page .fa-text-block__media {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--landing-delay, 0s);
}

.fa-landing-page .fa-landing-list-item {
  transform: translateX(16px);
}

.fa-landing-page .fa-landing-line.is-landing-visible,
.fa-landing-page .fa-landing-heading.is-landing-visible,
.fa-landing-page .fa-landing-list-item.is-landing-visible,
.fa-landing-page .fa-landing-table-wrap.is-landing-visible,
.fa-landing-page .fa-text-block__media.is-landing-visible {
  opacity: 1;
  transform: none;
}

.fa-landing-page .fa-landing-table-row {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--landing-row-delay, 0s);
}

.fa-landing-page .fa-landing-table-wrap.is-landing-visible .fa-landing-table-row {
  opacity: 1;
  transform: none;
}

/* ── Feature lists ───────────────────────────────────────────────────────── */
.fa-landing-page .fa-landing-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.fa-landing-page .fa-landing-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--landing-accent-soft);
  border: 1px solid color-mix(in srgb, var(--landing-accent) 14%, transparent);
  color: #334155;
  line-height: 1.85;
  font-size: 0.98rem;
}

.fa-landing-page .fa-landing-list-item::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--landing-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6-6.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ── Premium tables ──────────────────────────────────────────────────────── */
.fa-landing-page .fa-landing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 27, 51, 0.08);
  background: #fff;
  box-shadow: var(--landing-shadow);
}

.fa-landing-page .fa-landing-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.fa-landing-page .fa-landing-table caption {
  caption-side: top;
  text-align: start;
  padding: 1rem 1.15rem 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0a1628;
}

.fa-landing-page .fa-landing-table thead th {
  background: linear-gradient(135deg, var(--landing-accent), color-mix(in srgb, var(--landing-accent) 72%, #0a1628));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.85rem 1rem;
  text-align: start;
  border-bottom: none;
  white-space: nowrap;
}

.fa-landing-page .fa-landing-table thead th:first-child {
  border-start-start-radius: 0;
}

.fa-landing-page .fa-landing-table thead th:last-child {
  border-start-end-radius: 0;
}

.fa-landing-page .fa-landing-table td,
.fa-landing-page .fa-landing-table tbody th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eef2f6;
  color: #475569;
  line-height: 1.7;
  vertical-align: top;
}

.fa-landing-page .fa-landing-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.fa-landing-page .fa-landing-table tbody tr:hover td {
  background: var(--landing-accent-soft);
}

.fa-landing-page .fa-landing-table td:first-child,
.fa-landing-page .fa-landing-table tbody th:first-child {
  font-weight: 700;
  color: #1e293b;
  min-width: 0;
}

.fa-landing-page .fa-landing-table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Unified header entrance ─────────────────────────────────────────────── */
.fa-landing-page .fa-unified-header__eyebrow,
.fa-landing-page .fa-unified-header__title,
.fa-landing-page .fa-unified-header__subtitle,
.fa-landing-page .fa-unified-header__actions {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--landing-delay, 0s);
}

.fa-landing-page .fa-unified-header.is-landing-visible .fa-unified-header__eyebrow,
.fa-landing-page .fa-unified-header.is-landing-visible .fa-unified-header__title,
.fa-landing-page .fa-unified-header.is-landing-visible .fa-unified-header__subtitle,
.fa-landing-page .fa-unified-header.is-landing-visible .fa-unified-header__actions {
  opacity: 1;
  transform: none;
}

/* CTA strip styles → css/fa-new/cta-strip.css */

/* ── Video — cinematic block ─────────────────────────────────────────────── */
.fa-landing-page .fa-landing-video {
  text-align: center;
}

.fa-landing-page .fa-landing-video .fa-section__title::after {
  margin-inline: auto;
}

.fa-landing-page .fa-landing-video-frame {
  position: relative;
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--landing-delay, 0.12s);
}

.fa-landing-page .fa-landing-video-frame.is-landing-visible {
  opacity: 1;
  transform: none;
}

.fa-landing-page .fa-landing-video-frame::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--landing-accent), color-mix(in srgb, var(--landing-accent) 30%, #fff), var(--landing-accent));
  z-index: -1;
  opacity: 0.55;
}

.fa-landing-page .fa-landing-video-frame::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(11, 27, 51, 0.25);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23071527'%3E%3Cpath d='M9 7.5v9l7.5-4.5L9 7.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% center;
  background-size: 22px;
  opacity: 0.88;
}

.fa-landing-page .fa-landing-video-frame:has(iframe)::after,
.fa-landing-page .fa-landing-video-frame:has(video)::after {
  display: none;
}

.fa-landing-page .fa-landing-video .fa-video-block__frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 80px -36px rgba(11, 27, 51, 0.45);
  border: none;
  transform: none;
}

.fa-landing-page .fa-landing-video .fa-video-block__caption {
  margin-top: 1.35rem;
  max-width: 62ch;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--landing-accent-soft);
  border: 1px solid color-mix(in srgb, var(--landing-accent) 12%, transparent);
  color: #475569;
  text-align: start;
  line-height: 1.9;
}

.fa-landing-page .fa-section--video.fa-section--bg-dark .fa-landing-video .fa-video-block__caption {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

/* ── FAQ — landing accordion ─────────────────────────────────────────────── */
.fa-landing-page .fa-section--faq {
  overflow: visible;
}

.fa-landing-page .fa-landing-faq.fa-home-faq-section {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--landing-radius);
  background:
    radial-gradient(900px 420px at 12% 0%, color-mix(in srgb, var(--landing-accent) 10%, transparent), transparent 65%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafb 55%, #ffffff 100%);
  border: 1px solid rgba(11, 27, 51, 0.06);
  box-shadow: var(--landing-shadow);
}

.fa-landing-page .fa-landing-faq.fa-home-faq-section::before {
  background:
    radial-gradient(760px 380px at 88% 100%, color-mix(in srgb, var(--landing-accent) 8%, transparent), transparent 70%);
}

.fa-landing-page .fa-landing-faq .fa-home-faq-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--landing-accent), transparent);
}

.fa-landing-page .fa-landing-faq-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--landing-delay, 0s);
}

.fa-landing-page .fa-landing-faq-item.is-landing-visible {
  opacity: 1;
  transform: none;
}

.fa-landing-page .fa-landing-faq .fa-home-faq-item.is-open::after {
  background: linear-gradient(180deg, var(--landing-accent), color-mix(in srgb, var(--landing-accent) 55%, #fff));
}

.fa-landing-page .fa-landing-faq .fa-home-faq-item.is-open {
  border-color: color-mix(in srgb, var(--landing-accent) 35%, transparent);
}

.fa-landing-page .fa-landing-faq .fa-home-faq-num {
  background: var(--landing-accent-soft);
  color: var(--landing-accent);
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
}

.fa-landing-page .fa-landing-faq .fa-home-faq-item.is-open .fa-home-faq-num {
  background: var(--landing-accent);
  color: #fff;
}

/* Generic FAQ fallback (non home-faq layouts) */
.fa-landing-page .fa-landing-faq.fa-faq .fa-faq__item {
  border-radius: 14px;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(11, 27, 51, 0.08);
  background: #fff;
  overflow: hidden;
}

.fa-landing-page .fa-landing-faq.fa-faq .fa-faq__q {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.fa-landing-page .fa-landing-faq.fa-faq .fa-faq__a {
  padding: 0 1.15rem 1rem;
  line-height: 1.9;
  color: #475569;
}

.fa-landing-page .fa-text-block__media img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.fa-landing-page .fa-text-block__media.is-landing-visible img {
  box-shadow: 0 28px 70px -32px rgba(11, 27, 51, 0.4);
}

.fa-landing-page .fa-text-block__media.is-hover img,
.fa-landing-page .fa-text-block__media:hover img {
  transform: scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .fa-landing-page .fa-landing-line,
  .fa-landing-page .fa-landing-heading,
  .fa-landing-page .fa-landing-list-item,
  .fa-landing-page .fa-landing-table-wrap,
  .fa-landing-page .fa-text-block__media,
  .fa-landing-page .fa-landing-table-row,
  .fa-landing-page .fa-unified-header__eyebrow,
  .fa-landing-page .fa-unified-header__title,
  .fa-landing-page .fa-unified-header__subtitle,
  .fa-landing-page .fa-unified-header__actions,
  .fa-landing-page .fa-landing-cta-part,
  .fa-landing-page .fa-landing-faq-item,
  .fa-landing-page .fa-landing-video-frame {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .fa-landing-page .fa-landing-section--band .fa-text-block__main {
    padding: 1rem;
  }

  .fa-landing-page .fa-landing-table thead th,
  .fa-landing-page .fa-landing-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }
}
