/* ============================================================
   기능 소개 v2 — FireM6 Pro 실제 앱 화면 재현 (3장면)
   스펙 출처: FireM6Pro 코드 (MainScreen / AlarmSettingsContent /
   FireDetailScreen + FireVerdictModal) + src/theme/colors.ts
   실측 토큰: ink #1A1B2E·#0B1220, orange #F97316, red #DC2626,
   indigo #6366F1, blue600 #2563EB, glass rgba(255,255,255,.78)
   ============================================================ */

#introduction.iv2 {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  gap: 140px;
}

.iv2-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 110px;
  text-align: start;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  will-change: transform, opacity;
}
.iv2-row.active { opacity: 1; transform: translateY(0); }
.iv2-row-rev { flex-direction: row-reverse; }
.iv2-row:not(.active) .iv2-screen,
.iv2-row:not(.active) .iv2-screen * {
  animation-play-state: paused !important;
}

.iv2-text .introduction__title { margin-bottom: 48px; }
.iv2-points p {
  color: #aaa;
  font-size: 33px;
  font-weight: 700;
  line-height: 58px;
}

/* ---------- 폰 목업 ---------- */
.iv2-phone {
  flex-shrink: 0;
  width: 300px;
  height: 620px;
  border-radius: 46px;
  background: #1f2937;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 30px 60px rgba(31, 41, 55, 0.28), 0 6px 16px rgba(31, 41, 55, 0.18);
}
.iv2-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #ffffff;
  font-family: "Pretendard", sans-serif;
}
.iv2-screen * { box-sizing: border-box; }
.iv2-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 배경 — MainScreen radial (평상시 흰색 / 화재 살구) */
.iv2-bg { position: absolute; inset: 0; background: #ffffff; }
.iv2-bg-fire1 {
  background: radial-gradient(120% 80% at 28% 15%, #ffd0b0 0%, #ffdcc5 35%, #fcd5d2 100%);
  opacity: 0;
  animation: iv2-fire-in 9s ease-in-out infinite;
}
/* FireDetail coral mesh: #FFE7D0→#FFEFDF + blob 3종 */
.iv2-bg-coral {
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255, 217, 176, 0.7), transparent 70%),
    radial-gradient(60% 60% at 80% 40%, rgba(255, 228, 212, 0.6), transparent 70%),
    radial-gradient(70% 70% at 50% 100%, rgba(252, 239, 238, 0.65), transparent 75%),
    linear-gradient(160deg, #ffe7d0 0%, #ffefdf 100%);
}

@keyframes iv2-fire-in {
  0%, 30% { opacity: 0; }
  36%, 88% { opacity: 1; }
  95%, 100% { opacity: 0; }
}

/* ---------- 공통 ---------- */
.iv2-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 0;
  font-size: 12px;
  font-weight: 700;
  color: #0b1220;
}
.iv2-status-r { font-size: 10px; letter-spacing: 2px; }
.iv2-appbar { position: relative; padding: 14px 18px 10px; text-align: center; }
.iv2-appbar-title { font-size: 13px; font-weight: 700; color: #0b1220; }
.iv2-pin { font-size: 11px; }

/* ============ 장면 1 : 관제 시설 (MainScreen) ============ */

/* 푸시 (시스템 알림 스타일) */
.iv2-push {
  position: absolute;
  z-index: 6;
  top: 8px;
  left: 50%;
  width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -140%);
  animation: iv2-push 9s ease-in-out infinite;
}
.iv2-push-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.iv2-push-text { font-size: 10.5px; line-height: 1.45; color: #374151; font-weight: 600; }
.iv2-push-text strong { color: #0b1220; font-weight: 800; }
@keyframes iv2-push {
  0%, 33% { transform: translate(-50%, -140%); }
  38%, 80% { transform: translate(-50%, 0); }
  86%, 100% { transform: translate(-50%, -140%); }
}

/* 빌딩 카드 — 평상시 흰 glass / 화재 살구 (radius 30) */
.iv2-mcard {
  position: relative;
  margin: 8px 14px 0;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.55);
  box-shadow: 0 18px 44px rgba(26, 27, 46, 0.12);
  animation: iv2-mcard 9s ease-in-out infinite;
}
@keyframes iv2-mcard {
  0%, 30% {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(226, 232, 240, 0.55);
    box-shadow: 0 18px 44px rgba(26, 27, 46, 0.12);
  }
  36%, 88% {
    background: rgba(255, 243, 228, 0.92);
    border-color: rgba(254, 215, 170, 0.55);
    box-shadow: 0 18px 44px rgba(249, 115, 22, 0.22);
  }
  95%, 100% {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(226, 232, 240, 0.55);
    box-shadow: 0 18px 44px rgba(26, 27, 46, 0.12);
  }
}

/* 연결됨 칩 (white pill + 파랑 점 3개 웨이브) */
.iv2-conn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.7);
  font-size: 10px;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: 0.3px;
}
.iv2-conn i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1d4ed8;
  animation: iv2-dot 1.8s ease-in-out infinite;
}
.iv2-conn i:nth-child(2) { animation-delay: 0.2s; }
.iv2-conn i:nth-child(3) { animation-delay: 0.4s; }
@keyframes iv2-dot {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

/* 건물명 32px/700/-0.8 → 0.75 스케일 */
.iv2-bname {
  margin-top: 8px;
  font-size: 23px;
  font-weight: 700;
  color: #1a1b2e;
  letter-spacing: -0.6px;
}

/* 위치 박스 — 화재 시에만 (인디고→주황) */
.iv2-locpill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(249, 115, 22, 0.45);
  font-size: 12.5px;
  font-weight: 800;
  color: #9a3412;
  letter-spacing: -0.2px;
  opacity: 0;
  animation: iv2-fire-in 9s ease-in-out infinite;
}

/* 화재 박스 — 칩(깜박임) + 발생시각 + 경과시간 */
.iv2-firebox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 237, 213, 0.92);
  border: 1.5px solid rgba(249, 115, 22, 0.45);
  opacity: 0;
  animation: iv2-fire-in 9s ease-in-out infinite;
}
.iv2-firechip {
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  background: #ea580c;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.65);
  animation: iv2-chip-blink 1.2s ease-in-out infinite;
}
@keyframes iv2-chip-blink {
  0%, 100% { background: #ea580c; }
  50% { background: #991b1b; }
}
.iv2-firetimes { display: grid; justify-items: end; gap: 2px; }
.iv2-firetimes em {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: #4a4e6b;
}
.iv2-firetimes strong {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 18px;
  font-weight: 800;
  color: #9a3412;
}

/* 명령 버튼 4종 (수신기 복구 = 빨강) */
.iv2-cmdgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}
.iv2-cmd {
  height: 34px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.iv2-cmd-red { background: #dc2626; border-color: #dc2626; color: #fff; }

/* 하단 탭바 — floating glass */
.iv2-tabbar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-around;
  padding: 8px 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.iv2-tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1px;
  font-size: 12px;
}
.iv2-tab b { font-size: 9px; font-weight: 500; color: #64748b; }
.iv2-tab-on b { font-weight: 700; color: #0b1220; }
.iv2-tab u {
  position: absolute;
  top: -3px;
  right: -7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dc2626;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
}

/* ============ 장면 2 : 교대 근무 모드 (AlarmSettingsContent) ============ */
.iv2-s2 .iv2-bg { background: #f4f6fb; }

.iv2-acard {
  position: relative;
  margin: 6px 14px 0;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.iv2-secrow { display: flex; align-items: center; justify-content: space-between; }
.iv2-sec-title { font-size: 13.5px; font-weight: 700; color: #0b1220; }
.iv2-sec-sub { margin-top: 3px; font-size: 10px; font-weight: 500; color: #64748b; }

/* RN Switch (ON 고정 — 교대 모드 활성) */
.iv2-switch {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  background: #cbd5e1;
}
.iv2-switch-on { background: #6366f1; }
.iv2-switch i {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.iv2-switch-on i { left: auto; right: 2.5px; }

.iv2-subbox {
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(238, 242, 255, 0.45);
}
.iv2-lbl { margin: 8px 0 5px; font-size: 9.5px; font-weight: 700; color: #64748b; }
.iv2-lbl:first-child { margin-top: 0; }

/* 모드 칩 4종 (2교대 24H 선택) */
.iv2-modechips { display: flex; flex-wrap: wrap; gap: 5px; }
.iv2-mchip {
  padding: 6px 9px;
  border-radius: 12px;
  font-size: 9.5px;
  font-weight: 700;
  color: #3730a3;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.20);
}
.iv2-mchip-on {
  color: #fff;
  background: #6366f1;
  border-color: #6366f1;
}

/* 오늘 교대 유형 — 근무/휴무 (자동 전환 애니메이션) */
.iv2-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.iv2-slot {
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.20);
}
.iv2-slot b { font-size: 11px; font-weight: 800; color: #3730a3; }
.iv2-slot i { font-style: normal; font-size: 8.5px; font-weight: 600; color: #7b7f9a; }
.iv2-slot-work { animation: iv2-slot-work 8s ease-in-out infinite; }
.iv2-slot-rest { animation: iv2-slot-rest 8s ease-in-out infinite; }
.iv2-slot-work b, .iv2-slot-work i { animation: iv2-slot-text 8s ease-in-out infinite; }
.iv2-slot-rest b, .iv2-slot-rest i { animation: iv2-slot-text-r 8s ease-in-out infinite; }
@keyframes iv2-slot-work {
  0%, 45% { background: #6366f1; border-color: #6366f1; }
  50%, 95% { background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.20); }
  100% { background: #6366f1; border-color: #6366f1; }
}
@keyframes iv2-slot-text {
  0%, 45% { color: #fff; }
  50%, 95% { color: #3730a3; }
  100% { color: #fff; }
}
@keyframes iv2-slot-rest {
  0%, 45% { background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.20); }
  50%, 95% { background: #6366f1; border-color: #6366f1; }
  100% { background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.20); }
}
@keyframes iv2-slot-text-r {
  0%, 45% { color: #3730a3; }
  50%, 95% { color: #fff; }
  100% { color: #3730a3; }
}

/* 📅 오늘 — 24시간 그래프 (30분×48셀 ≈ 단일 바) */
.iv2-graph {
  position: relative;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.32);
  background: rgba(148, 163, 184, 0.20);
}
.iv2-bar { position: absolute; inset: 0; }
/* 근무일: 06:00~24:00 인디고 (시작 시간 06:00 기준) */
.iv2-bar-on {
  left: 25%;
  background: #6366f1;
  animation: iv2-win-on 8s ease-in-out infinite;
}
.iv2-bar-off { display: none; }
.iv2-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 7.5px;
  color: #7b7f9a;
}

/* 알림 받는 시간 / 24시간 알림 X (교차) */
.iv2-window {
  margin-top: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}
.iv2-window b { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-weight: 700; }
.iv2-window-on {
  background: rgba(34, 197, 94, 0.10);
  color: #15803d;
  animation: iv2-win-on 8s ease-in-out infinite;
}
.iv2-window-off {
  margin-top: -33px; /* 같은 자리에 겹침 */
  background: rgba(148, 163, 184, 0.10);
  color: #64748b;
  opacity: 0;
  animation: iv2-win-off 8s ease-in-out infinite;
}
@keyframes iv2-win-on {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes iv2-win-off {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

/* 설정 저장 (dirty 상태 = 검정) */
.iv2-savebtn {
  margin-top: 12px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #0b1220;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ============ 장면 3 : 이력 화면 + 화재 판정 (NotificationsScreen/FireVerdictModal) ============
   12s 루프: 🔔 화재 판정 탭(8%) → 모달(16~64%) → 실화재 선택(26%) → 보내기(44~54%)
   → 모달 닫힘 → 아이템에 🔴 실화재 판정 블록 + ✓ 완료 (70~94%) */

/* 이력 화면 배경 — 앱스토어 v2.5 실물(IMG_1403)의 라벤더 그라데이션 */
.iv2-bg-lav {
  background: linear-gradient(180deg, #e8e5fb 0%, #f0eefb 45%, #f6f5fd 100%);
}

.iv2-nheader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
}
.iv2-backbtn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0b1220;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 2px;
}
.iv2-nheader-title { font-size: 13px; font-weight: 700; color: #0b1220; }
.iv2-nheader-sp { width: 30px; }

/* 필터 탭 — 전체(활성 #4F46E5)·화재·원격 제어·연결·공지사항 */
.iv2-ntabs {
  position: relative;
  display: flex;
  gap: 5px;
  padding: 2px 14px 10px;
  overflow: hidden;
}
.iv2-ntab {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.iv2-ntab-on { color: #fff; background: #5b51e8; border-color: #5b51e8; }

/* 알림 카드 — 최신 디자인: 흰 카드 + 상태색 좌측 보더 */
.iv2-ncard {
  position: relative;
  margin: 0 14px 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #ffffff;
  border-left: 3px solid #dc2626;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.iv2-ncard-end { border-left-color: #7f1d1d; }
.iv2-ncard-ok { border-left-color: #15803d; }

.iv2-nrow { display: flex; align-items: center; gap: 7px; }
.iv2-nrow-2 { margin-top: 6px; }
.iv2-ntime {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #334155;
}
.iv2-nchip {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.35);
}
.iv2-nchip-end {
  color: #7f1d1d;
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(127, 29, 29, 0.25);
}
.iv2-nchip-ok {
  color: #15803d;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.38);
}
.iv2-nbname { flex: 1; font-size: 11.5px; font-weight: 700; color: #0b1220; }

/* 메모 박스 — ● 진행중 ↔ ✓ 완료 (판정 후 전환) */
.iv2-memo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  color: #334155;
  background: rgba(15, 23, 42, 0.06);
}
.iv2-memo i { width: 1px; height: 9px; background: rgba(11, 18, 32, 0.25); }
.iv2-memo b { font-weight: 800; }
.iv2-memo-ing { color: #ca8a04; animation: iv2-v-before 12s ease-in-out infinite; }
.iv2-memo-done {
  position: absolute;
  right: 9px;
  color: #15803d;
  opacity: 0;
  animation: iv2-v-after 12s ease-in-out infinite;
}

.iv2-nrow-loc {
  margin-top: 7px;
  justify-content: space-between;
}
.iv2-nloc { font-size: 10px; font-weight: 600; color: #334155; }
.iv2-nloc .iv2-pin { color: #64748b; }

/* 🔔 화재 판정 칩 (탭 대상) */
.iv2-vchip {
  position: relative;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.35);
}

/* 판정 완료 블록 — 좌측 보더 #F97316 + 🔴 실화재 판정 */
.iv2-vblock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 0 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border-left: 3px solid #f97316;
  background: rgba(249, 115, 22, 0.14);
  opacity: 0;
  animation: iv2-v-after 12s ease-in-out infinite;
}
.iv2-vblock-title { font-size: 10.5px; font-weight: 700; color: #c2410c; }
.iv2-vblock-time {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  color: #64748b;
}
/* 판정 전/후 상태 교차 */
@keyframes iv2-v-before {
  0%, 66% { opacity: 1; }
  70%, 94% { opacity: 0; }
  98%, 100% { opacity: 1; }
}
@keyframes iv2-v-after {
  0%, 66% { opacity: 0; }
  70%, 94% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

/* 칩 탭 표시 */
.iv2-tap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.30);
  border: 2px solid rgba(220, 38, 38, 0.65);
  opacity: 0;
}
.iv2-tap-chip { animation: iv2-tap-chip 12s ease-in-out infinite; }
@keyframes iv2-tap-chip {
  0%, 6% { opacity: 0; transform: scale(0.4); }
  9% { opacity: 1; transform: scale(1); }
  14%, 100% { opacity: 0; transform: scale(1.5); }
}

/* 화재 판정 모달 */
.iv2-backdrop {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  animation: iv2-modal 12s ease-in-out infinite;
}
.iv2-vmodal {
  position: absolute;
  z-index: 9;
  left: 12px;
  right: 12px;
  bottom: 16px;
  padding: 13px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(24px);
  animation: iv2-modal-card 12s ease-in-out infinite;
}
@keyframes iv2-modal {
  0%, 14% { opacity: 0; }
  18%, 60% { opacity: 1; }
  66%, 100% { opacity: 0; }
}
@keyframes iv2-modal-card {
  0%, 14% { opacity: 0; transform: translateY(24px); }
  18%, 60% { opacity: 1; transform: translateY(0); }
  66%, 100% { opacity: 0; transform: translateY(24px); }
}
.iv2-vtitle { font-size: 13px; font-weight: 700; color: #0b1220; }
.iv2-vsub { margin-top: 2px; font-size: 9.5px; font-weight: 500; color: #64748b; }
.iv2-vseg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.iv2-vseg > span {
  position: relative;
  padding: 9px 4px;
  border-radius: 10px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
.iv2-vreal { animation: iv2-real-sel 12s ease-in-out infinite; }
@keyframes iv2-real-sel {
  0%, 24% { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }
  28%, 60% { background: rgba(220, 38, 38, 0.10); border-color: rgba(220, 38, 38, 0.35); color: #dc2626; }
  66%, 100% { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }
}
.iv2-vreal .iv2-tap { animation: iv2-tap-seg 12s ease-in-out infinite; }
@keyframes iv2-tap-seg {
  0%, 22% { opacity: 0; transform: scale(0.4); }
  25% { opacity: 1; transform: scale(1); }
  30%, 100% { opacity: 0; transform: scale(1.5); }
}
/* 판정 안내 — 실화재 → 음성 알림 즉시 전달 */
.iv2-vguide {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.35);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #dc2626;
  opacity: 0;
  animation: iv2-guide 12s ease-in-out infinite;
}
@keyframes iv2-guide {
  0%, 28% { opacity: 0; }
  32%, 60% { opacity: 1; }
  66%, 100% { opacity: 0; }
}
.iv2-vbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.iv2-vbtns > span {
  padding: 9px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
}
.iv2-vcancel { background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; }
.iv2-vsend {
  background: #2563eb;
  color: #fff;
  animation: iv2-send 12s ease-in-out infinite;
}
@keyframes iv2-send {
  0%, 42% { box-shadow: none; transform: scale(1); }
  47% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); transform: scale(1.05); }
  52% { box-shadow: none; transform: scale(1); }
  57% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); transform: scale(1.05); }
  62%, 100% { box-shadow: none; transform: scale(1); }
}

/* ============ 장면 4 : 원격제어 — 수신기와 동일 작동 (소식 글 전용) ============ */
/* 화재 상태 고정 + 비상방송 버튼 토글(주황 깜박임) */
.iv2-bg-firehold {
  background: radial-gradient(120% 80% at 28% 15%, #ffd0b0 0%, #ffdcc5 35%, #fcd5d2 100%);
}
.iv2-mcard-hold {
  animation: none;
  background: rgba(255, 243, 228, 0.92);
  border-color: rgba(254, 215, 170, 0.55);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.22);
}
.iv2-s4 .iv2-show {
  opacity: 1 !important;
  animation: none !important;
}
.iv2-cmd-tog {
  position: relative;
  animation: iv2-cmd-tog 7s ease-in-out infinite;
}
@keyframes iv2-cmd-tog {
  /* 대기(glass) → 탭 → 작동(주황) + 펜딩 깜박임 → 해제 */
  0%, 14% {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(226, 232, 240, 0.8);
    color: #334155;
    box-shadow: none;
  }
  20%, 26% {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
  }
  32% {
    background: #fb923c;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 0 4px rgba(249, 115, 22, 0.3);
  }
  38%, 44% {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
  }
  50% {
    background: #fb923c;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 0 4px rgba(249, 115, 22, 0.3);
  }
  56%, 84% {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
  }
  92%, 100% {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(226, 232, 240, 0.8);
    color: #334155;
    box-shadow: none;
  }
}
.iv2-tap-cmd { animation: iv2-tap-cmd 7s ease-in-out infinite; }
@keyframes iv2-tap-cmd {
  0%, 10% { opacity: 0; transform: scale(0.4); }
  14% { opacity: 1; transform: scale(1); }
  20%, 100% { opacity: 0; transform: scale(1.5); }
}

/* ============ 장면 5 : 연결 끊김 알림 (소식 글 전용) ============ */
.iv2-push-dis {
  box-shadow: 0 12px 30px rgba(51, 65, 85, 0.30);
  animation: iv2-push-dis 8s ease-in-out infinite;
}
@keyframes iv2-push-dis {
  0%, 8% { transform: translate(-50%, -140%); }
  14%, 78% { transform: translate(-50%, 0); }
  86%, 100% { transform: translate(-50%, -140%); }
}
.iv2-push-icon-dis { background: #334155; }
.iv2-ncard-dis { border-left-color: #475569; }
.iv2-nchip-dis {
  color: #475569;
  background: rgba(100, 116, 139, 0.16);
  border-color: rgba(100, 116, 139, 0.40);
}
.iv2-dis-guide {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.6;
  color: #334155;
}

/* ============ 장면 M1·M2 : 앱스토어 v2.5 실물 기준 '관제 시설' ============
   실측: App Store 스크린샷 (firem6pro-cap-02-main / 03b-fire)
   평상시 밝은 화면 → 화재 시 살구 그라데이션, 글래스 카드 + 2x2 명령 버튼 */
.iv2-gbg {
  background: linear-gradient(180deg, #fafafc 0%, #f2f3f7 100%);
}
.iv2-gbg-fire {
  background: linear-gradient(170deg, #fde8d4 0%, #fbe3d8 45%, #f6ecf0 100%);
  opacity: 0;
}
.iv2-m1 .iv2-gbg-fire { animation: iv2-m1-fire 10s ease-in-out infinite; }
.iv2-m2 .iv2-gbg-fire { opacity: 1; }
@keyframes iv2-m1-fire {
  0%, 23% { opacity: 0; }
  28%, 93% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

.iv2-ghead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 6px;
}
.iv2-ghead > span:first-child { width: 58px; }
.iv2-ghead b { font-size: 14px; font-weight: 800; color: #0b1220; }
.iv2-gacct {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 9px;
  font-weight: 700;
  color: #334155;
}

/* 글래스 메인 카드 */
.iv2-gcard {
  position: relative;
  margin: 8px 14px 0;
  padding: 16px 16px 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px rgba(26, 27, 46, 0.10);
}
.iv2-m2 .iv2-gcard,
.iv2-m1 .iv2-gcard { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.iv2-gver {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 8px;
  color: #94a3b8;
}
.iv2-gconn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 2px;
  font-size: 11px;
  font-weight: 800;
  color: #1d4ed8;
}
.iv2-gconn i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: iv2-dot 1.8s ease-in-out infinite;
}
.iv2-gconn i:nth-child(2) { animation-delay: 0.2s; opacity: 0.6; }
.iv2-gconn i:nth-child(3) { animation-delay: 0.4s; opacity: 0.35; }
.iv2-gname {
  margin: 2px 0 12px;
  font-size: 23px;
  font-weight: 800;
  color: #1a1b2e;
  letter-spacing: -0.6px;
}

/* 화재 박스 — 주황 보더 + 화재발생 칩 + 모노 타이머 */
.iv2-gfire {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(249, 115, 22, 0.55);
  background: rgba(255, 243, 228, 0.55);
}
.iv2-m1 .iv2-gfire { opacity: 0; animation: iv2-m1-fire 10s ease-in-out infinite; }
.iv2-gfchip {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ea580c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.5);
  animation: iv2-chip-blink 1.2s ease-in-out infinite;
}
.iv2-gftimes { display: grid; gap: 1px; }
.iv2-gftimes em {
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 600;
  color: #4a4e6b;
}
.iv2-gftimes strong {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 21px;
  font-weight: 800;
  color: #c2410c;
  letter-spacing: -0.5px;
}

/* 명령 버튼 2x2 — 흰 알약 + 아이콘, 수신기 복구는 빨강 */
.iv2-gbtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.iv2-gbtn {
  position: relative;
  height: 38px;
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.6);
  font-size: 10.5px;
  font-weight: 700;
  color: #1a1b2e;
}
.iv2-gbtn i {
  font-style: normal;
  font-size: 7px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 1px;
}
.iv2-gbtn-red {
  background: #e02d2d;
  border-color: #e02d2d;
  color: #fff;
}

/* M2: 비상방송 탭 → 주황 작동 + 펜딩 깜박임 (7s) */
.iv2-gbtn-cast { animation: iv2-gcast 7s ease-in-out infinite; }
@keyframes iv2-gcast {
  0%, 12% { background: rgba(255, 255, 255, 0.92); color: #1a1b2e; box-shadow: none; }
  18% { background: #f97316; color: #fff; box-shadow: 0 0 14px rgba(249, 115, 22, 0.6); }
  24% { background: #fb923c; color: #fff; box-shadow: 0 0 4px rgba(249, 115, 22, 0.3); }
  30% { background: #f97316; color: #fff; box-shadow: 0 0 14px rgba(249, 115, 22, 0.6); }
  36%, 86% { background: #f97316; color: #fff; box-shadow: 0 0 10px rgba(249, 115, 22, 0.5); }
  94%, 100% { background: rgba(255, 255, 255, 0.92); color: #1a1b2e; box-shadow: none; }
}
.iv2-tap-bp { animation: iv2-tap-bp 7s ease-in-out infinite; }
@keyframes iv2-tap-bp {
  0%, 8% { opacity: 0; transform: scale(0.4); }
  12% { opacity: 1; transform: scale(1); }
  18%, 100% { opacity: 0; transform: scale(1.5); }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1350px) and (min-width: 1025px) {
  #introduction.iv2 { display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .iv2-row { gap: 70px; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  #introduction.iv2 { display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .iv2-row { gap: 56px; }
  .iv2-points p { font-size: 26px; line-height: 46px; }
}
@media (max-width: 768px) {
  #introduction.iv2 {
    display: flex;
    padding: 60px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 90px;
  }
  .iv2-row, .iv2-row-rev { flex-direction: column; gap: 48px; text-align: start; }
  .iv2-phone { width: 270px; height: 560px; }
  .iv2-text .introduction__title { margin-bottom: 17px; font-size: 28px; }
  .iv2-points p { font-size: 21px; line-height: 38px; }
}
