@charset "UTF-8";

:root {
  /* Color Palette (Light / White / Blue Vibe) */
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --accent-primary: #2563eb; /* Strong Blue */
  --accent-secondary: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.1);
  
  --border-subtle: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-main);
  scroll-padding-top: 80px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}

.section-pad {
  padding: 120px 0;
}

.bg-soft {
  background-color: var(--bg-soft);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand img {
  height: 40px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.nav-menu a:not(.btn) {
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(100% 100% at 50% 0%, rgba(239, 246, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: #0f172a;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  gap: 40px;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
}

.hero-metrics strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
}

.hero-metrics span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Dashboard Visual */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
}

.main-dash {
  height: auto;
  display: flex;
  flex-direction: column;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  background: #ffffff;
}

.main-dash .browser-content {
  max-height: none !important;
  aspect-ratio: auto !important;
  background: #ffffff;
}

.main-dash .browser-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.main-dash:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.sitemap-window {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

/* Sidebar Styling */
.sitemap-sidebar {
  width: 50px;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}

.sidebar-logo {
  font-size: 20px;
  font-weight: 800;
  color: #3b82f6;
}

.sidebar-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  color: #94a3b8;
}

.sidebar-svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}

.menu-icon:hover, .menu-icon.active {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.sidebar-footer {
  display: flex;
  justify-content: center;
}

/* Main Workspace */
.sitemap-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f8fafc;
}

.workspace-header {
  height: 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.tab-list {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.sitemap-tab {
  background: #3b82f6;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
}

.tab-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.header-profile {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.profile-name {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Grid Area */
.sitemap-grid-container {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.sitemap-scroll-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sitemap-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.column-header {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 4px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sitemap-tile {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  min-height: 60px;
}

.tile-svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.sitemap-tile.double-height {
  grid-column: span 2;
  min-height: 52px;
  flex-direction: row;
  gap: 10px;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

.sitemap-tile.double-height .tile-title {
  font-size: 10px;
  color: var(--accent-primary);
}

.tile-icon {
  font-size: 10px;
}

.tile-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

/* Color Coding matching the image groups */
.tile-pms {
  background: rgba(239, 246, 255, 0.7);
  border-color: rgba(191, 219, 254, 0.5);
}

.tile-purchase {
  background: rgba(239, 246, 255, 0.7);
  border-color: rgba(191, 219, 254, 0.5);
}

.tile-crew {
  background: rgba(240, 253, 244, 0.7);
  border-color: rgba(187, 247, 208, 0.5);
}

.tile-sq {
  background: rgba(250, 245, 255, 0.7);
  border-color: rgba(233, 213, 255, 0.5);
}

.sitemap-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  border-color: var(--accent-primary);
  background: #ffffff !important;
}

/* Typography & Section Headers */
.section-head {
  margin-bottom: 64px;
  max-width: 600px;
}

.section-head.text-center {
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(90deg, #0f172a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0;
}

/* PMS Overview Section */
#pms-overview {
  background: #ffffff;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pms-overview-header {
  text-align: center;
  margin-bottom: 60px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Suite List Container */
.suite-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
}

/* Individual Module Card */
.suite-module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Header inside the Card */
.module-header {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: #f8fafc;
}

.module-title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.module-num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.15);
  font-family: var(--font-mono);
  line-height: 1;
}

.module-title-wrap h3 {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 800;
  margin: 0 0 4px;
}

.module-sub-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.module-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Explorer Body */
.module-explorer {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 500px;
}

/* Left Sub-features Sidebar */
.sub-features-sidebar {
  background: #f8fafc;
  border-right: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-feature-tab {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.sub-feature-tab:hover {
  background: #f1f5f9;
}

.sub-feature-tab.active {
  background: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.sub-feature-tab h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px;
}

.sub-feature-tab span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Right Detail Panel */
.sub-feature-detail-panel {
  padding: 40px;
  background: #ffffff;
}

.sub-detail-content {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  opacity: 0;
  transition: opacity 0.4s ease;
  height: 100%;
}

.sub-detail-content.active {
  display: grid;
  opacity: 1;
}

.detail-info h3 {
  font-size: 24px;
  color: var(--text-main);
  margin: 0 0 16px;
  font-weight: 700;
}

.detail-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.feature-bullets li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}

.feature-bullets strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Visual Mockups inside the detail panels */
.detail-preview {
  width: 100%;
}

.browser-frame-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Bento Grid (Products) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.bento-item:hover {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.feature-full {
  grid-column: span 3;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px !important;
}

.bento-header-full {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.bento-desc-full {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}

.pms-visuals-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.browser-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-main);
  font-weight: 600;
}

.browser-frame {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  width: 100%;
}

.browser-header {
  height: 32px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
}

.browser-dots {
  display: flex;
  gap: 6px;
  z-index: 2;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-address {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
  background: #ffffff;
  padding: 2px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.browser-tabs {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  z-index: 2;
}

.browser-tab {
  background: transparent;
  border: none;
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  border: 1px solid transparent;
}

.browser-tab:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.04);
}

.browser-tab.active {
  color: var(--text-main);
  background: #ffffff;
  border-color: var(--border-subtle) var(--border-subtle) transparent var(--border-subtle);
  font-weight: 600;
}

.browser-content {
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 250px;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  transition: transform 0.5s ease;
}

.browser-content.img-contain img {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  padding: 8px;
  box-sizing: border-box;
}

.browser-frame:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.12);
}

.browser-frame:hover img {
  transform: scale(1.02);
}

/* ── Repair Portal Flow Diagram ── */
.repair-portal-content {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  height: 100%;
  overflow-y: auto;
}

.rp-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.rp-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rp-filter-label {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.rp-chips {
  display: flex;
  gap: 4px;
}

.rp-chip {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.rp-chip.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.rp-date-box {
  font-size: 9px;
  color: #475569;
  padding: 2px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
  white-space: nowrap;
}

.rp-search-btn {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.rp-flow-container {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rp-flow-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex-wrap: wrap;
}

.rp-vessel-tag {
  font-size: 8px;
  font-weight: 800;
  color: #1e40af;
  background: #dbeafe;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rp-node {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px 8px;
  min-width: 90px;
  max-width: 120px;
  flex-shrink: 0;
}

.rp-node-label {
  font-size: 8px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.rp-node-id {
  font-size: 9px;
  font-weight: 700;
  color: #0f172a;
}

.rp-node-id.rp-link {
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
}

.rp-node-date {
  font-size: 8px;
  color: #64748b;
  margin-top: 1px;
}

.rp-node-desc {
  font-size: 8px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-node-meta {
  font-size: 8px;
  color: #64748b;
  margin-top: 1px;
}

.rp-node-req  { border-left: 3px solid #93c5fd; background: #eff6ff; }
.rp-node-inq  { border-left: 3px solid #6ee7b7; background: #f0fdf4; }
.rp-node-order{ border-left: 3px solid #fca5a5; background: #fff1f2; }
.rp-node-vendor{ border-left: 3px solid #fcd34d; background: #fffbeb; }
.rp-node-quot { border-left: 3px solid #c4b5fd; background: #faf5ff; }
.rp-node-po   { border-left: 3px solid #86efac; background: #f0fdf4; }

.rp-arrow {
  font-size: 12px;
  color: #94a3b8;
  flex-shrink: 0;
}

.rp-node-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rp-footer {
  padding: 6px 14px;
  font-size: 9px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
  text-align: right;
}

/* ── Vessel Spare Parts Grid ── */
.vsp-content {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  height: 100%;
  overflow: hidden;
}

.vsp-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.vsp-filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vsp-filter-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.vsp-filter-label {
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
}

.vsp-filter-value {
  font-size: 9px;
  font-weight: 600;
  color: #0f172a;
  padding: 2px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
}

.vsp-btn-row {
  display: flex;
  gap: 6px;
}

.vsp-btn {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.vsp-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.vsp-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #1e40af;
  flex-shrink: 0;
}

.vsp-search-icon {
  font-size: 10px;
  filter: brightness(10);
}

.vsp-search-text {
  font-size: 9px;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.vsp-check {
  font-size: 8px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.vsp-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Left Tree */
.vsp-tree {
  width: 140px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
  padding: 6px 0;
  font-size: 8px;
}

.vsp-tree-root {
  font-size: 9px;
  font-weight: 800;
  color: #1e40af;
  padding: 4px 10px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 4px;
}

.vsp-tree-group {
  padding: 3px 8px;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}

.vsp-tree-group.active {
  color: #1e40af;
  font-weight: 700;
}

.vsp-tree-toggle {
  font-size: 7px;
  color: #94a3b8;
  margin-right: 2px;
}

.vsp-tree-children {
  padding-left: 12px;
  margin-top: 2px;
}

.vsp-tree-item {
  padding: 2px 4px;
  font-size: 7.5px;
  color: #64748b;
  cursor: pointer;
  line-height: 1.5;
}

.vsp-tree-item.active {
  color: #2563eb;
  font-weight: 700;
  background: #eff6ff;
  border-radius: 3px;
}

.vsp-tree-item.warn {
  color: #dc2626;
  text-decoration: line-through;
}

/* Right Grid */
.vsp-grid-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vsp-grid-head {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  background: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.vsp-col {
  font-size: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vsp-grid-head .vsp-col {
  font-weight: 700;
  color: #475569;
}

.vsp-col-partno { width: 70px; flex-shrink: 0; }
.vsp-col-desc   { flex: 1; min-width: 0; }
.vsp-col-unit   { width: 32px; flex-shrink: 0; text-align: center; }
.vsp-col-num    { width: 44px; flex-shrink: 0; text-align: center; }
.vsp-col-loc    { width: 55px; flex-shrink: 0; }
.vsp-col-flag   { width: 40px; flex-shrink: 0; text-align: center; }

.vsp-section-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: #e0f2fe;
  border-bottom: 1px solid #bae6fd;
  flex-shrink: 0;
}

.vsp-section-arrow {
  font-size: 7px;
  color: #0284c7;
}

.vsp-section-title {
  font-size: 8.5px;
  font-weight: 800;
  color: #0369a1;
}

.vsp-data-row {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.vsp-data-row:hover {
  background: #f8fafc;
}

.vsp-data-row.vsp-row-selected {
  background: #1e40af;
}

.vsp-data-row.vsp-row-selected .vsp-col {
  color: #ffffff !important;
}

.vsp-data-row.vsp-row-selected .vsp-gray { color: #93c5fd !important; }
.vsp-data-row.vsp-row-selected .vsp-yes  { color: #86efac !important; }

.vsp-blue   { color: #2563eb !important; }
.vsp-orange { color: #ea580c !important; font-weight: 700; }
.vsp-gray   { color: #94a3b8 !important; }
.vsp-yes    { color: #16a34a !important; font-weight: 700; }
.vsp-link   { color: #2563eb !important; text-decoration: underline; cursor: pointer; }
.vsp-bold   { font-weight: 700; }

/* Footer */
.vsp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.vsp-pager {
  font-size: 8px;
  color: #64748b;
}

.vsp-page-curr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 3px;
  font-weight: 700;
}

.vsp-pagesize {
  font-weight: 700;
  color: #0f172a;
}

.vsp-count {
  font-size: 8px;
  color: #94a3b8;
}

/* ── Defect Report Analysis Dashboard ── */
.dra-content {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  height: 100%;
  overflow: hidden;
}

.dra-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.dra-filter-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dra-filter-label {
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
}

.dra-filter-value {
  font-size: 8px;
  color: #0f172a;
  padding: 2px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.dra-btn {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.dra-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.dra-monthly-row {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.dra-month-label {
  font-size: 8px;
  font-weight: 800;
  color: #1e40af;
  text-align: center;
  padding: 3px 0 2px;
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
}

.dra-months {
  display: flex;
}

.dra-month {
  flex: 1;
  text-align: center;
  font-size: 7.5px;
  color: #475569;
  padding: 3px 0;
  border-right: 1px solid #f1f5f9;
  line-height: 1.4;
}

.dra-month strong { display: block; font-weight: 700; color: #0f172a; }
.dra-month-hi { background: #eff6ff; }
.dra-total-col { background: #fef9c3; font-weight: 700; }
.dra-blue { color: #2563eb !important; }

/* 4-panel grid */
.dra-panels {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  overflow: hidden;
}

.dra-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dra-panel-root {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.dra-panel-title {
  font-size: 8.5px;
  font-weight: 800;
  color: #1e40af;
  background: #e0f2fe;
  padding: 4px 8px;
  border-bottom: 1px solid #bae6fd;
  flex-shrink: 0;
}

.dra-root-title {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.dra-table {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.dra-tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 8px;
  border-bottom: 1px solid #f8fafc;
  font-size: 8px;
}

.dra-tr:hover { background: #f8fafc; }

.dra-tr-total {
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
  font-weight: 700;
}

.dra-td-name {
  color: #334155;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dra-td-num {
  font-size: 8.5px;
  font-weight: 700;
  color: #0f172a;
  min-width: 20px;
  text-align: right;
}

.dra-orange { color: #ea580c !important; }
.dra-cause  { color: #2563eb; }

/* Bar charts */
.dra-panel-chart {
  padding: 6px 6px 0;
}

.dra-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  gap: 4px;
  padding-bottom: 18px;
  position: relative;
}

.dra-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 2px;
}

.dra-bar {
  width: 100%;
  max-width: 24px;
  background: #86efac;
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: opacity 0.2s;
  min-height: 3px;
}

.dra-bar:hover { opacity: 0.8; }

.dra-bar-root {
  background: #fed7aa;
}

.dra-bar-val {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.dra-bar-lbl {
  font-size: 6.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
}

.bento-icon {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(37,99,235,0.1);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 24px;
  border: 1px solid rgba(37,99,235,0.15);
}

.bento-content h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.bento-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Services Section */
.services {
  background: #ffffff;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.icon-wrap {
  font-size: 40px;
  font-weight: 800;
  color: rgba(37,99,235,0.15);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Why Section */
.why {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 8px;
}

.subtitle {
  color: var(--accent-primary);
  font-size: 18px;
  margin: 0 0 40px;
  font-weight: 500;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.check-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.check-list span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Orbit Animation */
.tech-circle {
  width: 400px;
  height: 400px;
  border: 1px dashed var(--border-hover);
  border-radius: 50%;
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-circle {
  width: 120px;
  height: 120px;
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(37,99,235,0.2);
  z-index: 2;
  color: var(--accent-primary);
}

.orbit-path {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.o1 { top: -30px; left: 170px; }
.o2 { bottom: 50px; right: -10px; }
.o3 { bottom: 50px; left: -10px; }

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.orbit-item {
  animation: spin-reverse 20s linear infinite;
}

@keyframes spin-reverse {
  100% { transform: rotate(-360deg); }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-soft);
}

.stat-item b {
  display: block;
  font-size: 48px;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.stat-item span {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}



/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  max-width: 250px;
}

.footer-links strong {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links a, .footer-links p {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.copyright {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.copyright-inner {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 13px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .why-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .module-header {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  
  .module-explorer {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .sub-features-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding: 16px 24px;
    -webkit-overflow-scrolling: touch;
  }
  
  .sub-feature-tab {
    flex-shrink: 0;
    min-width: 180px;
    padding: 10px 14px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-glow);
    z-index: 99;
  }
  
  .nav-menu.is-open {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
    margin-bottom: 16px;
  }
  
  .hero-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  
  .hero-metrics strong {
    font-size: 20px;
  }
  
  .service-cards, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .sub-feature-detail-panel {
    padding: 24px;
  }
  
  .sub-detail-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .tech-circle {
    width: 300px;
    height: 300px;
  }
  
  .o1 { left: 120px; }
  

  .pms-visuals-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-visual {
    width: 100%;
    overflow: hidden;
  }

  .main-dash {
    transform: none !important;
    height: auto !important;
  }

  /* Compact 2-column grid tabs on mobile */
  .sub-features-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: visible;
  }
  
  .sub-feature-tab {
    min-width: 0;
    flex-shrink: 1;
    padding: 12px 8px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }
  
  .sub-feature-tab:hover {
    background: #f1f5f9;
  }
  
  .sub-feature-tab.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  }
  
  .sub-feature-tab.active h5 {
    color: #ffffff;
  }
  
  .sub-feature-tab span {
    display: none;
  }
  
  .sub-feature-tab h5 {
    font-size: 13.5px;
    margin: 0;
    text-align: center;
    color: var(--text-main);
  }
  
  .sub-features-sidebar .sub-feature-tab:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

/* Brand T-logo text styling matching logo image */
.brand-t {
  display: inline-block;
  background: linear-gradient(to right, #ef7a1a 0%, #ef7a1a 24%, transparent 24%, transparent 38%, var(--text-main) 38%, var(--text-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* AI Platform Section Styling */
.bg-dark-ai {
  background: radial-gradient(100% 100% at 50% 0%, #0b0f19 0%, #020617 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.ai-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-pill-ai {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 24px;
}

.gradient-text-ai {
  background: linear-gradient(90deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-section-desc {
  color: #94a3b8;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* AI 로드맵 카드 스타일 */
.ai-roadmap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}

.ai-card.active {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.ai-card:hover {
  transform: translateX(8px);
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.8);
}

.ai-card-icon {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.ai-card.active .ai-card-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.ai-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.ai-card-content p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.ai-card-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.ai-card-badge.completed {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ai-card-badge.future {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.ai-card-badge.vision {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.ai-preview-window {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #020617 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.ai-chat-content {
  max-height: 400px !important;
  background: #020617;
  aspect-ratio: auto !important;
}

.ai-chat-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 모바일 반응형 처리 */
@media (max-width: 1024px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .ai-card {
    padding-top: 48px;
  }
  .ai-card-badge {
    top: 16px;
    left: 24px;
    right: auto;
  }
}

@media (max-width: 576px) {
  .container {
    width: calc(100% - 32px);
  }
  .info-card {
    padding: 16px;
    gap: 12px;
  }
  .contact-text {
    font-size: 13.5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
    row-gap: 4px;
  }
  .address-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .ai-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* Premium Cases & Partnership Section */
.cases-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.cases-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.map-container {
  margin: 40px auto 60px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
}

.world-map {
  position: relative;
  width: 100%;
}

.world-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/world_map_dots.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3; /* 도트 선명도 조절 (연하게 설정) */
  pointer-events: none;
  z-index: 1;
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Shipping Route Lines Animation */
.route-line {
  stroke: var(--accent-secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
  opacity: 0.35;
  stroke-dasharray: 6 6;
  animation: routeFlow 30s linear infinite;
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -360;
  }
}

/* Pulsing Port Nodes */
.ping-circle {
  fill: var(--accent-primary);
  opacity: 0.4;
  transform-origin: center;
  animation: portPulse 2.5s ease-out infinite;
}

.core-circle {
  fill: var(--accent-primary);
  stroke: #ffffff;
  stroke-width: 1.5;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.port-label {
  font-size: 10px;
  font-weight: 700;
  fill: var(--text-muted);
  font-family: 'Inter', sans-serif;
  text-anchor: middle;
}

@keyframes portPulse {
  0% {
    transform: scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Glassmorphic Stats Overlay */
.stats-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
  width: calc(100% - 48px);
  justify-content: center;
}

.stat-widget {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
  flex: 1;
  max-width: 180px;
  transition: var(--transition);
}

.stat-widget:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.12);
}

.stat-widget b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-widget span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Partner Grid Styling */
.partner-grid-wrap {
  text-align: center;
  margin-top: 40px;
}

.partner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.client-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: default;
  min-width: 130px;
  box-shadow: var(--shadow-sm);
}

.client-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent-secondary);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

/* Styling for special highlight chips */
.client-chip.text-highlight {
  border-color: rgba(239, 122, 26, 0.2);
  background: rgba(239, 122, 26, 0.02);
}

.client-chip.text-highlight:hover {
  border-color: #ef7a1a;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(239, 122, 26, 0.08);
}

.client-chip.text-highlight .client-name {
  color: #ef7a1a;
}

.client-chip.tech-partner {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.02);
}

.client-chip.tech-partner:hover {
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.client-chip.tech-partner .client-name {
  color: var(--accent-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-chip.tech-partner small {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

/* Responsive adjustment for Map and Stats */
@media (max-width: 768px) {
  .map-container {
    padding: 12px;
  }
  
  .stats-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    gap: 12px;
  }
  
  .stat-widget {
    max-width: none;
    padding: 14px;
  }
  
  .client-chip {
    padding: 10px 16px;
    min-width: 110px;
  }
  
  .client-name {
    font-size: 13px;
  }
}

/* Contact & Directions Combined Section */
.contact-location-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.contact-location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Glassmorphic Info Card */
.info-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-secondary);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

.card-icon {
  font-size: 24px;
  background: var(--bg-soft);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--accent-primary);
}

.card-details {
  flex: 1;
}

.card-details h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

.address-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px;
  line-height: 1.4;
}

.address-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.contact-text {
  font-size: 15px;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.4;
}

.contact-text a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Transit inside Info Card */
.transit-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.transit-detail:last-child {
  margin-bottom: 0;
}

.badge-subway, .badge-bus {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
}

.badge-subway { background: #3c9c3c; }
.badge-bus { background: #3b82f6; }

.transit-detail strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.transit-detail p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Right Side: Map & Buttons */
.map-card-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.map-image-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.map-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  backdrop-filter: blur(2px);
}

.map-zoom-icon { font-size: 24px; }

.map-link-container:hover .map-image-holder img {
  transform: scale(1.03);
}

.map-link-container:hover .map-overlay-hover {
  opacity: 1;
}

.action-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.action-buttons .btn {
  flex: 1;
  padding: 14px;
  font-size: 14px;
}

/* Button Naver Map */
.btn-naver-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  font-weight: 700;
  background: #03c75a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 199, 90, 0.2);
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-naver-map:hover {
  background: #02b34e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 199, 90, 0.3);
  color: #ffffff;
}

.btn-naver-map .btn-icon {
  background: #ffffff;
  color: #03c75a;
  font-weight: 900;
  border-radius: 3px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-right: 6px;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Module Details Accordion */
.module-accordion {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.accordion-trigger {
  width: 100%;
  padding: 24px 40px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background-color: rgba(37, 99, 235, 0.02);
}

.accordion-trigger:hover .trigger-text {
  color: var(--accent-primary);
}

.accordion-trigger:hover .accordion-icon {
  color: var(--accent-primary);
  background-color: rgba(37, 99, 235, 0.08);
}

.trigger-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-soft);
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--accent-primary);
  color: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
  padding: 0 40px 32px 40px;
}

.feature-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.feature-tag:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.1);
}

/* Responsive Styles for Accordion */
@media (max-width: 768px) {
  .accordion-trigger {
    padding: 18px 20px;
  }
  .accordion-content-inner {
    padding: 0 20px 24px 20px;
  }
  .feature-tag {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Accordion Demo CTA Banner */
.accordion-demo-cta {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(37, 99, 235, 0.02);
  border: 1px dashed rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s ease;
}

.accordion-demo-cta:hover {
  background: rgba(37, 99, 235, 0.04);
  border-color: var(--accent-primary);
}

.accordion-demo-cta span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.accordion-demo-cta .cta-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.accordion-demo-cta .cta-link svg {
  transition: transform 0.2s ease;
}

.accordion-demo-cta .cta-link:hover {
  color: #1d4ed8;
}

.accordion-demo-cta .cta-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .accordion-demo-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }
  .accordion-demo-cta span {
    font-size: 13px;
  }
  .accordion-demo-cta .cta-link {
    font-size: 13px;
  }
}

.accordion-demo-cta .cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.accordion-demo-cta .cta-link-secondary {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 99px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.accordion-demo-cta .cta-link-secondary:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.03);
}

@media (max-width: 768px) {
  .accordion-demo-cta .cta-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
  .accordion-demo-cta .cta-link-secondary {
    font-size: 13px;
    padding: 6px 14px;
  }
}







