/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* GM Brand Colors */
  --gm-blue: #002d5c;
  --gm-blue-light: #004b8d;
  --gm-silver: #8d9da7;
  --gm-accent: #e31837;

  --primary-color: #002d5c;
  --secondary-color: #e31837;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-light: #8d9da7;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #002d5c;
  --bg-darker: #001a35;
  --border-color: #e0e4e8;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: "Roboto", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  overflow-x: hidden;
}

/* Initial state: assume over hero section until scroll event fires */
.navbar:not(.scrolled) {
  /* Default to over-hero styling when not scrolled */
}

/* Show background on hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .navbar:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Show background when scrolled */
.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom-color: var(--border-color);
}

/* Keep background on hover when scrolled */
.navbar.scrolled:hover {
  background: var(--bg-white);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: brightness(0) saturate(100%);
}

/* Bright logo when over hero section (only when background is transparent) */
.navbar:not(.scrolled):not(:hover) .logo-img {
  filter: brightness(0) invert(1) !important;
}

.navbar.over-hero:not(.scrolled):not(:hover) .logo-img {
  filter: brightness(0) invert(1) !important;
}

/* Dark logo when background is white (hover or scrolled) */
@media (hover: hover) and (pointer: fine) {
  .navbar:hover .logo-img {
    filter: brightness(0) saturate(100%) !important;
  }

  .navbar:not(.scrolled):hover .logo-img {
    filter: brightness(0) saturate(100%) !important;
  }
}
.navbar.scrolled .logo-img {
  filter: brightness(0) saturate(100%) !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

/* Bright text when over hero section (only when background is transparent) */
.navbar:not(.scrolled):not(:hover) .nav-menu a {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.over-hero:not(.scrolled):not(:hover) .nav-menu a {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Dark text when background is white (hover or scrolled) - must come after :not(.scrolled) rules */
.navbar.scrolled .nav-menu a {
  color: var(--text-primary) !important;
  text-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .navbar:hover .nav-menu a {
    color: var(--text-primary) !important;
    text-shadow: none !important;
  }

  .navbar:not(.scrolled):hover .nav-menu a {
    color: var(--text-primary) !important;
    text-shadow: none !important;
  }

  .navbar.scrolled:hover .nav-menu a {
    color: var(--text-primary) !important;
    text-shadow: none !important;
  }
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Bright underline when over hero section (only when background is transparent) */
.navbar.over-hero:not(:hover):not(.scrolled) .nav-menu a::after {
  background: #ffffff;
}

/* Dark underline when background is white (hover or scrolled) */
.navbar:hover .nav-menu a::after,
.navbar.scrolled .nav-menu a::after {
  background: var(--primary-color);
}

/* Nav Buttons Container */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 20px;
}

/* Language Toggle Button */
.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

.language-toggle:hover {
  background: var(--primary-color);
  color: white !important;
}

.language-toggle:active {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  transition: none;
}

.language-toggle:focus {
  outline: none;
}

.language-toggle:focus:not(:active) {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Bright button when over hero section (only when background is transparent) */
.navbar:not(.scrolled):not(:hover) .language-toggle {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: transparent;
}

.navbar.over-hero:not(.scrolled):not(:hover) .language-toggle {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .navbar.over-hero:not(.scrolled) .language-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
  }
}

.navbar.over-hero:not(.scrolled) .language-toggle:active {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transition: none;
}

.navbar.over-hero:not(.scrolled) .language-toggle:focus:not(:active) {
  background: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Dark button when background is white (hover or scrolled) */
@media (hover: hover) and (pointer: fine) {
  .navbar:hover .language-toggle {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
  }

  .navbar:not(.scrolled):hover .language-toggle {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
  }
}
.navbar.scrolled .language-toggle {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent;
}

.navbar.scrolled .language-toggle:hover,
.navbar:hover .language-toggle:hover {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.navbar.scrolled .language-toggle:active,
.navbar:hover .language-toggle:active {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  transition: none;
}

.navbar.scrolled .language-toggle:focus:not(:active),
.navbar:hover .language-toggle:focus:not(:active) {
  background: transparent !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.language-toggle svg {
  width: 20px;
  height: 20px;
}

.language-label {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Bright hamburger when over hero section (only when background is transparent) */
.navbar:not(.scrolled):not(:hover) .hamburger span {
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar.over-hero:not(.scrolled):not(:hover) .hamburger span {
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Dark hamburger when background is white (hover or scrolled) */
@media (hover: hover) and (pointer: fine) {
  .navbar:hover .hamburger span {
    background: var(--primary-color) !important;
    box-shadow: none;
  }

  .navbar:not(.scrolled):hover .hamburger span {
    background: var(--primary-color) !important;
    box-shadow: none;
  }
}
.navbar.scrolled .hamburger span {
  background: var(--primary-color) !important;
  box-shadow: none;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Hero Background Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 100%;
  min-height: 100vh;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  z-index: 0;
  object-fit: cover;
  opacity: 1 !important;
  transition: opacity 0.5s ease;
  /* Hide video controls completely */
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  display: block !important;
  visibility: visible !important;
}

/* Hide all video controls and play buttons (Safari, Chrome, etc.) */
.hero-video::-webkit-media-controls {
  display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.hero-video::-webkit-media-controls-panel {
  display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-overlay-enclosure {
  display: none !important;
}

/* Hide native controls for all browsers */
.hero-video::-webkit-media-controls-overlay {
  display: none !important;
}

/* Additional Safari/iOS specific hiding */
.hero-video::-webkit-media-controls-timeline {
  display: none !important;
}

.hero-video::-webkit-media-controls-current-time-display {
  display: none !important;
}

.hero-video::-webkit-media-controls-time-remaining-display {
  display: none !important;
}

.hero-video::-webkit-media-controls-mute-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-volume-slider {
  display: none !important;
}

.hero-video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

.hero-video[data-error="true"] {
  /* Keep video visible even on error */
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

.hero-fallback-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--bg-darker) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.hero-video[data-error="true"] ~ .hero-fallback-bg {
  opacity: 1;
  display: block;
}

/* Dark Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3vw, 30px);
}

/* GM Logo Inline (왼쪽에 배치) - 검정 배경 제거 */
.hero-gm-logo-inline {
  width: clamp(60px, 10vw, 100px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 120, 212, 0.5));
  mix-blend-mode: lighten; /* 검정 배경 제거 - lighten 모드로 어두운 부분 투명하게 */
  background: transparent;
  opacity: 1;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* 검정 배경 제거 효과 향상을 위한 추가 설정 */
.hero-gm-logo-inline {
  /* lighten 모드: 검정색(0,0,0)은 투명하게, 밝은 색은 유지 */
  isolation: isolate; /* blend mode 범위 제한 */
}

/* Hero Text */
.hero-text {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -3px;
  color: #ffffff;
  font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
  text-transform: lowercase;
  display: inline-block;
  transform: translateY(-3px); /* 텍스트를 약간 위로 올림 */
}

/* EV Highlight in GM Blue - matching logo color */
.ev-highlight {
  color: #388bff; /* GM logo vibrant blue */
  font-weight: 700;
  text-shadow: 0 0 40px rgba(0, 102, 204, 0.8), 0 4px 40px rgba(0, 0, 0, 0.8);
}

.hero-title-sub {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-description {
  margin-top: 32px;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-full {
  width: 100%;
}

/* ===========================
   Section Styles
   =========================== */
section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-description {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-secondary);
  text-align: left;
}

/* ===========================
   Services Section
   =========================== */
.services {
  background: var(--bg-white);
  padding: 120px 0;
  scroll-snap-align: start;
  scroll-margin-top: 80px;
}

/* 모바일: services 섹션 상단 패딩 제거 */
@media (max-width: 768px) {
  .services {
    padding-top: 0;
  }
}

/* Services Section Fade In Animation */
.story-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.story-text .story-title,
.story-text .story-description,
.story-text .story-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.story-section.fade-in .story-text .story-title {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.story-section.fade-in .story-text .story-description {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.story-section.fade-in .story-text .story-link {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.story-image {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-section.fade-in .story-image {
  transition-delay: 0.2s;
  opacity: 1;
  transform: scale(1);
}

/* Story Section Layout */
.story-section {
  margin-bottom: 120px;
}

.story-section:last-child {
  margin-bottom: 0;
}

.story-content {
  display: grid;
  grid-template-columns: 2.5fr 2fr;
  gap: 100px;
  align-items: center;
  /* min-height: 600px; */
}

/* 텍스트 영역에 더 많은 공간 할당 */
.story-text-left .story-content {
  grid-template-columns: 2.5fr 2fr; /* 텍스트 왼쪽, 이미지 오른쪽 */
}

.story-image-left .story-content {
  grid-template-columns: 2fr 2.5fr; /* 이미지 왼쪽, 텍스트 오른쪽 */
}

.story-text {
  padding: 60px 40px 60px 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-title {
  font-size: clamp(28px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.5px;
  max-width: 100%;
  box-sizing: border-box;
}

.story-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gm-blue);
  text-decoration: none;
  transition: var(--transition);
}

.story-link:hover {
  color: var(--gm-blue-light);
  gap: 12px;
}

.story-link svg {
  transition: var(--transition);
}

.story-link:hover svg {
  transform: translateX(4px);
}

.story-image {
  position: relative;
  width: 100%;
  padding-bottom: 8%; /* 더 작은 이미지 사이즈 (약 12.5:1) */
  overflow: hidden;
  border-radius: 12px;
  align-self: stretch;
}

.story-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  border-radius: 12px;
}

.story-section:hover .story-img {
  transform: scale(1.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-light);
  padding: 48px 32px;
  border-radius: 24px;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gm-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gm-blue-light);
  transform: scale(1.05);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--bg-white);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ===========================
   Technology Section
   =========================== */
.technology {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  padding: 140px 0;
  scroll-snap-align: start;
}

.technology-content {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 60px;
  align-items: center;
  justify-items: start;
}

.technology-text {
  justify-self: end;
  padding-right: 20px;
}

.technology .section-title {
  color: var(--bg-white);
  margin-bottom: 24px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.technology .section-title .title-line {
  display: block;
}

.technology .section-title .zero-text,
.technology .section-title .title-line .zero-text,
.technology .section-title span.zero-text,
section.technology .section-title .zero-text,
section#innovation .section-title .zero-text {
  color: #0078d4 !important;
  font-weight: 700 !important;
}

.technology-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}

.technology-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tech-feature h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tech-feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

.technology-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.technology-visual {
  position: relative;
  height: 100%;
  width: 100%;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.technology-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  width: 100%;
}

.technology-stats-overlay .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  width: fit-content;
  max-width: 1000px;
  padding: 0 20px;
  margin: 0;
  place-items: center;
}

.technology-stats-overlay .stat-item {
  text-align: center;
}

.technology-stats-overlay .stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--bg-white);
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.technology-stats-overlay .stat-label {
  font-size: clamp(13px, 1.5vw, 16px);
  margin-top: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.tech-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(227, 24, 55, 0.15), transparent);
  animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(227, 24, 55, 0.2), transparent);
  animation: pulse 3s ease-in-out infinite 0.5s;
}

.circle-3 {
  width: 160px;
  height: 160px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(227, 24, 55, 0.25);
  animation: pulse 3s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.8;
  }
}

/* ===========================
   Stats Section
   =========================== */
.stats {
  background: linear-gradient(
    135deg,
    var(--gm-blue) 0%,
    var(--gm-blue-light) 100%
  );
  color: var(--bg-white);
  min-height: 60vh; /* 통계는 조금 작게 */
  display: flex;
  align-items: center;
}

.stats .stat-number {
  color: var(--bg-white);
}

.stats .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

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

.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 16px;
  margin-top: 8px;
  font-weight: 500;
}

/* ===========================
   About Section
   =========================== */
.about {
  background: var(--bg-light);
  scroll-snap-align: start;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about .section-title {
  margin-bottom: 24px;
}

.about-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-list {
  list-style: none;
  margin-bottom: 40px;
}

.about-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  font-size: 16px;
  font-weight: 500;
}

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

.about-image {
  position: relative;
}

.about-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

.about-image-img:active {
  cursor: grabbing;
}

.about-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  background: var(--bg-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-detail p {
  font-size: 16px;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===========================
   Thumbnail Carousel Section
   =========================== */
.thumbnail-carousel {
  padding: 100px 0;
  background: var(--bg-light);
  scroll-snap-align: start;
  scroll-margin-top: 80px;
}

.thumbnail-carousel-header {
  margin-bottom: 60px;
}

.thumbnail-carousel-header-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thumbnail-carousel-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.thumbnail-carousel-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  margin: 0;
}

.thumbnail-carousel-subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 400;
  color: #333;
}

.thumbnail-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.thumbnail-carousel-slides {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.thumbnail-slide {
  flex: 0 0 33.333%;
  width: 33.333%;
  max-width: 500px;
  padding: 0 10px;
  opacity: 0.5;
  position: relative;
  box-sizing: border-box;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 모바일: 3등분 레이아웃, 중앙에 현재 선택된 슬라이드 */
@media (max-width: 768px) {
  .thumbnail-carousel-wrapper {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .thumbnail-carousel-slides {
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .thumbnail-slide {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: none !important;
    padding: 0 5px !important;
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .thumbnail-slide.active {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: none !important;
    opacity: 1 !important;
    transform: scale(1.8) !important;
    z-index: 10;
  }

  /* 양 옆 슬라이드 */
  .thumbnail-slide:not(.active) {
    opacity: 0.3;
    transform: scale(0.7);
  }

  /* 모바일에서 YouTube 플레이 버튼 작게 */
  .youtube-play-button {
    width: 36px !important;
    height: 26px !important;
  }

  /* 모바일에서 영상 제목과 내용 숨기기 */
  .thumbnail-overlay {
    display: none !important;
  }
}

/* 현재 활성 슬라이드 - 크기 키우고 불투명하게 */
.thumbnail-slide.active {
  opacity: 1 !important;
  transform: scale(1.4);
  z-index: 10;
}

.thumbnail-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.thumbnail-item.youtube-item {
  text-decoration: none;
}

.thumbnail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 슬라이드 아이템 스타일 */
.thumbnail-slide .thumbnail-item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-slide .thumbnail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumbnail-item:hover .thumbnail-img {
  transform: scale(1.1);
}

/* YouTube Play Button */
.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.youtube-play-button svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.thumbnail-item:hover .youtube-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 0, 0, 0.9);
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 32px 24px 24px;
  color: #ffffff;
  transform: translateY(0);
  transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 0.95;
}

.thumbnail-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.thumbnail-description {
  display: none;
}

.thumbnail-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.thumbnail-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.thumbnail-nav-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

.thumbnail-nav-btn:active {
  transform: scale(0.95);
}

.thumbnail-nav-btn svg {
  width: 20px;
  height: 20px;
}

.thumbnail-carousel-counter {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--bg-white);
  padding: 80px 0 32px;
  scroll-snap-align: end;
  scroll-snap-stop: always;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  color: var(--bg-white);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 24px;
  height: 24px;
}

.footer-global-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(0.6);
  transition: var(--transition);
}

.footer-social-link:hover .footer-global-icon {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* ===========================
   Values Carousel Section
   =========================== */
.values-carousel {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #2a2a2a;
  overflow: hidden;
  padding: 0;
  scroll-snap-align: start;
  scroll-margin-top: 80px;
}

.carousel-header {
  background: #2a2a2a;
  padding: 80px 24px 60px;
  text-align: center;
}

.carousel-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-header-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: "Roboto", "Noto Sans KR", sans-serif;
}

.carousel-header-subtitle {
  font-size: clamp(16px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh - 300px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #2a2a2a;
  z-index: 1;
}

.carousel-slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  background-color: #2a2a2a;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9) translateX(100%);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
  background-color: #2a2a2a;
}

.carousel-slide.prev {
  transform: scale(0.85) translateX(-100%);
  opacity: 0.4;
  z-index: 0;
  visibility: visible;
}

.carousel-slide.active {
  opacity: 1 !important;
  transform: scale(1) translateX(0) !important;
  z-index: 2;
  visibility: visible;
}

.carousel-slide.next {
  transform: scale(0.85) translateX(100%);
  opacity: 0.4;
  z-index: 0;
  visibility: visible;
}

.carousel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  background-color: #2a2a2a;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.carousel-image-section {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
}

.carousel-image-section:empty {
  background: #2a2a2a;
}

.carousel-image-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 45, 92, 0.15) 30%,
    rgba(0, 45, 92, 0.4) 60%,
    rgba(0, 45, 92, 0.75) 85%,
    rgba(0, 45, 92, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.carousel-slide.active .carousel-image {
  transform: scale(1);
}

.carousel-text-section {
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--bg-darker) 100%);
  padding: 40px 60px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.carousel-text-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  bottom: 0;
  width: 60%;
  background: linear-gradient(
    to left,
    rgba(0, 45, 92, 1) 0%,
    rgba(0, 45, 92, 0.75) 15%,
    rgba(0, 45, 92, 0.4) 40%,
    rgba(0, 45, 92, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.carousel-text-section > * {
  position: relative;
  z-index: 1;
}

.carousel-text-section .carousel-text-kr {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-family: "Roboto", "Noto Sans KR", sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.carousel-text-section .carousel-text-en {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.4s;
}

.carousel-slide.active .carousel-text-section .carousel-text-kr,
.carousel-slide.active .carousel-text-section .carousel-text-en {
  opacity: 1;
  transform: translateY(0);
}

.carousel-text-section .carousel-description {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.6s;
  max-width: 100%;
}

.carousel-slide.active .carousel-text-section .carousel-description {
  opacity: 1;
  transform: translateY(0);
}

.carousel-btn {
  position: absolute;
  bottom: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a4a4a;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000 !important;
  transition: background-color 0.3s ease;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: auto;
}

.carousel-btn:hover {
  background: #5a5a5a;
  transform: scale(1.05);
}

.carousel-btn:active {
  transform: none;
}

.carousel-btn-prev {
  position: absolute;
  left: calc(50% - 100px);
  transform: translateX(-50%);
}

.carousel-btn-prev:hover {
  transform: translateX(-50%) scale(1.05);
}

.carousel-btn-prev:active {
  transform: translateX(-50%);
}

.carousel-btn-next {
  position: absolute;
  left: calc(50% + 100px);
  transform: translateX(-50%);
}

.carousel-btn-next:hover {
  transform: translateX(-50%) scale(1.05);
}

.carousel-btn-next:active {
  transform: translateX(-50%);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-counter {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4a4a4a;
  padding: 10px 20px;
  border-radius: 20px;
  color: #b0b0b0;
  font-size: 16px;
  font-weight: 600;
  z-index: 1000;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  justify-content: center;
  height: 48px;
  box-sizing: border-box;
}

.carousel-counter #carouselCurrent {
  color: #ffffff;
  font-weight: 600;
}

.carousel-counter #carouselTotal {
  color: #b0b0b0;
  font-weight: 500;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .story-content {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }

  .story-text {
    padding: 0 10px;
  }

  .story-title {
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.4;
  }

  .story-image {
    min-height: 300px;
    max-height: 350px;
  }

  .story-image-left .story-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .story-section {
    margin-bottom: 80px;
  }

  .thumbnail-carousel-slides {
    margin-bottom: 30px;
  }

  .thumbnail-carousel-nav {
    margin-top: 40px;
  }

  .thumbnail-slide {
    padding: 0 15px;
  }

  .technology-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .technology-text {
    justify-self: center;
    padding-right: 0;
    text-align: center;
  }

  .technology-visual {
    height: 400px;
  }

  .circle-1 {
    width: 320px;
    height: 320px;
  }
  .circle-2 {
    width: 220px;
    height: 220px;
  }
  .circle-3 {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .thumbnail-carousel {
    padding: 60px 0;
  }

  .thumbnail-carousel-header {
    margin-bottom: 40px;
  }

  .thumbnail-carousel-title {
    font-size: clamp(20px, 3.5vw, 28px);
  }

  .thumbnail-carousel-subtitle {
    font-size: clamp(18px, 3vw, 24px);
  }

  .thumbnail-carousel-wrapper {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .thumbnail-carousel-slides {
    margin-bottom: 50px;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .thumbnail-slide {
    padding: 0 5px !important;
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: none !important;
    opacity: 0.5;
  }

  .thumbnail-slide.active {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: none !important;
    opacity: 1 !important;
    transform: scale(1.6) !important;
  }

  .thumbnail-slide:not(.active) {
    opacity: 0.3;
    transform: scale(0.7);
  }

  /* 모바일에서 YouTube 플레이 버튼 작게 */
  .youtube-play-button {
    width: 36px !important;
    height: 26px !important;
  }

  .thumbnail-overlay {
    padding: 24px 20px 20px;
  }

  .thumbnail-title {
    font-size: 18px;
  }

  .thumbnail-description {
    font-size: 13px;
  }

  .technology-visual-wrapper {
    height: 500px;
  }

  .technology-visual {
    opacity: 0.2;
  }

  .technology-stats-overlay .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .carousel-header {
    padding: 60px 20px 40px;
  }

  .carousel-container {
    height: calc(100vh - 150px);
    min-height: 550px;
  }

  .carousel-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .carousel-text-section {
    padding: 20px 32px 40px 32px;
  }

  .carousel-text-section .carousel-text-kr {
    font-size: clamp(24px, 6vw, 36px);
  }

  .carousel-text-section .carousel-text-en {
    font-size: clamp(18px, 4vw, 28px);
    margin-bottom: 20px;
  }

  .carousel-text-section .carousel-description {
    font-size: clamp(13px, 2vw, 16px);
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    background: #4a4a4a;
    bottom: 24px;
  }

  .carousel-btn:hover {
    transform: none !important;
  }

  .carousel-btn-prev {
    left: calc(50% - 80px);
    transform: translateX(-50%) !important;
  }

  .carousel-btn-prev:hover {
    transform: translateX(-50%) !important;
  }

  .carousel-btn-prev:active {
    transform: translateX(-50%) !important;
  }

  .carousel-btn-next {
    left: calc(50% + 80px);
    transform: translateX(-50%) !important;
  }

  .carousel-btn-next:hover {
    transform: translateX(-50%) !important;
  }

  .carousel-btn-next:active {
    transform: translateX(-50%) !important;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .carousel-counter {
    bottom: 24px;
    padding: 8px 16px;
    font-size: 14px;
    min-width: 70px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    padding: 32px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 16px 0;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 80px 0;
  }

  .story-text {
    padding: 0 10px;
  }

  .story-title {
    font-size: clamp(24px, 5.5vw, 36px);
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .story-description {
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-social {
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-content {
    height: 64px;
  }

  .hero {
    margin-top: 64px;
  }

  .technology-visual-wrapper {
    height: 400px;
  }

  .technology-visual {
    opacity: 0.25;
  }

  .technology-stats-overlay .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .carousel-container {
    height: calc(100vh - 200px);
    min-height: 600px;
  }

  .carousel-btn-prev {
    left: 50%;
    transform: translateX(calc(-50% - 70px)) !important;
    width: 40px;
    height: 40px;
    background: #4a4a4a;
    bottom: 20px;
  }

  .carousel-btn-prev:hover {
    transform: translateX(calc(-50% - 70px)) !important;
  }

  .carousel-btn-prev:active {
    transform: translateX(calc(-50% - 70px)) !important;
  }

  .carousel-btn-next {
    left: 50%;
    transform: translateX(calc(-50% + 70px)) !important;
    width: 40px;
    height: 40px;
    background: #4a4a4a;
    bottom: 20px;
  }

  .carousel-btn-next:hover {
    transform: translateX(calc(-50% + 70px)) !important;
  }

  .carousel-btn-next:active {
    transform: translateX(calc(-50% + 70px)) !important;
  }

  .carousel-counter {
    bottom: 20px;
    padding: 8px 16px;
    font-size: 14px;
    min-width: 70px;
  }
}

/* ===========================
   YouTube Modal
   =========================== */
.youtube-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-x: hidden;
}

.youtube-modal.active {
  opacity: 1;
  visibility: visible;
}

.youtube-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.youtube-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.youtube-modal.active .youtube-modal-content {
  transform: scale(1);
}

.youtube-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background 0.2s ease;
  z-index: 10;
}

.youtube-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.youtube-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 24px 0;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.youtube-modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #000;
}

.youtube-modal-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-modal-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-play-button-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 2;
}

.youtube-play-button-large:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube-modal-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.youtube-modal-view-on {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.youtube-modal-view-on svg {
  width: 20px;
  height: 20px;
}

.youtube-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.youtube-modal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
  .youtube-modal {
    padding: 20px;
    box-sizing: border-box;
  }

  .youtube-modal-content {
    padding: 20px;
    width: 100%;
    max-width: 500px;
    transform: scale(1) !important;
    margin: 0;
    box-sizing: border-box;
  }

  .youtube-modal-title {
    font-size: 20px;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* ===========================
   Comprehensive Mobile Responsive Enhancements
   =========================== */

/* 768px 미디어 쿼리 보강 */
@media (max-width: 768px) {
  /* Hero 섹션 */
  .hero-content {
    padding: 40px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }

  .btn {
    width: 100%;
    padding: 14px 32px;
    font-size: 15px;
  }

  /* About 섹션 */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  /* Story 섹션 */
  .story-content {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .story-text {
    padding: 0;
    text-align: left;
  }

  .story-image {
    padding-bottom: 60%;
  }

  /* Services 섹션 */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .service-title {
    font-size: 20px;
  }

  .service-description {
    font-size: 14px;
  }

  /* Technology 섹션 */
  .technology {
    padding: 80px 0;
  }

  .technology-text {
    justify-self: center;
    padding-right: 0;
    text-align: center;
  }

  .technology-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .tech-feature h4 {
    font-size: 18px;
  }

  .tech-feature p {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 40px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-social {
    justify-content: center;
  }

  /* Thumbnail Carousel Header */
  .thumbnail-carousel-header-content {
    text-align: left;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .section-description {
    font-size: 16px;
  }
}

/* 480px 미디어 쿼리 보강 */
@media (max-width: 480px) {
  /* Hero 섹션 */
  .hero-content {
    padding: 30px 16px;
  }

  .hero-text {
    font-size: clamp(32px, 10vw, 48px);
  }

  .hero-title-sub {
    font-size: clamp(18px, 5vw, 24px);
  }

  .hero-description {
    font-size: 14px;
    margin-top: 24px;
  }

  /* Navigation */
  .logo-img {
    height: 32px;
  }

  .nav-content {
    height: 60px;
  }

  /* About 섹션 */
  .about-list {
    gap: 12px;
  }

  .about-list li {
    font-size: 14px;
    padding: 12px;
  }

  /* Story 섹션 */
  .story-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .story-description {
    font-size: 13px;
  }

  .story-link {
    font-size: 14px;
  }

  /* Services */
  .service-card {
    padding: 24px 20px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .service-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .service-description {
    font-size: 13px;
  }

  /* Technology */
  .technology {
    padding: 60px 0;
  }

  .technology-text {
    justify-self: center;
    padding-right: 0;
    text-align: center;
  }

  .technology .section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 20px;
  }

  .technology-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .technology-features {
    gap: 24px;
  }

  .tech-feature h4 {
    font-size: 16px;
  }

  .tech-feature p {
    font-size: 13px;
  }

  /* Stats */
  .stats {
    min-height: 50vh;
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .technology-stats-overlay .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 30px;
  }

  .footer-content {
    gap: 24px;
  }

  .footer-social {
    gap: 20px;
  }

  /* Section Padding */
  section {
    padding: 60px 0;
  }

  .story-section {
    margin-bottom: 60px;
  }

  /* Carousel */
  .carousel-text-section {
    padding: 15px 20px 30px 20px;
  }

  .carousel-text-section .carousel-text-en {
    font-size: clamp(16px, 5vw, 22px);
  }

  .carousel-text-section .carousel-description {
    font-size: 12px;
    line-height: 1.6;
  }

  /* Thumbnail Carousel */
  .thumbnail-carousel {
    padding: 40px 0;
  }

  .thumbnail-carousel-header {
    margin-bottom: 30px;
    padding: 0 16px;
  }

  .thumbnail-carousel-header-content {
    text-align: left !important;
  }

  .thumbnail-carousel-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .thumbnail-carousel-subtitle {
    font-size: clamp(16px, 4vw, 20px);
  }

  .thumbnail-overlay {
    padding: 16px 12px 12px;
  }

  .thumbnail-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .thumbnail-description {
    font-size: 11px;
  }

  /* YouTube Modal */
  .youtube-modal {
    padding: 16px;
    box-sizing: border-box;
  }

  .youtube-modal-content {
    padding: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    transform: scale(1) !important;
    margin: 0;
    box-sizing: border-box;
  }

  .youtube-modal-title {
    font-size: 18px;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .youtube-modal-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Buttons */
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* Scroll Indicator */
  .hero-scroll {
    bottom: 20px;
    font-size: 12px;
  }
}
