/* --- AiCAN 제품 랜딩 페이지: 실버/그레이 테마 디자인 --- */

:root {
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 테마 컬러 파레트 (밝고 심플한 실버/그레이 톤) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-active: #cbd5e1;
  
  --accent-sky: #0284c7;
  --accent-cyan: #0ea5e9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-weak: #64748b;
  --text-white: #ffffff;

  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- 공통 컨테이너 --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 타이포그래피 그라디언트 (실버 테마에 맞는 딥블루그레이 그라디언트) --- */
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-sky) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 버튼 컴포넌트 --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  color: var(--text-white);
  background-color: var(--accent-sky);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  background-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-1.5px);
  background-color: var(--bg-tertiary);
  border-color: var(--border-active);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-white);
  background-color: var(--accent-sky);
  transition: all 0.2s ease;
}

.btn-primary-sm:hover {
  background-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-lang {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.btn-lang:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-active);
}

/* --- 상단 네비게이션 바 --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  margin-right: 8px;
  font-size: 20px;
}

.logo-img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-sky);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- 히어로 섹션 --- */
/* --- 히어로 섹션 --- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 660px;
  text-align: left;
}

.hero-graphic {
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-sky);
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-sky);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-content .hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0 0 36px 0;
  line-height: 1.6;
}

.hero-content .hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-section .container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .hero-subtitle {
    margin: 0 auto 36px auto;
  }
  .hero-content .hero-actions {
    justify-content: center;
  }
  .hero-graphic {
    width: 280px;
    height: 280px;
  }
}

/* --- 워크스페이스 목업 섹션 --- */
.workspace-section {
  padding: 60px 0;
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.75px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

/* --- 고정밀 앱 화면 목업 (Light/Silver Theme) --- */
.app-mockup {
  background-color: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.app-mockup-header {
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  position: relative;
}

.mockup-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 16px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #f87171; }
.dot-yellow { background-color: #fbbf24; }
.dot-green { background-color: #34d399; }

.mockup-title {
  margin: 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.app-mockup-toolbar {
  background-color: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolbar-left, .app-mockup-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tool-btn {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.tool-btn:hover {
  background-color: #f1f5f9;
}

/* 뷰 그룹 버튼 및 컬러 코딩 */
.view-buttons {
  display: flex;
  gap: 2px;
  background-color: #e2e8f0;
  padding: 2px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.view-buttons .tool-btn {
  font-size: 12px;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 3px;
  width: 24px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-buttons .tool-btn.ws-active-1 {
  background-color: #0284c7; /* Workspace 1: Blue */
  color: #ffffff;
}
.view-buttons .tool-btn.ws-active-2 {
  background-color: #16a34a; /* Workspace 2: Green */
  color: #ffffff;
}
.view-buttons .tool-btn.ws-active-3 {
  background-color: #ea580c; /* Workspace 3: Orange */
  color: #ffffff;
}
.view-buttons .tool-btn.ws-active-4 {
  background-color: #9333ea; /* Workspace 4: Purple */
  color: #ffffff;
}

.view-buttons .tool-btn:not([class*="ws-active"]):hover {
  background-color: #cbd5e1;
}

.control-start {
  color: #16a34a;
}

.control-stop {
  color: #ef4444;
}

.status-indicator {
  font-size: 11px;
  font-weight: 500;
  color: #475569;
}

/* 실제 데스크톱 앱 분할 레이아웃 시뮬레이션 */
.app-mockup-workspace {
  display: flex;
  flex-direction: column;
  background-color: #cbd5e1;
  gap: 1px;
}

.workspace-row {
  display: grid;
  gap: 1px;
}

.workspace-row.top-row {
  grid-template-columns: 240px 1fr 280px;
  height: 250px;
}

.workspace-row.bottom-row {
  grid-template-columns: 320px 1fr;
  height: 180px;
}

.pane {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pane-header {
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 0 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
}

.pane-tab {
  padding: 6px 12px;
  color: #475569;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  background-color: #e2e8f0;
}

.pane-tab.active {
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.tab-close {
  font-size: 8px;
  color: #94a3b8;
  cursor: pointer;
}

.tab-close:hover {
  color: #ef4444;
}

.pane-sub-toolbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-btn {
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 1px 5px;
  border-radius: 3px;
  cursor: pointer;
}

.sub-btn.active {
  background-color: #e2e8f0;
  color: #1e293b;
  border-color: #94a3b8;
}

.sub-search {
  flex: 1;
  height: 18px;
  font-size: 9px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 1px 6px;
  color: #475569;
  background-color: #fafafa;
  outline: none;
}

.pane-body-scroll {
  flex: 1;
  overflow-y: auto;
  background-color: #ffffff;
}

/* 시뮬레이션 테이블 스타일 */
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  color: #334155;
  text-align: left;
}

.mock-table th {
  background-color: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
  padding: 4px 6px;
  font-weight: 600;
  color: #64748b;
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 9px;
}

.mock-table td {
  padding: 3px 6px;
  border-bottom: 1px solid #f1f5f9;
}

.log-table td {
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.selected-row {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  font-weight: 600;
}

.sub-checkbox {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #475569;
}

/* AI Assistant 내부 레이아웃 */
.ai-assistant-card {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-assistant-card h4 {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.ai-info-p {
  font-size: 9px;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.ai-pill-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ai-pill-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-cmd-pill {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  color: #1e293b;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2.5px 5px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.ai-cmd-desc {
  font-size: 8.5px;
  color: #64748b;
}

.ai-pw-unlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #cbd5e1;
  padding-top: 6px;
  margin-top: 2px;
}

.ai-pw-unlock span {
  font-size: 9px;
  color: #475569;
  font-weight: 500;
}

.ai-pw-unlock input {
  width: 90px;
  font-size: 8.5px;
  height: 16px;
  padding: 1px 4px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background-color: #fafafa;
}

/* 그래프 리스트 컬럼 색상 지시자 */
.color-indicator {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}

.color-indicator.orange {
  background-color: #ea580c;
}

.color-indicator.blue {
  background-color: #0284c7;
}

/* 그래프 우측 플롯 */
.pane-header-toolbar {
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolbar-left-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.graph-btn {
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 1px 5px;
  border-radius: 3px;
  cursor: pointer;
}

.graph-btn.active {
  background-color: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}

.graph-btn.csv-btn {
  background-color: #f8fafc;
}

.pane-body-plot {
  flex: 1;
  padding: 6px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-plot-svg {
  width: 100%;
  height: 100%;
}

/* 하단 워크스페이스 바 */
.app-mockup-footer {
  background-color: #f1f5f9;
  border-top: 1px solid #cbd5e1;
  padding: 4px 12px;
}

.workspace-tabs-bar {
  display: flex;
  gap: 8px;
}

.ws-tab {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px 4px 0 0;
  border: 1px solid transparent;
  color: #475569;
  position: relative;
  cursor: pointer;
}

.ws-tab.active {
  background-color: #ffffff;
  border-color: #cbd5e1 #cbd5e1 transparent #cbd5e1;
  color: var(--text-primary);
}

.ws-tab::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--ws-color);
}

/* --- 특징 섹션 --- */
.features-section {
  padding: 90px 0;
  background-color: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 310px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-secondary);
  border-color: var(--border-active);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* OS-HW 호환성 매트릭스 스타일 */
.hw-matrix {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hw-matrix-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-badge {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.5px 4px;
  border-radius: 2.5px;
  min-width: 44px;
  text-align: center;
  letter-spacing: 0.5px;
}

.os-badge.macos {
  background-color: #0f172a;
  color: #ffffff;
}

.os-badge.windows {
  background-color: #0078d4;
  color: #ffffff;
}

.os-badge.linux {
  background-color: #f59e0b;
  color: #1e293b;
}

.hw-list {
  font-size: 9px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* --- 스크립트 및 앱 빌더 쇼케이스 --- */
.showcase-section {
  padding: 90px 0;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--accent-sky);
  border-color: var(--accent-sky);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.showcase-description h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.showcase-description p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent-sky);
  font-weight: 700;
}

/* 코드 블럭 */
.showcase-code {
  background-color: #0b0f19;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.code-header {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.code-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.code-header .dot.red { background-color: #ef4444; }
.code-header .dot.yellow { background-color: #f59e0b; }
.code-header .dot.green { background-color: #10b981; }

.code-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #64748b;
}

pre {
  padding: 20px;
  overflow-x: auto;
  background-color: transparent;
}

code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.05);
  padding: 2px 5px;
  border-radius: 4px;
}

pre code {
  color: #e2e8f0;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

/* 빌더 시각 목업 */
.showcase-visual {
  display: flex;
  justify-content: center;
}

.builder-mockup {
  width: 100%;
  max-width: 540px;
  background-color: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
}

.builder-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.builder-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.builder-icon {
  color: #0284c7;
  font-weight: 700;
  font-size: 13px;
}

.builder-title {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.builder-app-name {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #0284c7;
  background-color: #e0f2fe;
  padding: 1px 4px;
  border-radius: 3px;
}

.builder-header-center {
  display: flex;
  align-items: center;
}

.builder-stats {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
}

.builder-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.builder-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.builder-btn:hover {
  background-color: #f1f5f9;
}

.builder-btn.run-btn {
  color: #16a34a;
  border-color: #86efac;
  background-color: #f0fdf4;
}

.builder-body-three-col {
  display: grid;
  grid-template-columns: 105px 1fr 105px;
  height: 210px;
  background-color: #ffffff;
}

.builder-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.toolbox-col {
  border-right: 1px solid #cbd5e1;
  background-color: #f8fafc;
}

.col-header {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 4px 8px;
  border-bottom: 1px solid #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toolbox-group {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.toolbox-sub-header {
  font-size: 8px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 2px 0 1px 0;
}

.tool-item {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 9px;
  font-weight: 500;
  color: #334155;
  cursor: grab;
  text-align: left;
}

.tool-item.block-item {
  border-color: #7dd3fc;
  background-color: #f0f9ff;
}

.workspace-col {
  background-color: #fafafa;
  border-right: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
}

.workspace-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f1f5f9;
}

.ws-tab-btn {
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-right: 1px solid #cbd5e1;
}

.ws-tab-btn.active {
  background-color: #ffffff;
  color: #0284c7;
  border-bottom: 2px solid #0284c7;
}

.workspace-canvas {
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.canvas-title {
  font-size: 8px;
  color: #94a3b8;
  align-self: flex-start;
  margin-bottom: 2px;
  position: absolute;
  top: 8px;
  left: 8px;
}

.sim-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.gauge-svg {
  width: 64px;
  height: 32px;
}

.gauge-val {
  font-size: 9px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}

.canvas-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.sim-btn {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(2,132,199,0.15);
  cursor: pointer;
}

.sim-status {
  font-size: 8px;
  font-weight: 600;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.glow-dot {
  width: 4.5px;
  height: 4.5px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 4px #16a34a;
  display: inline-block;
}

.inspector-col {
  background-color: #f8fafc;
}

.inspector-section {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.ins-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 3px;
}

.ins-label {
  font-size: 7px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
}

.ins-val {
  font-size: 9px;
  color: #1e293b;
  font-weight: 600;
}

/* 풋터 */
.footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 32px 0;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: var(--text-weak);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-sky);
}

/* --- 애니메이션 --- */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 모바일 반응형 --- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }
  .app-mockup-grid {
    grid-template-columns: 160px 1fr;
    grid-template-rows: 180px 180px 120px;
  }
  .pane-ai {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }
  .pane-graph {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-actions a {
    width: 100%;
  }
}
