/* =========================================================
   스크린 파일럿 — Redesign v2 (reference-faithful)
   Main: #547CF0 · Accent mint: #2BD4A6 · Dark: #141A2E
   밝은/어두운 섹션 교차 + 컬러 일러스트 타일 + 가격 + QR 다운로드
   ========================================================= */

:root {
  --brand:      #547CF0;
  --brand-600:  #3E63D8;
  --brand-700:  #2F4FC0;
  --brand-300:  #93AAF7;
  --brand-100:  #E5EBFD;
  --brand-50:   #F1F4FE;
  --mint:       #2BD4A6;
  --mint-600:   #17B98C;
  --mint-100:   #DAF6EE;
  --violet:     #8B7BF0;
  --amber:      #F7B24C;
  --rose:       #F4789B;

  --ink:        #141A2E;
  --ink-2:      #404862;
  --muted:      #707892;
  --line:       #E7EAF3;
  --bg:         #FFFFFF;
  --bg-soft:    #F5F7FE;
  --bg-lilac:   #EFF1FC;

  --dark:       #141A2E;
  --dark-2:     #1C2440;
  --dark-card:  #232C4D;
  --dark-line:  rgba(255,255,255,.1);
  --on-dark:    #EAEDF8;
  --on-dark-2:  #A9B2D0;

  --radius:     22px;
  --radius-lg:  30px;
  --radius-sm:  14px;
  --shadow-sm:  0 2px 10px rgba(31,45,90,.05);
  --shadow:     0 18px 50px -24px rgba(40,60,130,.35);
  --shadow-lg:  0 40px 90px -40px rgba(40,60,130,.45);
  --container:  1160px;
  --ease:       cubic-bezier(.22,.61,.36,1);

  --grad-hero:  radial-gradient(120% 90% at 18% 6%, #FFFFFF 0%, #F3F6FE 36%, #DCE6FB 62%, #CCE9DF 100%);
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, #6E8BF6 52%, var(--mint) 128%);
  --grad-soft:  linear-gradient(160deg, #F4F7FE 0%, #ECEFFB 100%);
  --grad-dark:  linear-gradient(165deg, #1A2240 0%, #141A2E 60%, #11162a 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Segoe UI", Roboto, "Helvetica Neue", "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.62; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word;
}
/* 짧은 단락/제목 줄 균형 맞춤 (어절 단위 + 줄 길이 고르게) */
h1, h2, h3,
.section-head p, .feat2-card p, .illus p, .review-body,
.brandwall .lead, .reviews .lead, .split-text p, .connect-text p, .stat-value,
.price-desc, .step p, .col4 .col p, .appdl-text p, .cta p, .hero .lead {
  text-wrap: balance;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -.035em; font-weight: 800; }
p { margin: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.scroll-target { scroll-margin-top: 92px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(84,124,240,.8); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(84,124,240,.85); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-300); transform: translateY(-2px); color: var(--brand-600); }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(231,234,243,.8);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.brand-name span { font-size: 11px; color: var(--muted); font-weight: 600; }
.nav-drop { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #fff; background: var(--brand); border: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(84,124,240,.85); transition: background .18s var(--ease, ease), transform .18s var(--ease, ease), box-shadow .18s; }
.nav-dl svg { width: 17px; height: 17px; }
.nav-dl:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(84,124,240,.9); }

/* 화면 우측 고정 무료 다운로드 사이드 버튼 (귀여운 버전) */
.side-dl {
  position: fixed; right: 0; top: 50%; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 12px 15px;
  background: var(--grad-brand); color: #fff;
  border: none; border-radius: 22px 0 0 22px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 800; line-height: 1.28; letter-spacing: -.01em; text-align: center;
  box-shadow: -7px 10px 26px -8px rgba(84,124,240,.65), inset 0 1px 0 rgba(255,255,255,.25);
  animation: sideFloat 3.2s ease-in-out infinite;
  transition: padding-right .2s var(--ease, ease), box-shadow .2s, filter .2s;
}
.side-dl .dl-ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.22); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.side-dl .dl-ic svg { width: 22px; height: 22px; animation: dlBounce 1.5s ease-in-out infinite; }
.side-dl .dl-tx { white-space: nowrap; }
.side-dl .dl-spark { position: absolute; top: 6px; right: 8px; font-size: 13px; animation: dlSpark 2.2s ease-in-out infinite; }
.side-dl:hover { padding-right: 18px; filter: brightness(1.06); box-shadow: -9px 12px 32px -8px rgba(84,124,240,.85), inset 0 1px 0 rgba(255,255,255,.3); }
.side-dl:active { filter: brightness(.97); }
@keyframes sideFloat { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-54%); } }
@keyframes dlBounce { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
@keyframes dlSpark { 0%, 100% { opacity: .4; transform: scale(.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }
@media (max-width: 600px) {
  .side-dl { padding: 11px 9px 12px; font-size: 11px; gap: 6px; border-radius: 18px 0 0 18px; }
  .side-dl .dl-ic { width: 33px; height: 33px; }
  .side-dl .dl-ic svg { width: 18px; height: 18px; }
  .side-dl .dl-spark { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .side-dl, .side-dl .dl-ic svg, .side-dl .dl-spark { animation: none; }
  .side-dl { transform: translateY(-50%); }
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .ig-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); transition: color .15s, border-color .15s; }
.nav-actions .ig-link svg { width: 20px; height: 20px; }
.nav-actions .ig-link:hover { color: var(--brand); border-color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ===================== ECHO HEADINGS ===================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--brand-700);
  background: rgba(84,124,240,.1); border: 1px solid rgba(84,124,240,.16);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 40px;
  background: #fff url("../images/hero-bg.webp") center bottom / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 32%);
}
.hero > * { position: relative; z-index: 1; }
.hero-head { text-align: center; max-width: 880px; margin: 0 auto; padding: 0 20px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 58px); margin: 22px 0 18px; letter-spacing: -.04em; }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 640px; margin: 0 auto; font-weight: 500; }
.hero .lead b { color: var(--ink); font-weight: 700; }
.platform-icons { display: inline-flex; gap: 12px; margin-top: 26px; }
.platform-icons .pf { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 13px; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.platform-icons .pf svg { width: 22px; height: 22px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.hero-stage { position: relative; margin: 56px auto 0; max-width: 1140px; padding: 0 20px; }
.stage-glow { position: absolute; inset: 6% 14% auto 14%; height: 78%; z-index: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(84,124,240,.25), transparent 72%); filter: blur(20px); }
.hero-shot { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.hero-mockup { position: relative; z-index: 2; width: 100%; max-width: 980px; margin: 0 auto; display: block; filter: drop-shadow(0 40px 70px rgba(40,60,130,.22)); }

.laptop { position: relative; z-index: 2; width: min(760px, 100%); margin: 0 auto; }
.laptop-screen { background: #11151f; border-radius: 20px 20px 6px 6px; padding: 12px 12px 14px; box-shadow: var(--shadow-lg); border: 1px solid #232a3a; }
.laptop-cam { width: 6px; height: 6px; border-radius: 50%; background: #2b3242; margin: 0 auto 8px; }
.laptop-screen img { width: 100%; border-radius: 8px; display: block; background: #fff; }
.laptop-base { height: 16px; width: 116%; margin: 0 auto; background: linear-gradient(#d4d9e6, #aeb6c9); border-radius: 0 0 16px 16px; position: relative; left: -8%; box-shadow: 0 18px 30px -14px rgba(40,60,130,.5); }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 7px; background: #97a0b6; border-radius: 0 0 8px 8px; }

.float-badge { position: absolute; z-index: 3; width: 58px; height: 58px; display: grid; place-items: center; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 16px 36px -16px rgba(40,60,130,.5); animation: floaty 6s ease-in-out infinite; }
.float-badge svg, .float-badge img { width: 28px; height: 28px; }
.float-badge.b1 { top: 6%;  left: 2%;  animation-delay: 0s; }
.float-badge.b2 { top: 30%; left: -3%; animation-delay: .8s; }
.float-badge.b3 { bottom: 8%; left: 3%; animation-delay: 1.4s; }
.float-badge.b4 { top: 4%;  right: 2%;  animation-delay: .4s; }
.float-badge.b6 { bottom: 6%; right: 3%; animation-delay: 1.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.notif-stack { position: absolute; right: -6px; top: 22%; z-index: 4; width: 230px; display: grid; gap: 10px; }
.notif { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow); text-align: left; }
.notif .nt { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink); }
.notif .nt span { color: var(--muted); font-weight: 600; font-size: 10.5px; }
.notif b { display: block; font-size: 12.5px; margin: 5px 0 2px; }
.notif p { font-size: 11.5px; color: var(--muted); }

.strip { margin: 56px auto 0; max-width: 920px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 18px; padding: 16px 24px; box-shadow: var(--shadow-sm); }
.strip p { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.strip p b { color: var(--brand-700); }
.strip .platforms { display: flex; gap: 8px; flex-wrap: wrap; }
.strip .platforms span { font-size: 12px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; padding: 5px 12px; }

/* ===================== SECTION FRAME ===================== */
.block { padding: 96px 0; }
.block.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: clamp(15px, 1.7vw, 17px); font-weight: 500; }

/* ===================== INTRO ILLUSTRATED TILES (borderless, floating) ===================== */
.block.tint { background: linear-gradient(180deg, #FFFFFF 0%, #F1F4FE 55%, #EAEFFC 100%); }
.illus-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.illus {
  text-align: center; background: transparent; border: none; box-shadow: none;
  padding: 12px 14px; transition: transform .3s var(--ease);
}
.illus:hover { transform: translateY(-8px); }
.illus-art {
  width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 34px;
  display: grid; place-items: center; position: relative; overflow: visible;
  background: transparent;
}
.illus-art img { width: 100%; height: 100%; filter: drop-shadow(0 22px 26px rgba(40,60,130,.22)); }
.illus-art svg { width: 56px; height: 56px; color: #fff; }
.illus h3 { font-size: 17.5px; margin-bottom: 7px; }
.illus p { font-size: 13.5px; color: var(--muted); }

/* ===================== FEATURE CARDS 2x2 (illustration) ===================== */
.feat2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat2-card {
  display: flex; flex-direction: column; overflow: hidden; text-align: center;
  background: var(--bg-lilac); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 34px 0; min-height: 360px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feat2-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feat2-card h3 { font-size: 21px; line-height: 1.32; margin-bottom: 12px; }
.feat2-card p { font-size: 14.5px; color: var(--ink-2); }
.feat2-art { margin-top: auto; padding-top: 22px; }
.feat2-art img { width: 100%; max-width: 430px; margin: 8px auto 0; display: block; }

/* compact icon-only grid (보조) */
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.feature-card { background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), #6E8BF6); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 24px -10px rgba(84,124,240,.7); }
.feature-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.feature-card h3 { font-size: 18.5px; margin-bottom: 9px; }
.feature-card p { font-size: 14.5px; color: var(--ink-2); }

/* ===================== DARK SPLIT BANDS ===================== */
.dark { background: var(--grad-dark); color: var(--on-dark); position: relative; overflow: hidden; }
.dark .eyebrow { background: rgba(124,150,250,.18); color: #C5D2FF; border-color: rgba(124,150,250,.3); }
.dark .eyebrow::before { background: var(--brand-300); }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: var(--on-dark-2); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
.split.rev .split-media { order: 2; }
.split-text h2 { font-size: clamp(24px, 3.2vw, 36px); color: var(--ink); margin: 16px 0 14px; }
.split-text p { color: var(--ink-2); font-size: 16px; font-weight: 500; }
.split-text .mini-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.split-text .mini-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.split-text .mini-list svg { width: 20px; height: 20px; flex: none; color: var(--mint-600); margin-top: 1px; }
/* dark variant (유지) */
.dark .split-text h2 { color: #fff; }
.dark .split-text p { color: var(--on-dark-2); }
.dark .split-text .mini-list li { color: var(--on-dark); }
.dark .split-text .mini-list svg { color: var(--mint); }

.split-media { position: relative; }
.glass-shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--dark-line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); background: #0d1120; }
.glass-shot img { width: 100%; display: block; }

/* 노트북(브라우저) 목업 — 실제 콘솔 화면 */
.app-laptop { position: relative; }
.app-laptop .lt-screen { background: #11151f; border: 10px solid #1b2130; border-radius: 16px 16px 6px 6px; padding: 8px; box-shadow: 0 40px 80px -34px rgba(40,60,130,.5); }
.app-laptop .lt-bar { display: flex; gap: 6px; padding: 4px 6px 8px; }
.app-laptop .lt-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2b3242; }
.app-laptop .lt-screen img { width: 100%; display: block; border-radius: 7px; background: #0d1120; }
.app-laptop .lt-base { position: relative; height: 13px; width: 116%; left: -8%; margin: 0 auto; background: linear-gradient(#d4d9e6, #aeb6c9); border-radius: 0 0 14px 14px; box-shadow: 0 16px 26px -14px rgba(40,60,130,.5); }
.app-laptop .lt-base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 6px; background: #97a0b6; border-radius: 0 0 8px 8px; }

/* 실제 앱 스타일 다크 미니 대시보드 (라이트 섹션 위) */
.app-board { background: linear-gradient(165deg, #1A2138, #11162a); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -34px rgba(40,60,130,.45); }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ab-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; padding: 12px 14px; }
.ab-stat span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #A9B2D0; font-weight: 600; }
.ab-stat span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6b7392; }
.ab-stat b { display: block; font-size: 26px; font-weight: 800; color: #fff; margin-top: 6px; letter-spacing: -.03em; }
.ab-stat.on span::before { background: #2BD4A6; } .ab-stat.on { border-color: rgba(43,212,166,.35); }
.ab-stat.off span::before { background: #6b7392; }
.ab-stat.offline span::before { background: #F4789B; } .ab-stat.offline { border-color: rgba(244,120,155,.3); }
.ab-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 13px 15px; }
.ab-dev { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg,#2A3354,#1b2130); display: grid; place-items: center; flex: none; }
.ab-dev svg { width: 20px; height: 20px; color: #93AAF7; }
.ab-info { flex: 1; min-width: 0; }
.ab-info b { display: block; font-size: 13.5px; color: #fff; }
.ab-info span { font-size: 11.5px; color: #8b93b0; }
.ab-pills { display: flex; gap: 8px; }
.ab-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 7px 14px; display: inline-flex; align-items: center; gap: 5px; }
.ab-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.ab-pill.go { background: rgba(43,212,166,.16); color: #5fe6c2; } .ab-pill.go::before { background: #2BD4A6; }
.ab-pill.stop { background: rgba(244,120,155,.16); color: #ff9bb4; } .ab-pill.stop::before { background: #F4789B; }
.ab-alert { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: linear-gradient(135deg, #16352B, #0F2A22); border: 1px solid rgba(43,212,166,.35); border-radius: 14px; padding: 14px 16px; }
.ab-alert .ai { width: 36px; height: 36px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; flex: none; }
.ab-alert .ai svg { width: 20px; height: 20px; color: #07261d; }
.ab-alert b { display: block; font-size: 13.5px; color: #fff; }
.ab-alert p { font-size: 11.5px; color: var(--mint-100); }

/* fingerprint-style empty grid card (우리의 시간은 소중하니까) */
.grid-card { background: #0F1426; border: 1px solid var(--dark-line); border-radius: 20px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.dot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dot-grid span { aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.12); display: grid; place-items: center; }
.dot-grid span svg { width: 20px; height: 20px; color: rgba(255,255,255,.25); }
.dot-grid span.on { background: linear-gradient(140deg, rgba(84,124,240,.3), rgba(43,212,166,.25)); border: 1px solid rgba(124,150,250,.4); }
.dot-grid span.on svg { color: #C5D2FF; }
.alert-card { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #16352B, #0F2A22); border: 1px solid rgba(43,212,166,.35); border-radius: 16px; padding: 16px 18px; }
.alert-card .ac-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; flex: none; }
.alert-card .ac-ico svg { width: 22px; height: 22px; color: #07261d; }
.alert-card b { font-size: 14.5px; color: #fff; display: block; }
.alert-card p { font-size: 12.5px; color: var(--mint-100); }

/* ===================== SCREENS ===================== */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.screens .screen { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.screens .screen:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.screens .screen img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg-soft); }
.screens figcaption { padding: 16px 18px; font-size: 15px; font-weight: 700; }
.screens figcaption span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 3px; }

/* ===================== PRICING ===================== */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.feat { background: var(--grad-brand); color: #fff; border-color: transparent; }
.price-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); margin-bottom: 16px; }
.price-card.feat .price-tag { background: rgba(255,255,255,.22); color: #fff; }
.price-card h3 { font-size: 21px; margin-bottom: 6px; }
.price-amount { font-size: 34px; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 4px; }
.price-amount small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card.feat .price-amount small { color: rgba(255,255,255,.8); }
.price-desc { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; }
.price-card.feat .price-desc { color: rgba(255,255,255,.9); }
.price-feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.price-feats svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 2px; }
.price-card.feat .price-feats li { color: rgba(255,255,255,.92); }
.price-card.feat .price-feats svg { color: #fff; }
.price-card.feat .btn-primary { background: #fff; color: var(--brand-700); }
.price-card.feat .btn-primary:hover { background: #F1F4FE; }
.price-card .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 26px; }

/* ===================== BRANDWALL (badge + 4 columns) ===================== */
.brandwall { text-align: center; }
.brandwall-badge { width: 120px; height: 120px; margin: 0 auto 22px; }
.brandwall-badge img { width: 100%; height: 100%; object-fit: contain; }
.brandwall h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.brandwall .lead { color: var(--ink-2); font-size: clamp(15px, 1.7vw, 17px); font-weight: 500; max-width: 660px; margin: 0 auto 48px; }
.col4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 940px; margin: 0 auto; text-align: left; }
.col4 .col { padding: 6px 30px; border-left: 1px solid var(--line); }
.col4 .col:first-child { border-left: none; }
.col4 .col-num { font-size: 13px; font-weight: 800; letter-spacing: .02em; margin-bottom: 14px; display: inline-block; }
.col4 .col:nth-child(1) .col-num { color: var(--brand); }
.col4 .col:nth-child(2) .col-num { color: var(--mint-600); }
.col4 .col:nth-child(3) .col-num { color: var(--violet); }
.col4 .col:nth-child(4) .col-num { color: var(--amber); }
.col4 .col h3 { font-size: 16.5px; margin-bottom: 9px; }
.col4 .col p { font-size: 13.5px; color: var(--muted); }

/* ===================== REVIEWS (마퀴) ===================== */
.reviews { background: linear-gradient(180deg, #FFFFFF 0%, #EAF3FF 45%, #DCEBFF 100%); overflow: hidden; }
.reviews .brandwall { margin-bottom: 6px; }
.reviews .brandwall-badge { animation: badgeBounce 2.4s ease-in-out infinite; filter: drop-shadow(0 18px 26px rgba(40,60,130,.28)); transform-origin: center bottom; }
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

.reviews-marquee {
  position: relative; margin-top: 46px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews-track { display: flex; gap: 20px; width: max-content; animation: marquee 52s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
  flex: 0 0 270px; width: 270px; margin: 0;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.95); border-radius: 22px; padding: 28px 26px; text-align: left;
  box-shadow: 0 16px 36px -24px rgba(40,60,130,.26);
}
.review-head { font-size: 16px; font-weight: 800; line-height: 1.44; color: var(--ink); letter-spacing: -.02em; margin: 0 0 12px; }
.review-body { font-size: 13.5px; line-height: 1.72; color: var(--muted); margin: 0; }

@media (max-width: 760px) { .review-card { flex-basis: 250px; width: 250px; } }

/* ===================== CONNECT BAND ===================== */
.connect { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.connect-text h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 16px 0 14px; }
.connect-text p { color: var(--ink-2); font-size: 16px; font-weight: 500; }
.connect-text .mini-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.connect-text .mini-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.connect-text .mini-list svg { width: 20px; height: 20px; flex: none; color: var(--mint-600); margin-top: 1px; }
.connect-media {
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.connect-media img { width: 100%; filter: drop-shadow(0 30px 50px rgba(40,60,130,.16)); }

/* ===================== STATS SCATTER (글래스 카드 + 미니차트) ===================== */
.stats-scatter { column-width: 232px; column-gap: 18px; max-width: 1000px; margin: 0 auto; }
.stat-card {
  break-inside: avoid; margin: 0 0 18px; padding: 22px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.92); border-radius: 20px;
  box-shadow: 0 16px 40px -24px rgba(40,60,130,.3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.stat-value { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.35; margin: 7px 0 16px; }
.stat-value b { color: var(--brand); }
.stat-viz { display: block; }
.stat-viz.center { display: grid; place-items: center; }
.stat-viz.row { display: flex; align-items: center; gap: 14px; }
.stat-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.stat-legend.col { flex-direction: column; gap: 7px; }
.stat-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.stat-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.stat-chip { font-size: 12.5px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; padding: 6px 12px; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.stat-chips span { font-size: 12px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; padding: 5px 11px; }
.stat-avatars { display: flex; align-items: center; }
.stat-avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; box-shadow: 0 4px 10px -4px rgba(40,60,130,.5); }
.stat-avatars span:first-child { margin-left: 0; }
.stat-avatars .more { display: grid; place-items: center; background: #EEF1FC; color: var(--brand-700); font-size: 12px; font-weight: 800; }
.stat-devices { gap: 16px; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step-no { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; box-shadow: 0 12px 22px -10px rgba(84,124,240,.7); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ===================== TARGETS ===================== */
.targets { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 72px); color: #fff; box-shadow: var(--shadow-lg); }
.targets-bg { position: absolute; inset: 0; z-index: 0; }
.targets-bg img { width: 100%; height: 100%; object-fit: cover; }
.targets::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(20,26,46,.94), rgba(47,79,192,.82) 60%, rgba(23,80,65,.88)); }
.targets-inner { position: relative; z-index: 2; text-align: center; }
.targets-inner .eyebrow { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.25); }
.targets-inner .eyebrow::before { background: #fff; }
.targets-inner h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 16px 0 32px; }
.targets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.target { display: flex; flex-direction: column; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 22px 14px; font-size: 14.5px; font-weight: 700; backdrop-filter: blur(4px); }
.target svg { width: 28px; height: 28px; stroke: #fff; fill: none; }

/* ===================== FAQ ===================== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 18px; height: 18px; flex: none; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--brand); border-radius: 2px; transition: transform .2s var(--ease); }
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after { width: 2px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { font-size: 14.5px; color: var(--ink-2); padding: 0 0 20px; }
.faq-item p b { color: var(--ink); }

/* ===================== APP DOWNLOAD (QR + phone + badges) ===================== */
.appdl { background: linear-gradient(125deg, #EEF3FF 0%, #F6F0FB 46%, #E7F0FF 100%); color: var(--ink); position: relative; overflow: hidden; }
.appdl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 50% at 14% 22%, rgba(84,124,240,.14), transparent 62%), radial-gradient(40% 45% at 88% 82%, rgba(244,120,155,.12), transparent 62%); }
.appdl-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.appdl-text h2 { font-size: clamp(24px, 3.4vw, 38px); color: var(--ink); margin-bottom: 16px; }
.appdl-text p { color: var(--ink-2); font-size: 16px; margin-bottom: 8px; line-height: 1.7; }
.appdl-text p b { color: var(--ink); font-weight: 700; }
.appdl-sub { font-size: 14.5px !important; color: var(--muted) !important; }
.appdl-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.appdl-dl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.dl-os { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: default; box-shadow: var(--shadow-sm); user-select: none; }
.dl-os svg { width: 18px; height: 18px; color: var(--brand-700); }
.appdl-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.qr { width: 124px; height: 124px; border-radius: 18px; background: #fff; padding: 12px; flex: none; box-shadow: var(--shadow-lg); }
.qr svg { width: 100%; height: 100%; }
.qr-label { font-size: 13px; color: var(--ink-2); }
.qr-label b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #141A2E; color: #fff; border: 1px solid #2A3354; border-radius: 12px; padding: 10px 18px; font-weight: 700; box-shadow: 0 10px 24px -14px rgba(20,26,46,.7); transition: transform .2s, background .2s; cursor: pointer; }
.store-badge:hover { transform: translateY(-2px); background: #0E1322; }
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: 10px; color: rgba(255,255,255,.7); font-weight: 600; }
.store-badge b { font-size: 14px; line-height: 1.15; color: #fff; }
.store-badge-link { display: inline-block; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; transition: transform .2s var(--ease); }
.store-badge-link:hover { transform: translateY(-2px); }
.store-badge-link img { height: 52px; width: auto; display: block; }

.phone-mock { position: relative; justify-self: center; width: 232px; }
.phone-mock { width: 248px; }
.phone-frame { aspect-ratio: 9 / 19.3; background: #11151f; border: 11px solid #11151f; border-radius: 44px; padding: 0; box-shadow: 0 50px 90px -30px rgba(20,26,46,.55); overflow: hidden; position: relative; }
.phone-frame::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #11151f; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; background: linear-gradient(165deg, #FFFFFF 0%, #EAF1FF 70%, #DCEAFF 100%); display: grid; place-items: center; }
.phone-screen img { width: 60%; max-width: 148px; height: auto; }

/* ===================== 실시간 앱 데모 (폰 목업 내부) ===================== */
.phone-screen.app-live {
  display: block; padding: 0; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #16224a 0%, #0c1430 42%, #070b1c 100%);
  color: #e9eefb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "NanumGothic", "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.app-shell { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; }

.app-status { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 4px; }
.app-clock { font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.app-status-ic { display: inline-flex; align-items: flex-end; gap: 4px; color: #e9eefb; }
.app-status-ic svg { height: 9px; width: auto; fill: currentColor; }

.app-views { position: relative; flex: 1; overflow: hidden; }
.app-view { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 8px 13px 6px; opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity .42s var(--ease, ease), transform .42s var(--ease, ease); }
.app-view.is-active { opacity: 1; transform: none; pointer-events: auto; }
.app-view.is-prev { transform: translateX(-14px); }

.av-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 9px; }
.av-head b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.av-sync { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; color: #8de6b0; background: rgba(47,203,110,.12); border: 1px solid rgba(47,203,110,.28); padding: 3px 7px; border-radius: 999px; }
.av-sync i { width: 5px; height: 5px; border-radius: 50%; background: #2fcb6e; box-shadow: 0 0 0 0 rgba(47,203,110,.6); animation: spPulse 1.8s infinite; }
@keyframes spPulse { 0% { box-shadow: 0 0 0 0 rgba(47,203,110,.55); } 70% { box-shadow: 0 0 0 6px rgba(47,203,110,0); } 100% { box-shadow: 0 0 0 0 rgba(47,203,110,0); } }

.av-search { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; margin-bottom: 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); color: #7e8aa6; font-size: 10px; }
.av-search svg { width: 13px; height: 13px; flex: none; }

.av-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 11px; }
.av-stats .stat { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; padding: 8px 4px 6px; text-align: center; }
.av-stats .stat b { display: block; font-size: 16px; font-weight: 800; line-height: 1; }
.av-stats .stat span { display: block; margin-top: 4px; font-size: 8px; color: #8a93ad; }
.av-stats .stat.ok b { color: #2fcb6e; }
.av-stats .stat.off b { color: #ff6a6a; }
.av-stats .stat.warn b { color: #f6b042; }

.av-list { display: flex; flex-direction: column; gap: 7px; overflow: hidden; }

.dev { display: flex; align-items: center; gap: 9px; padding: 9px 9px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); transition: border-color .3s, background .3s; }
.dev-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.06); color: #98a6c8; transition: color .35s, background .35s; }
.dev-ic svg { width: 19px; height: 19px; }
.dev.is-on .dev-ic { color: #2fcb6e; background: rgba(47,203,110,.14); }
.dev-meta { flex: 1; min-width: 0; }
.dev-meta b { display: block; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-meta i { display: block; margin-top: 2px; font-size: 9px; font-style: normal; color: #7e8aa6; }
.dev-pw { flex: none; width: 40px; height: 23px; border: none; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; cursor: default; transition: background .32s var(--ease, ease); padding: 0; }
.dev-pw span { position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .32s var(--ease, ease); box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.dev.is-on .dev-pw { background: #2fcb6e; }
.dev.is-on .dev-pw span { left: 19.5px; }
.dev.is-busy .dev-pw span { background: #fff; animation: spSpin .6s linear infinite; border-top-color: #2fcb6e; }
.dev.is-busy .dev-pw { background: rgba(47,203,110,.45); }

.av-add { height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 11px; border-radius: 11px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2e6bff, #4d8bff); box-shadow: 0 8px 18px -8px rgba(46,107,255,.8); }

.pre { display: flex; align-items: center; gap: 9px; padding: 11px 10px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.pre-meta { flex: 1; min-width: 0; }
.pre-meta b { display: block; font-size: 11.5px; font-weight: 700; }
.pre-meta i { display: block; margin-top: 2px; font-size: 9px; font-style: normal; color: #7e8aa6; }
.pre-run { flex: none; min-width: 50px; height: 26px; padding: 0 11px; border: none; border-radius: 8px; font-size: 10px; font-weight: 800; color: #fff; background: #2e6bff; cursor: default; transition: background .25s, transform .12s; }
.pre.is-run .pre-run { background: rgba(46,107,255,.55); color: transparent; position: relative; }
.pre.is-run .pre-run::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spSpin .6s linear infinite; }
.pre.is-done .pre-run { background: #2fcb6e; }

.sch { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.sch-meta { flex: 1; min-width: 0; }
.sch-meta b { display: block; font-size: 11px; font-weight: 700; }
.sch-meta i { display: block; margin-top: 2px; font-size: 9px; font-style: normal; color: #7e8aa6; }
.sw { flex: none; width: 36px; height: 21px; border-radius: 999px; background: rgba(255,255,255,.16); position: relative; transition: background .3s var(--ease, ease); }
.sw::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .3s var(--ease, ease); box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.sw.is-on { background: #2fcb6e; }
.sw.is-on::after { left: 17.5px; }

.app-nav { flex: none; display: flex; padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px)); background: rgba(8,12,26,.86); border-top: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(6px); }
.app-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; padding: 3px 0 4px; color: #5e6a87; font-size: 8px; font-weight: 600; transition: color .25s; cursor: default; }
.app-nav button svg { width: 20px; height: 20px; }
.app-nav button.is-on { color: #4d8bff; }

.app-cursor { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1.5px solid rgba(255,255,255,.7); box-shadow: 0 4px 12px rgba(0,0,0,.4); transform: translate(-50%, -50%) scale(.001); opacity: 0; z-index: 9; pointer-events: none; transition: top .55s var(--ease, cubic-bezier(.4,0,.2,1)), left .55s var(--ease, cubic-bezier(.4,0,.2,1)), opacity .25s, transform .18s; }
.app-cursor.is-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.app-cursor.is-tap { transform: translate(-50%, -50%) scale(.62); }

.app-toast { position: absolute; left: 50%; bottom: 64px; transform: translate(-50%, 14px); max-width: 84%; padding: 9px 14px; border-radius: 11px; background: rgba(20,28,48,.96); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); color: #eaf0ff; font-size: 10px; font-weight: 600; text-align: center; opacity: 0; pointer-events: none; z-index: 8; transition: opacity .3s, transform .3s; }
.app-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.app-toast b { color: #8de6b0; }

@keyframes spSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .app-view { transition: none; }
  .av-sync i { animation: none; }
  .app-cursor { display: none; }
}

/* ===================== CTA ===================== */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(46px, 7vw, 80px) clamp(22px, 5vw, 60px); box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 10%, rgba(255,255,255,.25), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.25); }
.cta .eyebrow::before { background: #fff; }
.cta h2 { font-size: clamp(24px, 3.6vw, 38px); margin: 16px 0 14px; }
.cta p { color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 28px; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.cta .btn-primary:hover { background: #F1F4FE; }
.cta .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.cta .btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ===================== FOOTER ===================== */
.site-footer { background: linear-gradient(180deg, #F1F5FF 0%, #F6F8FE 100%); color: var(--muted); padding: 60px 0 32px; border-top: 1px solid var(--line); }
.footer-brand .brand .mark { width: 38px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.footer-brand .brand-name b { color: var(--ink); }
.footer-brand .brand-name span { color: var(--muted); }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h3 { font-size: 14px; margin-bottom: 14px; color: var(--ink); }
.footer-col a, .footer-col span, .footer-col button { display: block; font-size: 14px; color: var(--muted); margin-bottom: 9px; transition: color .15s; }
.footer-col button { background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.footer-col a:hover, .footer-col button:hover { color: var(--brand); }
.footer-col .ig-link { display: flex; align-items: center; gap: 7px; }
.footer-col .ig-link svg { width: 17px; height: 17px; flex: none; }
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ===================== MODALS ===================== */
.modal, .site-popup { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open, .site-popup.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(15,22,45,.55); backdrop-filter: blur(3px); }
.modal-dialog, .popup-card { position: relative; z-index: 1; background: #fff; border-radius: 24px; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; margin: 24px auto; padding: 38px clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); top: 50%; transform: translateY(-50%); }
.modal-dialog .eyebrow { margin-bottom: 14px; }
.modal-dialog h2 { font-size: 24px; margin-bottom: 10px; }
.modal-sub { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.modal-x:hover { background: var(--bg-soft); }
.modal-x svg { width: 20px; height: 20px; }
.dl-group-label { font-size: 14px; font-weight: 700; margin: 22px 0 12px; display: flex; align-items: baseline; gap: 8px; }
.dl-group-label span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-cell { position: relative; display: flex; transition: transform .2s; }
.dl-cell:hover { transform: translateY(-3px); }
.dl-cell .dl-item { flex: 1; }
.dl-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.dl-item:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.dl-item svg { width: 28px; height: 28px; color: var(--brand-700); margin-bottom: 2px; }
.dl-item b { font-size: 15px; }
.dl-item span { font-size: 12px; color: var(--muted); }
.dl-item.disabled { opacity: .45; pointer-events: none; }
.dl-item--wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; padding: 16px; }
.dl-item--wide svg { margin-bottom: 0; flex: 0 0 auto; }
.dl-item--wide b { font-size: 15px; }
.dl-item--wide span { margin-left: 2px; }
.dl-copy { display: none; position: absolute; top: 8px; right: 8px; z-index: 1; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); cursor: pointer; opacity: .55; transition: opacity .2s, color .2s, border-color .2s; }
.dl-copy.ready { display: grid; }
.dl-cell:hover .dl-copy, .dl-copy:focus-visible, .dl-copy.copied { opacity: 1; }
.dl-copy:hover { color: var(--brand-700); border-color: var(--brand-300); }
.dl-copy.copied { color: #059669; border-color: #059669; }
.dl-copy svg { width: 15px; height: 15px; }
.type-seg { display: flex; gap: 8px; background: var(--bg-soft); padding: 5px; border-radius: 14px; margin-bottom: 20px; }
.seg-opt { flex: 1; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; text-align: center; padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .15s; }
.seg-opt input:checked + span { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field label i { color: var(--brand); font-style: normal; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(84,124,240,.15); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.agree { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); margin: 6px 0 18px; }
.agree input { margin-top: 3px; accent-color: var(--brand); }
.agree a { color: var(--brand-700); text-decoration: underline; }
.modal-submit { width: 100%; }
.form-msg { text-align: center; font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: #059669; }
.form-msg.err { color: #DC2626; }
.popup-card { width: min(420px, calc(100% - 32px)); padding: 0; overflow: hidden; }
.popup-img-link img { width: 100%; display: block; }
.popup-body { padding: 24px; }
.popup-body h2 { font-size: 20px; margin-bottom: 8px; }
.popup-body p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.popup-dismiss { width: 100%; padding: 14px; border: none; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13.5px; cursor: pointer; font-family: inherit; }
.popup-dismiss:hover { background: var(--bg-soft); }

/* ===================== REVEAL / MOTION (화려한 스크롤 모션) ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(38px) scale(.985); filter: blur(3px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }

/* 방향성 등장 (JS가 부여) */
[data-reveal].rv-left { transform: translateX(-46px) scale(.99); filter: blur(3px); }
[data-reveal].rv-right { transform: translateX(46px) scale(.99); filter: blur(3px); }
[data-reveal].rv-zoom { transform: scale(.9); filter: blur(4px); }
[data-reveal].rv-left.is-in, [data-reveal].rv-right.is-in, [data-reveal].rv-zoom.is-in { transform: none; filter: none; }

.hero-anim { opacity: 0; transform: translateY(24px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * .12s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 둥둥 떠다니는 일러스트 */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.illus-art img, .connect-media img { animation: floatY 6s ease-in-out infinite; }
.illus:nth-child(2) .illus-art img { animation-duration: 6.8s; animation-delay: .5s; }
.illus:nth-child(3) .illus-art img { animation-duration: 5.6s; animation-delay: .9s; }
.illus:nth-child(4) .illus-art img { animation-duration: 6.3s; animation-delay: .25s; }
.feat2-art img { animation: floatY 7s ease-in-out infinite; }
.feat2-card:nth-child(2) .feat2-art img { animation-delay: .6s; }
.feat2-card:nth-child(3) .feat2-art img { animation-delay: 1s; }
.feat2-card:nth-child(4) .feat2-art img { animation-delay: .35s; }

/* 네비 스크롤 시 그림자 */
.nav { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(40,60,130,.55); background: rgba(255,255,255,.85); }

/* 패럴랙스 대상 */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, .hero-anim, .float-badge { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .illus-row { grid-template-columns: repeat(2, 1fr); }
  .feat2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .targets-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .appdl-inner { grid-template-columns: 1fr; gap: 36px; }
  .phone-mock { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .notif-stack { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-drop { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); display: none; }
  .nav.open .nav-drop { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-dl { justify-content: center; width: 100%; margin: 12px 0 6px; padding: 12px 16px; }
  .nav-actions { margin-top: 14px; }
  .nav-actions .btn { width: 100%; }
  .block { padding: 64px 0; }
  .feature-grid, .pricing, .steps { grid-template-columns: 1fr; }
  .feat2-card { flex-direction: column; align-items: flex-start; }
  .feat2-shot { width: 100%; }
  .float-badge { width: 46px; height: 46px; }
  .float-badge svg, .float-badge img { width: 22px; height: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .illus-row, .screens, .targets-grid { grid-template-columns: 1fr; }
  .platform-icons .pf { width: 40px; height: 40px; }
}

/* ===================== 히어로: 데스크탑 앱 '원격 제어' 화면 자동 시연 =====================
   실제 앱(lib/ui/remote/remote_view.dart)의 원격 제어 화면을 그대로 재현 —
   상단 다크 툴바(뒤로가기·기기명·외부원격 태그·확대/축소·제어 토글) +
   검은 배경의 원격 화면 + 하단 연결 로그 콘솔 + 키 바. 색은 앱 다크 테마 토큰 사용. */
.desk-mock { position: relative; z-index: 2; width: 100%; max-width: 980px; margin: 0 auto;
  filter: drop-shadow(0 40px 70px rgba(10,14,30,.45)); }
.rv-frame { position: relative; border-radius: 16px; overflow: hidden; background: #0E1014;
  border: 1px solid #2B2F36; color: #F4F4F4;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased; }

/* 상단 툴바 (앱 RemoteView _toolbar, height 52) */
.rv-bar { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 12px;
  background: #171A20; border-bottom: 1px solid #26282D; }
.rv-back { display: grid; place-items: center; width: 26px; height: 26px; color: #CFD1D3; }
.rv-back svg { width: 20px; height: 20px; }
.rv-pc { display: grid; place-items: center; color: #3E6AE1; }
.rv-pc svg { width: 18px; height: 18px; }
.rv-name { font-size: 14px; font-weight: 800; color: #F4F4F4; letter-spacing: -.01em; }
.rv-tag { font-size: 11px; font-weight: 800; color: #3E6AE1; background: rgba(62,106,225,.14);
  padding: 3px 8px; border-radius: 6px; }
.rv-grow { flex: 1; }
.rv-tools { display: inline-flex; align-items: center; gap: 2px; }
.rv-tool { display: grid; place-items: center; width: 28px; height: 28px; color: #8E9094; }
.rv-tool svg { width: 18px; height: 18px; }
.rv-ctl { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; }
.rv-ctl i { font-style: normal; font-size: 12px; font-weight: 800; color: #CFD1D3; }
.rv-switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #3A3F47;
  transition: background .3s; }
.rv-switch b { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #F4F4F4; transition: left .26s cubic-bezier(.4,0,.2,1); }
.rv-switch.is-on { background: #3E6AE1; }
.rv-switch.is-on b { left: 18px; }

/* 검은 원격 화면 영역 (앱 Scaffold backgroundColor: Colors.black) */
.rv-stage { position: relative; background: #000; padding: 16px; }
.rc-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 8%, #21437f, #122a55 45%, #0a1838 100%); }
.rc-wall { position: absolute; inset: 0; }
.rc-desktop { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 16px; }
.rc-icon { width: 66px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #eaf0ff; }
.rc-ic-img { width: 40px; height: 34px; display: grid; place-items: center; border-radius: 8px; transition: background .25s; }
.rc-icon i { font-style: normal; font-size: 10.5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.rc-icon.is-sel .rc-ic-img { background: rgba(120,170,255,.28); }
.rc-window { position: absolute; top: 14%; left: 28%; width: 56%; background: #f3f6fc; border-radius: 10px;
  overflow: hidden; box-shadow: 0 26px 54px -16px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px) scale(.96);
  transform-origin: 40% 0; transition: opacity .34s var(--ease,ease), transform .34s var(--ease,ease); }
.rc-window.is-open { opacity: 1; transform: none; }
.rc-win-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: #e5ebf6; }
.rc-win-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c6cfe0; }
.rc-win-bar b { font-size: 11px; font-weight: 700; color: #33405c; }
.rc-win-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.rc-thumb { aspect-ratio: 16 / 10; border-radius: 6px; background: linear-gradient(135deg,#9db4e8,#cdd9f3); }
.rc-thumb:nth-child(2) { background: linear-gradient(135deg,#a7d8c4,#d6efe4); }
.rc-thumb:nth-child(3) { background: linear-gradient(135deg,#e8c79d,#f5e6cf); }
.rc-thumb:nth-child(4) { background: linear-gradient(135deg,#c3a7e8,#e4d6f3); }
.rc-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; display: flex; align-items: center;
  gap: 9px; padding: 0 11px; background: rgba(8,12,28,.84); border-top: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rc-start { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 14px;
  color: #cfe0ff; background: rgba(255,255,255,.08); }
.rc-search { flex: 0 1 230px; display: flex; align-items: center; gap: 1px; height: 24px; padding: 0 12px;
  border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 600;
  transition: background .25s, box-shadow .25s, color .25s; }
.rc-search.is-focus { background: #fff; color: #1b2a4a; box-shadow: 0 0 0 2px rgba(77,139,255,.65); }
.rc-typed:empty::before { content: "검색"; opacity: .55; }
.rc-caret { width: 1.5px; height: 13px; margin-left: 1px; background: currentColor; opacity: 0; }
.rc-search.is-focus .rc-caret { animation: rcCaret 1s steps(1) infinite; }
@keyframes rcCaret { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.rc-cursor { position: absolute; top: 0; left: 0; z-index: 9; pointer-events: none; opacity: 0;
  transform: translate(-2px, -2px);
  transition: top .55s var(--ease, cubic-bezier(.4,0,.2,1)), left .55s var(--ease, cubic-bezier(.4,0,.2,1)), opacity .25s; }
.rc-cursor.is-show { opacity: 1; }
.rc-cursor svg { width: 19px; height: 19px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.rc-cursor.is-tap { transform: translate(-2px, -2px) scale(.82); }
.rc-cursor::after { content: ""; position: absolute; left: -2px; top: -2px; width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid rgba(120,170,255,.95); opacity: 0; transform: scale(.4); }
.rc-cursor.is-tap::after { animation: rcRipple .42s ease-out; }
@keyframes rcRipple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
/* 하단 상태 바 오버레이 (앱 _statusBar — 화면 위에 겹쳐 표시) */
.rv-status { position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 8px 14px;
  border-radius: 10px; background: rgba(23,26,32,.94); border: 1px solid #2B2F36; color: #F4F4F4;
  font-size: 12px; font-weight: 600; text-align: center; opacity: 0; pointer-events: none; z-index: 12;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.6); transition: opacity .28s, transform .28s;
  transform: translateY(8px); }
.rv-status.is-show { opacity: 1; transform: translateY(0); }
.rv-status b { color: #34C57B; }

/* 하단: 연결 로그 콘솔 + 키 바 (앱 _logConsole + _KeyBar) */
.rv-foot { display: flex; align-items: stretch; gap: 8px; padding: 8px; background: #131519;
  border-top: 1px solid #26282D; }
.rv-log { flex: 1; min-width: 0; border: 1px solid #2B2F36; border-radius: 10px; background: #1F2228;
  padding: 6px 10px; overflow: hidden; }
.rv-log-head { display: flex; align-items: center; gap: 6px; }
.rv-log-cv { width: 13px; height: 13px; color: #8E9094; flex: none; }
.rv-log-li { width: 12px; height: 12px; color: #8E9094; flex: none; }
.rv-log-head span { font-size: 11px; font-weight: 700; color: #CFD1D3; }
.rv-log-head em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #5C5E62; }
.rv-log-body { margin-top: 4px; height: 58px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; font-family: "Menlo", "Courier New", monospace; font-size: 10.5px;
  line-height: 1.5; color: #CFD1D3; }
.rv-log-body p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(3px); animation: rvLogIn .26s ease forwards; }
.rv-log-body p .t { color: #5C5E62; margin-right: 8px; }
.rv-log-body p.ok { color: #34C57B; }
@keyframes rvLogIn { to { opacity: 1; transform: translateY(0); } }
.rv-keys { display: flex; align-items: center; gap: 5px; padding: 0 2px; }
.rv-keys span { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px;
  border-radius: 7px; background: #1F2228; border: 1px solid #2B2F36; color: #CFD1D3;
  font-size: 10.5px; font-weight: 700; }
.rv-keys .rv-key-win { font-size: 14px; }

@media (max-width: 620px) {
  .rv-name { font-size: 12.5px; }
  .rv-tools { display: none; }
  .rv-keys span:nth-child(n+3) { display: none; }
  .rc-icon { width: 54px; }
  .rc-search { flex-basis: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-search.is-focus .rc-caret { animation: none; opacity: 1; }
  .rc-cursor { display: none; }
  .rv-log-body p { animation: none; opacity: 1; transform: none; }
}

/* ---- 히어로 데모 탭 (전원 On/Off ↔ 원격제어 예시) ---- */
.demo-tabs { position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: 0 auto; }
.demo-tabbar { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.demo-tab { font: inherit; font-size: 13px; font-weight: 700; color: #5b6270;
  background: #fff; border: 1px solid rgba(20,22,28,.12); padding: 9px 20px;
  border-radius: 999px; cursor: pointer; box-shadow: 0 1px 3px rgba(20,30,60,.08);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.demo-tab:hover { color: #1b2436; border-color: rgba(20,22,28,.22); }
.demo-tab.is-on { color: #fff; background: #3E6AE1; border-color: #3E6AE1;
  box-shadow: 0 8px 20px -8px rgba(62,106,225,.6); }
.demo-panel { display: none; }
.demo-panel.is-active { display: block; animation: demoFade .4s ease; }
@keyframes demoFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== 기기 목업 (CSS, 아이콘 없음 / 아이패드·노트북 외곽 박스를 동일 크기로 고정) ===== */
/* 두 기기 모두 같은 max-width + 같은 aspect-ratio → 탭 전환 시 크기/위치 변동 없음(오차 0) */
.device-frame {
  position: relative; z-index: 2;
  width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 900 / 645;
  box-sizing: border-box;
}

/* --- 아이패드(전원 데모): 어두운 메탈 베젤 태블릿 — 박스 전체가 기기 --- */
.device-frame.is-ipad {
  padding: 14px;
  background: linear-gradient(155deg, #45484f 0%, #25272d 36%, #15161a 100%);
  border-radius: 30px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.16), inset 0 0 0 1px rgba(0,0,0,.45),
    0 42px 72px -26px rgba(28,40,78,.5), 0 12px 26px -12px rgba(28,40,78,.35);
}
.device-frame.is-ipad::before {        /* 전면 카메라 */
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 38% 32%, #585b63, #16171b);
}
.is-ipad .device-screen { width: 100%; height: 100%; border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.5); }

/* --- 노트북(원격 데모): 맥북 스타일 — 덮개+베이스가 같은 박스 높이를 채움 --- */
.device-frame.is-laptop { display: flex; flex-direction: column;
  filter: drop-shadow(0 34px 56px rgba(28,40,78,.4)); }
.is-laptop .laptop-lid {
  position: relative; flex: 1 1 auto; min-height: 0; padding: 12px; background: #1a1b1f;
  border-radius: 18px 18px 5px 5px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.07), inset 0 0 0 1px rgba(0,0,0,.55);
}
.is-laptop .laptop-lid::before {       /* 전면 카메라 */
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: #34363c; z-index: 3;
}
.is-laptop .device-screen { width: 100%; height: 100%; border-radius: 4px; }
.is-laptop .laptop-base {              /* 키보드 데크 + 힌지 (lid와 동일 폭으로 스트레치 → 정확히 중앙) */
  position: relative; flex: none; height: 16px;
  background: linear-gradient(180deg, #e6e9ee 0%, #c3c8cf 42%, #9aa1aa 100%);
  border-radius: 0 0 14px 14px; box-shadow: 0 3px 5px rgba(0,0,0,.18);
}
.is-laptop .laptop-base::before {      /* 힌지 라인 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(#7c818b, #b4bac2);
}
.is-laptop .laptop-base::after {       /* 전면 개방부 노치 */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 13%; height: 6px; background: linear-gradient(#b3b9c1, #cfd4da);
  border-radius: 0 0 7px 7px;
}

/* 화면(검은 영역) — 데모를 absolute로 띄워(화면 크기에 영향 X) 중앙에서 비율 유지 균등 스케일 */
.device-screen { position: relative; overflow: hidden; background: #0E1014; }
.device-screen .desk-mock {
  position: absolute; top: 50%; left: 50%;
  width: 600px; max-width: none; margin: 0;
  filter: none;                          /* 프레임이 입체감을 주므로 외곽 그림자 제거 */
  transform-origin: center center; will-change: transform;
}
/* 데모 기준폭을 키워 자연 비율을 화면비(~1.4)에 맞춤 → 균등 스케일이 화면을 거의 꽉 채움(왜곡 0) */
.is-ipad   .device-screen .desk-mock { width: 680px; }   /* 높이 고정 479 → ar 1.42 */
.is-laptop .device-screen .desk-mock { width: 1260px; }  /* ar ≈ 1.43 */
@media (max-width: 560px) {
  .device-frame.is-ipad { border-radius: 22px; }
  .is-laptop .laptop-lid { border-radius: 12px 12px 4px 4px; }
}

/* ---- 전원 On/Off 시연 (실제 앱 디바이스 화면) ---- */
.pw-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #34C57B; }
.pw-live i { width: 7px; height: 7px; border-radius: 50%; background: #34C57B; animation: spPulse 1.8s infinite; }
.pw-body { padding: 14px; background: #15171C; display: flex; flex-direction: column; gap: 12px; }
.pw-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pw-stat { background: #1F2228; border: 1px solid #2B2F36; border-radius: 12px; padding: 9px 12px; }
.pw-stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; color: #F4F4F4;
  transition: color .3s; }
.pw-stat span { font-size: 11px; font-weight: 600; color: #8E9094; }
.pw-stat.on b { color: #34C57B; }
.pw-stat.off b { color: #CFD1D3; }
.pw-stat.dim b { color: #5C5E62; }
.pw-bulk { display: flex; gap: 8px; }
.pw-pbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; border-radius: 10px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: default;
  border: 1px solid transparent; transition: transform .12s ease, filter .2s; }
.pw-pbtn svg { width: 16px; height: 16px; }
.pw-pbtn.on { color: #34C57B; background: rgba(52,197,123,.12); border-color: rgba(52,197,123,.3); }
.pw-pbtn.off { color: #E03B3B; background: rgba(224,59,59,.1); border-color: rgba(224,59,59,.28); }
.pw-pbtn.is-press { transform: scale(.95); filter: brightness(1.3); }
.pw-list { display: flex; flex-direction: column; gap: 8px; }
.pw-dev { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px;
  background: #1F2228; border: 1px solid #2B2F36; transition: border-color .3s, background .3s; }
.pw-dev.is-on { border-color: rgba(52,197,123,.32); }
.pw-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: #6A6C70; background: rgba(255,255,255,.04); transition: color .3s, background .3s; }
.pw-ic svg { width: 20px; height: 20px; }
.pw-dev.is-on .pw-ic { color: #34C57B; background: rgba(52,197,123,.14); }
.pw-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pw-meta b { font-size: 13px; font-weight: 700; color: #F4F4F4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-meta i { font-style: normal; font-size: 11px; color: #8E9094; }
.pw-state { font-size: 11px; font-weight: 800; color: #5C5E62; transition: color .3s; }
.pw-dev.is-on .pw-state { color: #34C57B; }
.pw-sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #3A3F47;
  flex: none; transition: background .3s; }
.pw-sw b { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #F4F4F4; transition: left .26s cubic-bezier(.4,0,.2,1); }
.pw-dev.is-on .pw-sw { background: #34C57B; }
.pw-dev.is-on .pw-sw b { left: 18px; }
@media (max-width: 620px) {
  .pw-kpi { grid-template-columns: repeat(2, 1fr); }
  .pw-meta i { display: none; }
  .demo-tab { padding: 8px 16px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-live i { animation: none; }
  .demo-panel.is-active { animation: none; }
}
