/* SmartMew ürün tanıtım ve kurulum videoları (assets/js/video.js ile birlikte).
   Videolar dikey (9:16) çekildiği için oynatıcı dikey; yanında bölüm listesi yer alır.
   Renkler sitenin Tailwind token'larıyla aynıdır (primary #006194, secondary-container #fd761a). */
.smv {
  --smv-primary: #006194;
  --smv-primary-soft: #cce5ff;
  --smv-accent: #fd761a;
  --smv-ink: #131b2e;
  --smv-muted: #3f4850;
  --smv-outline: #707881;
  --smv-card: #ffffff;
  --smv-soft: #f2f3ff;
  --smv-soft-2: #e2e7ff;
}

.smv, .smv-card { scroll-margin-top: 120px; }
.smv-section { padding: 48px 0; }
@media (min-width: 1024px) { .smv-section { padding: 64px 0; } }
.smv-wrap { max-width: 80rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .smv-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .smv-wrap { padding: 0 32px; } }
.smv-head { max-width: 46rem; margin: 0 auto 2rem; text-align: center; }
.smv-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 9999px;
  background: var(--smv-primary-soft); color: var(--smv-primary);
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.smv-eyebrow .material-symbols-outlined { font-size: 16px; }
.smv-title { margin: 12px 0 8px; color: var(--smv-ink); font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -.02em; }
.smv-lead { margin: 0; color: var(--smv-muted); font-size: 15px; line-height: 24px; }
@media (min-width: 768px) { .smv-title { font-size: 32px; line-height: 40px; } }

.smv-list { display: flex; flex-direction: column; gap: 24px; }

/* Kart: solda dikey oynatıcı, sağda bilgiler ve bölümler */
.smv-card {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start;
  background: var(--smv-card); border-radius: 24px; padding: 16px;
  box-shadow: 0 10px 30px rgba(19, 27, 46, .08); min-width: 0;
}
@media (min-width: 768px) {
  .smv-card { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; padding: 24px; }
}
@media (min-width: 1024px) { .smv-card { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); } }

.smv-player {
  position: relative; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 9 / 16;
  max-height: 78vh; border-radius: 20px; overflow: hidden; background: #0b2236;
  box-shadow: 0 12px 32px rgba(0, 75, 115, .25);
}
@supports not (aspect-ratio: 9 / 16) { .smv-player { height: 0; padding-top: 177.78%; } }
.smv-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b2236; display: block; }

.smv-play {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 0; padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(11, 34, 54, 0) 45%, rgba(11, 34, 54, .55) 100%);
}
.smv-play-btn {
  width: 76px; height: 76px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: var(--smv-accent); box-shadow: 0 0 0 10px rgba(253, 118, 26, .25), 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
.smv-play-btn .material-symbols-outlined { font-size: 44px; font-variation-settings: 'FILL' 1; margin-left: 4px; }
.smv-play:hover .smv-play-btn, .smv-play:focus-visible .smv-play-btn { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(253, 118, 26, .3), 0 10px 30px rgba(0, 0, 0, .35); }
.smv-play:focus-visible { outline: 3px solid var(--smv-accent); outline-offset: -3px; }
.smv-play-label {
  position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.smv-play-label span { background: rgba(11, 34, 54, .72); padding: 4px 10px; border-radius: 9999px; white-space: nowrap; }
.smv-player.is-started .smv-play { display: none; }

.smv-info { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.smv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.smv-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 9999px;
  background: var(--smv-soft-2); color: var(--smv-primary); font-size: 12px; line-height: 16px; font-weight: 700;
}
.smv-tag .material-symbols-outlined { font-size: 14px; }
.smv-tag--accent { background: #ffdbc9; color: #9a4100; }
.smv-name { margin: 0; color: var(--smv-ink); font-size: 22px; line-height: 30px; font-weight: 800; letter-spacing: -.01em; }
.smv-desc { margin: 0; color: var(--smv-muted); font-size: 14px; line-height: 22px; }
.smv-points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .smv-points { grid-template-columns: 1fr 1fr; } }
.smv-points li { display: flex; align-items: flex-start; gap: 8px; color: var(--smv-ink); font-size: 14px; line-height: 20px; }
.smv-points .material-symbols-outlined { color: var(--smv-primary); font-size: 18px; line-height: 20px; flex-shrink: 0; }

.smv-chapters-title { margin: 4px 0 0; color: var(--smv-outline); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.smv-chapters-title .material-symbols-outlined { font-size: 16px; }
.smv-chapters { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 640px) { .smv-chapters { grid-template-columns: 1fr 1fr; } }
.smv-chap {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  padding: 8px 10px; border-radius: 12px; border: 1px solid transparent; background: var(--smv-soft);
  color: var(--smv-ink); font: inherit; font-size: 13px; line-height: 18px; font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.smv-chap:hover { background: var(--smv-soft-2); transform: translateX(2px); }
.smv-chap:focus-visible { outline: 2px solid var(--smv-primary); outline-offset: 2px; }
.smv-chap time {
  flex-shrink: 0; min-width: 44px; padding: 2px 6px; border-radius: 6px; background: #fff; color: var(--smv-primary);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; text-align: center;
}
.smv-chap.is-active { background: var(--smv-primary); color: #fff; border-color: var(--smv-primary); }
.smv-chap.is-active time { background: rgba(255, 255, 255, .18); color: #fff; }
.smv-note { margin: 0; color: var(--smv-outline); font-size: 12px; line-height: 18px; display: flex; align-items: flex-start; gap: 6px; }
.smv-note .material-symbols-outlined { font-size: 16px; line-height: 18px; }

/* Anasayfa: hafif video kartları (video yüklenmez, kılavuz sayfasına götürür) */
.smv-teaser { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .smv-teaser { grid-template-columns: 1fr 1fr; } }
.smv-teaser-card {
  display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 20px; background: #fff; color: var(--smv-ink);
  text-decoration: none; box-shadow: 0 4px 16px rgba(19, 27, 46, .06); border: 1px solid transparent; min-width: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.smv-teaser-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(19, 27, 46, .12); border-color: rgba(0, 97, 148, .2); }
.smv-teaser-thumb { position: relative; flex-shrink: 0; width: 84px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0b2236; }
.smv-teaser-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smv-teaser-thumb .material-symbols-outlined {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; background: var(--smv-accent); color: #fff; font-size: 26px;
  font-variation-settings: 'FILL' 1; box-shadow: 0 0 0 6px rgba(253, 118, 26, .25);
}
.smv-teaser-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.smv-teaser-kicker { color: var(--smv-primary); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.smv-teaser-title { font-size: 16px; line-height: 22px; font-weight: 800; }
.smv-teaser-text { color: var(--smv-muted); font-size: 13px; line-height: 19px; }
.smv-teaser-cta { margin-top: 2px; display: inline-flex; align-items: center; gap: 4px; color: var(--smv-accent); font-size: 13px; font-weight: 700; }
.smv-teaser-cta .material-symbols-outlined { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .smv-chap, .smv-teaser-card, .smv-play-btn { transition: none !important; }
}
