/* ---------- 성능 최적화 ---------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- 색상 팔레트 (CSS 변수) ---------- */
:root {
  /* 공통 */
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.25);
  --transition-fast: 0.18s ease-out;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  
  /* Font display optimization to prevent layout shift */
  font-display: swap;

  /* 메인 팔레트 - 다크 네이비 & 블루 계열 */
  --primary: #2563eb;
  --primary-soft: #3b82f6;
  --primary-strong: #1e40af;
  --secondary: #1e3a8a;
  --accent: #60a5fa;

  /* 다크 테마 기본값 - 다크 네이비 톤 */
  --bg: #0a1128;
  --bg-elevated: #0f172a;
  --bg-softer: #1e293b;
  --border-subtle: rgba(59, 130, 246, 0.2);
  --text-main: #e2e8f0;
  --text-sub: #94a3b8;
  --hero-gradient: radial-gradient(circle at top, #1e3a8a 0, #0a1128 58%, #020617 100%);
}

/* 라이트 테마 오버라이드 */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-softer: #f1f5f9;
  --border-subtle: rgba(59, 130, 246, 0.3);
  --text-main: #0f172a;
  --text-sub: #475569;
  --hero-gradient: radial-gradient(circle at top, #dbeafe 0, #eff6ff 40%, #f1f5f9 100%);
}

/* ---------- 성능 최적화 ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--hero-gradient);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(to bottom,
    rgba(2,6,23,0.85),
    rgba(2,6,23,0.6),
    transparent);
  border-bottom: 1px solid rgba(148,163,184,0.2);
  transition: all 0.3s ease;
}

header.scrolled {
  background: linear-gradient(to bottom,
    rgba(2,6,23,0.95),
    rgba(2,6,23,0.85),
    transparent);
  border-bottom-color: rgba(148,163,184,0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] header {
  background: linear-gradient(to bottom,
    rgba(249,250,251,0.98),
    rgba(249,250,251,0.9),
    transparent);
  border-bottom-color: rgba(148,163,184,0.4);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.4)) brightness(1.1) contrast(1.2);
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.6)) brightness(1.2) contrast(1.3);
}

[data-theme="light"] .logo {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .logo:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .logo-img {
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3)) brightness(1) contrast(1.1);
}

[data-theme="light"] .logo:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4)) brightness(1.05) contrast(1.15);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--text-sub);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-main);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  border-color: var(--primary-soft);
  background: rgba(37,99,235,0.1);
  transform: translateY(-1px);
}

[data-theme="light"] .lang-toggle {
  background: rgba(255,255,255,0.9);
  border-color: rgba(148,163,184,0.3);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary-soft), var(--accent));
  transition: width var(--transition-fast);
}

.nav-links a {
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

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

.nav-links a:active {
  transform: scale(0.98);
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: rgba(15,23,42,0.9);
  color: var(--text-sub);
}
[data-theme="light"] .theme-toggle {
  background: #ffffff;
}

.theme-toggle span.icon {
  font-size: 0.9rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.86rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(37,99,235,0.35);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37,99,235,0.5);
}

.nav-cta:active {
  transform: translateY(0) scale(1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1128 0%, #1e3a8a 30%, #0f172a 70%, #020617 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #f1f5f9 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.neural-network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 0;
}

[data-theme="light"] .neural-network-canvas {
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left,
    rgba(96,165,250,0.25),
    transparent 55%);
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

[data-theme="light"] .badge {
  background: radial-gradient(circle at top left,
    rgba(37,99,235,0.15),
    transparent 55%);
  color: #475569;
  border-color: rgba(148,163,184,0.3);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
  text-align: center;
  color: var(--text-main);
}

[data-theme="light"] .hero-title {
  color: #0f172a;
}

[data-theme="light"] .hero-title span {
  background: linear-gradient(to right, #2563eb, #7c3aed, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title span {
  background: linear-gradient(to right, #5faaff, #c084fc, #ff6b82);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

[data-theme="light"] .hero-subtitle {
  color: #475569;
}

[data-theme="light"] .hero-subtitle strong {
  color: #1e293b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  box-shadow: 0 16px 30px rgba(37,99,235,0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37,99,235,0.6);
}

.btn-primary:active {
  transform: translateY(0) scale(1);
}

.btn-ghost {
  background: rgba(15,23,42,0.7);
  border-color: var(--border-subtle);
  color: var(--text-sub);
}
[data-theme="light"] .btn-ghost {
  background: rgba(255,255,255,0.9);
}

.btn-ghost:hover {
  border-color: var(--primary-soft);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-sub);
  justify-content: center;
}

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

[data-theme="light"] .hero-meta {
  color: #64748b;
}

[data-theme="light"] .hero-meta strong {
  color: #1e293b;
}

/* Hero Stats Section */
.hero-stats > div {
  transition: all 0.3s ease;
  cursor: default;
}

.hero-stats > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-soft);
}

/* 정량적 성과 섹션 */
.result-card {
  position: relative;
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-soft);
}

[data-theme="light"] .result-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .result-card:hover {
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

/* Hero Evidence Section */
.hero-evidence {
  background: var(--bg-elevated);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .hero-evidence {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .hero-evidence {
    padding: 1.5rem;
  }
  
  .hero-evidence li {
    font-size: 0.9rem !important;
  }
}

.hero-visual {
  background: radial-gradient(circle at top, rgba(148,163,184,0.25), transparent 60%);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(30px) scale(0.95);
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-visual-grid {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.3);
  background: linear-gradient(to bottom right,
      rgba(15,23,42,0.95),
      rgba(15,23,42,1));
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.8rem;
  font-size: 0.78rem;
}
[data-theme="light"] .hero-visual-grid {
  background: linear-gradient(to bottom right,
      #ffffff,
      #eef2ff);
}

.hero-panel {
  background: rgba(15,23,42,0.96);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(51,65,85,0.85);
}
[data-theme="light"] .hero-panel {
  background: rgba(255,255,255,0.96);
  border-color: rgba(148,163,184,0.6);
}

.hero-panel h3 {
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: var(--text-sub);
}

.hero-list li {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #5faaff;
}

.hero-kpi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.hero-kpi-item {
  background: rgba(15,23,42,0.95);
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(51,65,85,0.9);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
[data-theme="light"] .hero-kpi-item {
  background: rgba(255,255,255,0.96);
  border-color: rgba(148,163,184,0.6);
}

.hero-kpi-label {
  font-size: 0.68rem;
  color: var(--text-sub);
}

.hero-kpi-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-floating {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.96);
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--text-sub);
}
[data-theme="light"] .hero-floating {
  background: rgba(255,255,255,0.98);
}

.hero-floating span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, #22c55e, #16a34a);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.35);
}

/* ---------- Section 공통 ---------- */
main {
  background: radial-gradient(circle at top, rgba(15,23,42,0.05), transparent 60%), var(--bg);
}

section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.section-description {
  font-size: 0.9rem;
  color: var(--text-sub);
  max-width: 540px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(37,99,235,0.4);
  box-shadow: 0 10px 24px rgba(10,17,40,0.6);
  position: relative;
  font-size: 0.86rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37,99,235,0.4);
  border-color: rgba(59,130,246,0.8);
}
.service-card:nth-child(2) {
  border-color: rgba(147,51,234,0.7);
}
.service-card:nth-child(3) {
  border-color: rgba(248,113,113,0.8);
}
[data-theme="light"] .service-card {
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.service-chip {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.96);
  color: var(--text-sub);
}
[data-theme="light"] .service-chip {
  background: #ffffff;
}

.service-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 0.35rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin-bottom: 0.55rem;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 0.6rem;
}

.service-list li::before {
  content: none;
  display: none;
}

/* 체크마크가 있는 리스트는 점 제거 */
.checkmark-list li::before,
ul.checkmark-list li::before,
ul[data-i18n-list*="revenueServices"] li::before,
ul[data-i18n-list*="cases.case1.businessResult"] li::before,
ul[data-i18n-list*="cases.case2.businessResult"] li::before,
ul[data-i18n-list*="cases.case3.businessResult"] li::before,
ul[data-i18n-list*="cases.case4.businessResult"] li::before {
  content: none !important;
  display: none !important;
}

/* list-style: none이 있는 리스트의 점 제거 (단, checkmark-list나 체크마크가 있는 경우만) */
ul.checkmark-list[style*="list-style: none"] li::before,
ul[data-i18n-list*="revenueServices"][style*="list-style: none"] li::before,
ul[data-i18n-list*="cases"][style*="list-style: none"] li::before {
  content: none !important;
  display: none !important;
}

/* li에 list-style: none이 인라인으로 설정된 경우 */
li[style*="list-style: none"]::before {
  content: none !important;
  display: none !important;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.82rem;
}

.process-step {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 0.9rem;
  border: 1px solid rgba(51,65,85,0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

.process-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft);
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
}
[data-theme="light"] .process-step {
  border-color: rgba(148,163,184,0.7);
}

.process-step-number {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 0.2rem;
}

.process-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.process-step-desc {
  color: var(--text-sub);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  font-size: 0.9rem;
}

.about-card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.1rem;
  border: 1px solid rgba(51,65,85,0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-20px);
}

.about-card.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-card:hover {
  transform: translateX(4px);
  border-color: var(--primary-soft);
  box-shadow: 0 8px 24px rgba(37,99,235,0.15);
}
[data-theme="light"] .about-card {
  border-color: rgba(148,163,184,0.7);
}

.about-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: var(--text-sub);
  font-size: 0.84rem;
}

.about-list li::before {
  content: "›";
  color: #38bdf8;
  margin-right: 0.3rem;
}

/* ---------- Founder ---------- */
.founder {
  background: radial-gradient(circle at top, rgba(15,23,42,0.05), transparent 60%), var(--bg);
}

.founder-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.founder-visual {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(37,99,235,0.6);
  box-shadow: 0 10px 24px rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.founder-visual.animate {
  opacity: 1;
  transform: translateY(0);
}

.founder-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(37,99,235,0.3);
  border-color: rgba(37,99,235,0.9);
}
[data-theme="light"] .founder-visual {
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  background: linear-gradient(to right, var(--primary-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.founder-info {
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.founder-info-row {
  display: flex;
  gap: 0.5rem;
}

.founder-info-label {
  width: 80px;
  flex-shrink: 0;
  color: var(--text-sub);
}

.founder-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.founder-highlights {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.founder-highlight {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text-sub);
}

.founder-highlight::before {
  content: "✓";
  color: var(--primary-soft);
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .founder-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 3.5rem;
}

.contact-inner {
  background: radial-gradient(circle at top left,
    rgba(96,165,250,0.35),
    rgba(15,23,42,0.98));
  border-radius: 24px;
  padding: 1.6rem;
  border: 1px solid rgba(191,219,254,0.5);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  font-size: 0.9rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.contact-inner.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(37,99,235,0.25);
}
[data-theme="light"] .contact-inner {
  background: radial-gradient(circle at top left,
    rgba(191,219,254,0.8),
    #ffffff);
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-text {
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.contact-sub {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.contact-highlight {
  font-weight: 600;
  color: #bfdbfe;
}

.contact-info {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.contact-info-row {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.contact-info-label {
  width: 70px;
  flex-shrink: 0;
  color: var(--text-sub);
}

.contact-actions {
  margin-top: 2rem;
}

.contact-cta-primary {
  font-size: 1.05rem !important;
  padding: 1.1rem 2.5rem !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.contact-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-cta-primary:hover::before {
  left: 100%;
}

.contact-cta-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5) !important;
}

.contact-cta-primary:active {
  transform: translateY(0) !important;
}

.contact-note {
  transition: all 0.3s ease;
}

.contact-note:hover {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .contact-note {
  background: rgba(37, 99, 235, 0.05) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

[data-theme="light"] .contact-note:hover {
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(191,219,254,0.7);
  font-size: 0.78rem;
  color: var(--text-main);
  background: rgba(15,23,42,0.85);
}
[data-theme="light"] .contact-pill {
  background: rgba(255,255,255,0.8);
}

/* Floating CTA Animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 20px 40px rgba(37,99,235,0.6);
  }
  50% {
    box-shadow: 0 20px 40px rgba(37,99,235,0.8), 0 0 0 10px rgba(37,99,235,0.1);
  }
}

/* 모바일에서 플로팅 CTA 숨김 */
@media (max-width: 640px) {
  #floatingCTA {
    display: none;
  }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(30,64,175,0.7);
  padding: 1rem 0 1.4rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }
}

    /* ---------- Trust Bar ---------- */
    #trust-bar {
      padding: 2rem 0;
    }

    /* ---------- FAQ ---------- */
    #faq .about-card {
      cursor: pointer;
      transition: all 0.3s ease;
    }

    #faq .about-card:hover {
      transform: translateY(-2px);
      border-color: var(--primary-soft);
    }

    @media (max-width: 640px) {
      /* 버튼 모바일 최적화 */
      .btn {
        padding: 0.85rem 1.8rem;
        font-size: 1rem;
        min-height: 48px;
      }

      .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
      }

      .hero-actions .btn {
        width: 100%;
        justify-content: center;
      }

      /* 텍스트 크기 최적화 */
      .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.3;
      }

      .section-description {
        font-size: 0.95rem !important;
        line-height: 1.7;
      }

      .service-title {
        font-size: 1.1rem !important;
        line-height: 1.4;
      }

      .service-desc {
        font-size: 0.95rem !important;
        line-height: 1.7;
      }

      /* 간격 최적화 */
      section {
        padding: 3rem 0 !important;
      }

      .container {
        padding: 0 1rem;
      }

      .service-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
      }

      .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
      }

      .process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
      }

      .hero-visual-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero-kpi {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding: 2.5rem 0;
        min-height: auto;
      }

      .hero-content {
        padding: 0 1rem;
      }

      .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
        line-height: 1.3;
        margin-bottom: 1rem;
      }

      .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6;
      }

      /* Hero Stats 모바일 최적화 */
      .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 0.5rem !important;
      }

      .hero-stats > div {
        padding: 1.2rem !important;
      }

      .hero-stats > div > div:first-child {
        font-size: 2rem !important;
      }

      .hero-stats > div > div:last-child {
        font-size: 0.85rem !important;
      }

      .hero-actions .btn {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
      }

      /* 정량적 성과 섹션 모바일 */
      #quantitative-results {
        padding: 3rem 0 !important;
      }

      #quantitative-results .result-card {
        padding: 1.5rem !important;
      }

      #quantitative-results .result-card > div:first-child {
        font-size: 2.5rem !important;
      }

      #quantitative-results .result-card h3 {
        font-size: 1rem !important;
      }

      #quantitative-results .result-card p {
        font-size: 0.9rem !important;
      }

      .contact-inner {
        padding: 1.5rem;
      }

      .nav {
        height: 60px;
        padding: 0 1rem;
      }

      .logo-img {
        max-width: 100px;
        height: auto;
      }

      #trust-bar > div > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
      }

      /* FAQ 모바일 최적화 */
      #faq .about-card,
      #faq div[style*="background"] {
        padding: 1.5rem !important;
      }

      #faq h3 {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 0.75rem;
      }

      #faq p {
        font-size: 0.95rem !important;
        line-height: 1.7;
      }

      /* Company Logo Cards */
      .company-logo-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }

      .company-logo-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-soft) !important;
      }

      [data-theme="light"] .company-logo-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      }

      [data-theme="light"] .company-logo-card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
      }

      /* 회사 로고 텍스트 색상 - 접근성 개선 (WCAG AA 기준 충족) */
      .company-logo-name {
        color: var(--text-main);
      }

      /* 삼성전자 - 다크 테마에서는 원래 색상, 라이트 테마에서는 더 밝은 색상 */
      .company-logo-samsung {
        color: #5b8fff;
      }
      [data-theme="light"] .company-logo-samsung {
        color: #1e40af;
      }

      /* 현대증권 - 다크 테마에서는 원래 색상, 라이트 테마에서는 더 밝은 색상 */
      .company-logo-hyundai {
        color: #3b82f6;
      }
      [data-theme="light"] .company-logo-hyundai {
        color: #1e3a8a;
      }

      /* 카드 텍스트 겹침 방지 */
      .service-card {
        padding: 1.2rem 0.9rem;
        min-height: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card * {
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card .service-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card .service-desc {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 0.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card .service-list {
        font-size: 0.75rem;
        line-height: 1.5;
        gap: 0.3rem;
      }

      .service-card .service-list li {
        margin-bottom: 0.2rem;
      }

      .about-card {
        padding: 1rem 0.7rem;
        min-height: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .about-card * {
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .about-card h3 {
        font-size: 0.88rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .about-card .about-list {
        font-size: 0.78rem;
        line-height: 1.6;
        gap: 0.3rem;
      }

      .about-card .about-list li {
        margin-bottom: 0.2rem;
      }

      /* Trust 섹션 카드 */
      .service-card[style*="text-align: center"] {
        padding: 1.3rem 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card[style*="text-align: center"] .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .service-card[style*="text-align: center"] .service-desc {
        font-size: 0.85rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      /* Trust 섹션 큰 숫자/텍스트 */
      .service-card[style*="text-align: center"] > div[style*="font-size: 3.5rem"],
      .service-card[style*="text-align: center"] > div[style*="font-size: 2.2rem"] {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.8rem !important;
      }

      /* 기술 스택 카드 */
      .about-card[style*="text-align: center"] {
        padding: 0.9rem 0.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .about-card[style*="text-align: center"] > div:first-child {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      .about-card[style*="text-align: center"] > div:last-child {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }

      /* FAQ 카드 */
      #faq .about-card {
        padding: 1.1rem 0.9rem;
      }

      #faq .about-card h3 {
        font-size: 0.9rem;
        line-height: 1.4;
      }

      #faq .about-card .about-list {
        font-size: 0.8rem;
        line-height: 1.6;
      }

      /* Revenue Services Cards */
      #revenue-services .service-card {
        padding: 2rem 1.5rem !important;
      }

      #revenue-services .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
      }

      /* Company Logo Cards 모바일 */
      .company-logo-card {
        max-width: 100% !important;
        min-height: 140px !important;
        padding: 1.5rem 1rem !important;
      }

      .company-logo-card > div:first-child {
        font-size: 1.5rem !important;
      }

      .company-logo-card > div:last-child {
        font-size: 0.7rem !important;
      }
    }
