/* =====================================================================
   qiboo-atlas-home.css — 3D Body Atlas on the home page (index.html + /tr/)
     .qatl       band right under the hero: 16:9 looping video (or poster) + copy
     .qatl-feat  features grid after the product trio: tour video + 8 cards
   Brand tokens only (styles.css :root); dark mode comes for free through the
   html[data-theme="dark"] token redefinition — the stage is dark in both.
   ===================================================================== */

/* ---- band ---------------------------------------------------------- */
.qatl { padding: clamp(18px, 3vw, 34px) 0 10px; }
.qatl__in {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3.5vw, 44px);
  align-items: center;
}
@media (max-width: 900px) { .qatl__in { grid-template-columns: 1fr; } }

.qatl__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-lg, 14px); background: #111;
  box-shadow: 0 18px 48px rgba(20, 30, 15, .22), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.qatl__video, .qatl__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.qatl__poster { display: none; }
.qatl__stage.is-poster .qatl__video { display: none; }
.qatl__stage.is-poster .qatl__poster { display: block; }
.qatl__tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 5px 10px; backdrop-filter: blur(4px);
}
.qatl__tag b { color: var(--q-gold, #c9a227); font-weight: 700; }
/* overlay button: shown when the video can't play (missing file / reduced motion) */
.qatl__overlay {
  /* bottom-right so it never sits on the poster's title block (left / centre) */
  position: absolute; inset: 0; z-index: 2; display: none; align-items: flex-end; justify-content: flex-end;
  padding: 16px; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 55%);
  text-decoration: none;
}
.qatl__stage.is-poster .qatl__overlay, .qatl__stage.is-paused .qatl__overlay { display: flex; }
.qatl__overlay span {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-sans);
  font-weight: 700; font-size: 15px; background: rgba(74, 124, 47, .92); border-radius: 999px;
  padding: 12px 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .14s, background-color .14s;
}
.qatl__overlay:hover span { transform: translateY(-1px); background: var(--gfill-2, #2d5016); }
.qatl__overlay svg { flex: none; }

.qatl__copy .eyebrow { display: block; margin-bottom: 10px; }
.qatl__h {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; line-height: 1.12;
  font-size: clamp(26px, 3.1vw, 38px); color: var(--ink); margin: 0 0 14px;
}
.qatl__h em { font-style: italic; color: var(--primary-dark); }
.qatl__copy .qtrust__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; margin: 0 0 16px; }
@media (max-width: 480px) { .qatl__copy .qtrust__facts { grid-template-columns: 1fr; } }
.qatl__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.qatl__chip {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-soft);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  border: 1px solid var(--slate-200); background: var(--white); border-radius: 999px; padding: 6px 12px;
  transition: border-color .14s, color .14s, transform .14s;
}
.qatl__chip:hover { color: var(--primary-dark); border-color: var(--primary-light); transform: translateY(-1px); }
.qatl__chip code { font-family: var(--font-mono); font-size: 12px; color: var(--primary-dark); }
.qatl__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qatl__sub { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--slate-500); }
.qatl__sub b { color: var(--accent-ai); font-weight: 700; }

/* ---- features grid -------------------------------------------------- */
.qatl-feat { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.qatl-feat__top {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(18px, 3vw, 36px); align-items: center;
  margin: 0 0 clamp(20px, 3vw, 30px);
}
@media (max-width: 900px) { .qatl-feat__top { grid-template-columns: 1fr; } }
.qatl-feat .video-feature { aspect-ratio: 16 / 9; }
.qatl-feat .video-feature__img { background-image: url("/img/atlas/tour-poster.en.jpg"); }
.qatl-feat .video-feature video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.qatl-feat .video-feature__note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3;
  color: #fff; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  background: rgba(0, 0, 0, .55); text-align: center; padding: 20px;
}
.qatl-feat__lead h3 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.18;
  font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); margin: 0 0 10px;
}
.qatl-feat__lead p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 12px; }
.qatl-feat__steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; counter-reset: qatlstep; }
.qatl-feat__steps li {
  position: relative; padding-left: 30px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
}
.qatl-feat__steps li::before {
  counter-increment: qatlstep; content: counter(qatlstep);
  position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-pale); color: var(--primary-dark); font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.qatl-feat .aud-card { position: relative; }
.qatl-feat .aud-card h3 { font-size: 16.5px; margin: 8px 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qatl-feat .aud-card p { margin-bottom: 8px; }
.qatl-feat .aud-card .q-pro { vertical-align: 2px; }
.qatl-feat .aud-card--pro { border-color: var(--accent-ai-soft); }
.qatl-feat .aud-card--pro:hover { border-color: var(--accent-ai); box-shadow: 0 8px 24px rgba(37, 99, 235, .10); }
.qatl-feat__foot {
  margin: 18px 0 0; font-size: 13px; color: var(--slate-500); display: flex; gap: 8px 18px; flex-wrap: wrap;
  align-items: center;
}
.qatl-feat__foot a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }

/* reduced motion: never autoplay, show the play overlay instead (JS also removes autoplay) */
@media (prefers-reduced-motion: reduce) {
  .qatl__overlay span, .qatl__chip, .qatl__overlay { transition: none; }
}
/* tanıtım turu oynarken poster, oynat düğmesi ve yazı katmanı kalkar (video üstte) */
.qatl-feat .video-feature.is-playing .video-feature__play,
.qatl-feat .video-feature.is-playing .video-feature__info,
.qatl-feat .video-feature.is-playing .video-feature__img { display: none; }
.qatl-feat .video-feature.is-playing video { z-index: 5; }
