/* =========================================================
   Tabion Yurika 제품 페이지 (2026.09 소개서 기준으로 새로 구성)
   · 틀·카드: style.css 슬라이드 틀 + yurika.css의 .yk 컴포넌트 (네이비)
   · SVG 도식 공통 부품: aiops.css (.ao-svg, .ao-feat, .ao-map, .ao-diff, .ao-arch, .ao-gauges, .ao-log …)
     색은 var(--blue)를 따라가므로 이 페이지에서는 네이비로 보인다
   · 여기에는 Yurika에만 있는 도식만 둔다
   · 이전 버전: product-yurika-v2.html (yurika_landing 변환본)
   ========================================================= */

/* 소개서의 4대 특징 등 4칸 카드 */
.yu-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yu-4 .fc { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 20px 18px; animation: aoLift 8s var(--ease) infinite; }
.yu-4 .fc:nth-child(2) { animation-delay: 2s; }
.yu-4 .fc:nth-child(3) { animation-delay: 4s; }
.yu-4 .fc:nth-child(4) { animation-delay: 6s; }
.yu-4 .en { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--blue); }
.yu-4 b { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.yu-4 p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.yu-4 .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-tint); border: 1px solid var(--sky-2); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.yu-4 .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* 적용 예시 한 줄 */
.yk .yu-ex { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); background: var(--sky-tint); border: 1px solid var(--sky-2); border-radius: 8px; padding: 11px 13px; }
.yk .yu-ex b { flex: none; font-size: 11px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--sky-2); border-radius: 6px; padding: 2px 7px; }

/* 발표 자료: 스토리보드 카드 → 슬라이드 */
.yu-story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.yu-story span { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 9px; font-size: 11.5px; font-weight: 700; color: var(--ink); line-height: 1.4; animation: yuCard 8s var(--ease) infinite both; }
.yu-story span small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-3); margin-top: 3px; }
.yu-story span:nth-child(2) { animation-delay: 0.4s; }
.yu-story span:nth-child(3) { animation-delay: 0.8s; }
.yu-story span:nth-child(4) { animation-delay: 1.2s; }
@keyframes yuCard { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 가드레일: 민감정보가 가려지는 표시 (요청 → 검사 → 차단) */
.yu-mask { position: relative; display: inline-block; }
.yu-mask .raw { animation: yuRaw 5s ease-in-out infinite; }
.yu-mask .hid { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--red-deep); font-weight: 700; animation: yuHid 5s ease-in-out infinite; }
@keyframes yuRaw { 0%, 30% { opacity: 1; } 42%, 88% { opacity: 0; } 100% { opacity: 1; } }
@keyframes yuHid { 0%, 30% { opacity: 0; } 42%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* 예산 막대: 배정 한도(점선)까지 차오르고, 넘으려는 순간 차단 */
@keyframes yuFill { 0%, 8% { transform: scaleX(0); } 55%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.ao-svg .yu-bar { transform-box: fill-box; transform-origin: 0 50%; animation: yuFill 7s var(--ease) infinite; }
.ao-svg .yu-bar.b2 { animation-delay: 0.25s; }
.ao-svg .yu-bar.b3 { animation-delay: 0.5s; }

/* 모델 라우팅: 요청 점이 외부/내부 모델로 갈라져 흐른다 */
.ao-svg .dot.navy { fill: var(--blue); }

/* 부서별 활용 (8칸) */
.yu-dept { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.yu-dept .d { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 14px 16px; animation: aoLift 9.6s var(--ease) infinite; }
.yu-dept .d:nth-child(2) { animation-delay: 1.2s; }
.yu-dept .d:nth-child(3) { animation-delay: 2.4s; }
.yu-dept .d:nth-child(4) { animation-delay: 3.6s; }
.yu-dept .d:nth-child(5) { animation-delay: 4.8s; }
.yu-dept .d:nth-child(6) { animation-delay: 6s; }
.yu-dept .d:nth-child(7) { animation-delay: 7.2s; }
.yu-dept .d:nth-child(8) { animation-delay: 8.4s; }
.yu-dept b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.yu-dept small { display: block; font-size: 11px; font-weight: 700; color: var(--blue); margin-top: 2px; }
.yu-dept ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.yu-dept li { font-size: 12px; color: var(--ink-2); line-height: 1.5; padding-left: 10px; position: relative; }
.yu-dept li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* 개발 에이전트 권한 모드 */
.yu-modes { display: flex; gap: 8px; margin-top: 12px; }
.yu-modes span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 6px; animation: yuMode 6s var(--ease) infinite; }
.yu-modes span:nth-child(2) { animation-delay: 2s; }
.yu-modes span:nth-child(3) { animation-delay: 4s; }
@keyframes yuMode { 0%, 100% { background: #fff; color: var(--ink-2); border-color: var(--line-strong); } 6%, 30% { background: var(--blue); color: #fff; border-color: var(--blue); } 36% { background: #fff; color: var(--ink-2); border-color: var(--line-strong); } }

/* 비교 표: 일반 범용 AI vs Yurika */
.yk .yu-cmp .cr { grid-template-columns: 0.8fr 1.2fr 1.4fr; }
.yk .yu-cmp .cc { padding: 11px 16px; font-size: 13px; }
.yk .yu-same { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.yk .yu-same span { font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--sky-tint); border: 1px solid var(--sky-2); border-radius: 100px; padding: 7px 14px; }
.yk .yu-same span em { font-style: normal; color: var(--blue); margin-right: 6px; }

/* 정량 효과 보충 수치 */
.yk .yu-sub { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--ink-2); }
.yk .yu-sub b { color: var(--ink); }

/* 높이가 낮은 노트북 화면: 내용이 많은 장만 간격을 줄인다 */
@media (min-width: 901px) and (max-height: 860px) {
  .yk.yu .yk-sec.yk-slide { padding-top: 28px; padding-bottom: 60px; }
  .yk.yu .full-head { margin-bottom: 16px; }
  .yk.yu .full-head .sub { margin-top: 10px !important; font-size: 14px; }
  .yk.yu .qbar { margin-top: 14px; padding: 12px 18px; }
  .yk.yu .yu-cmp .cc, .yk.yu .ao-int .cc { padding: 7px 14px; }
  .yk.yu .yu-4 .fc { padding: 14px 16px; }
  .yk.yu .ao-feat .fc { padding: 12px 16px; }
  .yk.yu .yu-dept .d { padding: 10px 14px; }
  .yk.yu .ao-gauges .gc { padding: 18px 14px 16px; }
  .yk.yu .ao-gauges .gw { width: 112px; }
  .yk.yu .ao-layers .ly { padding: 7px 14px; }
}

@media (max-width: 900px) {
  .yu-4, .yu-dept { grid-template-columns: 1fr 1fr; }
  .yu-story { grid-template-columns: 1fr 1fr; }
  .yk .yu-cmp .cr { grid-template-columns: 1fr 1fr; }
  .yk .yu-cmp .cc:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .yu-4 .fc, .yu-story span, .yu-mask .raw, .yu-mask .hid, .ao-svg .yu-bar, .yu-dept .d, .yu-modes span { animation: none !important; }
  .yu-mask .hid { opacity: 0; }
}

/* 가드레일 입력 칸 안의 가림 표시(.yu-mask / .aw-mask)는 칸 모양(.gwin span)을 이어받지 않게 — 이중 테두리 방지 */
.yk .gwin span .yu-mask, .yk .gwin span .yu-mask span,
.yk .gwin span .aw-mask, .yk .gwin span .aw-mask span { border: 0; background: none; padding: 0; border-radius: 0; font-size: inherit; text-align: left; }
/* ---------- 첫 화면 데모 영상 카드 (도입 문의 버튼 옆) ---------- */
.yu-hero-acts { align-items: flex-start; flex-wrap: wrap; }
.yu-demo { position: relative; display: block; width: clamp(260px, 26vw, 384px); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #d9d9d9; cursor: pointer; }
.yu-demo-media, .yu-demo-media video, .yu-demo-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; pointer-events: none; }
.yu-demo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45)); transition: background 0.25s var(--ease); }
.yu-demo:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.55)); }
.yu-demo-play { position: absolute; left: 12px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.yu-demo-play i { width: 26px; height: 26px; border-radius: 50%; background: #fff; position: relative; flex: none; }
.yu-demo-play i::after { content: ""; position: absolute; left: 10px; top: 8px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--ink); }
.yu-demo:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* 팝업 플레이어 */
.yu-modal { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 10px; background: #000; overflow: visible; }
.yu-modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.yu-modal-frame { aspect-ratio: 16 / 9; }
.yu-modal-frame video, .yu-modal-frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; }
.yu-modal-x { position: absolute; right: 0; top: -46px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.yu-modal-x:hover { background: rgba(255, 255, 255, 0.3); }
.yu-modal-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }