/*
  MAOT Digital SHMS 2.0 Landing Page Style
  Premium High-Tech Dark Mode Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
  /* Color Palette - HSL Tailored for Tech & Safety */
  --bg-primary: hsl(222, 47%, 6%);       /* Very deep dark slate blue */
  --bg-secondary: hsl(222, 47%, 9%);     /* Dark slate blue card background */
  --bg-tertiary: hsl(217, 33%, 17%);     /* Lighter slate for inputs, borders */
  
  --color-primary: hsl(199, 89%, 48%);    /* Cyber Teal / Neon Cyan */
  --color-primary-glow: hsla(199, 89%, 48%, 0.35);
  
  --color-orange: hsl(20, 96%, 53%);      /* Safety Orange */
  --color-orange-glow: hsla(20, 96%, 53%, 0.35);
  
  --color-green: hsl(142, 71%, 45%);       /* Safe Green */
  --color-yellow: hsl(48, 96%, 53%);      /* Warning Yellow */
  --color-red: hsl(0, 84%, 60%);          /* Danger Red */

  --text-primary: hsl(210, 40%, 98%);     /* Warm White */
  --text-secondary: hsl(215, 20%, 65%);   /* Muted Light Gray */
  --text-muted: hsl(215, 16%, 47%);       /* Darker Muted Gray */
  
  --border-color: hsla(217, 33%, 25%, 0.5);
  --border-glass: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(13, 20, 35, 0.6);
  --shadow-glow: 0 0 20px var(--color-primary-glow);
  
  /* Fonts */
  --font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing & Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 한글은 글자 단위가 아닌 어절(단어) 단위로 줄바꿈 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #c2410c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Grid / Flex Layouts */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Frosted Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: hsla(199, 89%, 48%, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(14, 165, 233, 0.05);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, hsl(199, 89%, 38%) 100%);
  color: white;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-primary-glow), 0 0 15px var(--color-primary);
}

.btn-orange {
  background: linear-gradient(135deg, var(--color-orange) 0%, hsl(20, 96%, 43%) 100%);
  color: white;
  box-shadow: 0 4px 14px var(--color-orange-glow);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-orange-glow), 0 0 15px var(--color-orange);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.7);
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}
header.scrolled {
  padding: 0.75rem 0;
  background: rgba(9, 13, 22, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
header.scrolled .nav-container {
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.logo-tag {
  background: var(--color-orange);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(120, 200, 245, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 1;
}

#hero-interactive-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  /* 딥 네이비 그라디언트 배경: 완전 검정 인상을 없애고 뚜렷한 컬러 글로우를 부여 */
  background-color: hsl(220, 43%, 13%);
  background-image:
    radial-gradient(ellipse 85% 60% at 75% 12%, hsla(199, 89%, 50%, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 55% at 12% 88%, hsla(20, 96%, 52%, 0.15), transparent 60%),
    linear-gradient(180deg, hsl(220, 43%, 14%) 0%, hsl(222, 46%, 8%) 100%);
}

/* Background Glow Gradients */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  animation: pulse-glow 8s infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  animation: pulse-glow 12s infinite alternate-reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-badge {
  align-self: flex-start;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-badge span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Hero UI Mockup Illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  perspective: 1000px;
}
.mockup-screen {
  background: hsl(222, 47%, 12%);
  border: 4px solid var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.1);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: var(--transition-smooth);
}
.mockup-screen:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.mockup-header {
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-dots {
  display: flex;
  gap: 0.35rem;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-chart-widget {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
}
.widget-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.widget-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-orange);
}
.widget-bar-container {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.widget-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-orange) 100%);
  width: 78%;
  border-radius: 3px;
}

.mockup-alert-widget {
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 8px var(--color-orange);
  animation: pulse 1.5s infinite;
}
.alert-text {
  font-size: 0.8rem;
  font-weight: 500;
}

.mockup-chat-widget {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-bubble {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  max-width: 85%;
}
.chat-bubble.left {
  background: var(--bg-tertiary);
  align-self: flex-start;
  color: var(--text-primary);
}
.chat-bubble.right {
  background: var(--color-primary-glow);
  border: 1px solid rgba(14, 165, 233, 0.2);
  align-self: flex-end;
  color: var(--text-primary);
}

/* Pain Points (Problem) Section */
#problem {
  /* fallback 배경색을 오버레이 톤과 동일하게 맞춰 서브픽셀 밝은 선 방지 */
  background-color: #0d121c;
  /* 배경 사진 + 어두운 오버레이(흰 통계 텍스트 가독성 확보) */
  background-image:
    linear-gradient(180deg, rgba(13, 18, 28, 0.88) 0%, rgba(13, 18, 28, 0.80) 45%, rgba(13, 18, 28, 0.92) 100%),
    url('images/problem-band.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* CAD Technical Corner ticks for Cards */
.glass-card {
  position: relative;
}
.glass-card::before {
  content: '+';
  position: absolute;
  top: 8px;
  left: 8px;
  color: var(--color-primary-glow);
  font-family: monospace;
  font-size: 0.75rem;
}
.glass-card::after {
  content: '+';
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--color-primary-glow);
  font-family: monospace;
  font-size: 0.75rem;
}

.problem-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  position: relative;
}
.problem-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.stat-grid {
  margin-top: 4rem;
}
.stat-card {
  text-align: center;
  position: relative;
}
.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.stat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Solution Section */
.solution {
  position: relative;
  background-color: hsl(222, 47%, 2%);
  /* 배경 사진 + 좌→우 어두운 그라디언트(좌측 텍스트 가독성 우선) */
  background-image:
    linear-gradient(90deg, rgba(9, 13, 21, 0.95) 0%, rgba(9, 13, 21, 0.86) 50%, rgba(9, 13, 21, 0.70) 100%),
    url('images/solution-site.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.solution::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 70%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.04) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.solution-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 5rem;
  align-items: center;
}
.solution-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.solution-left h2 {
  font-size: 2.5rem;
}
.solution-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1rem;
}
.solution-feature-item {
  display: flex;
  gap: 1rem;
}
.feature-icon-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.feature-text-block h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.feature-text-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Architecture visual */
.arch-diagram {
  position: relative;
  width: 100%;
}
.arch-node {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--transition-smooth);
}
.arch-node:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}
.arch-arrow {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  animation: bounce-y 2s infinite;
}

/* Core Features Detailed Section */
#features {
  background-color: hsl(222, 35%, 8%);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.feature-detail-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  position: relative;
}
.feature-detail-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.feature-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}
.feature-detail-row:nth-child(even) {
  direction: rtl;
}
.feature-detail-row:nth-child(even) .feature-detail-content {
  direction: ltr;
}
.feature-detail-row:last-child {
  margin-bottom: 0;
}
.feature-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.05);
}
.feature-detail-icon.orange {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
  color: var(--color-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.05);
}
.feature-detail-title {
  font-size: 2.2rem;
}
.feature-detail-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}
.feature-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.feature-bullet-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--color-primary);
}

.feature-detail-visual {
  position: relative;
}

/* 실사 이미지 프레임 + 글래스 데이터 칩 오버레이 */
.feature-image-frame {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(14, 165, 233, 0.08);
  aspect-ratio: 4 / 3;
  /* 이미지 로드 전/실패 시 보이는 테마 플레이스홀더 */
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, hsla(199, 89%, 45%, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 85%, hsla(20, 96%, 48%, 0.10), transparent 62%),
    var(--bg-secondary);
}
.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-image-frame:hover .feature-image {
  transform: scale(1.04);
}
.feature-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 13, 22, 0.78) 100%);
  pointer-events: none;
}
.feature-float-chip {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  background: rgba(13, 20, 35, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
}
.chip-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.chip-bar {
  height: 5px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.chip-bar span {
  display: block;
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
}
.feature-float-chip.orange .chip-bar span {
  background: var(--color-orange);
}
.chip-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.feature-card-stack {
  position: relative;
  width: 100%;
  height: 380px;
}
.stack-card {
  position: absolute;
  width: 85%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}
.stack-card-1 {
  top: 0;
  left: 0;
  z-index: 3;
}
.stack-card-2 {
  top: 40px;
  left: 10%;
  z-index: 2;
  opacity: 0.7;
}
.stack-card-3 {
  top: 80px;
  left: 20%;
  z-index: 1;
  opacity: 0.4;
}
.feature-card-stack:hover .stack-card-1 { transform: translateY(-10px) rotate(-1deg); }
.feature-card-stack:hover .stack-card-2 { transform: translateY(10px) translateX(20px) rotate(1deg); opacity: 0.9; }
.feature-card-stack:hover .stack-card-3 { transform: translateY(30px) translateX(40px) rotate(2deg); opacity: 0.7; }

/* Interactive Demo Simulator Section */
.demo-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, hsl(222, 47%, 3%) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.demo-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
}
.demo-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.demo-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(14, 165, 233, 0.05);
}

.demo-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.demo-selector-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.demo-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 1.25rem;
  border-radius: var(--border-radius-sm);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-btn:hover {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.03);
}
.demo-btn.active {
  border-color: var(--color-primary);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}
.demo-btn-label {
  font-weight: 600;
  font-size: 1.05rem;
}
.demo-btn-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}
.demo-btn-arrow {
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.demo-btn.active .demo-btn-arrow {
  color: var(--color-primary);
  transform: translateX(5px);
}

.demo-display {
  background: hsl(222, 47%, 4%);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 480px;
  position: relative;
}

/* Loader in Demo */
.demo-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 13, 22, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.demo-loader.active {
  opacity: 1;
  pointer-events: auto;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(14, 165, 233, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}
.loader-text {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.demo-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}
.dashboard-title-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.dashboard-title-block p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.status-pill {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green);
}

.demo-results-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  flex-grow: 1;
}

.demo-risk-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  text-align: center;
}
.risk-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 10px solid var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}
.risk-value {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}
.risk-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.25rem;
}
.risk-status {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.demo-doc-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
}
.doc-panel-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
}
.doc-panel-body {
  font-size: 0.85rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.doc-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.doc-line-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.doc-line-value {
  color: var(--text-primary);
  font-weight: 500;
  white-space: pre-wrap;
}

/* Pricing Section */
#pricing {
  background-color: hsl(222, 28%, 10%);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.pricing-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  position: relative;
}
.pricing-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.pricing-grid {
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
}
.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.price-value-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}
.price-num {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}
.price-period {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.price-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 48px;
}
.price-divider {
  height: 1px;
  background: var(--border-glass);
  margin-bottom: 2rem;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.price-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.price-feature-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.price-feature-item.disabled {
  color: var(--text-muted);
}
.price-feature-item.disabled svg {
  color: var(--text-muted);
}

/* Trust & Partners Section */
.trust {
  background: hsl(222, 47%, 4%);
  border-top: 1px solid var(--border-glass);
}
.trust-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}
.trust-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  margin-top: 4rem;
  opacity: 0.65;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.partner-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}
.partner-logo {
  max-height: 38px;
  filter: grayscale(1) brightness(2);
}

/* Contact / Inquiry Form Section */
#contact {
  /* fallback 배경색을 오버레이 톤과 동일하게 맞춰 서브픽셀 밝은 선 방지 */
  background-color: #0a0e16;
  /* 배경 사진(안전한 귀가 CTA) + 어두운 오버레이(텍스트 가독성 확보) */
  background-image:
    linear-gradient(180deg, rgba(10, 14, 22, 0.90) 0%, rgba(10, 14, 22, 0.83) 50%, rgba(10, 14, 22, 0.93) 100%),
    url('images/cta-band.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.contact-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  position: relative;
}
.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-info-block p {
  color: var(--text-secondary);
}
.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin-top: 0.5rem;
}
.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-method-details h5 {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.contact-method-details p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Form Styles */
.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-submit-btn {
  width: 100%;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: -100px;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.1);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.active {
  bottom: 2rem;
}
.toast-icon {
  color: var(--color-primary);
}
.toast-text {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer Section */
footer {
  background: hsl(222, 47%, 2%);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 3rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-desc {
  max-width: 320px;
}
.footer-links-block h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}
.footer-link-item a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-info-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Mobile responsive media queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-badge, .hero-desc {
    align-self: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .feature-detail-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
  }
  .feature-detail-row:nth-child(even) {
    direction: ltr;
  }
  .feature-detail-visual {
    order: 2;
  }
  .feature-card-stack {
    height: 320px;
  }
  .demo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-logo-block {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .section-padding { padding: 5rem 0; }
  .hero-title { font-size: 2.75rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 1.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .burger {
    display: block;
  }
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  .demo-results-grid {
    grid-template-columns: 1fr;
  }
  .demo-display {
    min-height: 600px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-logo-block {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

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