/* ===== CLINOVA Website — Global Medical AI SaaS ===== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --primary: #1a56db;
  --primary-hover: #1e429f;
  --primary-light: #3b82f6;
  --primary-lighter: #60a5fa;
  --primary-bg: #eff6ff;
  --primary-bg-hover: #dbeafe;
  --accent: #0d9488;
  --accent-bg: #f0fdfa;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-white: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-muted: #f1f5f9;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --warning: #d97706;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 60px rgba(26, 86, 219, 0.15);
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-alt { padding: 120px 0; background: var(--bg-light); }

/* ===== Typography ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-white { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); }
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-light {
  background: linear-gradient(135deg, #93c5fd 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: var(--font);
  white-space: nowrap;
  border-radius: var(--radius-md);
  padding: 12px 28px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(26,86,219,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 36px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-icon-only { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-muted); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-cta { margin-left: 12px; }
.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: none; background: transparent;
  cursor: pointer; border-radius: var(--radius-sm);
}
.nav-mobile-toggle:hover { background: var(--bg-muted); }
.hamburger { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger span { display: block; height: 2px; background: var(--text-primary); border-radius: 1px; transition: 0.3s; }
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 15px; font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-muted);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile .btn { width: 100%; margin-top: 12px; }

/* ===== Hero ===== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226,232,240,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-glow-1 { top: -300px; left: -200px; background: rgba(26,86,219,0.08); }
.hero-glow-2 { top: -200px; right: -300px; background: rgba(96,165,250,0.06); }
.hero-glow-3 { bottom: -200px; left: 30%; background: rgba(13,148,136,0.04); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge-row { margin-bottom: 32px; }
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 56px; }
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.hero-trust-icon {
  width: 18px; height: 18px;
  color: var(--text-tertiary);
  opacity: 0.6;
}

/* ===== App Window (reusable product mockup) ===== */
.app-window {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.app-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.app-window-dot { width: 10px; height: 10px; border-radius: 50%; }
.app-window-dot-r { background: #ff5f57; }
.app-window-dot-y { background: #ffbd2e; }
.app-window-dot-g { background: #28c840; }
.app-window-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-white);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  margin: 0 40px;
}
.app-window-body { padding: 0; }

/* ===== Product UI Mockup ===== */
.ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.ui-header-left { display: flex; align-items: center; gap: 10px; }
.ui-logo-small { height: 22px; }
.ui-specialty-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-muted);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}
.ui-header-right { display: flex; align-items: center; gap: 6px; }
.ui-header-btn {
  display: flex; align-items: center; gap: 4px;
  height: 28px; padding: 0 10px;
  font-size: 11.5px; font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: default;
}
.ui-header-btn svg { width: 13px; height: 13px; }
.ui-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.ui-panels { display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.ui-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ui-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-light);
}
.ui-panel-header-left { display: flex; align-items: center; gap: 8px; }
.ui-mode-toggle {
  display: flex;
  background: var(--bg-muted);
  border-radius: 5px;
  overflow: hidden;
}
.ui-mode-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 600;
  border: none; cursor: default;
  background: transparent;
  color: var(--text-tertiary);
}
.ui-mode-btn.active {
  background: var(--bg-white);
  color: var(--danger);
  box-shadow: var(--shadow-xs);
  border-radius: 4px;
}
.ui-mode-btn svg { width: 12px; height: 12px; }
.ui-mic-select {
  font-size: 10.5px;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-white);
}
.ui-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.ui-status-recording {
  background: var(--danger-bg);
  color: var(--danger);
}
.ui-status-done {
  background: #d1fae5;
  color: #065f46;
}
.ui-status-generating {
  background: var(--primary-bg);
  color: var(--primary);
}
.ui-status-idle {
  background: var(--bg-muted);
  color: var(--text-tertiary);
}
.ui-rec-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.2s infinite;
}
.ui-btn-row { display: flex; gap: 4px; padding: 4px 12px 6px; }
.ui-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 30px;
  padding: 0 12px;
  font-size: 11.5px; font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: default;
  white-space: nowrap;
}
.ui-btn-record {
  flex: 2;
  background: var(--danger);
  color: #fff;
}
.ui-btn-record-active {
  flex: 2;
  background: var(--danger);
  color: #fff;
  position: relative;
}
.ui-sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: 4px;
}
.ui-sound-bar {
  width: 2.5px;
  background: #fff;
  border-radius: 1px;
  animation: soundBar 0.8s ease-in-out infinite;
}
.ui-sound-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.ui-sound-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.ui-sound-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.ui-sound-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.ui-sound-bar:nth-child(5) { height: 60%; animation-delay: 0.15s; }
@keyframes soundBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}
.ui-btn-chart {
  flex: 3;
  background: var(--text-primary);
  color: #fff;
}
.ui-btn-view {
  flex: 2;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.ui-btn-reset {
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-radius: 5px;
}
.ui-btn-reset svg { width: 14px; height: 14px; }
.ui-transcript-area {
  padding: 8px 12px;
  min-height: 120px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  background: var(--bg-light);
  margin: 0 12px 8px;
  border-radius: var(--radius-sm);
}
.ui-transcript-text { }
.ui-transcript-typing {
  color: var(--primary);
  font-style: italic;
}
.ui-transcript-typing::after {
  content: '...';
  animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.ui-transcript-vad {
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
}

/* Chart panel */
.ui-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-light);
}
.ui-chart-header-left { display: flex; align-items: center; gap: 10px; }
.ui-chart-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.ui-visit-toggle {
  display: flex;
  background: var(--bg-muted);
  border-radius: 5px;
  padding: 2px;
}
.ui-visit-btn {
  padding: 3px 10px;
  font-size: 11px; font-weight: 500;
  border: none; background: transparent;
  color: var(--text-tertiary);
  border-radius: 4px;
  cursor: default;
}
.ui-visit-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.ui-chart-header-right { display: flex; align-items: center; gap: 6px; }
.ui-copy-btn {
  display: flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 10px;
  font-size: 11px; font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: default;
}
.ui-copy-btn svg { width: 12px; height: 12px; }
.ui-chart-body {
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-secondary);
  white-space: pre-wrap;
  background-image: radial-gradient(circle, #d4d4d8 0.5px, transparent 0.5px);
  background-size: 22px 22px;
  min-height: 140px;
  position: relative;
}
.chart-section-label {
  font-weight: 700;
  color: var(--text-primary);
}
.chart-clickable {
  color: var(--primary);
  font-weight: 700;
  text-decoration-style: dotted;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ===== Hero Product Showcase ===== */
.hero-showcase {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}
.hero-showcase .app-window {
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== Pain Points ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pain-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pain-icon svg { width: 22px; height: 22px; }
.pain-icon-red { background: #fef2f2; color: #dc2626; }
.pain-icon-amber { background: #fffbeb; color: #d97706; }
.pain-icon-slate { background: #f1f5f9; color: #475569; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon-blue { background: var(--primary-bg); color: var(--primary); }
.feature-icon-teal { background: var(--accent-bg); color: var(--accent); }
.feature-icon-slate { background: var(--bg-muted); color: var(--text-secondary); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 14%; right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-bg), var(--primary-bg), var(--border));
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px; font-weight: 800;
  color: var(--primary);
  background: var(--bg-white);
  border: 2px solid var(--primary-bg);
  position: relative;
  z-index: 1;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; padding: 0 8px; }

/* ===== Demo / Product Section ===== */
.demo-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 3px;
  margin: 0 auto 32px;
  max-width: 640px;
}
.demo-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font);
}
.demo-tab.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.demo-tab:hover:not(.active) { color: var(--text-secondary); }
.demo-content { display: none; }
.demo-content.active { display: block; }

/* ===== Voice-to-Chart Showcase ===== */
.vtc-showcase {
  margin-top: 48px;
  position: relative;
}
.vtc-flow {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
}
.vtc-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vtc-panel-header {
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.vtc-panel-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.vtc-panel-icon svg { width: 18px; height: 18px; }
.vtc-panel-icon-red { background: #fef2f2; color: #dc2626; }
.vtc-panel-icon-blue { background: var(--primary-bg); color: var(--primary); }
.vtc-panel-title { font-size: 13px; font-weight: 700; }
.vtc-panel-body { padding: 20px; }
.vtc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vtc-arrow-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.vtc-arrow-icon svg { width: 20px; height: 20px; }
.vtc-conversation-line {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.vtc-conversation-line:last-child { margin-bottom: 0; }
.vtc-speaker {
  flex-shrink: 0;
  width: 36px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 0;
  text-align: center;
  border-radius: var(--radius-xs);
}
.vtc-speaker-doc { background: var(--primary-bg); color: var(--primary); }
.vtc-speaker-pat { background: var(--bg-muted); color: var(--text-tertiary); }
.vtc-speech {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 2px 0;
}
.vtc-chart-section { margin-bottom: 12px; }
.vtc-chart-section:last-child { margin-bottom: 0; }
.vtc-chart-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  font-family: var(--mono);
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.vtc-chart-text {
  font-size: 12.5px;
  font-family: var(--mono);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Settings Preview ===== */
.settings-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.settings-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.settings-card-header {
  padding: 14px 20px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.settings-card-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.settings-card-icon svg { width: 16px; height: 16px; }
.settings-card-title { font-size: 13px; font-weight: 700; }
.settings-card-body { padding: 20px; }
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.settings-row:last-child { border-bottom: none; }
.settings-label { color: var(--text-secondary); font-weight: 500; }
.settings-value { font-weight: 600; color: var(--text-primary); }
.settings-pill {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 11px; font-weight: 600;
  border-radius: 100px;
}
.settings-pill-active { background: var(--primary); color: #fff; }
.settings-pill-inactive { background: var(--bg-muted); color: var(--text-tertiary); }
.settings-slider-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #10b981, #0d9488, #1a56db, #7c3aed, #dc2626);
  position: relative;
  margin: 8px 0;
}
.settings-slider-thumb {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
  top: -5px;
}
.settings-section-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 12px;
}
.settings-section-row:last-child { margin-bottom: 0; }
.settings-drag { color: var(--text-tertiary); font-size: 10px; cursor: grab; }
.settings-section-name { font-family: var(--mono); font-weight: 600; }
.settings-section-temp {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 8px;
  border-radius: 100px;
}

/* Plan/PEx settings cards */
.settings-items-list { }
.settings-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-secondary);
}
.settings-item-row:last-child { border-bottom: none; }
.settings-item-drag { color: var(--text-tertiary); font-size: 9px; }
.settings-item-type {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-tertiary);
  background: var(--bg-muted);
  padding: 2px 8px;
  border-radius: 100px;
}
.settings-category-list { margin-bottom: 12px; }
.settings-category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  font-size: 12px; font-weight: 500;
  background: transparent;
  border: none; border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: default;
  transition: 0.15s;
}
.settings-category-btn.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}
.settings-category-count {
  font-size: 10px;
  color: var(--text-tertiary);
  background: var(--bg-muted);
  padding: 1px 7px;
  border-radius: 100px;
}

/* ===== Stats / Dark Section ===== */
.section-dark {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.stat-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ===== Security ===== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.security-card {
  display: flex; gap: 16px;
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.security-card:hover { box-shadow: var(--shadow-md); }
.security-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.security-icon svg { width: 22px; height: 22px; }
.security-icon-blue { background: var(--primary-bg); color: var(--primary); }
.security-icon-teal { background: var(--accent-bg); color: var(--accent); }
.security-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.security-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-price { margin-bottom: 24px; }
.pricing-amount { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.pricing-currency { font-size: 18px; font-weight: 600; color: var(--text-secondary); }
.pricing-period { font-size: 14px; color: var(--text-tertiary); }
.pricing-features { margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  font-size: 14px; color: var(--text-secondary);
}
.pricing-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-check svg { width: 12px; height: 12px; }
.pricing-check-green { background: var(--accent-bg); color: var(--accent); }
.pricing-card .btn { width: 100%; }
.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: var(--bg-white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font);
  text-align: left;
  transition: 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-arrow {
  width: 20px; height: 20px;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 40%, #3b82f6 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 40px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-desc { font-size: 17px; opacity: 0.85; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; }
.cta-note { margin-top: 20px; font-size: 13px; opacity: 0.5; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.contact-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}
.contact-method:hover { border-color: var(--primary-bg); background: var(--primary-bg); }
.contact-method-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 18px; height: 18px; }
.contact-method-label { font-size: 11px; color: var(--text-tertiary); margin-bottom: 1px; }
.contact-method-value { font-size: 14px; font-weight: 600; }
.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-primary);
  transition: all 0.2s;
  outline: none;
  font-family: var(--font);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.08);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-primary);
  cursor: pointer; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-family: var(--font);
}
.form-select:focus { border-color: var(--primary); background-color: var(--bg-white); box-shadow: 0 0 0 3px rgba(26,86,219,0.08); }

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-logo { height: 28px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; opacity: 0.5; }
.footer-heading {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links a { display: block; font-size: 13px; padding: 4px 0; opacity: 0.5; transition: 0.2s; }
.footer-links a:hover { opacity: 1; color: #93c5fd; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; opacity: 0.4;
}

/* ===== Animations ===== */
.anim { opacity: 0; transform: translateY(20px); transition: all 0.7s var(--ease); }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }
.anim-d4 { transition-delay: 0.32s; }

/* ===== Pricing Page ===== */
.pricing-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  text-align: center;
  position: relative;
}
.pricing-table-section { padding: 40px 0 80px; }
.pricing-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.breakdown-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-bg-hover);
  border-radius: var(--radius-lg);
}
.breakdown-value {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.breakdown-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 32px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.comparison-table th {
  background: var(--bg-light);
  font-weight: 600; font-size: 13px;
}
.comparison-table tr:last-child td { border-bottom: none; }
.check-icon { color: var(--accent); font-weight: 700; }
.cross-icon { color: var(--text-tertiary); }

/* ===== Competitor Comparison ===== */
.comparison-showcase { margin-top: 48px; }
.comparison-input {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}
.comparison-input-icon {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: #dc2626;
  display: flex; align-items: center; justify-content: center;
}
.comparison-input-icon svg { width: 20px; height: 20px; }
.comparison-input-label {
  font-size: 11px; font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.comparison-input-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}
.comparison-arrows {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
.comparison-arrow-down {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-tertiary);
  display: flex; align-items: center; justify-content: center;
}
.comparison-arrow-down svg { width: 18px; height: 18px; }
.comparison-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.comparison-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
}
.comparison-card-header svg { width: 18px; height: 18px; flex-shrink: 0; }
.comparison-header-bad {
  background: #fef2f2;
  color: #dc2626;
  border-bottom: 1px solid #fecaca;
}
.comparison-header-good {
  background: #f0fdf4;
  color: #16a34a;
  border-bottom: 1px solid #bbf7d0;
}
.comparison-card-body { padding: 20px; }
.comparison-body-bad {
  background: #fff;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.comparison-body-good { background: #fff; }
.comparison-verdict-bad {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #fef2f2;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}
.comparison-verdict-bad svg { width: 16px; height: 16px; flex-shrink: 0; }
.comparison-verdict-good {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
}
.comparison-verdict-good svg { width: 16px; height: 16px; flex-shrink: 0; }
.comparison-card-bad { border-color: #fecaca; }
.comparison-card-good {
  border-color: #16a34a;
  box-shadow: 0 0 0 1px #16a34a, var(--shadow-md);
}

/* ===== Value Proposition ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.value-num {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ===== Hero Wave Canvas ===== */
.hero-wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* ===== Hero Demo Scroll Box ===== */
.hero-demo-scroll-wrapper {
  max-width: 600px;
  margin: 48px auto 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-demo-scroll-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border-light);
  background: var(--primary-bg);
}
.hero-demo-scroll {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.hero-demo-scroll::before,
.hero-demo-scroll::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 36px;
  z-index: 2;
  pointer-events: none;
}
.hero-demo-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), transparent);
}
.hero-demo-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
}
.hero-demo-scroll-inner {
  will-change: transform;
}
.demo-scroll-pair {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.demo-scroll-voice {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  border-left: 3px solid var(--border);
  padding-left: 10px;
}
.demo-scroll-arrow {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}
.demo-scroll-chart {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--primary);
  line-height: 1.5;
  border-left: 3px solid var(--primary-light);
  padding-left: 10px;
  font-weight: 500;
}

/* ===== Real Consultation Showcase ===== */
.real-case-showcase {
  max-width: 800px;
  margin: 0 auto;
}
.real-case-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.real-case-voice {
  background: var(--bg-light);
  border: 1px solid var(--border);
  margin-bottom: 0;
}
.real-case-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.real-case-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.real-case-badge-voice { color: var(--text-secondary); }
.real-case-specialty {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.real-case-transcript {
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-height: 200px;
  overflow-y: auto;
}
.real-case-transcript p {
  margin-bottom: 12px;
}
.real-case-transcript p:last-child {
  margin-bottom: 0;
}
.real-case-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
}
.real-case-arrow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-arrow 2s infinite;
}
@keyframes pulse-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.real-case-arrow-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.real-case-chart {
  border: none;
}
.real-case-ui-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}
.real-case-ui-body {
  padding: 0;
}
.real-case-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
}
.real-case-ui-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.real-case-chart-toggle {
  display: flex;
  gap: 4px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-light);
}
.real-case-toggle-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
}
.real-case-toggle-btn.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}
.real-case-chart-body {
  padding: 20px;
}
.real-case-chart-body .vtc-chart-section {
  margin-bottom: 12px;
}
.real-case-chart-body .vtc-chart-section:last-child {
  margin-bottom: 0;
}
.real-case-copy-row {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}

/* ===== Demo Disclaimer ===== */
.demo-disclaimer {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
  font-weight: 400;
}

/* ===== Pricing Hospital Note ===== */
.pricing-hospital-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
  margin-bottom: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section, .section-alt { padding: 80px 0; }
  .section-title { font-size: 36px; }
  .hero-title { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .comparison-results { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vtc-flow { grid-template-columns: 1fr; gap: 16px; }
  .vtc-arrow { transform: rotate(90deg); padding: 8px 0; }
  .settings-preview { grid-template-columns: 1fr; }
  .pricing-breakdown { grid-template-columns: repeat(2, 1fr); }
  .hero-demo-scroll-wrapper { max-width: 100%; }
  .real-case-showcase { max-width: 100%; }
}

@media (max-width: 768px) {
  .section, .section-alt, .section-dark { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 15px; }
  .pain-grid, .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .demo-tabs { flex-direction: column; max-width: 100%; }
  .cta-title { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .pricing-breakdown { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 32px; }
  .demo-scroll-pair { grid-template-columns: 1fr 20px 1fr; padding: 10px 14px; }
  .demo-scroll-voice, .demo-scroll-chart { font-size: 11px; }
  .hero-demo-scroll { height: 180px; }
  .real-case-transcript { font-size: 13px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .pricing-amount { font-size: 36px; }
}

/* ===== Brand Story ===== */
.brand-story-hero { background: #fff; padding-top: 40px; }
.brand-story-inner { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.brand-story-opening { padding: 72px 24px 0; text-align: center; }
.brand-story-eyebrow {
  font-size: 12px; font-weight: 600; color: var(--text-tertiary);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}
.brand-story-h1 {
  font-size: 30px; font-weight: 800; color: var(--text-primary);
  margin: 0 0 16px; line-height: 1.4; letter-spacing: -0.5px;
}
.brand-story-h2 {
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  margin: 0; line-height: 1.4;
}
.brand-story-chapter { padding: 0 24px; }
.brand-story-title {
  font-size: 21px; font-weight: 700; color: var(--text-primary);
  margin: 0 0 20px; line-height: 1.5; letter-spacing: -0.3px;
}
.brand-story-p {
  font-size: 15px; color: var(--text-secondary);
  margin: 0 0 14px; line-height: 1.9; letter-spacing: -0.1px;
}
.brand-story-emphasis {
  font-size: 15px; color: #1e293b; font-weight: 500; font-style: italic;
  margin: 0 0 14px; line-height: 1.9; letter-spacing: -0.1px;
}
.brand-story-bold { font-weight: 500; color: #1e293b; }
.brand-story-divider {
  width: 40px; height: 2px; background: #cbd5e1;
  margin: 44px auto; border-radius: 1px;
}
.brand-story-highlight {
  margin: 32px 0; padding: 28px 24px; background: var(--bg-light);
  border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0;
}
.brand-story-highlight p {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  margin: 0; line-height: 1.8; letter-spacing: -0.2px;
}
.brand-story-accent { color: var(--primary); }

/* Why Clinova — Brand Section */
.brand-why-section {
  padding: 56px 24px 40px; margin-top: 44px; background: var(--bg-light);
}
.brand-why-list { display: flex; flex-direction: column; gap: 16px; }
.brand-why-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.brand-why-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  margin-top: 8px; flex-shrink: 0;
}
.brand-why-title {
  font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px;
}
.brand-why-desc { font-size: 13px; color: #64748b; line-height: 1.7; }

/* Brand Steps */
.brand-steps-section { padding: 48px 24px; }
.brand-steps-title {
  font-size: 20px; font-weight: 700; color: var(--text-primary);
  margin: 0 0 28px; text-align: center;
}
.brand-steps-list { display: flex; flex-direction: column; }
.brand-step {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
}
.brand-step-last { border-bottom: none; }
.brand-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: #f0f4ff;
  color: var(--primary); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-step-text { font-size: 15px; color: #334155; line-height: 1.5; }

/* Brand CTA */
.brand-cta-section {
  padding: 48px 24px; text-align: center; background: #0f172a;
}
.brand-cta-title {
  font-size: 22px; font-weight: 700; color: #fff;
  margin: 0 0 8px; line-height: 1.5;
}
.brand-cta-desc {
  font-size: 14px; color: #94a3b8; margin: 0 0 28px; line-height: 1.7;
}
.brand-cta-btn {
  display: inline-block; padding: 13px 36px; border-radius: 8px;
  border: none; background: #fff; color: #0f172a; font-size: 15px;
  font-weight: 700; cursor: pointer; font-family: var(--font);
  letter-spacing: -0.2px; text-decoration: none;
  transition: opacity 0.2s;
}
.brand-cta-btn:hover { opacity: 0.9; }

@media (max-width: 768px) {
  .brand-story-h1 { font-size: 26px; }
  .brand-story-h2 { font-size: 20px; }
  .brand-story-title { font-size: 19px; }
  .brand-story-opening { padding: 56px 16px 0; }
  .brand-story-chapter { padding: 0 16px; }
  .brand-story-inner { padding: 0 16px; }
  .brand-why-section { padding: 40px 16px 32px; }
  .brand-steps-section { padding: 36px 16px; }
  .brand-cta-section { padding: 36px 16px; }
}
