/* ===================================================
   style.css — PC / 데스크톱 기본 스타일
   =================================================== */

/* ===== 리셋 & 기본 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:           #3182F6;
  --blue-hover:     #1B64DA;
  --blue-bg:        #E8F3FF;
  --green:          #16C784;
  --green-bg:       #E5FAF1;
  --bg-primary:     #F4F5F7;
  --bg-secondary:   #FFFFFF;
  --bg-tertiary:    #F8F9FA;
  --text-primary:   #1B1D1F;
  --text-secondary: #4E5968;
  --text-tertiary:  #8B95A1;
  --text-disabled:  #B0B8C1;
  --border:         #E5E8EB;
  --border-light:   #F2F4F6;
  --radius-card:    16px;
  --shadow-card:    0 2px 16px rgba(0,0,0,0.06);
  --shadow-hover:   0 8px 32px rgba(49,130,246,0.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== 레이아웃 ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

/* ===== 헤더 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-contact:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(49,130,246,0.35);
}

/* 햄버거 (PC에서 숨김) */
.hamburger {
  display: none;
}

/* 모바일 오버레이 (PC에서 숨김) */
.mobile-nav-overlay {
  display: none;
}

/* ===== 히어로 ===== */
#hero {
  padding: 110px 0 90px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

#hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.8); }
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-title .accent { color: var(--blue); }
.accent { color: var(--blue); }

.hero-title-sub {
  display: block;
  margin-top: 12px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49,130,246,0.35);
}

.btn-ghost {
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* ===== 데이터의 기원 ===== */
#mission {
  background: var(--bg-primary);
}

.origin-section {
  text-align: center;
}

.origin-slogan {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 64px;
}

/* 3단 카드 플로우 */
.origin-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
}

.origin-arrow {
  padding-top: 80px;
}

.origin-card {
  flex: 0 0 240px;
  text-align: center;
}

.origin-visual {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.ov-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(49,130,246,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.origin-card:hover .origin-visual {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(49,130,246,0.18);
}

.origin-card:hover .ov-glow {
  opacity: 1;
}

.origin-icon-svg {
  width: 140px;
  height: 140px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.origin-label {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.origin-desc {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 화살표 */
.origin-arrow {
  flex-shrink: 0;
}

.origin-arrow-line {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-disabled);
}

.origin-arrow-line span {
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.origin-arrow-line span::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: arrowPulse 2s ease-in-out infinite;
}

/* ======================================
   관상 — 스캔 + 분석 포인트 + 라벨
   ====================================== */

/* 얼굴 드로잉 */
.gs-face {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.origin-card.visible .gs-face {
  animation: drawStroke 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* 스캔 링 (회전) */
.origin-card.visible .gs-ring {
  animation: fadeIn 0.6s 0.5s ease forwards, spinSlow 8s 0.5s linear infinite;
}
.origin-card.visible .gs-ring-inner {
  animation: fadeIn 0.6s 0.7s ease forwards, spinSlowReverse 12s 0.7s linear infinite;
}

/* 스캔 라인 (위→아래 스윕 반복) */
.origin-card.visible .gs-scanline {
  animation: scanSweep 2.5s 0.8s ease-in-out infinite;
}

/* 분석 포인트 순차 등장 */
.origin-card.visible .gp-1 { animation: popIn 0.4s 1.2s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .gp-2 { animation: popIn 0.4s 1.4s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .gp-3 { animation: popIn 0.4s 1.6s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .gp-4 { animation: popIn 0.4s 1.8s cubic-bezier(0.34,1.56,0.64,1) forwards; }

/* 연결선 */
.origin-card.visible .gc-1 { animation: drawLine 0.3s 1.5s ease forwards; }
.origin-card.visible .gc-2 { animation: drawLine 0.3s 1.7s ease forwards; }
.origin-card.visible .gc-3 { animation: drawLine 0.3s 1.9s ease forwards; }
.origin-card.visible .gc-4 { animation: drawLine 0.3s 2.0s ease forwards; }
.origin-card.visible .gc-5 { animation: drawLine 0.3s 2.1s ease forwards; }

/* 라벨 */
.origin-card.visible .gl-1 { animation: slideInRight 0.5s 2.2s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .gl-2 { animation: slideInLeft  0.5s 2.4s cubic-bezier(0.34,1.56,0.64,1) forwards; }


/* ======================================
   사서 — 두루마리 펼침 + 글자 쓰기 + 붓
   ====================================== */

/* 두루마리 본문 펼쳐짐 */
.origin-card.visible .ss-body {
  animation: unrollScroll 1s 0.3s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

/* 하단 봉 등장 */
.origin-card.visible .ss-rod-bottom {
  animation: fadeIn 0.3s 1.2s ease forwards;
}

/* 글자 그룹 등장 */
.origin-card.visible .ss-text-group {
  animation: fadeIn 0.5s 1.0s ease forwards;
}

/* 한자 한 글자씩 등장 */
.origin-card.visible .sc-1  { animation: charAppear 0.25s 1.2s ease forwards; }
.origin-card.visible .sc-2  { animation: charAppear 0.25s 1.3s ease forwards; }
.origin-card.visible .sc-3  { animation: charAppear 0.25s 1.4s ease forwards; }
.origin-card.visible .sc-4  { animation: charAppear 0.25s 1.5s ease forwards; }
.origin-card.visible .sc-5  { animation: charAppear 0.25s 1.6s ease forwards; }
.origin-card.visible .sc-6  { animation: charAppear 0.25s 1.7s ease forwards; }
.origin-card.visible .sc-7  { animation: charAppear 0.25s 1.8s ease forwards; }
.origin-card.visible .sc-8  { animation: charAppear 0.25s 1.9s ease forwards; }
.origin-card.visible .sc-9  { animation: charAppear 0.25s 2.0s ease forwards; }
.origin-card.visible .sc-10 { animation: charAppear 0.25s 2.1s ease forwards; }
.origin-card.visible .sc-11 { animation: charAppear 0.25s 2.2s ease forwards; }
.origin-card.visible .sc-12 { animation: charAppear 0.25s 2.3s ease forwards; }
.origin-card.visible .sc-13 { animation: charAppear 0.25s 2.4s ease forwards; }
.origin-card.visible .sc-14 { animation: charAppear 0.25s 2.5s ease forwards; }
.origin-card.visible .sc-15 { animation: charAppear 0.25s 2.6s ease forwards; }
.origin-card.visible .sc-16 { animation: charAppear 0.25s 2.7s ease forwards; }

/* 붓 이동 */
.origin-card.visible .ss-brush {
  animation: brushMove 3s 1.2s ease-in-out forwards;
}


/* ======================================
   실록 — 책 쌓임 + 공중부양 + 인장 + 빛줄기
   ====================================== */

/* 책 한 권씩 올라와 쌓임 */
.origin-card.visible .sk-b1 { animation: bookRise 0.5s 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .sk-b2 { animation: bookRise 0.5s 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .sk-b3 { animation: bookRise 0.5s 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .sk-b4 { animation: bookRise 0.5s 0.9s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.origin-card.visible .sk-b5 { animation: bookRise 0.5s 1.1s cubic-bezier(0.34,1.56,0.64,1) forwards; }

/* 쌓인 뒤 미세 부양 (무한 반복) */
.origin-card.visible .sk-b1 { animation: bookRise 0.5s 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards, bookFloat 3s 1.5s ease-in-out infinite; }
.origin-card.visible .sk-b2 { animation: bookRise 0.5s 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards, bookFloat 3s 1.7s ease-in-out infinite; }
.origin-card.visible .sk-b3 { animation: bookRise 0.5s 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards, bookFloat 3s 1.9s ease-in-out infinite; }
.origin-card.visible .sk-b4 { animation: bookRise 0.5s 0.9s cubic-bezier(0.34,1.56,0.64,1) forwards, bookFloat 3s 2.1s ease-in-out infinite; }
.origin-card.visible .sk-b5 { animation: bookRise 0.5s 1.1s cubic-bezier(0.34,1.56,0.64,1) forwards, bookFloat 3s 2.3s ease-in-out infinite; }

/* 인장 (탕!) */
.origin-card.visible .sk-seal {
  animation: sealStamp 0.6s 1.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* 오라 원 */
.origin-card.visible .sk-aura-1 {
  animation: fadeIn 0.8s 1.6s ease forwards, spinSlow 20s 1.6s linear infinite;
}
.origin-card.visible .sk-aura-2 {
  animation: fadeIn 0.8s 1.8s ease forwards, spinSlowReverse 25s 1.8s linear infinite;
}

/* 빛줄기 */
.origin-card.visible .sk-rays {
  animation: raysAppear 0.8s 1.4s ease forwards;
}

/* 파티클 */
.origin-card.visible .sp-1 { animation: particleFloat 3s 1.6s ease-in-out infinite; }
.origin-card.visible .sp-2 { animation: particleFloat 3.5s 1.8s ease-in-out infinite; }
.origin-card.visible .sp-3 { animation: particleFloat 2.8s 2.0s ease-in-out infinite; }
.origin-card.visible .sp-4 { animation: particleFloat 3.2s 2.2s ease-in-out infinite; }


/* ======================================
   키프레임
   ====================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

@keyframes drawLine {
  from { opacity: 0; }
  to   { opacity: 0.5; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

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

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

@keyframes scanSweep {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(76px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes arrowPulse {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* 사서: 두루마리 펼침 */
@keyframes unrollScroll {
  from { height: 0; }
  to   { height: 92px; }
}

/* 사서: 글자 등장 */
@keyframes charAppear {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 0.8; transform: translateY(0); }
}

/* 사서: 붓 이동 */
@keyframes brushMove {
  0%   { opacity: 0; transform: translate(55px, 42px); }
  5%   { opacity: 1; }
  25%  { transform: translate(55px, 108px); }
  30%  { transform: translate(70px, 42px); }
  55%  { transform: translate(70px, 108px); }
  60%  { transform: translate(85px, 42px); }
  85%  { transform: translate(85px, 108px); }
  90%  { transform: translate(100px, 42px); }
  100% { opacity: 0.6; transform: translate(100px, 108px); }
}

/* 실록: 책 올라옴 */
@keyframes bookRise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 실록: 미세 부양 */
@keyframes bookFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* 실록: 인장 찍기 */
@keyframes sealStamp {
  0%   { opacity: 0; transform: scale(2.5) rotate(-15deg); }
  60%  { opacity: 1; transform: scale(0.9) rotate(2deg); }
  80%  { transform: scale(1.05) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* 실록: 빛줄기 */
@keyframes raysAppear {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 0.5; transform: scale(1); }
}

/* 실록: 파티클 */
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0); }
  25%  { opacity: 0.6; }
  50%  { transform: translateY(-12px); }
  75%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(0); }
}

.accent-card .mission-desc { color: rgba(255,255,255,0.8); }

/* ===== 슬로건 섹션 (3번째) ===== */
#slogan {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

#sloganCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

#slogan .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.slogan-title {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.35;
  color: var(--text-primary);
  text-align: left;
}

/* ===== 서비스 (제품, 4번째) ===== */
#products {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 13px;
  border-radius: 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== 서비스 슬라이더 (새 디자인) ===== */
.svc-slogan {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.svc-slider {
  position: relative;
  overflow: hidden;
}

.svc-track {
  display: flex;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.svc-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  padding: 20px 0;
}

/* --- 디바이스 그룹 (PC + 폰 겹침) --- */
.svc-devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 440px;
  padding-bottom: 10px;
}

/* --- PC 모니터 --- */
.svc-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svc-monitor-bezel {
  width: 400px;
  height: 260px;
  background: #111;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.16), inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.svc-monitor-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-monitor-stand {
  width: 60px;
  height: 28px;
  background: linear-gradient(180deg, #222 0%, #333 100%);
  margin: 0 auto;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.svc-monitor-base {
  width: 100px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin: 0 auto;
}

/* 웹 대시보드 UI */
.svc-web-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.svc-web-dots {
  display: flex;
  gap: 4px;
}

.svc-web-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
}

.svc-web-dots span:nth-child(1) { background: #FF5F57; }
.svc-web-dots span:nth-child(2) { background: #FFBD2E; }
.svc-web-dots span:nth-child(3) { background: #28CA41; }

.svc-web-url {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.svc-web-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.svc-web-sidebar {
  width: 36px;
  background: var(--bg-tertiary);
  border-right: 1px solid var(--border-light);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-web-nav-item {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.svc-web-nav-item.active {
  background: var(--blue);
}

.svc-web-content {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.svc-web-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-web-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
}

.svc-web-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(22,199,132,0.2);
}

.svc-web-metrics {
  display: flex;
  gap: 6px;
}

.svc-web-metric {
  flex: 1;
  background: var(--bg-tertiary);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-wm-label {
  font-size: 7px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.svc-wm-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
}

.svc-wm-accent .svc-wm-val {
  color: var(--blue);
}

.svc-web-chart {
  flex: 1;
  min-height: 0;
}

.svc-web-chart svg {
  width: 100%;
  height: 100%;
}

.svc-web-table {
  display: flex;
  flex-direction: column;
}

.svc-web-trow {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 8px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.svc-web-trow:last-child { border-bottom: none; }

.svc-web-trow span:nth-child(2) {
  font-weight: 800;
  color: var(--text-primary);
}

.svc-web-trow em {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}

.svc-web-thead {
  font-weight: 700;
  color: var(--text-tertiary);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.svc-web-thead em { color: var(--text-tertiary); }

/* --- 폰 (겹쳐서 띄움) --- */
.svc-phone-float {
  position: absolute;
  right: -30px;
  bottom: 20px;
  z-index: 10;
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.svc-phone-frame {
  width: 160px;
  height: 320px;
  background: #111;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 1.5px rgba(255,255,255,0.08);
  position: relative;
}

.svc-phone-notch {
  width: 64px;
  height: 16px;
  background: #111;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.svc-phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 24px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 앱 내부 UI (폰 크기) */
.svc-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.svc-app-logo {
  font-size: 11px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.3px;
}

.svc-app-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(22,199,132,0.2);
}

.svc-app-card {
  background: var(--bg-tertiary);
  border-radius: 10px;
  padding: 8px;
}

.svc-app-card-title {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.svc-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 9px;
  color: var(--text-secondary);
}

.svc-app-row:last-child { border-bottom: none; }
.svc-app-row strong { font-weight: 800; color: var(--text-primary); font-size: 10px; }
.svc-app-row em { font-style: normal; font-weight: 700; color: var(--green); font-size: 8px; }

.svc-app-chart {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
}

.svc-app-chart svg {
  width: 100%;
  height: 36px;
}

.svc-app-stats {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 2px;
  border-top: 1px solid var(--border-light);
}

.svc-app-stats div { text-align: center; }
.svc-app-stats strong { display: block; font-size: 10px; font-weight: 800; color: var(--text-primary); }
.svc-app-stats span { font-size: 7px; color: var(--text-tertiary); }

/* Coming Soon 화면 */
.svc-screen-soon {
  justify-content: center;
  align-items: center;
  background: var(--bg-primary);
}

.svc-soon-icon {
  margin-bottom: 12px;
  opacity: 0.5;
}

.svc-soon-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- 서비스 정보 --- */
.svc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.svc-badge-soon {
  background: var(--bg-primary);
  color: var(--text-tertiary);
}

.svc-name {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.svc-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 32px;
}

/* --- 버튼들 --- */
.svc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.svc-btn-web {
  background: var(--blue);
  color: #fff;
}

.svc-btn-web:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49,130,246,0.3);
}

.svc-btn-app {
  background: var(--text-primary);
  color: #fff;
}

.svc-btn-app:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.svc-btn-disabled {
  background: var(--bg-primary);
  color: var(--text-disabled);
  cursor: default;
  border: 1px solid var(--border);
}

/* --- 슬라이더 네비게이션 --- */
.svc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.svc-dots {
  display: flex;
  gap: 8px;
}

.svc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.svc-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 10px;
}

.svc-arrows {
  display: flex;
  gap: 6px;
}

.svc-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.svc-arrow:hover {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

.svc-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.svc-arrow:disabled:hover {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-color: var(--border);
}

/* ===== 섹션 진입 애니메이션 ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 핵심 가치 ===== */
#values {
  background: var(--bg-primary);
}

.val-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.val-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}

.val-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.val-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.val-svg {
  width: 44px;
  height: 44px;
}

.val-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.val-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- 혁신: 전구 드로잉 + 빛 --- */
.vi-bulb {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.val-card.visible .vi-bulb {
  animation: drawStroke 1.2s ease forwards;
}
.val-card.visible .vi-ray {
  animation: fadeIn 0.3s ease forwards;
}
.val-card.visible .r1 { animation-delay: 0.8s; }
.val-card.visible .r2 { animation-delay: 0.9s; }
.val-card.visible .r3 { animation-delay: 1.0s; }
.val-card.visible .r4 { animation-delay: 1.1s; }
.val-card.visible .r5 { animation-delay: 1.2s; }
.val-card.visible .vi-glow {
  animation: glowBulb 2s 1.0s ease-in-out infinite;
}

@keyframes glowBulb {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.2; }
}

/* --- 지속성: 무한루프 드로잉 + 순환 점 --- */
.vi-loop {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
.val-card.visible .vi-loop {
  animation: drawStrokeLong 1.5s ease forwards;
}
.val-card.visible .vi-dot {
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.val-card.visible .vd-1 { animation-delay: 0.8s; }
.val-card.visible .vd-2 { animation-delay: 1.0s; }
.val-card.visible .vd-3 { animation-delay: 1.2s; }
.val-card.visible .vi-clock {
  animation: fadeIn 0.5s 1.0s ease forwards;
}
.val-card.visible .vi-hand {
  animation: fadeIn 0.3s ease forwards;
}
.val-card.visible .vh-1 { animation-delay: 1.2s; }
.val-card.visible .vh-2 { animation-delay: 1.4s; }

@keyframes drawStrokeLong {
  to { stroke-dashoffset: 0; }
}

/* --- 효율: 속도계 바늘 스윙 --- */
.vi-gauge {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}
.val-card.visible .vi-gauge {
  animation: drawStroke 1s ease forwards;
}
.vi-needle {
  transform-origin: 40px 48px;
  transform: rotate(-60deg);
}
.val-card.visible .vi-needle {
  animation: needleSwing 0.8s 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.val-card.visible .vi-bolt {
  animation: fadeIn 0.3s 1.0s ease forwards, boltFlash 1.5s 1.3s ease-in-out infinite;
}

@keyframes needleSwing {
  from { transform: rotate(-60deg); }
  to { transform: rotate(30deg); }
}

@keyframes boltFlash {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* --- 연결: 노드 등장 + 연결선 + 펄스 --- */
.val-card.visible .vi-node {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  animation: drawStroke 0.6s ease forwards;
}
.val-card.visible .n1 { animation-delay: 0.2s; }
.val-card.visible .n2 { animation-delay: 0.4s; }
.val-card.visible .n3 { animation-delay: 0.6s; }

.val-card.visible .vi-link {
  animation: fadeIn 0.4s ease forwards;
}
.val-card.visible .lk-1 { animation-delay: 0.7s; }
.val-card.visible .lk-2 { animation-delay: 0.9s; }
.val-card.visible .lk-3 { animation-delay: 1.1s; }

.val-card.visible .vi-core {
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.val-card.visible .c1 { animation-delay: 0.5s; }
.val-card.visible .c2 { animation-delay: 0.7s; }
.val-card.visible .c3 { animation-delay: 0.9s; }

.val-card.visible .vi-pulse {
  animation: fadeIn 0.5s 1.2s ease forwards, spinSlow 12s 1.2s linear infinite;
}

/* ===== 회사 정보 ===== */
#about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-body p + p { margin-top: 14px; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.info-table tr {
  border-bottom: 1px solid var(--border-light);
}

.info-table tr:last-child { border-bottom: none; }

.info-table th {
  width: 120px;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-align: left;
  vertical-align: top;
}

.info-table td {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.info-table a {
  color: var(--blue);
  transition: opacity 0.2s;
}

.info-table a:hover { opacity: 0.75; }

.map-placeholder {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.map-placeholder-inner {
  padding: 48px 32px;
  text-align: center;
}

.map-pin {
  font-size: 40px;
  margin-bottom: 12px;
}

.map-address-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.map-address-sub {
  font-size: 13px;
  color: var(--text-tertiary);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}

.map-btn:hover { background: #d1e9ff; }

/* ===== 문의 / CTA ===== */
#contact {
  background: #0F172A;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

#contactCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

#contact .container {
  position: relative;
  z-index: 1;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-left { color: #fff; }

.contact-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background 0.25s, border-color 0.25s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(49,130,246,0.3);
}

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(49,130,246,0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.contact-card-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.contact-card-value a {
  color: #fff;
  transition: opacity 0.2s;
}

.contact-card-value a:hover { opacity: 0.8; }

/* ===== 푸터 ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 44px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.footer-brand img {
  height: 22px;
  width: auto;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue); }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.footer-info {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.9;
}

.footer-sep {
  color: var(--border);
  margin: 0 8px;
}

.footer-bottom {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-disabled);
}

/* ===== 풀페이지 스크롤 ===== */
html, body { height: 100%; overflow: hidden; }

#fullpage {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#fullpage::-webkit-scrollbar { display: none; }

header { position: fixed !important; top: 0; left: 0; right: 0; }

.fp-section {
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  box-sizing: border-box;
}

.fp-section > .container {
  padding-top: 24px;
  padding-bottom: 24px;
}

.fp-section#hero { padding: 64px 0 0; align-items: center; }
.fp-section#hero .container { padding-top: 0; padding-bottom: 0; }

.fp-section#mission > .container {
  height: calc(100% - 64px);
  display: flex; flex-direction: column; justify-content: center;
}

/* 슬로건 섹션 */
.fp-section#slogan { padding-top: 64px; }
.fp-section#slogan > .container {
  height: calc(100% - 64px);
  display: flex; align-items: center;
}

/* 서비스 섹션 */
.fp-section#products > .container {
  height: calc(100% - 64px);
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 20px; padding-bottom: 12px;
}
.fp-section#products .section-header { flex-shrink: 0; margin-bottom: 20px; }
.fp-section#products .svc-slider { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.fp-section#products .svc-nav    { flex-shrink: 0; }

.fp-section#values > .container {
  height: calc(100% - 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.fp-section#values .section-header { margin-bottom: 32px; }

.fp-section#contact > .container {
  height: calc(100% - 64px);
  display: flex; flex-direction: column; justify-content: center;
}

.fp-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  justify-content: center;
}
.fp-footer > .container {
  height: calc(100% - 64px);
  display: flex; flex-direction: column; justify-content: center;
}

/* 사이드 도트 네비게이터 */
#fpDots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none; cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.fp-dot.active {
  background: var(--blue);
  transform: scale(1.4);
}
