/* =============================================
   AI 카운팅 - 영상분석 (허브 + 상세 페이지 공통)
   ============================================= */

/* ---- 히어로 ---- */
.vca-hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 50%, #1a0d2e 100%);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.vca-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,25,30,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.vca-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.vca-hero .breadcrumb { margin-bottom: 20px; }
.vca-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.vca-hero .breadcrumb .sep { color: rgba(255,255,255,.25); }
.vca-hero .breadcrumb .cur { color: rgba(255,255,255,.85); }
.vca-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,25,30,.2); border: 1px solid rgba(200,25,30,.5);
  color: #ff8080; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px; letter-spacing: 1px; text-transform: uppercase;
}
.vca-hero h1 { font-size: 42px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; word-break: keep-all; }
.vca-hero h1 span { color: var(--red); }
.vca-hero p.lead { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.9; margin-bottom: 24px; }
.vca-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.vca-tag {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); font-size: 13px; padding: 6px 14px; border-radius: 20px;
}
.vca-tag i { margin-right: 6px; color: var(--red); }
.vca-hero-visual {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  background: #0d1b2a;
}
.vca-hero-visual img { width: 100%; display: block; }
.vca-hero-visual.light { background: #fff; padding: 18px; }

/* ---- 하위 메뉴 바 ---- */
.vca-subnav { background: var(--white); border-bottom: 1px solid var(--border); }
.vca-subnav .container { display: flex; gap: 4px; overflow-x: auto; }
.vca-subnav a {
  padding: 15px 16px; font-size: 14px; font-weight: 600; color: var(--gray);
  border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.vca-subnav a:hover { color: var(--red); }
.vca-subnav a.on { color: var(--red); border-bottom-color: var(--red); }

/* ---- 섹션 ---- */
.vca-section { padding: 72px 0; }
.vca-section.alt { background: #f7f7f9; }
.vca-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: block; }
.vca-sub { color: var(--gray); font-size: 15px; line-height: 1.8; margin-top: 8px; max-width: 760px; }

.vca-grid { display: grid; gap: 22px; margin-top: 36px; }
.vca-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.vca-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.vca-grid.c4 { grid-template-columns: repeat(4, 1fr); }

.vca-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 22px; transition: var(--transition);
}
.vca-card:hover { border-color: var(--red); box-shadow: 0 8px 28px rgba(200,25,30,.12); transform: translateY(-4px); }
.vca-card .ic {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(200,25,30,.1);
  display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--red); margin-bottom: 14px;
}
.vca-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gray-dark); }
.vca-card p { font-size: 13.5px; color: var(--gray); line-height: 1.8; }

/* ---- 개요 2단 ---- */
.vca-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.vca-overview p { font-size: 15px; color: var(--gray); line-height: 1.95; margin-bottom: 14px; }
.vca-overview p strong { color: var(--red); }
.vca-overview img { width: 100%; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.vca-overview .figcap { font-size: 12px; color: var(--gray-mid); margin-top: 8px; text-align: center; }

/* ---- 프로세스 ---- */
.vca-steps { display: flex; gap: 0; margin-top: 40px; align-items: stretch; flex-wrap: wrap; }
.vca-step { flex: 1; min-width: 180px; text-align: center; padding: 8px 12px; }
.vca-step .no {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: rgba(200,25,30,.08); border: 2px solid rgba(200,25,30,.25);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--red);
  transition: var(--transition);
}
.vca-step:hover .no { background: var(--red); color: #fff; }
.vca-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.vca-step p { font-size: 13px; color: var(--gray); line-height: 1.7; }
.vca-arrow { align-self: center; color: var(--red); font-size: 20px; padding: 0 2px; }

/* ---- 사양표 ---- */
.vca-table-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table.vca-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vca-table th, .vca-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; line-height: 1.6; }
.vca-table th { background: #f3f3f6; font-weight: 700; color: var(--gray-dark); white-space: nowrap; }
.vca-table tr:last-child td, .vca-table tr:last-child th { border-bottom: none; }
.vca-table td.k { font-weight: 700; background: #fafafa; width: 190px; }
.vca-note { font-size: 12.5px; color: var(--gray-mid); margin-top: 12px; line-height: 1.7; }

/* ---- 기대효과 ---- */
.vca-effect { text-align: center; }
.vca-effect .n { font-size: 40px; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 10px; }
.vca-effect h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.vca-effect p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ---- AI BOX 박스 ---- */
.vca-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #0d1b2a, #1a2438); color: #fff; border-radius: 18px; padding: 38px;
}
.vca-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.vca-box h3 span { color: #ff6b6b; }
.vca-box p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.9; margin-bottom: 14px; }
.vca-box ul li { font-size: 14px; color: rgba(255,255,255,.88); padding: 5px 0; }
.vca-box ul li i { color: #ff6b6b; margin-right: 8px; }
.vca-box img { width: 100%; border-radius: 12px; background: #fff; }

/* ---- TOPS 카드 ---- */
.vca-tops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.tops-card { border-radius: 16px; padding: 30px; border: 1px solid var(--border); background: #fff; }
.tops-card .num { font-size: 54px; font-weight: 900; color: var(--red); line-height: 1; }
.tops-card .num small { font-size: 20px; font-weight: 700; color: var(--gray-dark); margin-left: 6px; }
.tops-card h4 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.tops-card p { font-size: 13.5px; color: var(--gray); line-height: 1.85; }
.tops-card.hi { background: linear-gradient(135deg, rgba(200,25,30,.05), #fff); border-color: rgba(200,25,30,.35); }

/* ---- 포스트잇 ---- */
.postit-board {
  margin-top: 40px; padding: 44px 34px;
  background: #d9b98a; /* 코르크보드 느낌 */
  background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1px), radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 14px 14px, 22px 22px; background-position: 0 0, 7px 7px;
  border-radius: 16px; border: 10px solid #8b6b43; box-shadow: inset 0 0 30px rgba(0,0,0,.25);
}
.postit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.postit {
  position: relative; display: block; color: #2b2b2b;
  padding: 26px 16px 18px; border-radius: 3px 3px 14px 3px;
  box-shadow: 0 10px 18px rgba(0,0,0,.28), inset 0 -18px 18px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease;
  transform: rotate(var(--rot, 0deg));
}
.postit::before { /* 테이프 */
  content: ''; position: absolute; top: -12px; left: 50%; width: 74px; height: 24px; margin-left: -37px;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.15); transform: rotate(-3deg);
}
.postit:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); box-shadow: 0 18px 28px rgba(0,0,0,.35); z-index: 3; }
.postit .pic { border-radius: 8px; overflow: hidden; margin-bottom: 14px; border: 1px solid rgba(0,0,0,.12); background: #0d1b2a; }
.postit .pic img { width: 100%; display: block; }
.postit .no { position: absolute; top: 8px; right: 12px; font-size: 12px; font-weight: 800; color: rgba(0,0,0,.35); }
.postit h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.postit h3 i { color: var(--red); }
.postit p { font-size: 13px; line-height: 1.65; color: #444; min-height: 64px; }
.postit .go { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--red); }
.postit.y1 { background: #fff59a; } .postit.y2 { background: #ffc9d9; } .postit.y3 { background: #bfe4ff; } .postit.y4 { background: #cdf3c3; }
.postit.y5 { background: #ffd9a8; } .postit.y6 { background: #e2d2ff; } .postit.y7 { background: #b9f1e6; } .postit.y8 { background: #ffd0c2; }
.postit-grid .postit:nth-child(1) { --rot: -2deg; } .postit-grid .postit:nth-child(2) { --rot: 1.5deg; }
.postit-grid .postit:nth-child(3) { --rot: -1deg; } .postit-grid .postit:nth-child(4) { --rot: 2deg; }
.postit-grid .postit:nth-child(5) { --rot: 1.2deg; } .postit-grid .postit:nth-child(6) { --rot: -2deg; }
.postit-grid .postit:nth-child(7) { --rot: 1.8deg; } .postit-grid .postit:nth-child(8) { --rot: -1.4deg; }

/* ---- 이전/다음 ---- */
.vca-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.vca-pager a {
  display: block; padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: var(--transition);
}
.vca-pager a:hover { border-color: var(--red); box-shadow: 0 6px 20px rgba(200,25,30,.1); }
.vca-pager small { display: block; font-size: 12px; color: var(--gray-mid); margin-bottom: 4px; }
.vca-pager b { font-size: 16px; color: var(--gray-dark); }
.vca-pager .next { text-align: right; }
.vca-pager .ghost { visibility: hidden; }

/* ---- CTA ---- */
.vca-cta { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: #fff; text-align: center; padding: 64px 0; }
.vca-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.vca-cta p { opacity: .88; line-height: 1.8; margin-bottom: 28px; }
.vca-cta .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .postit-grid { grid-template-columns: repeat(2, 1fr); }
  .vca-grid.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vca-hero-grid, .vca-overview, .vca-box, .vca-tops { grid-template-columns: 1fr; }
  .vca-hero h1 { font-size: 30px; }
  .vca-grid.c3, .vca-grid.c2 { grid-template-columns: 1fr; }
  .vca-arrow { display: none; }
  .vca-step { flex-basis: 45%; }
  .vca-subnav { position: static; }
}
@media (max-width: 560px) {
  .postit-grid { grid-template-columns: 1fr; }
  .postit-board { padding: 34px 18px; border-width: 6px; }
  .vca-grid.c4 { grid-template-columns: 1fr; }
  .vca-pager { grid-template-columns: 1fr; }
  .vca-step { flex-basis: 100%; }
}
