/* ===========================================================
   ConvoSuite AI Video page — cinematic dark theme
   Cinematic, Gulf/Arab targeted
   =========================================================== */

/* Mobile overflow safety net: stop any rogue child (loaded video,
   rail item, carousel slide) from pushing the page wider than viewport.
   Using overflow-x: hidden (not clip) for iOS < 16 support. */
html, body { overflow-x: hidden; max-width: 100%; }
.av-page { overflow-x: hidden; max-width: 100vw; }
.av-section, .av-hero, .av-tcarousel, .av-rail-wrap { max-width: 100vw; overflow-x: hidden; }
.av-tcarousel__bg-video, .av-tcarousel__bg, .av-tcarousel__bg-img,
.av-hero__video, .av-rail__media video, .av-rail__media img {
  max-width: 100%;
}

/* Engines section inline video */
.av-engines-video {
  max-width: 880px;
  margin: 2rem auto 2.5rem;
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  background: #000;
}
.av-engines-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}
@media (max-width: 768px) {
  .av-engines-video { margin: 1.5rem auto 2rem; border-radius: 14px; }
  .av-engines-video video { max-height: 56vh; }
}

/* Style-picker video preview */
.av-style-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 1.25rem;
  aspect-ratio: 16 / 9;
}
.av-style-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* Rail items that hold an interactive video: overlay must not eat clicks */
.av-rail__item--video { cursor: default; }
.av-rail__item--video:hover { transform: none; }
.av-rail__overlay--passthrough { pointer-events: none; }
.av-rail__overlay--passthrough .av-rail__badge,
.av-rail__overlay--passthrough .av-rail__caption,
.av-rail__overlay--passthrough .av-rail__title { pointer-events: auto; }
.av-rail__item--video .av-rail__media video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #000;
}

:root {
  --av-bg: #06060a;
  --av-bg-soft: #0d0d14;
  --av-fg: #f5f5f7;
  --av-mute: rgba(245, 245, 247, .65);
  --av-faint: rgba(245, 245, 247, .35);
  --av-line: rgba(255, 255, 255, .08);
  --av-accent: #00ffa3;
  --av-accent-2: #00d4b4;
  --av-radius: 18px;
  --av-radius-sm: 12px;
}

.av-section { background: var(--av-bg); color: var(--av-fg); position: relative; }
.av-section--soft { background: var(--av-bg-soft); }
.av-section .container { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.av-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.av-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .85;
}
.av-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}
.av-hero__content {
  position: relative; z-index: 2;
  padding: 0 0 7rem;
  width: 100%;
}
.av-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--av-fg);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--av-line);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.av-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--av-accent);
  box-shadow: 0 0 18px var(--av-accent);
}
.av-h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--av-fg);
  margin: 1.25rem 0 1.5rem;
  max-width: 16ch;
}
.av-h1 .grad {
  background: linear-gradient(120deg, #00ffa3 0%, #00d4b4 55%, #2af598 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.av-lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--av-mute);
  max-width: 56ch;
  line-height: 1.55;
}
.av-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.av-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.av-btn--primary {
  background: var(--av-fg); color: #000;
}
.av-btn--primary:hover { transform: translateY(-1px); background: var(--av-accent); color: #000; }
.av-btn--ghost {
  background: rgba(255,255,255,.06); color: var(--av-fg); border-color: var(--av-line); backdrop-filter: blur(6px);
}
.av-btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--av-fg); }
.av-btn em { font-size: 1.05rem; }

/* ---------- Section heading ---------- */
.av-head { text-align: center; max-width: 880px; margin: 0 auto 3.5rem; }
.av-h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.08;
  color: var(--av-fg);
  margin-bottom: 1rem;
}
.av-h2 .grad {
  background: linear-gradient(120deg, #00d4b4, #00ffa3);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.av-sub { color: var(--av-mute); font-size: 1.05rem; line-height: 1.6; }

.av-section-pad { padding: 6rem 0; }

/* ---------- Engines strip ---------- */
.av-engines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.av-engine {
  padding: 1.5rem 1.25rem;
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.av-engine:hover { transform: translateY(-4px); border-color: rgba(0,212,180,.55); background: #11111a; }
.av-engine__name {
  font-size: 1.05rem; font-weight: 700; color: var(--av-fg); margin-bottom: .15rem;
}
.av-engine__role { font-size: .85rem; color: var(--av-faint); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Use case tabs ---------- */
.av-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem;
}
.av-tab {
  padding: .65rem 1.25rem;
  background: transparent;
  color: var(--av-mute);
  border: 1px solid var(--av-line);
  border-radius: 999px;
  font-size: .92rem; font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.av-tab:hover { color: var(--av-fg); border-color: rgba(255,255,255,.25); }
.av-tab.is-active { background: var(--av-fg); color: #000; border-color: var(--av-fg); }
.av-tab-panel { display: none; }
.av-tab-panel.is-active { display: block; animation: avFade .35s ease both; }
@keyframes avFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.av-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.av-card {
  position: relative;
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.av-card:hover { transform: translateY(-6px); border-color: rgba(0,255,163,.4); }
.av-card--highlight {
  border-color: rgba(0,255,163,.55);
  box-shadow: 0 0 0 1px rgba(0,255,163,.35), 0 12px 36px -10px rgba(0,255,163,.35);
}
.av-card--highlight::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 28px rgba(0,255,163,.18);
}
.av-card--highlight .av-card__bg { filter: saturate(1.08) contrast(1.04); }
.av-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a26, #0a0a12);
  position: relative;
  overflow: hidden;
}
.av-card__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.av-card__media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,163,.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,212,180,.18), transparent 50%);
}
.av-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: .3rem .7rem;
  background: rgba(0,0,0,.6);
  border: 1px solid var(--av-line);
  border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--av-fg);
  z-index: 2;
  backdrop-filter: blur(6px);
}
.av-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  color: rgba(255,255,255,.85);
  opacity: 0; transition: opacity .25s ease;
  z-index: 2;
}
.av-card:hover .av-card__play { opacity: 1; }
@media (hover: none) {
  .av-card__play { opacity: .9; }
}
.av-card.is-playing .av-card__play { opacity: 0; pointer-events: none; }
.av-card__body { padding: 1.5rem 1.25rem 1.6rem; }
.av-card__title { font-size: 1.15rem; font-weight: 700; color: var(--av-fg); margin-bottom: .35rem; }
.av-card__desc { color: var(--av-mute); font-size: .94rem; line-height: 1.55; margin-bottom: 0; }

/* ---------- Style picker ---------- */
.av-styler {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .av-styler { grid-template-columns: 1fr; }
}
.av-style-list { display: flex; flex-direction: column; gap: .55rem; }
.av-style-pill {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  color: var(--av-mute);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.av-style-pill:hover { color: var(--av-fg); border-color: rgba(255,255,255,.2); }
.av-style-pill.is-active { background: var(--av-fg); color: #000; border-color: var(--av-fg); }
.av-style-pill em { font-size: 1.2rem; opacity: .7; }
.av-style-pill.is-active em { opacity: 1; }

.av-style-preview {
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  padding: 2.25rem;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 320px;
  position: relative; overflow: hidden;
}
.av-style-preview::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(0,212,180,.18), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(0,255,163,.12), transparent 55%);
  z-index: 0;
}
.av-style-preview > * { position: relative; z-index: 1; }
.av-style-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700; color: var(--av-fg);
  margin-bottom: 1rem;
}
.av-style-desc { color: var(--av-mute); line-height: 1.65; margin-bottom: 1.25rem; }
.av-style-meta { display: flex; flex-wrap: wrap; gap: .6rem; }
.av-chip {
  padding: .35rem .85rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--av-line);
  border-radius: 999px;
  font-size: .82rem; color: var(--av-mute);
}

/* ---------- Process timeline ---------- */
.av-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: avstep;
}
.av-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  counter-increment: avstep;
}
.av-step::before {
  content: '0' counter(avstep);
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--av-accent);
  margin-bottom: .75rem;
  letter-spacing: .1em;
}
.av-step__title { font-size: 1.1rem; font-weight: 700; color: var(--av-fg); margin-bottom: .35rem; }
.av-step__desc { color: var(--av-mute); font-size: .92rem; line-height: 1.55; margin: 0; }

/* ---------- Why us ---------- */
.av-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.av-why__item {
  padding: 1.75rem 1.5rem;
  background: var(--av-bg-soft);
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
}
.av-why__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,163,.18), rgba(0,212,180,.18));
  color: var(--av-fg);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.av-why__title { font-weight: 700; color: var(--av-fg); margin-bottom: .4rem; font-size: 1.1rem; }
.av-why__desc { color: var(--av-mute); font-size: .94rem; line-height: 1.55; margin: 0; }

/* ---------- Final CTA ---------- */
.av-cta-final {
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(0,212,180,.22), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, rgba(0,255,163,.18), transparent 70%),
    var(--av-bg);
  padding: 7rem 0;
}
.av-cta-final .av-h2 { margin-bottom: 1.25rem; }

/* ---------- Language switcher ---------- */
.av-lang {
  display: inline-flex; align-items: center; gap: .25rem;
  margin-left: .75rem;
  padding: .25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--av-line);
  border-radius: 999px;
}
.av-lang button {
  padding: .35rem .85rem;
  font-size: .78rem; font-weight: 600;
  background: transparent; color: var(--av-mute);
  border: 0; border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.av-lang button.lang-active { background: var(--av-fg); color: #000; }
.av-lang button:hover { color: var(--av-fg); }
.av-lang button.lang-active:hover { color: #000; }

/* Make body dark on this page */
body.av-page { background: var(--av-bg); color: var(--av-fg); }
body.av-page .nk-header-main { background: rgba(6,6,10,.85); backdrop-filter: blur(12px); border-color: var(--av-line) !important; }
/* Only style TOP-LEVEL nav links; leave dropdown items with theme's default dark text */
body.av-page .nk-header-menu > .nk-menu-list > .nk-menu-item > .nk-menu-link { color: var(--av-mute) !important; }
body.av-page .nk-header-menu > .nk-menu-list > .nk-menu-item > .nk-menu-link:hover,
body.av-page .nk-header-menu > .nk-menu-list > .nk-menu-item.active > .nk-menu-link { color: var(--av-fg) !important; }
body.av-page .nk-menu-dropdown { background: #fff !important; }
body.av-page .nk-menu-dropdown .nk-menu-link,
body.av-page .nk-menu-dropdown a,
body.av-page .nk-menu-dropdown .fw-bold,
body.av-page .nk-menu-dropdown li { color: #0d0d14 !important; }
body.av-page .nk-menu-dropdown .nk-menu-link:hover,
body.av-page .nk-menu-dropdown a:hover { color: #00b67a !important; }
body.av-page .nk-footer { background: var(--av-bg) !important; color: var(--av-mute); border-top: 1px solid var(--av-line); }
body.av-page .nk-footer * { color: inherit; }
body.av-page .nk-footer .link-base { color: var(--av-mute) !important; }
body.av-page .nk-footer .link-base:hover { color: var(--av-fg) !important; }
body.av-page .nk-footer .text-heading { color: var(--av-fg) !important; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .av-hero { min-height: 78vh; }
  .av-hero__content { padding: 4rem 0 3rem; }
  .av-section-pad { padding: 4rem 0; }
  .av-h1 { max-width: 100%; }
}

/* ============================================================
   KREA-STYLE EXTENSIONS — light sections, testimonial, carousel, FAQ
   ============================================================ */

/* Light section variant (white background, dark text) */
.av-section--light {
  background: #f7f7f5 !important;
  color: #0a0a14 !important;
}
.av-section--light .av-h2,
.av-section--light .av-h3,
.av-section--light .av-h1 { color: #0a0a14 !important; }
.av-section--light .av-sub,
.av-section--light .av-lead { color: #4a4a55 !important; }
.av-section--light .av-eyebrow { color: #6a6a75 !important; border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.04); }
.av-section--light .av-engine,
.av-section--light .av-card,
.av-section--light .av-why__card,
.av-section--light .av-step {
  background: #fff !important;
  border-color: rgba(0,0,0,.08) !important;
  color: #0a0a14 !important;
}
.av-section--light .av-engine__name,
.av-section--light .av-card__title,
.av-section--light .av-why__title,
.av-section--light .av-step__title { color: #0a0a14 !important; }
.av-section--light .av-engine__role,
.av-section--light .av-card__desc,
.av-section--light .av-why__desc,
.av-section--light .av-step__desc { color: #4a4a55 !important; }
.av-section--light .av-btn--ghost { color: #0a0a14; border-color: rgba(0,0,0,.18); background: rgba(0,0,0,.02); }
.av-section--light .av-btn--ghost:hover { background: rgba(0,0,0,.06); }

/* Big bold typography for light hero-style headings */
.av-h2--giant {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 1.25rem;
  max-width: 900px;
}

/* ---------- Testimonial carousel (full-bleed video + quote) ---------- */
.av-tcarousel {
  position: relative;
  width: 100%;
  min-height: 86vh;
  overflow: hidden;
  background: #0a0a14;
  display: flex;
  align-items: stretch;
}
.av-tcarousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: flex-end;
}
.av-tcarousel__slide.is-active { opacity: 1; z-index: 1; }
.av-tcarousel__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.av-tcarousel__bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.av-tcarousel__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
video.av-rail__media {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.av-tcarousel__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.7) 100%);
}
.av-tcarousel__inner {
  position: relative; z-index: 2;
  padding: 5rem 0 5rem;
  width: 100%;
}
.av-tcarousel__quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}
.av-tcarousel__quote {
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 600;
  max-width: 720px;
  line-height: 1.35;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.av-tcarousel__author { color: #fff; font-weight: 600; font-size: 1rem; }
.av-tcarousel__role { color: rgba(255,255,255,.7); font-size: .9rem; }

.av-tcarousel__controls {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.av-tcarousel__dots { display: flex; gap: .4rem; margin-right: .5rem; }
.av-tcarousel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0; padding: 0; cursor: pointer;
}
.av-tcarousel__dot.is-active { background: #fff; }

.av-arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}
.av-arrow-btn:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.6); transform: scale(1.06); }
.av-arrow-btn em { font-size: 1.1rem; line-height: 1; }
.av-arrow-btn--dark {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #0a0a14;
}
.av-arrow-btn--dark:hover { background: rgba(0,0,0,.12); border-color: rgba(0,0,0,.25); }

/* ---------- Horizontal scroll showcase rail ---------- */
.av-rail-wrap { position: relative; }
.av-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem 0 2rem;
  scrollbar-width: none;
}
.av-rail::-webkit-scrollbar { display: none; }
.av-rail__item {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 420px);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1a1a24, #0a0a14);
  border: 1px solid var(--av-line);
  cursor: pointer;
  transition: transform .3s ease;
}
.av-section--light .av-rail__item { border-color: rgba(0,0,0,.08); background: linear-gradient(135deg, #f0f0ed, #e6e6e0); }
.av-rail__item:hover { transform: translateY(-4px); }
.av-rail__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.av-rail__media video,
.av-rail__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.av-rail__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.75) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1rem 1.25rem 1.25rem;
}
.av-rail__badge {
  align-self: flex-start;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.av-rail__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.av-rail__caption {
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.av-rail__controls {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: -1rem;
}

/* ---------- FAQ accordion ---------- */
.av-faq { max-width: 880px; margin: 2.5rem auto 0; }
.av-faq__item {
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.av-faq__btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.av-faq__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.av-faq__item.is-open .av-faq__icon { transform: rotate(45deg); background: #0a0a14; color: #fff; border-color: #0a0a14; }
.av-faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.av-faq__item.is-open .av-faq__body { max-height: 400px; }
.av-faq__answer {
  padding: 0 0 1.5rem;
  color: #4a4a55;
  line-height: 1.65;
  max-width: 760px;
}

/* Two-column rows for "More ways" */
.av-ways { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.av-way {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.av-way__text h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 .75rem;
  color: #0a0a14;
}
.av-way__text p { color: #4a4a55; line-height: 1.6; margin: 0 0 1rem; }
.av-way__media {
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a24, #2a2a3a);
  position: relative;
  border: 1px solid rgba(0,0,0,.06);
}
.av-way__media video, .av-way__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .av-way { grid-template-columns: 1fr; gap: 1.25rem; }
  .av-tcarousel { min-height: 70vh; }
  .av-tcarousel__quote { font-size: 1.1rem; }
  .av-tcarousel__controls { right: 1rem; bottom: 1rem; }
}

/* ============================================================
   POLISH PASS — logo, footer cohesion, section transitions
   ============================================================ */

/* Logo on dark pages: swap to white-text variant via content replacement */
body.av-page .nk-header-logo .logo-img,
body.av-page .nk-footer .logo-img {
  content: url('../../images/logo-light2x.png');
  background: transparent !important;
  max-height: 40px;
  width: auto;
  padding: 0;
}
body.av-page .nk-header-logo .logo-link,
body.av-page .nk-footer .logo-link {
  background: transparent !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
}
body.av-page .logo-wrap {
  background: transparent !important;
  padding: 0;
  border: 0;
  box-shadow: none;
}

/* Make footer feel like part of the page (true dark, no border-top mismatch) */
body.av-page .nk-footer {
  background: #060609 !important;
  border-top: 0 !important;
  margin-top: 0 !important;
}
body.av-page .nk-footer .section { background: transparent !important; }
body.av-page .nk-footer .text-heading,
body.av-page .nk-footer h1, body.av-page .nk-footer h2,
body.av-page .nk-footer h3, body.av-page .nk-footer h4 { color: #f5f5f7 !important; }

/* Tighten section pad on desktop so each feels like a screen */
@media (min-width: 992px) {
  .av-section-pad { padding: 6.5rem 0; }
}

/* Final CTA bleeds into footer — no visible seam */
body.av-page .av-cta-final {
  background: linear-gradient(180deg, #0a0a14 0%, #060609 100%);
  border-bottom: 0;
}

/* Light section breathing - soft top fade so it doesn't look pasted in */
body.av-page .av-section--light {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* ===== Veo gallery iframe embed ===== */
.av-gallery-embed {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.av-gallery-embed iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #000;
}
@media (max-width: 991px) {
  .av-gallery-embed iframe { height: 720px; }
}
@media (max-width: 575px) {
  .av-gallery-embed iframe { height: 560px; }
  .av-gallery-embed { border-radius: 14px; }
}

/* ============================================================
   MOBILE: stack rail vertically + show all cards
   ============================================================ */
@media (max-width: 768px) {
  .av-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: .25rem 0 1.5rem;
  }
  .av-rail__item {
    width: 100%;
    aspect-ratio: 16 / 11;
    scroll-snap-align: none;
  }
  .av-rail__controls { display: none; }
  /* Stack use-case grid */
  .av-grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  /* Tighten cards */
  .av-card { width: 100%; }
}

/* Skeleton placeholder for lazy videos before src attaches */
video[data-lazy-bg]:not([data-lazy-loaded]) {
  background: linear-gradient(135deg, #10101a, #050509);
}

/* ---------- Style pill thumbnails (video sample picker) ---------- */
.av-style-pill-thumb {
  position: relative;
  min-height: 92px;
  padding: 0 !important;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-sm);
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
  color: #fff !important;
  isolation: isolate;
}
.av-style-pill-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.78) 100%);
  z-index: 0;
}
.av-style-pill-thumb > span,
.av-style-pill-thumb > em {
  position: relative;
  z-index: 1;
}
.av-style-pill-thumb > span {
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.av-style-pill-thumb > em {
  padding: 0.9rem 1.1rem;
  font-size: 1.2rem;
  opacity: .85;
}
.av-style-pill-thumb.is-active {
  border-color: var(--av-fg);
  box-shadow: 0 0 0 2px rgba(0,212,180,.45);
  background-color: transparent;
  color: #fff !important;
}
.av-style-pill-thumb.is-active::before {
  background: linear-gradient(180deg, rgba(0,212,180,.20) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.78) 100%);
}

@media (max-width: 768px) {
  .av-style-pill-thumb {
    min-height: 120px;
  }
  .av-style-pill-thumb > span { font-size: 1.05rem; }
}

/* ---------- Brand banner strip (before footer) ---------- */
.av-banner-strip {
  padding: 2.5rem 0 3rem;
}
.av-banner-strip__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--av-radius);
  border: 1px solid var(--av-line);
}
