/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Japanese Language Overrides (desktop only) */
@media (min-width: 993px) {
  :lang(ja) {
    font-family: 'Outfit', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* Design Tokens & Variables */
:root {
  --font-primary: 'Outfit', 'Noto Sans KR', sans-serif;
  
  /* Color Palette */
  --primary: #0067d4;
  --primary-rgb: 0, 103, 212;
  --primary-hover: #0056b3;
  --primary-light: #e6f0fa;
  
  --dark: #121316;
  --dark-rgb: 18, 19, 22;
  --dark-card: #1c1d22;
  --dark-hover: #25272e;
  
  --light-bg: #f5f6f9;
  --white: #ffffff;
  --black: #000000;
  
  /* Text Colors */
  --text-main: #1f2125;
  --text-muted: #5e6675;
  --text-light: #f9fafb;
  --text-light-muted: #abb1be;
  
  /* Spacing & Layout */
  --header-height: 90px;
  --header-shrink-height: 70px;
  --container-width: 1400px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadow & Glass */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Disable hover effects during scroll to prevent accidental highlights */
body.disable-hover,
body.disable-hover * {
  pointer-events: none !important;
}

/* Always keep header interactive even during scroll-disable */
body.disable-hover .main-header,
body.disable-hover .main-header * {
  pointer-events: auto !important;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

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

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: #cdd2da;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aab2bd;
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

.main-header.scrolled {
  height: var(--header-shrink-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ───────────────────────────────────────────
   PC Layout: 로고(좌) | 메뉴(중앙) | 우측버튼
─────────────────────────────────────────── */
.nav-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Logo — 왼쪽 고정 */
.logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.5px;
  user-select: none;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.logo-accent {
  position: relative;
  display: inline-block;
  color: var(--black);
}

/* Parallelogram Accent on the L of VIEWTEL */
.logo-accent::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  transform: skewX(-20deg);
}

.logo img {
  height: 40px;
  margin-right: 12px;
}

/* Nav Menu — PC: 절대 중앙 배치 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Header Right — 오른쪽 고정 */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 1;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background-color: #7b7e83;
  border-radius: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--white);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.lang-selector:hover {
  background-color: var(--light-bg);
  border-color: rgba(0, 0, 0, 0.15);
}

.lang-selector img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.lang-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 10px;
  transition: var(--transition-fast);
}

.lang-selector.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  width: 110px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10100;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.lang-dropdown.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.lang-option {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  text-align: left;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.lang-option.active {
  background-color: var(--primary);
  color: var(--white);
}

/* Hamburger — PC에서는 숨김 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 10001;
  flex-shrink: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--black);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Hero Background Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.5s ease-in-out, transform 6.5s linear;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-slider .slide:nth-child(1) { background-image: url('../images/main4.jpg'); }
.hero-slider .slide:nth-child(2) { background-image: url('../images/main5.png'); }
.hero-slider .slide:nth-child(3) { background-image: url('../images/main6.jpg'); }
.hero-slider .slide:nth-child(4) { background-image: url('../images/main7.png'); }

/* Dark gradient overlay & digital network mesh effect */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10;
  pointer-events: none;
}

.hero-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* CSS Network particles wrapper */
.hero-network {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px),
                    radial-gradient(rgba(0, 103, 212, 0.3) 2px, transparent 2px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  z-index: 1;
  animation: bgScroll 60s linear infinite;
}

@keyframes bgScroll {
  from { background-position: 0 0, 20px 20px; }
  to { background-position: 1000px 1000px, 1020px 1020px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 30px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.hero-logo-wrapper {
  display: grid;
  grid-template-areas: "logo";
  place-items: center;
  width: 100%;
}

.hero-logo {
  grid-area: logo;
  width: 150%;
  max-width: 1200px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

@media (min-width: 992px) {
  .hero-logo {
    max-width: 1500px;
  }
}

.hero-logo.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo span {
  position: relative;
  display: inline-block;
}

.hero-logo span::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -24px;
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  transform: skewX(-20deg);
  box-shadow: 0 0 20px rgba(0, 103, 212, 0.6);
}

.hero-tagline-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  position: absolute;
  top: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
}

.hero-tagline.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 103, 212, 0.4);
  transition: var(--transition-normal);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
  transform: translateY(40px);
}

.hero-btn:hover {
  transform: translateY(-4px);
  background-color: var(--primary-hover);
  box-shadow: 0 15px 30px rgba(0, 103, 212, 0.6);
}

.hero-btn i {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.hero-btn:hover i {
  transform: translateX(4px);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--white);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Section Wrapper */
.section {
  padding: 120px 0;
}

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

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

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

/* Main Media Slider Section */
.media-section {
  padding: 120px 0;
  background-color: var(--light-bg);
}

.media-slider-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.media-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.media-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 16px;
}

.media-tab {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  position: relative;
  transition: var(--transition-fast);
}

.media-tab::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.media-tab.active {
  color: var(--primary);
}

.media-tab.active::after {
  width: 100%;
}

.media-text-content {
  min-height: 200px;
}

.media-info {
  display: none;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.media-info.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.media-info-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  line-height: 1.3;
}

.media-info-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  word-break: keep-all;
}

.media-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.btn-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 103, 212, 0.2);
  transition: var(--transition-fast);
}

.btn-media:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 103, 212, 0.3);
}

.btn-media-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-media-outline:hover {
  background-color: var(--light-bg);
  border-color: var(--text-main);
}

/* Media Right Visual Frame */
.media-right {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: transparent;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
  border: none;
}

.media-visual-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
}

.media-visual-item.active {
  opacity: 1;
  visibility: visible;
}

.media-visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  border: none;
  outline: none;
}

.media-visual-item.active img {
  transform: scale(1.05);
}

/* Play Overlay Button for beauty device or demo */
.media-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.media-right:hover .media-play-overlay {
  opacity: 1;
  visibility: visible;
}

.play-btn {
  width: 72px;
  height: 72px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}

.media-right:hover .play-btn {
  transform: scale(1.1);
  background-color: var(--primary);
}

.media-right:hover .play-btn::after {
  border-color: transparent transparent transparent var(--white);
}

/* Three Column Value Section */
.value-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.value-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 103, 212, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.value-section .section-title {
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background-color: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 103, 212, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 103, 212, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card-top {
  position: relative;
  z-index: 2;
}

.value-card-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-card-title {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.3;
  word-break: keep-all;
}

.value-card-desc {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.7;
  word-break: keep-all;
}

/* Image Container in Cards */
.value-card-visual {
  height: 160px;
  border-radius: var(--border-radius-md);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  background-color: #2b2e36;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2;
}

/* Default card placeholder representations when actual images are loaded */
.value-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition-normal);
}

.value-card:hover .value-card-visual img {
  transform: scale(1.08);
  opacity: 1;
}

/* Custom Visuals for cards if images are not fully visible/available */
.visual-tech {
  background: linear-gradient(135deg, #1d2b40 0%, #111b2b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-world {
  background: linear-gradient(135deg, #2f2547 0%, #161026 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-challenge {
  background: linear-gradient(135deg, #1b3530 0%, #0a1b18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG graphics overlay on card visuals */
.visual-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.15;
  stroke: var(--white);
  stroke-width: 1;
  fill: none;
  pointer-events: none;
  transition: var(--transition-normal);
}

.value-card:hover .visual-svg {
  opacity: 0.3;
  transform: scale(1.1);
}

/* Product Gallery (Viewderma) */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 103, 212, 0.1);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  background-color: #eeeeee;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.product-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  word-break: keep-all;
  min-height: 84px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.product-link i {
  transition: transform var(--transition-fast);
}

.product-card:hover .product-link {
  color: var(--primary-hover);
}

.product-card:hover .product-link i {
  transform: translateX(4px);
}

/* Call To Action / Contact Preview */
.cta-section {
  background-color: var(--white);
  padding: 100px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 80px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 103, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-button {
  position: relative;
  z-index: 2;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  transition: var(--transition-fast);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: var(--light-bg);
}

/* Footer Section */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px 0 30px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-logo span {
  position: relative;
  display: inline-block;
}

.footer-logo span::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -8px;
  width: 8px;
  height: 8px;
  background-color: var(--white);
  transform: skewX(-20deg);
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

.footer-info-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-info-item strong {
  color: var(--white);
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 66px;
}

.footer-phone {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-phone-link {
  color: var(--white);
  text-decoration: none;
}

.footer-phone-note {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  line-height: 1.4;
  word-break: keep-all;
}

.footer-phone strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-hours {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-hours strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}

.footer-hours-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -4px;
}

.footer-link-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-link-item:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-link-divider {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

/* Scroll To Top Button */
.scroll-top-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition-fast);
}

.scroll-top-btn:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-4px);
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 103, 212, 0.4);
    border-color: var(--primary);
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 103, 212, 0);
    border-color: var(--primary);
    transform: translateY(-4px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 103, 212, 0);
    transform: translateY(0);
  }
}

.solution-detail-col.highlight-pulse {
  animation: pulseHighlight 1.5s ease-in-out;
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════
   Responsive Styles
═══════════════════════════════════════════ */

/* 1200px 이하: 메뉴 간격 축소 */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 28px;
  }
  .media-slider-container {
    padding: 40px;
    gap: 40px;
  }
  .value-grid { gap: 20px; }
  .value-card { padding: 30px; min-height: 450px; }
  .product-gallery { gap: 20px; }
}

/* ───────────────────────────────────────────
   모바일 (≤ 992px)
   헤더: [로고] ──────── [버튼][언어] [햄버거]
   메뉴: 오른쪽에서 슬라이드인 (full-screen)
─────────────────────────────────────────── */
@media (max-width: 992px) {
  :root {
    --header-height: 64px;
  }

  /* nav-container: flex, 아이템 간격 자동 */
  .nav-container {
    padding: 0 20px;
    gap: 0;
  }

  .logo {
    font-size: 21px;
    flex-shrink: 0;
  }

  /* 모바일에서 슬라이더 화살표 숨김 */
  .hero-nav {
    display: none;
  }

  /* 햄버거 표시 */
  .hamburger {
    display: flex;
    margin-left: 12px;
  }

  /* 우측 버튼 영역 */
  .header-right {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
    z-index: 10000;
  }

  .header-buttons .header-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .lang-selector {
    padding: 6px 10px;
    gap: 5px;
  }

  .lang-selector img {
    width: 15px;
    height: 15px;
  }

  .lang-text {
    font-size: 13px;
  }

  /* 모바일 메뉴 — 오른쪽 밖에서 슬라이드 */
  .nav-menu {
    /* PC absolute 초기화 */
    position: fixed;
    top: var(--header-height);
    left: 100%;          /* 처음엔 화면 오른쪽 밖 */
    transform: none;     /* PC translateX 초기화 */
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 48px 36px;
    gap: 36px;
    transition: left var(--transition-normal);
    z-index: 9999;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
  }

  /* 열린 상태 */
  .nav-menu.active {
    left: 0;
    transform: none;
  }

  .nav-link {
    font-size: 20px;
    font-weight: 600;
  }

  /* 모바일에서 드롭다운 메뉴 스타일 */
  .nav-item.dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
    display: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
  }

  /* ─── 나머지 레이아웃 ─── */
  .hero-logo { font-size: 56px; }

  .media-slider-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
  }

  .value-card { min-height: auto; }

  .product-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
  }

  .cta-box {
    flex-direction: column;
    gap: 28px;
    text-align: center;
    padding: 36px;
  }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-right { margin-top: 0; }
  .footer-info-grid { grid-template-columns: 1fr; }

  /* Japanese mobile: proper typography & line-break rules for Japanese */
  :lang(ja) {
    font-family: 'Outfit', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  :lang(ja) .hero-tagline,
  :lang(ja) .media-info-desc,
  :lang(ja) .value-card-desc,
  :lang(ja) .product-title,
  :lang(ja) .product-desc,
  :lang(ja) .cta-desc,
  :lang(ja) .cta-title,
  :lang(ja) .section-title,
  :lang(ja) .media-info-title {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  :lang(ja) .media-tab {
    font-size: 15px;
    padding: 8px 10px;
    line-height: 1.3;
  }
}

@media (max-width: 576px) {
  .nav-container {
    padding: 0 12px;
  }
  .logo {
    font-size: 19px;
  }
  .logo-accent::after {
    top: -1px;
    right: -6px;
    width: 6px;
    height: 6px;
  }
  .header-right {
    margin-right: 4px;
    gap: 4px;
  }
  .header-buttons .header-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
  .lang-selector {
    padding: 5px 6px;
    font-size: 12px;
  }
  .lang-selector img {
    width: 14px;
    height: 14px;
  }
  .lang-arrow {
    font-size: 8px;
  }
  .hero-logo {
    font-size: 48px;
  }
  .hero-logo span::after {
    top: -4px;
    right: -14px;
    width: 14px;
    height: 14px;
  }
  .hero-tagline {
    font-size: 16px;
    white-space: normal;
    text-align: center;
    width: 90%;
    line-height: 1.5;
  }
  .hero-tagline-wrapper {
    height: auto;
    min-height: 60px;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 30px;
  }
  .media-slider-container {
    padding: 24px;
  }
  .media-info-title {
    font-size: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  :lang(ja) .header-buttons .header-btn {
    font-size: 10px;
    padding: 5px 6px;
    letter-spacing: -0.02em;
  }

  :lang(ja) .media-tab {
    font-size: 14px;
    padding: 6px 8px;
  }

  :lang(ja) .lang-text {
    font-size: 12px;
  }
}

/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */

/* Subpage Header Banner */
.about-page {
  padding-top: var(--header-height);
}

.subpage-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2230 100%);
  color: var(--white);
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.7;
}

.subpage-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

.subpage-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* About Intro Section */
.about-intro-section {
  background-color: var(--white);
  padding: 100px 0 80px 0;
}

.about-intro-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-intro-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
}

.about-intro-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-muted);
  word-break: keep-all;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

/* CEO'S MESSAGE Section */
.ceo-section {
  background-color: var(--light-bg);
  padding: 100px 0;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.ceo-left-box {
  border: 5px solid #ff3333;
  padding: 40px 30px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.ceo-left-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #e60000;
}

.ceo-box-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  text-align: left;
  letter-spacing: -0.5px;
}

.ceo-right-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ceo-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ceo-msg-p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  word-break: keep-all;
}

.ceo-signature {
  align-self: flex-end;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

/* BUSINESS AREA Section */
.business-area-section {
  background-color: var(--light-bg);
  padding: 100px 0;
}

.business-title-container {
  text-align: center;
  margin-bottom: 65px;
}

.business-area-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.business-diagram-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.network-svg {
  width: 100%;
  max-width: 650px;
  height: auto;
  overflow: visible;
}

/* SVG Styling */
.net-line {
  stroke: rgba(0, 103, 212, 0.25);
  stroke-width: 1.5px;
  transition: var(--transition-normal);
}

.net-line-main {
  stroke: rgba(0, 103, 212, 0.45);
  stroke-width: 2.5px;
}

.net-node-group {
  cursor: pointer;
}

.net-node-bg {
  fill: var(--white);
  stroke: var(--primary);
  stroke-width: 2px;
  transition: var(--transition-fast);
}

.net-node-core {
  fill: var(--primary);
  transition: var(--transition-fast);
}

.net-node-outer {
  fill: rgba(0, 103, 212, 0.15);
  stroke: rgba(0, 103, 212, 0.3);
  stroke-width: 1px;
  transition: var(--transition-normal);
  animation: pulseNode 3s infinite ease-in-out;
}

.net-node-outer-2 {
  animation-delay: 1.5s;
}

.net-label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  fill: #225f9e;
  text-anchor: middle;
  transition: var(--transition-fast);
}

/* Interactive Hover States */
.net-node-group:hover .net-node-bg {
  stroke: var(--primary-hover);
  fill: var(--primary-light);
  r: 10px;
}

.net-node-group:hover .net-node-core {
  fill: var(--primary-hover);
  r: 6px;
}

.net-node-group:hover .net-node-outer {
  fill: rgba(0, 103, 212, 0.25);
  stroke: rgba(0, 103, 212, 0.5);
  r: 25px;
}

.net-node-group:hover ~ .net-line {
  stroke: rgba(0, 103, 212, 0.5);
  stroke-width: 2px;
}

.net-node-group:hover .net-label {
  fill: var(--primary-hover);
  font-weight: 700;
  font-size: 15px;
}

@keyframes pulseNode {
  0% {
    r: 14px;
    opacity: 0.3;
  }
  50% {
    r: 22px;
    opacity: 0.6;
  }
  100% {
    r: 14px;
    opacity: 0.3;
  }
}

/* Responsiveness for About Page */
@media (max-width: 992px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .ceo-left-box {
    max-width: 280px;
  }

  .ceo-right-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .subpage-title {
    font-size: 36px;
  }

  .about-intro-title {
    font-size: 28px;
  }

  .about-intro-text {
    font-size: 16px;
  }

  .ceo-section-title {
    font-size: 28px;
  }

  .ceo-left-box {
    max-width: 240px;
  }

  .ceo-box-text {
    font-size: 22px;
  }

  .business-area-title {
    font-size: 28px;
  }

  .net-label {
    font-size: 12px;
  }
}

/* Management Philosophy Section */
.philosophy-section {
  background-color: var(--white);
  padding: 40px 0 100px 0;
}

.philosophy-container {
  max-content-width: 900px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.philosophy-badge-container {
  margin-bottom: -18px;
  position: relative;
  z-index: 2;
}

.philosophy-badge {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 10px 32px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.philosophy-content-box {
  background-color: #c2a383;
  padding: 50px 60px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}

.philosophy-list li {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
}

.philosophy-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: var(--white);
  margin-right: 20px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .philosophy-section {
    padding: 30px 0 80px 0;
  }
  .philosophy-content-box {
    padding: 40px 30px;
  }
  .philosophy-list li {
    font-size: 15px;
  }
  .philosophy-badge {
    font-size: 18px;
    padding: 8px 24px;
  }
}

/* Vision & Mission Section */
.vision-mission-section {
  background-color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.vm-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vm-left {
  align-items: flex-start;
  text-align: left;
}

.vm-right {
  align-items: flex-end;
  text-align: right;
  margin-top: 100px;
}

.vm-title {
  font-size: 44px;
  font-weight: 800;
  color: #4a4a4a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1.2;
}

.vm-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.85;
  word-break: keep-all;
  max-width: 480px;
  font-weight: 400;
}

.vm-desc-highlight {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.8;
  word-break: keep-all;
  margin-bottom: 12px;
}

.vm-desc-highlight:last-child {
  margin-bottom: 0;
}

.vm-desc-highlight strong {
  font-weight: 700;
  color: var(--black);
}

.vm-mission-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.vm-slogan-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slogan-box {
  background-color: var(--primary);
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  padding: 16px 80px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 103, 212, 0.15);
  letter-spacing: 0.5px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  word-break: keep-all;
}

.slogan-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 103, 212, 0.3);
}

/* Responsiveness */
@media (max-width: 992px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 600px;
    margin-bottom: 80px;
  }
  
  .vm-left, .vm-right {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }
  
  .vm-left .vm-title, .vm-right .vm-title {
    text-align: center;
  }
  
  .vm-mission-content {
    align-items: center;
  }
  
  .vm-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .vision-mission-section {
    padding: 80px 0;
  }
  .vm-title {
    font-size: 36px;
  }
  .vm-desc {
    font-size: 16px;
  }
  .vm-desc-highlight {
    font-size: 16px;
  }
  .slogan-box {
    font-size: 20px;
    padding: 12px 40px;
  }
}

/* ==========================================================================
   Contact Us Page Specific Styles
   ========================================================================== */

.contact-page {
  padding-top: var(--header-height);
}

.contact-form-section {
  background-color: var(--light-bg);
  padding: 100px 0;
}

.form-wrapper {
  max-width: 750px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.form-required-star {
  color: #ff3333;
  margin-left: 4px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--light-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-fast);
  scroll-margin-top: 120px;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 103, 212, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  cursor: pointer;
  user-select: none;
}

.form-checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
  scroll-margin-top: 120px;
}

.form-checkbox-label {
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.form-buttons {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}

.btn-form-submit {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 103, 212, 0.2);
  transition: var(--transition-fast);
}

.btn-form-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 103, 212, 0.3);
}

.btn-form-reset {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-form-reset:hover {
  background-color: var(--light-bg);
  border-color: var(--text-main);
  color: var(--text-main);
}

@media (max-width: 576px) {
  .form-wrapper {
    padding: 30px 20px;
  }
  .form-buttons {
    flex-direction: column;
  }
  .btn-form-submit, .btn-form-reset {
    width: 100%;
  }
}

/* ==========================================================================
   Terms of Service Page Styles
   ========================================================================== */

.terms-page {
  padding-top: var(--header-height);
}

.terms-main {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.terms-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom scrollbar for sidebar */
.terms-sidebar::-webkit-scrollbar {
  width: 4px;
}
.terms-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.terms-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
.terms-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

.sidebar-box {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

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

.sidebar-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
  padding-left: 16px;
}

.sidebar-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 700;
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.terms-intro-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  scroll-margin-top: 110px;
}

.terms-intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 500;
  word-break: keep-all;
}

.terms-article-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  scroll-margin-top: 110px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.terms-article-card:hover {
  border-color: rgba(0, 103, 212, 0.15);
  box-shadow: var(--shadow-md);
}

.terms-article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.terms-article-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 2px;
}

.terms-article-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.terms-article-body p {
  margin-bottom: 16px;
  word-break: keep-all;
}

.terms-article-body p:last-child {
  margin-bottom: 0;
}

.terms-list {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 20px;
  list-style-type: decimal;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-list-item {
  position: relative;
  line-height: 1.7;
}

.terms-sublist {
  margin-top: 8px;
  padding-left: 20px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-sublist-item::before {
  content: '•';
  color: var(--primary);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Terms & Privacy Table Styles */
.terms-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.terms-table th,
.terms-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.terms-table th {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.terms-table tr:last-child td {
  border-bottom: none;
}

.terms-table td {
  color: var(--text-muted);
}


@media (max-width: 992px) {
  .terms-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .terms-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  .sidebar-box {
    padding: 20px;
  }
  .sidebar-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .sidebar-menu {
    grid-template-columns: 1fr;
  }
  .terms-intro-card, .terms-article-card {
    padding: 30px 20px;
  }
  .terms-article-title {
    font-size: 18px;
  }
}

/* ==========================================================================
   Dropdown Navigation Styles
   ========================================================================== */

/* Top-level menu alignment (desktop only) */
@media (min-width: 993px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
  }
}

.nav-item.dropdown {
  position: relative;
  display: inline-block;
}

.nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
}



/* Dropdown Menu Box */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

/* Submenu container ("뷰텔 기술력") */
.dropdown-submenu {
  position: relative;
  width: 100%;
}

.submenu-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.submenu-arrow {
  font-size: 8px;
  transition: transform var(--transition-fast);
  opacity: 0.6;
}

.dropdown-submenu.open .submenu-arrow {
  transform: rotate(90deg);
  opacity: 1;
  color: var(--primary);
}

/* Submenu list - vertical accordion */
.submenu-list {
  position: static;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  margin-top: 0;
  margin-left: 12px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease, visibility 0.3s;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: auto;
}

.dropdown-submenu.open .submenu-list {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  margin-top: 4px;
}

.submenu-item {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.submenu-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

/* ==========================================================================
   CI Page Custom Styles
   ========================================================================== */

/* CI Intro Section */
.ci-intro-section {
  background-color: var(--white);
  padding: 80px 0 40px 0;
  text-align: center;
}

.ci-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* CI Logo Showcase */
.ci-logo-showcase {
  background-color: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.ci-logo-box {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-lg);
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.ci-logo-display {
  font-family: var(--font-primary);
  font-size: 72px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -2px;
  line-height: 1;
  position: relative;
  display: inline-block;
  user-select: none;
  margin-bottom: 40px;
}

.ci-logo-accent {
  position: relative;
  color: var(--black);
}

.ci-logo-accent::after {
  content: '';
  position: absolute;
  top: -12px;
  right: -24px;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  transform: skewX(-20deg);
}

.ci-logo-caption {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  text-align: center;
  line-height: 1.6;
}

/* CI Concept Meaning Section */
.ci-meaning-section {
  background-color: var(--light-bg);
  padding: 100px 0;
}

/* Section Title */
.ci-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 60px;
  position: relative;
}

.ci-section-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

/* Original diagram layout formula style */
.ci-formula-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 60px 50px;
  max-width: 1000px;
  margin: 0 auto 80px auto;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.ci-formula-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.ci-formula-item {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.ci-formula-keyword {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  width: 80px;
}

.ci-formula-subword {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
}

.ci-formula-divider {
  width: 2px;
  height: 100px;
  background-color: #e2e8f0;
}

.ci-formula-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 500;
  text-align: left;
}

.ci-formula-right p {
  position: relative;
  padding-left: 0;
}

/* Detailed Grid layout */
.ci-meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.ci-meaning-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 50px 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ci-meaning-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 103, 212, 0.1);
}

.ci-card-header {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--light-bg);
  width: 100%;
  padding-bottom: 15px;
}

.ci-card-title {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.ci-card-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
}

.ci-card-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Brand Colors Section */
.ci-colors-section {
  background-color: var(--white);
  padding: 100px 0;
}

.color-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.color-chip-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.color-chip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.color-swatch {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.color-swatch.primary {
  background-color: var(--primary);
}

.color-swatch.dark {
  background-color: var(--dark);
}

.color-swatch.white-color {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.color-swatch-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  z-index: 2;
}

.color-swatch.white-color .color-swatch-text {
  color: var(--dark);
  text-shadow: none;
}

.color-info-box {
  padding: 25px;
  background-color: var(--white);
}

.color-info-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.color-values {
  font-family: var(--font-primary);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.color-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

/* Responsive fixes for formula */
@media (max-width: 768px) {
  .ci-formula-card {
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
  }
  .ci-formula-divider {
    width: 100%;
    height: 1px;
  }
  .ci-meaning-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile Responsive Dropdowns (width <= 992px) */
@media (max-width: 992px) {
  .nav-menu {
    overflow-y: auto;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 40px 30px !important;
  }

  .nav-item.dropdown {
    width: 100%;
  }

  .nav-link.dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 16px !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }



  /* Dropdown Menu on Mobile is inline accordion */
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 6px;
    margin-left: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-in-out;
    background-color: transparent;
    gap: 2px;
    display: none;
    width: auto;
  }

  .nav-item.dropdown.open > .dropdown-menu {
    max-height: 1000px;
    display: flex;
  }

  .dropdown-item {
    font-size: 14px;
    padding: 8px 10px;
  }



  .submenu-item {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   Organization Page Specific Styles
   ========================================================================== */
.organization-page {
  padding-top: var(--header-height);
}

.org-section {
  background-color: var(--white);
  padding: 100px 0 120px 0;
  overflow: hidden;
}

.org-chart-viewport {
  width: 100%;
  overflow-x: auto;
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for org chart scroll */
.org-chart-viewport::-webkit-scrollbar {
  height: 6px;
}
.org-chart-viewport::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.org-chart-viewport::-webkit-scrollbar-thumb {
  background: #cdd2da;
  border-radius: 3px;
}

.org-chart-wrap {
  min-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Node boxes */
.org-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
  word-break: keep-all;
  min-width: 140px;
}

.org-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* CEO Node */
.node-ceo {
  background-color: #fff2cc;
  color: #000000;
  border: 2px solid #f86d6d;
  font-size: 18px;
  padding: 14px 40px;
  min-width: 180px;
}

.org-ceo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

/* Executive Level */
.org-exec-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.node-exec {
  background-color: #6d9eeb;
  color: var(--white);
  border: 1.5px solid #4a7ebb;
  min-width: 150px;
}

/* Management Level */
.org-mgmt-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.node-mgmt {
  background-color: #76a5af;
  color: var(--white);
  border: 1.5px solid #578a94;
  min-width: 180px;
}

/* main grid */
.org-main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 24px;
  width: 100%;
  align-items: start;
}

.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dept Node */
.node-dept {
  color: #111111;
  min-width: 150px;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1.5px solid #222;
}

.dept-rnd {
  background-color: #d9d2e9;
  border-color: #9f86c0;
}

.dept-sales {
  background-color: #d9ead3;
  border-color: #8cb87c;
}

.dept-as {
  background-color: #ead1dc;
  border-color: #c58ba6;
}

.dept-logistics {
  background-color: #d0e0e3;
  border-color: #8da9ad;
}

/* R&D sub grid */
.rnd-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.rnd-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* team node */
.node-team {
  background-color: #fce5cd;
  color: #111111;
  border: 1.5px solid #d99a5b;
  min-width: 100px;
  padding: 8px 12px;
  font-size: 14px;
}

/* Leaf nodes */
.org-leaf-nodes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: center;
}

.node-leaf {
  background-color: var(--white);
  color: #333333;
  border: 1px solid #111111;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  width: 100%;
  max-width: 110px;
  min-width: 90px;
  box-shadow: none;
}

.node-leaf:hover {
  background-color: #f5f6f9;
  transform: translateY(-1px);
}

/* Connector elements */
.org-arrow-red {
  color: #f86d6d;
  font-size: 16px;
  margin: 10px 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-exec-arrow {
  color: #f86d6d;
  font-size: 16px;
  margin: 0 0 15px 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-arrow-gray {
  color: #999999;
  font-size: 15px;
  margin: 10px 0;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.font-small {
  font-size: 14px;
}

/* Mobile responsive accordion or list structure or scale down */
@media (max-width: 992px) {
  .org-chart-wrap {
    min-width: 100%;
    transform: scale(0.9);
    transform-origin: top center;
  }
}

@media (max-width: 768px) {
  .org-chart-wrap {
    min-width: 100%;
    transform: scale(0.8);
    transform-origin: top center;
  }
}

/* ==========================================================================
   History Page Specific Styles
   ========================================================================== */
.history-page {
  padding-top: var(--header-height);
}

.history-section {
  background-color: var(--white);
  padding: 100px 0 120px 0;
}

.history-slogan-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.history-slogan-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.history-slogan-desc {
  font-size: 18px;
  color: var(--text-muted);
}

.simple-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

/* Thin vertical connector line behind dots */
.simple-timeline::before {
  content: '';
  position: absolute;
  left: 194px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background-color: #cbd5e1;
}

.timeline-row {
  display: flex;
  margin-bottom: 90px;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-year-col {
  width: 150px;
  font-size: 44px;
  font-weight: 800;
  color: #000000;
  line-height: 1;
  text-align: left;
  letter-spacing: -1px;
}

.timeline-dot-col {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}

.timeline-dot-col .dot {
  width: 6px;
  height: 6px;
  background-color: #000000;
  border-radius: 50%;
}

.timeline-events-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
}

.event-month {
  width: 70px;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  flex-shrink: 0;
}

.event-desc {
  color: #555555;
  font-weight: 500;
  word-break: keep-all;
}

.event-desc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .simple-timeline::before {
    display: none;
  }
  
  .timeline-row {
    flex-direction: column;
    margin-bottom: 70px;
  }
  
  .timeline-year-col {
    font-size: 36px;
    margin-bottom: 12px;
  }
  
  .timeline-dot-col {
    display: none;
  }
  
  .timeline-events-col {
    padding-top: 0;
  }
  
  .event-item {
    font-size: 15px;
  }
  
  .event-month {
    width: 60px;
  }
  
  .history-slogan-title {
    font-size: 28px;
  }
  
  .history-slogan-desc {
    font-size: 15px;
  }
}

/* ==========================================================================
   Directions / Contact Us Page Specific Styles
   ========================================================================== */
.directions-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 992px) {
  .directions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.direction-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.direction-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-iframe-container {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.direction-detail-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 15px;
  line-height: 1.6;
}

.direction-detail-label {
  font-weight: 700;
  color: var(--text-main);
}

.direction-detail-value {
  color: var(--text-muted);
}

/* ==========================================================================
   Competitiveness Page Specific Styles
   ========================================================================== */
.competitiveness-page {
  padding-top: var(--header-height);
}

.comp-hero-section {
  padding: 60px 0 40px 0;
  background-color: var(--white);
}

.comp-hero-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
}

.comp-hero-image-wrap:hover {
  transform: scale(1.02);
}

.comp-hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.comp-content-section {
  padding: 60px 0 100px 0;
  background-color: var(--light-bg);
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.comp-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 103, 212, 0.15);
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.comp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.comp-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.comp-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-card-item {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.comp-card-item::before {
  content: '\f00c'; /* FontAwesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 14px;
}

/* Responsive grid */
@media (max-width: 992px) {
  .comp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comp-card {
    padding: 25px;
  }
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */

.gallery-page {
  padding-top: var(--header-height);
}

.gallery-section {
  padding: 80px 0 120px 0;
  background-color: var(--light-bg);
}

.gallery-controls-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gallery-filter-btn {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 103, 212, 0.3);
}

.gallery-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-search-box {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.gallery-search-box input {
  width: 100%;
  padding: 12px 20px 12px 46px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 103, 212, 0.1), var(--shadow-sm);
}

.gallery-search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.gallery-sorting {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-sorting select {
  padding: 10px 24px 10px 16px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%235e6675' stroke-width='1.5'><path d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
}

.gallery-sorting select:focus {
  border-color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.gallery-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--dark);
}

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

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.06);
}

.gallery-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 103, 212, 0.2);
}

.gallery-card-badge.cat-tech {
  background-color: #6366f1; /* Indigo */
}

.gallery-card-badge.cat-activity {
  background-color: #10b981; /* Emerald */
}

.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-card:hover .gallery-img-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.gallery-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-like-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  padding: 4px 8px;
  border-radius: 4px;
}

.gallery-like-btn:hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.06);
}

.gallery-like-btn.liked {
  color: #ef4444;
}

.gallery-like-btn.liked i {
  font-weight: 900;
  animation: heartPop 0.3s ease-out;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.gallery-no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px dashed rgba(0,0,0,0.1);
}

.gallery-no-data i {
  font-size: 40px;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.gallery-no-data p {
  font-size: 16px;
  color: var(--text-muted);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.gallery-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--white);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.gallery-loadmore-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 103, 212, 0.2);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 19, 22, 0.9);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background-color: var(--dark-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-lightbox.active .gallery-lightbox-container {
  transform: scale(1);
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
}

.gallery-lightbox-close:hover {
  background-color: var(--primary);
}

.gallery-lightbox-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-lightbox-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 5;
}

.gallery-lightbox-btn:hover {
  background-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-prev {
  left: 20px;
}

.gallery-lightbox-next {
  right: 20px;
}

.gallery-lightbox-content {
  padding: 30px;
  color: var(--white);
}

.gallery-lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gallery-lightbox-badge-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-badge {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  background-color: var(--primary);
  border-radius: 20px;
  color: var(--white);
}

.gallery-lightbox-badge.cat-tech {
  background-color: #6366f1;
}

.gallery-lightbox-badge.cat-activity {
  background-color: #10b981;
}

.gallery-lightbox-date {
  font-size: 13px;
  color: var(--text-light-muted);
}

.gallery-lightbox-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.gallery-lightbox-desc {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .gallery-search-box {
    max-width: none;
  }
  
  .gallery-lightbox-container {
    width: 95%;
  }
  
  .gallery-lightbox-title {
    font-size: 20px;
  }
  
  .gallery-lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .gallery-lightbox-prev {
    left: 10px;
  }
  
  .gallery-lightbox-next {
    right: 10px;
  }
}

/* Overrides for Chinese and Japanese languages to fix word wrapping issues */
html[lang="zh"] *, html[lang="ja"] * {
    word-break: normal !important;
}
