/* WESCAN — 전기차 진단 솔루션 (화이트 · 모던 라이트 UI) */

:root {
  --ws-bg: #ffffff;
  --ws-scan: #53565a;
  --ws-scan-dark: #43464a;
  --ws-bg-subtle: #f6f8fb;
  --ws-bg-muted: #eef1f6;
  --ws-bg-warm: #faf9f7;
  --ws-surface: #ffffff;
  --ws-navy: #ffffff;
  --ws-navy-light: #ffffff;
  --ws-navy-dark: #f6f8fb;
  --ws-accent: #0d9488;
  --ws-accent-dim: #0f766e;
  --ws-accent-soft: rgba(13, 148, 136, 0.1);
  --ws-accent-glow: rgba(13, 148, 136, 0.18);
  --ws-cyan: #2563eb;
  --ws-cyan-soft: rgba(37, 99, 235, 0.08);
  --ws-text: #111827;
  --ws-text-muted: #6b7280;
  --ws-text-light: #9ca3af;
  --ws-border: #e5e7eb;
  --ws-border-strong: #d1d5db;
  --ws-radius: 20px;
  --ws-radius-sm: 12px;
  --ws-font: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --ws-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --ws-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
  --ws-shadow-lg: 0 16px 48px -12px rgba(17, 24, 39, 0.14);
  --ws-shadow-card: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 28px rgba(17, 24, 39, 0.05);
  --ws-gradient-page: linear-gradient(180deg, #fafbfc 0%, #ffffff 38%, #f8fafc 100%);
  --ws-gradient-section: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #eef6f4 100%);
  --ws-gradient-hero: linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.9) 45%, rgba(236, 253, 250, 0.55) 100%);

  --ws-fs-body: clamp(0.9375rem, 0.88rem + 0.28vw, 1.0625rem);
  --ws-fs-sm: clamp(0.8125rem, 0.78rem + 0.18vw, 0.875rem);
  --ws-fs-md: clamp(0.9375rem, 0.9rem + 0.22vw, 1rem);
  --ws-fs-lg: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --ws-fs-xl: clamp(1.25rem, 1.08rem + 0.75vw, 1.75rem);
  --ws-fs-2xl: clamp(1.5rem, 1.15rem + 1.35vw, 2.25rem);
  --ws-fs-hero: clamp(1.485rem, 0.945rem + 2.88vw, 2.925rem);
  --ws-fs-card-title: clamp(0.95rem, 0.88rem + 0.35vw, 1.125rem);
  --ws-section-pad-y: clamp(2.75rem, 2rem + 3vw, 5rem);
  --ws-section-head-mb: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  --ws-gutter: clamp(1rem, 0.65rem + 1.5vw, 1.5rem);
  --ws-line-body: 1.65;
  --ws-line-tight: 1.35;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--ws-font);
  font-size: var(--ws-fs-body);
  background: var(--ws-gradient-page);
  background-attachment: fixed;
  color: var(--ws-text);
  line-height: var(--ws-line-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.container {
  padding-left: var(--ws-gutter);
  padding-right: var(--ws-gutter);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p, li {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Navbar */
.ws-navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow-sm);
  padding: 0.5rem 0;
  min-height: 4.5rem;
}

.ws-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
}

.ws-logo-img {
  height: clamp(38px, 8vw, 50px);
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.ws-navbar .ws-logo-img {
  height: clamp(53px, 11.2vw, 70px);
}

.ws-footer-logo-link {
  display: inline-block;
  line-height: 0;
  background: transparent;
  padding: 0;
  border: none;
}

.ws-footer-logo {
  height: clamp(40px, 8vw, 52px);
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.ws-company-info {
  font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  color: var(--ws-text-muted);
  line-height: 1.75;
  margin: 0;
}

.ws-admin-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.ws-admin-logo-sm {
  height: 28px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.ws-partner-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  min-height: 56px;
}

.ws-partner-logo {
  max-height: 40px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.ws-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-cyan));
  color: var(--ws-navy-dark);
  font-weight: 900;
  border-radius: 8px;
  font-size: 0.9rem;
}

.ws-logo-mark--lg { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 14px; }

.ws-navbar .nav-link {
  color: var(--ws-text-muted) !important;
  font-weight: 500;
  font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.9rem);
  padding: 0.45rem 0.75rem !important;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.ws-navbar .nav-link:hover {
  color: var(--ws-accent) !important;
  background: var(--ws-accent-soft);
}

.ws-navbar .navbar-toggler {
  border-color: var(--ws-border-strong);
}

.ws-navbar .navbar-toggler-icon {
  filter: none;
}

/* Buttons */
.btn-ws-accent {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dim));
  border: none;
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  border-radius: var(--ws-radius-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-ws-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.32);
  color: #fff !important;
}

.btn-ws-outline {
  border: 1.5px solid var(--ws-border-strong);
  color: var(--ws-text) !important;
  font-weight: 600;
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  border-radius: var(--ws-radius-sm);
  background: var(--ws-surface);
}

.btn-ws-outline:hover {
  border-color: var(--ws-accent);
  color: var(--ws-accent) !important;
  background: var(--ws-accent-soft);
}

.btn-outline-accent {
  border-color: var(--ws-accent);
  color: var(--ws-accent);
}
.btn-outline-accent:hover { background: var(--ws-accent); color: var(--ws-navy-dark); }

/* Hero */
.ws-hero {
  position: relative;
  padding-top: 5.5rem;
  overflow: hidden;
  background: #06080c;
}

.ws-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.ws-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 8, 12, 0.92) 0%,
    rgba(6, 8, 12, 0.72) 32%,
    rgba(6, 8, 12, 0.35) 58%,
    rgba(6, 8, 12, 0.12) 78%,
    transparent 100%
  );
}

.ws-hero .ws-hero-title {
  color: #ffffff;
}

.ws-hero .ws-badge {
  color: #6ee7b7;
  background: rgba(13, 148, 136, 0.18);
  border-color: rgba(110, 231, 183, 0.35);
}

.ws-hero .btn-ws-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.ws-hero .btn-ws-outline:hover {
  border-color: var(--ws-accent);
  color: var(--ws-accent) !important;
  background: rgba(13, 148, 136, 0.12);
}

.ws-hero-video-wrap {
  position: relative;
  width: 100%;
  max-width: 630px;
  margin: 0 auto;
  border-radius: var(--ws-radius);
  overflow: hidden;
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow-lg);
  background: var(--ws-bg);
}

.ws-promo-video--hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: cover;
  opacity: 1;
  background: var(--ws-bg-muted);
}

.ws-hero .container {
  position: relative;
  z-index: 2;
}

.video-dynamic-subtitle--hero {
  font-size: clamp(0.85rem, 2.2vw, 1.05rem) !important;
  line-height: 1.4;
}

.ws-hero-video-wrap .video-caption-overlay {
  padding: 0.75rem 1rem !important;
  background: linear-gradient(transparent, rgba(10, 14, 23, 0.92));
}

.min-vh-hero { min-height: 92vh; padding: 3rem 0; }

/* Promo video showcase */
.ws-section--video {
  padding-top: 0;
  padding-bottom: 2rem;
}

.video-showcase-container {
  background: var(--ws-bg-subtle);
}

.ws-promo-video {
  opacity: 0.9;
  object-fit: cover;
  max-height: min(70vh, 640px);
}

.video-caption-overlay {
  background: linear-gradient(transparent, rgba(16, 23, 38, 0.9));
  pointer-events: none;
}

.video-dynamic-subtitle {
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  transition: opacity 0.4s ease;
}

.video-dynamic-subtitle.is-fading {
  opacity: 0;
}

.ws-badge {
  display: inline-block;
  font-size: clamp(0.68rem, 0.64rem + 0.18vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-accent-dim);
  background: var(--ws-accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.ws-hero-title {
  font-size: var(--ws-fs-hero);
  font-weight: 800;
  line-height: var(--ws-line-tight);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.ws-hero-desc {
  font-size: 1.05rem;
  color: var(--ws-text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.ws-hero-desc strong { color: var(--ws-accent); }

.ws-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 1rem;
  text-align: center;
}

.ws-stat strong { display: block; font-size: 1.1rem; color: var(--ws-accent); }
.ws-stat span { font-size: 0.75rem; color: var(--ws-text-muted); }

/* Hero visual */
.ws-hero-visual { display: flex; justify-content: center; }

.ws-ev-card {
  width: 100%;
  max-width: 340px;
  background: var(--ws-navy);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.ws-ev-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ws-accent), transparent);
  animation: scanMove 2.5s ease-in-out infinite;
}

@keyframes scanMove {
  0%, 100% { top: 0; opacity: 0.4; }
  50% { top: 90%; opacity: 1; }
}

.ws-ev-battery {
  display: flex;
  gap: 4px;
  margin: 1.5rem 0;
}

.ws-ev-cell {
  flex: 1;
  height: 60px;
  background: linear-gradient(180deg, var(--ws-accent-dim), #0a6e4a);
  border-radius: 4px;
  opacity: 0.85;
}

.ws-ev-cell--warn { background: linear-gradient(180deg, #f59e0b, #b45309); }

.ws-ev-hud {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ws-text-muted);
}

.text-accent { color: var(--ws-accent) !important; }
.text-warn { color: #f59e0b !important; }

/* Sections */
.ws-section {
  padding: var(--ws-section-pad-y) 0;
  background: transparent;
}

.ws-section--dark { background: var(--ws-bg-muted); }

.ws-section--alt {
  background: var(--ws-gradient-section);
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.ws-section-head { margin-bottom: var(--ws-section-head-mb); }

.ws-section-head h2 {
  font-size: var(--ws-fs-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--ws-line-tight);
  margin-bottom: 0.75rem;
}

.ws-section-head p {
  color: var(--ws-text-muted);
  font-size: var(--ws-fs-md);
  max-width: 36rem;
  margin: 0 auto;
  line-height: var(--ws-line-body);
}

.ws-label {
  display: block;
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ws-cyan);
  margin-bottom: 0.5rem;
}

.text-muted-small { font-size: var(--ws-fs-sm); color: var(--ws-text-muted); }

/* Info cards */
.ws-info-card {
  background: var(--ws-navy-light);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 2rem;
}

.ws-info-card--accent { border-color: rgba(0, 229, 160, 0.25); }

.ws-info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ws-info-card h3 i { color: var(--ws-accent); }

.ws-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ws-check-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--ws-text-muted);
  font-size: 0.95rem;
}

.ws-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ws-accent);
  font-weight: 700;
}

.ws-check-list code {
  background: rgba(0,229,160,0.1);
  color: var(--ws-accent);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Process grid */
.ws-process-grid {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.ws-process-step {
  flex: 1;
  min-width: 140px;
  background: var(--ws-navy-light);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.ws-step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,229,160,0.15);
  color: var(--ws-accent);
  font-weight: 800;
  border-radius: 50%;
  border: 2px solid rgba(0,229,160,0.3);
}

.ws-process-step h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.ws-process-step p { font-size: 0.8rem; color: var(--ws-text-muted); margin: 0; }

.ws-process-arrow {
  display: flex;
  align-items: center;
  color: var(--ws-text-muted);
  font-size: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ws-process-arrow { display: none; }
  .ws-process-grid { flex-direction: column; }
}

/* Report tabs */
.ws-report-panel {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  overflow: hidden;
  box-shadow: var(--ws-shadow-card);
}

.ws-tabs {
  border-bottom: 1px solid var(--ws-border);
  padding: 0 1rem;
  background: var(--ws-bg-subtle);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ws-tabs::-webkit-scrollbar { display: none; }

.ws-tabs .nav-item { flex-shrink: 0; }

.ws-tabs .nav-link {
  color: var(--ws-text-muted);
  border: none;
  font-weight: 600;
  font-size: clamp(0.78rem, 0.72rem + 0.28vw, 0.95rem);
  padding: clamp(0.7rem, 0.55rem + 0.5vw, 1rem) clamp(0.85rem, 0.65rem + 1vw, 1.5rem);
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.ws-tabs .nav-link.active {
  color: var(--ws-accent);
  background: transparent;
  border-bottom-color: var(--ws-accent);
}

.ws-tab-content { padding: clamp(1rem, 0.75rem + 1.25vw, 2rem); }

.ws-pdf-viewer {
  background: var(--ws-bg-subtle);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  overflow: hidden;
}

.ws-pdf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--ws-surface);
  border-bottom: 1px solid var(--ws-border);
}

.ws-pdf-page-info {
  min-width: 5.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ws-text);
}

.ws-pdf-toolbar button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ws-pdf-canvas-wrap {
  position: relative;
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 294px;
  background: var(--ws-bg-muted);
}

.ws-pdf-canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--ws-shadow);
}

.ws-pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  background: rgba(248, 250, 252, 0.92);
}

.ws-pdf-loading.d-none {
  display: none !important;
}

.ws-mock-screen {
  background: var(--ws-navy-dark);
  border: 1px solid var(--ws-border);
  border-radius: 10px;
  overflow: hidden;
}

.ws-mock-header {
  background: rgba(0,229,160,0.1);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ws-accent);
  border-bottom: 1px solid var(--ws-border);
}

.ws-mock-body { padding: 1rem; }

.ws-dtc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ws-border);
  font-size: 0.9rem;
}

.ws-dtc-row:last-child { border-bottom: none; }

.ws-cell-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100px;
  padding: 1rem;
}

.ws-cell-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--ws-cyan), var(--ws-accent-dim));
  border-radius: 2px 2px 0 0;
  min-height: 10%;
}

.ws-temp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
}

.ws-temp-item {
  background: rgba(56,225,255,0.1);
  border: 1px solid rgba(56,225,255,0.2);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Pricing */
.ws-price-card {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  box-shadow: var(--ws-shadow-card);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ws-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--ws-shadow-lg);
}

.ws-price-card--featured {
  border-color: var(--ws-accent);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

.ws-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ws-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.ws-price-card h3 { font-size: var(--ws-fs-lg); font-weight: 700; margin-bottom: 0.75rem; }

.ws-price {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 800;
  color: var(--ws-accent);
  margin-bottom: 0.5rem;
}

.ws-price small { font-size: var(--ws-fs-sm); font-weight: 500; color: var(--ws-text-muted); }

.ws-price-card > p { font-size: var(--ws-fs-md); color: var(--ws-text-muted); margin-bottom: 1.25rem; }

.ws-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--ws-fs-md);
  color: var(--ws-text-muted);
}

.ws-price-card ul li {
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}

.ws-price-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ws-accent);
}

/* Form */
.ws-form {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 2rem;
  box-shadow: var(--ws-shadow-card);
}

.ws-form .form-label { font-weight: 600; font-size: var(--ws-fs-md); color: var(--ws-text); }

.ws-form .form-control {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border-strong);
  color: var(--ws-text);
  border-radius: var(--ws-radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ws-form .form-control:focus {
  background: var(--ws-bg);
  border-color: var(--ws-accent);
  color: var(--ws-text);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.ws-form .form-control::placeholder { color: var(--ws-text-light); opacity: 1; }

/* Footer — WESCAN SCAN 컬러 */
.ws-footer {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, var(--ws-scan) 0%, var(--ws-scan-dark) 100%);
  border-top: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.ws-footer .ws-company-info {
  color: rgba(255, 255, 255, 0.72);
}

.ws-footer .ws-company-info--partner {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ws-footer .text-muted-small {
  color: rgba(255, 255, 255, 0.55) !important;
}

.ws-footer-admin-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.ws-footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.ws-footer-tagline {
  margin: 0.85rem 0 0.25rem;
  font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  word-break: keep-all;
}

.ws-footer-partners {
  margin: 0;
  font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
  word-break: keep-all;
}

.ws-footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ws-text);
  margin-bottom: 0.25rem;
}

/* Admin */
.admin-page { background: var(--ws-bg-subtle); min-height: 100vh; }

.ws-admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(16, 185, 129, 0.08), transparent),
    var(--ws-bg-subtle);
}

.ws-admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 2.5rem;
  box-shadow: var(--ws-shadow-lg);
}

.ws-admin-login-card h1 { font-size: 1.5rem; font-weight: 800; color: var(--ws-text); }

.ws-input-dark {
  background: var(--ws-bg) !important;
  border: 1px solid var(--ws-border-strong) !important;
  color: var(--ws-text) !important;
  border-radius: var(--ws-radius-sm) !important;
}

.ws-input-dark:focus {
  border-color: var(--ws-accent) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.ws-admin-wrap { min-height: 100vh; background: var(--ws-bg-subtle); }

.ws-admin-topbar {
  background: var(--ws-surface);
  border-bottom: 1px solid var(--ws-border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--ws-shadow-sm);
}

.ws-alert-banner {
  position: sticky;
  top: 52px;
  z-index: 99;
  margin: 0;
  border-radius: 0;
  text-align: center;
  font-weight: 600;
}

.ws-table-wrap {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
}

.ws-admin-table { font-size: 0.875rem; margin: 0; }

.ws-admin-table thead th {
  background: var(--ws-bg-subtle);
  border-color: var(--ws-border);
  font-weight: 600;
  white-space: nowrap;
  color: var(--ws-text);
}

.ws-admin-table td {
  border-color: var(--ws-border);
  vertical-align: middle;
  color: var(--ws-text);
}

.ws-content-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ws-admin-head h2 { font-weight: 800; color: var(--ws-text); }

.ws-stat-card {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  box-shadow: var(--ws-shadow-sm);
}

.ws-stat-card--pending { border-color: rgba(245, 158, 11, 0.35); }
.ws-stat-card--done { border-color: rgba(16, 185, 129, 0.35); }

.ws-stat-label {
  font-size: var(--ws-fs-sm);
  color: var(--ws-text-muted);
  font-weight: 600;
}

.ws-stat-value {
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ws-text);
}

.ws-stat-unit {
  font-size: var(--ws-fs-sm);
  color: var(--ws-text-muted);
}

.ws-link-muted {
  color: var(--ws-cyan);
  text-decoration: none;
}

.ws-link-muted:hover { text-decoration: underline; }

.ws-content-btn {
  color: var(--ws-text) !important;
  text-align: left;
  text-decoration: none !important;
}

.ws-content-btn:hover { color: var(--ws-accent) !important; }

.ws-modal-dark {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  color: var(--ws-text);
  box-shadow: var(--ws-shadow-lg);
}

.ws-modal-dark .modal-header { border-color: var(--ws-border); }

/* Reveal */
.ws-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ws-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* 진단 프로세스는 항상 표시 (대형 블록 reveal 누락 방지) */
#process .ws-process-shell,
#process .ws-process-shell--precision {
  opacity: 1;
  transform: none;
}

#process .ws-section-head.ws-reveal {
  opacity: 1;
  transform: none;
}

.ws-hero-visual { position: relative; }

.ws-hero-img {
  width: 100%;
  border-radius: var(--ws-radius);
  border: 1px solid var(--ws-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 184, 255, 0.12);
  display: block;
}

.ws-hero-img--phone {
  max-width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 24px;
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.ws-hero-hud-overlay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 23, 38, 0.85);
  border: 1px solid var(--ws-border);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.ws-report-img-wrap {
  border-radius: var(--ws-radius);
  overflow: hidden;
  border: 1px solid var(--ws-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: var(--ws-navy-dark);
}

.ws-report-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  max-height: min(75vh, 720px);
  background: var(--ws-bg-muted);
}

.ws-report-caption {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--ws-text-muted);
  text-align: center;
  background: var(--ws-navy-light);
  border-top: 1px solid var(--ws-border);
}

@media (max-width: 991.98px) {
  .ws-hero-visual { margin-top: 2rem; }
}

/* Hero sub */
.ws-hero-sub {
  font-size: var(--ws-fs-md);
  color: rgba(255, 255, 255, 0.82);
  max-width: min(38rem, 100%);
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
  line-height: var(--ws-line-body);
}

.ws-hero-sub-highlight {
  color: var(--ws-cyan);
  font-weight: 600;
}

.text-cyan { color: var(--ws-cyan) !important; }
.text-emerald { color: var(--ws-accent) !important; }

.ws-ev-hud--labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.ws-hud-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-hud-item span { font-size: 0.85rem; font-weight: 700; }
.ws-hud-item small { font-size: 0.65rem; color: var(--ws-text-muted); font-weight: 500; }

.ws-label--accent { color: var(--ws-accent); }

/* Differentiation 4-card */
.ws-diff-card {
  height: 100%;
  padding: clamp(1.15rem, 1rem + 0.75vw, 1.75rem) clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  border-top: 3px solid rgba(16, 185, 129, 0.45);
  box-shadow: var(--ws-shadow-card);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ws-diff-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--ws-accent);
  box-shadow: var(--ws-shadow-lg);
}

.ws-diff-card--featured {
  border-top-color: var(--ws-accent);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), var(--ws-surface));
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
}

.ws-diff-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  border-radius: var(--ws-radius-sm);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ws-diff-card h3 {
  font-size: var(--ws-fs-card-title);
  font-weight: 700;
  line-height: var(--ws-line-tight);
  margin-bottom: 0.25rem;
}

.ws-diff-sub {
  font-size: clamp(0.62rem, 0.58rem + 0.15vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-cyan);
  margin-bottom: 1rem;
}

.ws-diff-compare p {
  font-size: var(--ws-fs-sm);
  line-height: var(--ws-line-body);
  margin-bottom: 0.75rem;
}

.ws-diff-compare p:last-child { margin-bottom: 0; }

.ws-diff-others span,
.ws-diff-wescan span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ws-diff-others { color: var(--ws-text-muted); }
.ws-diff-others span { color: #94a3b8; }

.ws-diff-wescan { color: var(--ws-text); }
.ws-diff-wescan span { color: var(--ws-accent); }

/* Basic diagnosis items */
.ws-diag-items-card {
  height: 100%;
  padding: 2rem 1.75rem;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  border-left: 4px solid var(--ws-accent);
  box-shadow: var(--ws-shadow-card);
}

.ws-diag-items-card--detail {
  border-left-color: var(--ws-cyan);
}

.ws-diag-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ws-accent-dim);
  background: var(--ws-accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.ws-diag-tag--cyan {
  color: var(--ws-cyan);
  background: var(--ws-cyan-soft);
  border-color: rgba(2, 132, 199, 0.2);
}

.ws-diag-items-card h3 {
  font-size: var(--ws-fs-lg);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: var(--ws-line-tight);
}

.ws-diag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.ws-diag-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  font-size: var(--ws-fs-md);
  color: var(--ws-text);
  border-bottom: 1px solid var(--ws-border);
}

.ws-diag-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ws-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.ws-diag-items-card--detail .ws-diag-list li::before {
  color: var(--ws-cyan);
}

/* Vehicle search CTA */
.ws-vehicle-search-card {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--ws-shadow-card);
}

.ws-vehicle-search-card h2 {
  font-size: var(--ws-fs-2xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.ws-vehicle-search-desc {
  color: var(--ws-text-muted);
  font-size: var(--ws-fs-md);
  margin-bottom: 1.5rem;
}

.ws-vehicle-search-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ws-vehicle-search-img {
  width: 100%;
  max-width: min(100%, 420px);
  height: auto;
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-lg);
  object-fit: cover;
}

.ws-vehicle-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(7rem, 18vw, 9rem);
  height: clamp(7rem, 18vw, 9rem);
  border-radius: 50%;
  background: var(--ws-accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--ws-accent);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
}

/* WESCAN use cases */
.ws-use-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ws-use-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-sm);
}

.ws-use-list-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ws-radius-sm);
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  font-size: 1.25rem;
}

.ws-use-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ws-use-list p {
  margin: 0;
  color: var(--ws-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ws-use-ecosystem-wrap {
  padding-bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ws-use-ecosystem {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(13, 148, 136, 0.06), transparent 55%),
    var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
}

.ws-use-eco-lines {
  position: absolute;
  inset: 1.25rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  pointer-events: none;
}

.ws-use-eco-lines line {
  stroke: var(--ws-accent-glow);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.ws-use-eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ws-surface);
  border: 2px solid rgba(13, 148, 136, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.06), var(--ws-shadow-sm);
}

.ws-use-eco-logo {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.ws-use-eco-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 30%;
  text-align: center;
}

.ws-use-eco-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.15rem;
  box-shadow: var(--ws-shadow-sm);
  border: 1px solid var(--ws-border);
}

.ws-use-eco-icon--dealer { background: #eff6ff; color: #2563eb; }
.ws-use-eco-icon--inspector { background: #f0fdf4; color: #16a34a; }
.ws-use-eco-icon--consumer { background: #fdf4ff; color: #9333ea; }
.ws-use-eco-icon--insurance { background: #fff7ed; color: #ea580c; }

.ws-use-eco-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ws-text);
}

.ws-use-eco-node--dealer { top: 4%; left: 50%; transform: translateX(-50%); }
.ws-use-eco-node--inspector { top: 50%; right: 0; transform: translateY(-50%); }
.ws-use-eco-node--consumer { bottom: 12%; left: 50%; transform: translateX(-50%); }
.ws-use-eco-node--insurance { top: 50%; left: 0; transform: translateY(-50%); }

.ws-use-eco-caption {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% + 2rem);
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ws-text-muted);
  text-align: center;
  white-space: nowrap;
}

.ws-inquiry-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ws-border);
}

.ws-customer-center {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ws-text);
}

.ws-customer-center a {
  color: var(--ws-accent);
  text-decoration: none;
}

.ws-customer-center a:hover {
  text-decoration: underline;
}

.ws-diag-note {
  font-size: 0.85rem;
  color: var(--ws-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* weCar homepage link (competency card) */
.ws-wecar-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ws-cyan);
  background: var(--ws-cyan-soft);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--ws-radius-sm);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ws-wecar-home-link:hover {
  color: var(--ws-cyan);
  background: rgba(2, 132, 199, 0.12);
  border-color: var(--ws-cyan);
}

.ws-partner-home-link--bw {
  color: var(--ws-accent-dim);
  background: var(--ws-accent-soft);
  border-color: rgba(16, 185, 129, 0.2);
}

.ws-partner-home-link--bw:hover {
  color: var(--ws-accent-dim);
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--ws-accent);
}

/* Competency */
.ws-competency-card {
  height: 100%;
  padding: 2rem;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  border-top: 3px solid var(--ws-cyan);
  box-shadow: var(--ws-shadow-card);
}

.ws-competency-card--bw { border-top-color: var(--ws-accent); }

.ws-competency-logo {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ws-cyan);
  margin-bottom: 0.5rem;
}

.ws-competency-card--bw .ws-competency-logo { color: var(--ws-accent); }

.ws-competency-card h3 { font-size: var(--ws-fs-lg); font-weight: 700; margin-bottom: 1rem; }
.ws-competency-card p { color: var(--ws-text-muted); margin: 0; font-size: var(--ws-fs-md); line-height: var(--ws-line-body); }

/* R&D banner */
.ws-rnd-banner {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(0,184,255,0.08), rgba(0,230,118,0.08));
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  max-width: 720px;
  margin: 0 auto;
}

.ws-rnd-code {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--ws-cyan);
  margin-bottom: 1rem;
}

/* Process — tabbed compact layout */
#process {
  scroll-margin-top: 6rem;
  overflow: visible;
}

.ws-process-shell {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
  overflow: hidden;
}

.ws-process-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--ws-border);
  background: var(--ws-bg-subtle);
}

.ws-process-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem;
  border: none;
  border-right: 1px solid var(--ws-border);
  background: transparent;
  color: var(--ws-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ws-process-nav-btn:last-child {
  border-right: none;
}

.ws-process-nav-btn:hover {
  background: rgba(13, 148, 136, 0.06);
  color: var(--ws-accent);
}

.ws-process-nav-btn.is-active {
  background: var(--ws-surface);
  color: var(--ws-accent);
  box-shadow: inset 0 -3px 0 var(--ws-accent);
}

.ws-process-nav-num {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ws-accent-soft);
  border: 2px solid rgba(13, 148, 136, 0.2);
  font-weight: 800;
  font-size: 0.9rem;
}

.ws-process-nav-btn.is-active .ws-process-nav-num {
  background: var(--ws-accent);
  border-color: var(--ws-accent);
  color: #fff;
}

.ws-process-nav-label {
  font-size: clamp(0.65rem, 0.6rem + 0.25vw, 0.78rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.ws-process-stages {
  position: relative;
  min-height: 320px;
}

.ws-process-stage {
  display: none;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  animation: wsProcessFade 0.35s ease;
}

.ws-process-stage.is-active {
  display: block;
}

@keyframes wsProcessFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ws-process-stage-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1rem, 0.75rem + 1.5vw, 2rem);
  align-items: center;
}

.ws-process-stage-text h3 {
  font-size: var(--ws-fs-lg);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: var(--ws-line-tight);
}

.ws-process-stage-text p {
  font-size: var(--ws-fs-md);
  color: var(--ws-text-muted);
  margin: 0;
  line-height: var(--ws-line-body);
}

.ws-process-stage-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ws-process-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  padding: 1.25rem 1rem;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ws-process-overview-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 72px;
  text-decoration: none;
  color: var(--ws-text);
  transition: transform 0.15s;
}

.ws-process-overview-item:hover {
  transform: translateY(-2px);
  color: var(--ws-accent);
}

.ws-process-overview-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ws-accent-soft);
  border: 2px solid rgba(16, 185, 129, 0.25);
  color: var(--ws-accent);
  font-weight: 800;
  font-size: 1rem;
}

.ws-process-overview-line {
  flex: 0 0 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.35), rgba(2, 132, 199, 0.35));
  margin-bottom: 1.5rem;
}

.ws-process-overview-label {
  font-size: clamp(0.68rem, 0.62rem + 0.28vw, 0.78rem);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.ws-process-timeline-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
  scroll-margin-top: 6rem;
}

.ws-process-timeline-step--reverse .ws-process-timeline-text {
  order: 2;
}

.ws-process-timeline-step--reverse .ws-process-timeline-media {
  order: 1;
}

.ws-process-timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ws-cyan);
  background: rgba(0, 184, 255, 0.1);
  border: 1px solid rgba(0, 184, 255, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.ws-process-timeline-text h3 {
  font-size: var(--ws-fs-lg);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: var(--ws-line-tight);
}

.ws-process-timeline-text p {
  font-size: var(--ws-fs-md);
  color: var(--ws-text-muted);
  margin: 0;
  line-height: var(--ws-line-body);
}

.ws-process-timeline-media {
  display: flex;
  justify-content: center;
}

.ws-process-shell--precision {
  margin-top: 0;
}

.ws-process-shell--precision .ws-process-nav {
  grid-template-columns: repeat(6, 1fr);
}

.ws-section-head--sub {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
}

.ws-process-precision {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow-card);
}

.ws-process-precision-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.ws-process-precision-head i {
  font-size: 1.5rem;
  color: var(--ws-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ws-process-precision-head h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ws-process-precision-head p {
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  margin: 0;
  line-height: 1.6;
}

.ws-precision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ws-precision-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1rem 0.75rem;
  background: var(--ws-bg-subtle);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius-sm);
}

.ws-precision-item p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ws-text);
  line-height: 1.35;
}

.ws-precision-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--ws-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.ws-phone-frame--sm {
  width: min(100%, 120px);
}

.ws-slideshow-phone--wide {
  max-width: 280px;
}

.ws-process-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.ws-process-step-block {
  padding: 2rem;
  background: var(--ws-navy-light);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  border-left: 4px solid var(--ws-accent);
}

.ws-process-step-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.ws-process-step-head .ws-step-num {
  flex-shrink: 0;
  margin: 0;
}

.ws-process-step-head h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ws-process-step-head p {
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  margin: 0;
}

.ws-phone-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ws-phone-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ws-phone-frame {
  flex: 0 0 auto;
  width: 200px;
  background: var(--ws-bg-muted);
  border-radius: 20px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  scroll-snap-align: start;
  overflow: hidden;
}

.ws-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.ws-scanner-frame {
  flex: 0 0 auto;
  max-width: 480px;
  width: 100%;
  background: var(--ws-bg-muted);
  border-radius: var(--ws-radius);
  padding: 12px;
  border: 2px solid rgba(0, 184, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.ws-scanner-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ws-phone-frame { width: 220px; }
}

@media (min-width: 992px) {
  .ws-phone-frame { width: 240px; }
}

#process .ws-phone-frame,
#process .ws-slideshow-phone,
#process .ws-slideshow-phone--wide {
  width: 200px !important;
  min-height: 0 !important;
  aspect-ratio: 9 / 19.5;
}

#process .ws-scanner-frame {
  max-width: 200px;
  width: 200px;
}

/* Process image slideshow (video-like auto play) */
.ws-process-slideshow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ws-slideshow-phone {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  min-height: 0;
  background: var(--ws-bg-muted);
  border-radius: 24px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin: 0 auto;
}

.ws-slideshow-frame {
  position: absolute;
  inset: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.ws-slideshow-frame.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

/* JS 미로드 시 첫 프레임 표시 */
.ws-slideshow-frame:first-child {
  opacity: 1;
  visibility: visible;
}

.ws-slideshow-phone:has(.ws-slideshow-frame.is-active) .ws-slideshow-frame:first-child:not(.is-active) {
  opacity: 0;
  visibility: hidden;
}

.ws-slideshow-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  display: block;
}

.ws-slideshow-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ws-slideshow-badge {
  font-size: 0.8rem;
  color: var(--ws-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ws-slideshow-badge i { color: var(--ws-cyan); }

.ws-slideshow-dots {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ws-slideshow-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ws-slideshow-dot.is-active {
  background: var(--ws-cyan);
  transform: scale(1.2);
}

.ws-process-subsection {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(0, 184, 255, 0.25);
}

.ws-process-subsection h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ws-cyan);
  margin-bottom: 0.65rem;
}

.ws-process-subsection > p {
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  margin-bottom: 1.25rem;
}

/* Process cards (legacy) */
.ws-process-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--ws-navy-light);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  transition: border-color 0.15s, transform 0.15s;
}

.ws-process-card:hover {
  border-color: rgba(0, 184, 255, 0.3);
  transform: translateY(-2px);
}

.ws-process-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.ws-process-card p { font-size: 0.9rem; color: var(--ws-text-muted); margin: 0; }

/* Feature list */
.ws-feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.ws-feature-list li {
  padding: 0.6rem 0 0.6rem 1.25rem;
  position: relative;
  color: var(--ws-text-muted);
  font-size: var(--ws-fs-md);
  line-height: var(--ws-line-body);
  border-bottom: 1px solid var(--ws-border);
}

.ws-feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--ws-accent);
}

#report h3 {
  font-size: var(--ws-fs-lg);
  line-height: var(--ws-line-tight);
}

.ws-report-subtitle {
  font-size: 0.82em;
  font-weight: 600;
  color: var(--ws-text-muted);
}

.btn-lg {
  font-size: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);
  padding: clamp(0.7rem, 0.55rem + 0.5vw, 0.875rem) clamp(1rem, 0.8rem + 1vw, 1.25rem);
  min-height: 2.75rem;
}

.ws-grade-ring {
  width: 80px;
  height: 80px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ws-accent);
  border: 3px solid var(--ws-accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.25);
}

.ws-price-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ws-cyan);
  color: var(--ws-navy-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ws-reveal { opacity: 1; transform: none; transition: none; }
  .ws-ev-scan-line { animation: none; }
  .ws-slideshow-frame { opacity: 1; position: relative; inset: auto; }
  .ws-slideshow-frame:not(:first-child) { display: none; }
  .ws-slideshow-phone { aspect-ratio: auto; height: auto; }
  .ws-slideshow-frame img { height: auto; object-fit: contain; }
}

/* ── Mobile & tablet responsive ── */
@media (max-width: 991.98px) {
  .ws-hero-visual { margin-top: 1.5rem; }
  .ws-report-panel .col-lg-5 { margin-top: 0.25rem; }

  .ws-process-timeline-step,
  .ws-process-timeline-step--reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-left: max(var(--ws-gutter), env(safe-area-inset-left));
    padding-right: max(var(--ws-gutter), env(safe-area-inset-right));
  }

  /* Hero */
  .min-vh-hero {
    min-height: auto;
    padding: 1rem 0 2rem;
  }

  .ws-hero {
    padding-top: 4.5rem;
    min-height: auto;
  }

  .ws-promo-video--hero {
    max-height: min(55vh, 480px);
  }

  .ws-hero-title,
  .ws-hero-sub {
    text-align: center;
  }

  .ws-hero .d-flex {
    justify-content: center;
  }

  .ws-hero .btn-lg {
    width: 100%;
    max-width: min(100%, 320px);
  }

  .ws-hero-visual {
    display: flex;
    justify-content: center;
  }

  .ws-pdf-canvas-wrap {
    min-height: min(35vh, 224px);
    padding: 0.65rem;
  }

  .ws-pdf-toolbar .btn-sm {
    min-height: 2.5rem;
    font-size: var(--ws-fs-sm);
  }

  /* Navbar mobile menu */
  .ws-navbar .nav-link {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .ws-navbar .navbar-collapse {
    margin-top: 0.65rem;
    padding: 0.75rem;
    background: var(--ws-navy-light);
    border-radius: var(--ws-radius);
    border: 1px solid var(--ws-border);
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }

  .ws-navbar .navbar-nav {
    gap: 0.15rem !important;
  }

  .ws-navbar .nav-link {
    padding: 0.6rem 0.75rem !important;
  }

  .ws-navbar .nav-item:last-child {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--ws-border);
  }

  .ws-navbar .nav-item .btn-ws-accent {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  /* Promo video */
  .ws-section--video {
    padding-bottom: 1.5rem;
  }

  .video-showcase-container.my-5 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .ws-promo-video {
    max-height: min(45vh, 360px);
  }

  .video-caption-overlay {
    padding: 0.85rem 0.75rem !important;
  }

  .video-dynamic-subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem) !important;
    line-height: 1.4;
  }

  /* Cards */
  .ws-diff-card,
  .ws-diag-items-card,
  .ws-competency-card,
  .ws-process-step-block {
    padding: 1.25rem;
  }

  .ws-use-eco-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }

  .ws-use-eco-label {
    font-size: 0.65rem;
  }

  .ws-use-eco-center {
    width: 60px;
    height: 60px;
  }

  .ws-use-eco-logo {
    width: 42px;
  }

  .ws-use-eco-caption {
    white-space: normal;
    font-size: 0.72rem;
  }

  .ws-vehicle-search-card .btn-lg {
    width: 100%;
  }

  /* Process overview */
  .ws-process-overview {
    justify-content: flex-start;
    gap: 0;
    padding: 1rem 0.75rem;
  }

  .ws-process-overview-line {
    flex-basis: 20px;
  }

  .ws-process-timeline-step,
  .ws-process-timeline-step--reverse {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .ws-process-timeline-step--reverse .ws-process-timeline-text,
  .ws-process-timeline-step--reverse .ws-process-timeline-media {
    order: unset;
  }

  /* Process tab layout */
  .ws-process-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ws-process-nav::-webkit-scrollbar { display: none; }

  .ws-process-nav-btn {
    flex: 0 0 auto;
    min-width: 4.5rem;
    padding: 0.85rem 0.65rem;
  }

  .ws-process-stage-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ws-process-stages {
    min-height: auto;
  }

  .ws-precision-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .ws-phone-frame--sm {
    width: min(100%, 100px);
  }

  .ws-process-shell--precision .ws-process-nav-btn {
    min-width: 4rem;
  }

  .ws-process-precision {
    padding: 1.25rem;
  }

  .ws-diff-card:hover {
    transform: none;
  }

  /* Process */
  .ws-process-flow {
    gap: 1.75rem;
  }

  .ws-process-step-head {
    flex-direction: row;
    gap: 0.85rem;
  }

  .ws-process-step-head h4 {
    font-size: 1rem;
  }

  .ws-process-step-head p {
    font-size: 0.85rem;
  }

  .ws-phone-row {
    gap: 0.75rem;
  }

  #process .ws-phone-frame,
  #process .ws-slideshow-phone,
  #process .ws-slideshow-phone--wide {
    width: min(42vw, 180px) !important;
  }

  .ws-slideshow-phone {
    width: min(75vw, 220px);
    min-height: 0;
  }

  .ws-slideshow-frame img {
    object-fit: contain;
    background: var(--ws-bg-muted);
  }

  /* Report tabs */
  .ws-tab-content {
    padding: 1rem;
  }

  .ws-tabs .nav-link {
    padding: 0.7rem 0.9rem !important;
    white-space: nowrap;
  }

  .ws-report-caption {
    font-size: 0.78rem;
    padding: 0.5rem 0.65rem;
  }

  .ws-feature-list li {
    line-height: var(--ws-line-body);
  }

  /* Pricing */
  .ws-price-card {
    padding: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
  }

  .ws-form .form-control,
  .ws-form .form-label {
    font-size: var(--ws-fs-md);
  }

  /* Form */
  .ws-form {
    padding: 1.25rem;
  }

  /* Footer */
  .ws-footer {
    padding: 2rem 0;
    text-align: center;
  }

  .ws-footer .text-lg-end {
    text-align: center !important;
  }

  .ws-footer .ws-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .ws-footer-tagline,
  .ws-footer-partners {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .ws-phone-frame {
    width: min(46vw, 160px);
  }

  .ws-slideshow-phone {
    width: min(78vw, 220px);
  }

  .ws-report-caption {
    font-size: 0.72rem;
  }
}
