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

:root {
  /* Brand Colors - Pantone 165 C Orange & Pantone 4625 C Dark Brown */
  --primary: #FF671F; /* Pantone 165 C */
  --primary-hover: #E05315;
  --primary-light: rgba(255, 103, 31, 0.1);
  --primary-glow: rgba(255, 103, 31, 0.4);
  
  /* Backgrounds */
  --bg-orange: #FF671F; /* Pantone 165 C Background */
  --bg-orange-gradient: linear-gradient(135deg, #FF671F 0%, #E05315 100%);
  --bg-dark: #4F2C1D; /* Pantone 4625 C for dark sections & background blocks */
  --bg-card-light: #FFFFFF; /* High-contrast white cards on Orange */
  --bg-card-dark: #4F2C1D; /* High-contrast dark cards on Orange */
  
  /* Text Colors */
  --text-dark: #4F2C1D; /* Pantone 4625 C for major black/brown text on Orange/White */
  --text-light: #FDFBF9; /* Warm Bone White for text on Dark cards */
  --text-muted: rgba(79, 44, 29, 0.75); /* Muted Pantone 4625 C for light backgrounds */
  --text-muted-light: rgba(253, 251, 249, 0.7); /* Muted text for dark backgrounds */
  --accent-gold: #C5A880; /* Gold details */
  
  --border-color-dark: rgba(79, 44, 29, 0.15);
  --border-color-light: rgba(253, 251, 249, 0.12);
  --border-hover: #4F2C1D;
  
  --shadow-sm: 0 4px 10px rgba(79, 44, 29, 0.08);
  --shadow-md: 0 10px 30px rgba(79, 44, 29, 0.15);
  --shadow-lg: 0 20px 40px rgba(79, 44, 29, 0.25);
  
  --font-en: 'Outfit', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-orange-gradient);
  color: var(--text-dark);
  font-family: var(--font-kr);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1:lang(ko), h2:lang(ko), h3:lang(ko), h4:lang(ko) {
  font-family: var(--font-kr);
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #E05315;
}
::-webkit-scrollbar-thumb {
  background: rgba(79, 44, 29, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bg-dark);
}

/* Text Selection */
::selection {
  background-color: var(--bg-dark);
  color: #fff;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 103, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(79, 44, 29, 0.1);
  transition: var(--transition);
}

header.scrolled {
  padding: 8px 0;
  background: rgba(224, 83, 21, 0.95);
  box-shadow: 0 4px 20px rgba(79, 44, 29, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(20%) saturate(1500%) hue-rotate(340deg);
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  color: var(--bg-dark);
  letter-spacing: 0.1em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(79, 44, 29, 0.85);
  position: relative;
  padding: 8px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bg-dark);
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--bg-dark);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(79, 44, 29, 0.25);
}

.nav-cta:hover {
  background-color: transparent;
  border-color: var(--bg-dark);
  color: var(--bg-dark);
  box-shadow: none;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--bg-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  background: var(--bg-orange-gradient);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(79, 44, 29, 0.08) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.8;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 44, 29, 0.08);
  border: 1px solid rgba(79, 44, 29, 0.15);
  color: var(--bg-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--bg-dark);
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(79, 44, 29, 0.15);
}

.hero-desc {
  font-size: 18px;
  color: rgba(79, 44, 29, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 500;
  word-break: keep-all;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--bg-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 44, 29, 0.35);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: #3b2014;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(79, 44, 29, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
}

.btn-secondary:hover {
  background-color: rgba(79, 44, 29, 0.06);
  transform: translateY(-3px);
}

.hero-stats {
  margin-top: 60px;
  display: flex;
  gap: 60px;
  border-top: 1px solid rgba(79, 44, 29, 0.18);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--bg-dark);
}

.stat-value::after {
  content: '+';
  color: #fff;
  margin-left: 2px;
}

.stat-label {
  font-size: 14px;
  color: rgba(79, 44, 29, 0.8);
  margin-top: 4px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  opacity: 0;
  transform: scale(0.9) rotate(3deg);
  animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-visual-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-color-light);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 103, 31, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.visual-content {
  position: relative;
  z-index: 1;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 15px;
}

.visual-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.visual-status {
  width: 8px;
  height: 8px;
  background-color: #2ec4b6;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ec4b6;
}

.visual-mesh {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.visual-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 103, 31, 0.08) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 103, 31, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
}

.visual-circle {
  width: 140px;
  height: 140px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(255, 103, 31, 0.2);
  animation: pulseRotate 10s linear infinite;
}

.visual-circle-inner {
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.visual-core {
  position: absolute;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 15px var(--primary);
}

.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color-light);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}

.metric-num {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.metric-txt {
  font-size: 11px;
  color: var(--text-muted-light);
  margin-top: 4px;
}

/* Sections Base Styling */
section {
  padding: 120px 20px;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  max-width: 800px;
  margin-bottom: 80px;
}

.section-subtitle {
  font-family: var(--font-en);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.3;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--text-dark);
  word-break: keep-all;
}

.section-title span {
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(79, 44, 29, 0.15);
}

.section-desc {
  font-size: 16px;
  color: rgba(79, 44, 29, 0.95);
  max-width: 650px;
  font-weight: 500;
  word-break: keep-all;
}

/* Vision Section */
.vision-section {
  background-color: rgba(79, 44, 29, 0.05);
  border-top: 1px solid rgba(79, 44, 29, 0.08);
  border-bottom: 1px solid rgba(79, 44, 29, 0.08);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.vision-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vision-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--bg-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 44, 29, 0.25);
  box-shadow: var(--shadow-md);
}

.vision-card:hover::after {
  transform: scaleX(1);
}

.vision-icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  color: var(--primary);
}

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

.vision-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.vision-card p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  word-break: keep-all;
}

/* Patents Section */
.patents-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(79, 44, 29, 0.05);
  border: 1px solid rgba(79, 44, 29, 0.12);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 44, 29, 0.25);
}

.search-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(79, 44, 29, 0.2);
  padding: 12px 20px 12px 45px;
  border-radius: 30px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}

.search-input::placeholder {
  color: rgba(79, 44, 29, 0.6);
}

.search-input:focus {
  border-color: var(--bg-dark);
  background: rgba(255, 255, 255, 0.45);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(79, 44, 29, 0.7);
  pointer-events: none;
}

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

.patent-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.patent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 44, 29, 0.25);
  box-shadow: var(--shadow-md);
}

.patent-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.patent-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: #a37d45;
  background: rgba(197, 168, 128, 0.18);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.patent-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
}

.patent-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  word-break: keep-all;
}

.patent-title-en {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.patent-summary {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  word-break: keep-all;
}

.patent-footer {
  border-top: 1px solid rgba(79, 44, 29, 0.08);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.patent-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-muted);
}

.patent-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.patent-more svg {
  transition: var(--transition);
}

.patent-card:hover .patent-more svg {
  transform: translateX(4px);
}

/* Patent Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 10, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #23130C;
  border: 1px solid var(--border-color-light);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.modal-content {
  padding: 50px;
}

.modal-header {
  margin-bottom: 30px;
}

.modal-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: keep-all;
}

.modal-title-en {
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--text-muted-light);
  text-transform: uppercase;
}

.modal-body-section {
  margin-bottom: 35px;
}

.modal-section-title {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}

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

.modal-formula-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color-light);
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
  text-align: center;
  font-family: var(--font-en);
  font-style: italic;
  color: var(--primary);
  font-size: 18px;
}

.modal-formula-label {
  font-size: 11px;
  color: var(--text-muted-light);
  margin-top: 8px;
  text-align: center;
  font-style: normal;
}

/* Interactive AI Sandbox Section */
.sandbox-section {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.sandbox-section .section-title {
  color: #fff;
}

.sandbox-section .section-subtitle {
  color: var(--primary);
}

.sandbox-section .section-desc {
  color: var(--text-muted-light);
}

.sandbox-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.sandbox-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color-light);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sandbox-tab-btn svg {
  width: 18px;
  height: 18px;
}

.sandbox-tab-btn:hover, .sandbox-tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 103, 31, 0.35);
}

.sandbox-view {
  display: none;
  background: #3B2014; /* Slightly lighter Pantone 4625 C for nested simulator bg */
  border: 1px solid var(--border-color-light);
  border-radius: 28px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
}

.sandbox-view.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  animation: fadeIn 0.6s ease forwards;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.simulator-controls h3 {
  color: #fff;
}

.simulator-results {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-light);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.sim-input-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}

.sim-select, .sim-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color-light);
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.sim-select:focus, .sim-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.sim-select option {
  background-color: #3b2014;
  color: #fff;
}

.sim-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sim-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color-light);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted-light);
  transition: var(--transition);
}

.sim-checkbox-label input {
  accent-color: var(--primary);
}

.sim-checkbox-label.checked {
  border-color: var(--primary);
  background: var(--primary-light);
  color: #fff;
}

.sim-button {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.3);
  margin-top: 10px;
}

.sim-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 103, 31, 0.45);
}

/* Simulator Output Designs */
.score-circle-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 30px;
}

.score-svg {
  transform: rotate(-90deg);
}

.score-bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 10;
}

.score-fill-circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-value {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
}

.score-label {
  font-size: 12px;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sim-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sim-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted-light);
}

.sim-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.sim-bar-fill {
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}

/* Schedule Optimizer Output */
.fatigue-indicator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 25px;
}

.fatigue-gauge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color-light);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

.gauge-val {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
}

.gauge-val.safe { color: #2ec4b6; }
.gauge-val.warn { color: #ff9f1c; }
.gauge-val.danger { color: #e71d36; }

.gauge-lbl {
  font-size: 12px;
  color: var(--text-muted-light);
  margin-top: 6px;
}

.schedule-warning {
  margin-top: 24px;
  background: rgba(231, 29, 54, 0.1);
  border: 1px solid rgba(231, 29, 54, 0.3);
  padding: 15px 20px;
  border-radius: 12px;
  color: #ff4d6d;
  font-size: 13px;
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.schedule-warning.active {
  display: flex;
}

/* Global Strategy Recommendations list */
.rec-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rec-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color-light);
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.rec-item.show {
  opacity: 1;
  transform: translateX(0);
}

.rec-rank {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.rec-info {
  flex-grow: 1;
}

.rec-country {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.rec-strategy {
  font-size: 13px;
  color: var(--text-muted-light);
  margin-top: 4px;
}

.rec-score {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Brand Experience Section */
.brand-identity-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.brand-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.brand-showcase-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.brand-showcase-card:hover {
  border-color: rgba(79, 44, 29, 0.25);
  transform: translateY(-4px);
}

.showcase-img-box {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  background: rgba(79, 44, 29, 0.05);
  border-radius: 10px;
  padding: 10px;
}

.showcase-img-box img {
  max-height: 100%;
  width: auto;
  filter: brightness(0) saturate(100%) invert(20%) sepia(20%) saturate(1500%) hue-rotate(340deg);
}

.showcase-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.brand-text-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.35;
}

.brand-text-content p {
  color: rgba(79, 44, 29, 0.95);
  font-weight: 500;
  margin-bottom: 30px;
  font-size: 15px;
  word-break: keep-all;
}

.brand-guide-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--bg-dark);
  padding-bottom: 4px;
}

.brand-guide-download:hover {
  color: #fff;
  border-color: #fff;
}

/* Business Cards & Signboards Section */
.brand-assets-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.asset-box {
  background: var(--bg-card-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.asset-box:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 44, 29, 0.25);
  box-shadow: var(--shadow-md);
}

.asset-preview {
  height: 240px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.asset-preview img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.asset-box:hover .asset-preview img {
  transform: scale(1.05);
}

.asset-info {
  padding: 24px;
  border-top: 1px solid rgba(79, 44, 29, 0.08);
}

.asset-tag {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.asset-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Mockups Slider Component */
.mockups-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(79, 44, 29, 0.15);
  box-shadow: var(--shadow-md);
}

.mockups-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-slide {
  min-width: 100%;
  position: relative;
  background: #000;
}

.mockup-slide-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  opacity: 0.85;
}

.mockup-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.5) 60%, transparent 100%);
  padding: 60px 50px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mockup-slide-text h4 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.mockup-slide-text p {
  color: var(--text-muted-light);
  font-size: 14px;
}

.mockup-slider-nav {
  display: flex;
  gap: 12px;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color-light);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Contact Section */
.contact-section {
  background-color: rgba(79, 44, 29, 0.03);
  border-top: 1px solid rgba(79, 44, 29, 0.08);
}

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

.contact-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 44, 29, 0.05);
  border: 1px solid rgba(79, 44, 29, 0.12);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 14px;
  color: rgba(79, 44, 29, 0.85);
  font-weight: 500;
}

.contact-form-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 24px;
  padding: 50px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input, .form-textarea {
  background: rgba(79, 44, 29, 0.03);
  border: 1px solid rgba(79, 44, 29, 0.15);
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
}

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

.form-submit-btn {
  background-color: var(--bg-dark);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 44, 29, 0.3);
  margin-top: 10px;
}

.form-submit-btn:hover {
  background-color: #3b2014;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 44, 29, 0.4);
}

/* Footer Section */
footer {
  background-color: #1F100A; /* Dark brown footer base */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 20px 40px;
  color: var(--text-muted-light);
}

footer h3, footer h4 {
  color: #fff;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.footer-info-brand h3 {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-info-brand p {
  color: var(--text-muted-light);
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 24px;
  word-break: keep-all;
}

.footer-links-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-column ul li a {
  font-size: 14px;
  color: var(--text-muted-light);
}

.footer-links-column ul li a:hover {
  color: #fff;
}

.footer-patent-summary h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-patent-summary p {
  font-size: 13px;
  color: var(--text-muted-light);
  line-height: 1.6;
  word-break: keep-all;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-corporate-info {
  font-size: 12px;
  color: var(--text-muted-light);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  max-width: 900px;
}

.footer-corporate-info span {
  display: inline-block;
}

.copyright {
  font-size: 12px;
  color: var(--text-muted-light);
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Media Queries */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brand-identity-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-text-content {
    order: -1;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .nav-container {
    padding: 12px 24px;
  }
  
  .logo-img {
    height: 44px; /* Slightly smaller logo on tablet/mobile */
  }
  
  /* Hide standard header CTA and nav list */
  .nav-cta {
    display: none;
  }
  
  nav#main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(35, 19, 12, 0.98); /* Pantone 4625 C dark theme background */
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    padding: 30px 40px;
    z-index: 1000;
  }
  
  nav#main-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease forwards;
  }
  
  nav#main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  
  nav#main-nav ul li {
    width: 100%;
  }
  
  nav#main-nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  nav#main-nav ul li a:hover {
    color: var(--primary);
  }
  
  /* Add mobile cta style in mobile navigation menu */
  nav#main-nav::after {
    content: '협업 제안하기';
    display: inline-block;
    margin-top: 20px;
    background-color: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 83, 21, 0.3);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Transform Hamburger to X when active */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
  }
  
  .patents-grid {
    grid-template-columns: 1fr;
  }
  
  .sandbox-view.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .mockup-slide-img {
    height: 400px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0 !important; /* Balanced mobile section spacing */
  }
  
  .section-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  
  .section-subtitle {
    font-size: 11px !important;
  }
  
  .hero-content h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  
  .hero-content p {
    font-size: 15px !important;
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 28px !important;
  }
  
  .stat-item p {
    font-size: 11px !important;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-corporate-info {
    align-items: center;
    text-align: center;
    font-size: 11.5px !important;
    line-height: 1.8 !important;
  }
  
  .contact-form-card {
    padding: 24px 16px;
  }
  
  .sandbox-view {
    padding: 24px 16px;
  }
  
  .mockup-slide-img {
    height: 280px;
  }
  
  .mockup-slide-info {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .mockup-slide-text h4 {
    font-size: 16px !important;
  }
  
  .mockup-slide-text p {
    font-size: 12px !important;
  }
  
  /* Mobile Modal Optimization */
  .modal-container {
    margin: 15px;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .modal-content {
    padding: 30px 16px !important;
  }
  
  .modal-title {
    font-size: 20px !important;
    padding-right: 30px;
  }
  
  .modal-title-en {
    font-size: 11px !important;
  }
  
  .modal-close {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
  }
  
  .modal-formula-box {
    padding: 15px 10px !important;
    font-size: 13px !important;
  }
}

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