* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #222222;
  --green-500: #22c55e;
  --blue-500: #3b82f6;
  --purple-500: #a855f7;
  --indigo-500: #6366f1;
  --pink-500: #ec4899;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

/* Utility Classes */
.text-orange {
  color: #ff7f00;
}

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

/* ========================================
   HEADER STYLES
   ======================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  padding: 1.25rem 0;
}

.header-content {
  max-width: 1120px;
  margin: 0 auto;
  /* padding: 0 1rem; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  min-height: 37px;
}

/* Lottie Logo Styles */
.logo-lottie-wrapper {
  height: 37px;
  width: 37px;
}

.logo-lottie {
  height: 37px;
  width: 37px;
}

.logo video {
  height: 37px;
  width: auto;
  min-width: 120px;
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 37px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-image {
  height: 2.5rem;
  width: auto;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 18px;
  font-weight: 400;
  color: #424242;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--orange-600);
}

/* Button Variants */
.btn-rounded {
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
}

.btn-full {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-800);
}

.menu-icon,
.close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.hidden {
  display: none !important;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 32px 20px 23px 20px;
  display: none;
  flex-direction: column;
  gap: 46px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #424242;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--orange-600);
}

/* Buttons */
.btn {
  padding: 8.5px 0;
  border: none;
  border-radius: 70px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: none;
}

.btn-primary {
  background: #ff7f00;
  color: var(--white);
  width: 100%;
  width: 123px;
}

.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: #ff7f00;
  color: #ff7f00;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  background: #ffffff;
  overflow: hidden;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 86px;
}

.hero-text {
  flex: 1;
}

/* .hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
} */

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 130%;
  margin-bottom: 28px;
  color: var(--gray-900);
}

.hero-subtitle {
  font-size: 24px;
  color: #707070;
  margin-bottom: 50px;
  line-height: 160%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 5rem 0;
  overflow: hidden;
}

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

.section-gray {
  background: var(--gray-50);
}

.feature-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-grid.reversed {
  flex-direction: row-reverse;
}

.feature-text-inner {
  width: max-content;
}

.feature-text {
  flex: 1;
}

/* Quiz Section - 탭 콘텐츠 변경 시 높이 고정 및 위치 고정 */
#quiz .feature-text {
  min-height: 350px;
  height: 350px; /* 고정 높이로 레이아웃 깜빡임 완전 방지 */
  width:95%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 내부 콘텐츠를 중앙 정렬하여 높이 변화에도 중앙 유지 */
  align-self: center; /* PC 버전에서 높이 중앙 정렬 */
  transform: translateZ(0); /* 하드웨어 가속 활성화로 레이아웃 재계산 최적화 */
  backface-visibility: hidden; /* 렌더링 최적화 */
  perspective: 1000px; /* 3D 컨텍스트 생성으로 하드웨어 가속 강제 */
}

.feature-grid.reversed .feature-text {
  text-align: start;
  display: flex;
  justify-content: center;
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.feature-grid.reversed .feature-visual {
  justify-content: start;
}

#level-match {
  background: #fbfbfb;
  position: relative;
}

#level-match .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding-bottom: 2rem;
}

.level-match-character {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.level-match-video {
  position: absolute;
  bottom: 0px;
  width: 502px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  margin: 0 auto;
  margin-top: auto;
}

.badge {
  display: inline-block;
  width:fit-content;
  padding: 3px 13px;
  background: #ffecd9;
  color: #ff7f00;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.badge-small {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 36px;
  color: var(--gray-900);
}

.section-desc {
  font-size: 21px;
  color: #707070;
  line-height: 160%;
}

/* Phone Container */
.phone-container {
  position: relative;
  width: 300px;
}

.phone-mockup-animated {
  width: 100%;
  aspect-ratio: 9/19;
  background: var(--gray-50);
  border-radius: 3rem;
  border: 8px solid var(--gray-100);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  position: relative;
}

.phone-mockup-animated img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.phone-mockup-animated img.active {
  opacity: 1;
  transform: scale(1);
}

.phone-mockup-animated img.exit {
  opacity: 0;
  transform: scale(0.95);
}

/* Phone shine effect */
.phone-mockup-animated::after,
.phone-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%
  );
  pointer-events: none;
}

/* Progress Dots */
.progress-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: left;
  margin-top: 2rem;
}

.progress-dot {
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--gray-300);
  transition: all 0.3s ease;
}

.progress-dot.active {
  width: 0.5rem;
  background: #7d7d7d;
}

.progress-dot:not(.active) {
  width: 0.5rem;
}

/* Decorative Blur */
.decorative-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 80%;
  background: rgba(255, 237, 213, 0.5);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

/* Level Phone Specific */
.level-phone {
  background: linear-gradient(to bottom, var(--orange-50), var(--white));
}

.level-cards-container {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.level-card {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all 0.5s ease;
  opacity: 0;
  transform: scale(0.8) translateY(50px);
}

.level-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.level-card.adjacent {
  opacity: 0.6;
  transform: scale(0.85) translateY(0);
}

.level-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.level-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.level-recommend {
  background: rgba(255, 255, 255, 0.3);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
}

.level-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.level-card p {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.level-progress {
  width: 100%;
  height: 0.375rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  overflow: hidden;
}

.level-progress-fill {
  height: 100%;
  background: var(--white);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.8s ease;
}

.level-card.active .level-progress-fill {
  width: 45%;
}

/* Level Colors */
.level-green {
  background: var(--green-500);
}
.level-blue {
  background: var(--blue-500);
}
.level-purple {
  background: var(--purple-500);
}
.level-indigo {
  background: var(--indigo-500);
}
.level-pink {
  background: var(--pink-500);
}

/* Chat Demo */
.chat-demo {
  margin-top: 2rem;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.chat-bubble {
  padding: 1rem;
  border-radius: 1rem;
}

.chat-mango {
  background: #fff7ed;
  align-self: flex-start;
  align-items: center;
  border-radius: 16px;
}

.chat-mango .chat-avatar {
}

.chat-mango .chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-mango .chat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-mango .chat-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-600);
}

.chat-mango p {
  font-size: 0.875rem;
  color: var(--gray-800);
}

.chat-mango {
  display: flex;
  gap: 12px;
  padding: 20px;
}

.chat-user {
  background: #333d4b;
  color: #ff7f00;
  border-radius: 16px;
  align-self: flex-end;
  margin-left: auto;
  margin-right: 26px;
  margin-top: -24px;
  padding: 16px 21px;
}

.chat-user p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ff7f00;
}

.chat-feedback {
  background: var(--white);
  border: 1px solid #cccccc;
  align-self: flex-start;
  margin-top: 9px;
  border-radius: 16px;
  padding: 20px;
}

.feedback-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feedback-icon {
  padding: 0.375rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 0.5rem;
}

.feedback-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 140%;
  color: var(--gray-900);
}

.chat-feedback p {
  font-size: 16px;
  color: #222222;
  line-height: 140%;
}

.stars {
  color: #ff7f00;
  font-size: 0.875rem;
}

/* Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}

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

/* Mode Buttons */
.mode-buttons,
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.mode-btn,
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
  width: 100%;
  max-width: 110px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* all 대신 구체적 속성만 지정하여 레이아웃 영향 최소화 */
  border: 2px solid var(--orange-200);
  background: #f3f3f3;
  color: #707070;
  will-change: background-color, color, border-color; /* 브라우저 최적화 */
}

.mode-btn:hover,
.tab-btn:hover {
  border-color: var(--orange-300);
}

.mode-btn.active,
.tab-btn.active {
  background: #ff7f00;
  color: var(--white);
  border-color: #ff7f00;
}

.mode-icon,
.tab-icon {
  font-size: 1rem;
}

.mode-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* Tab Content */
.tab-content {
  margin-top: 1.5rem;
  transform: translateZ(0); /* 하드웨어 가속으로 콘텐츠 변경 시 깜빡임 방지 */
  will-change: contents; /* 브라우저 최적화 */
}

.tab-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.tab-desc {
  font-size: 1rem;
  color: #707070;
  line-height: 160%;
}
/* ========================================
   CTA SECTION STYLES
   ======================================== */
.cta-section {
  background: linear-gradient(180deg, #3d3d3d 4.71%, #121212 100%);
  padding: 197px 0 0 0;
}

.cta-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-logo {
  width: auto;
  margin-bottom: 34px;
}

.cta-tagline {
  color: #e0e0e0;
  margin-bottom: 34px;
  max-width: 28rem;
  line-height: 160%;
  font-size: 24px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 65px;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

.cta-button img {
  height: 3.5rem;
  width: 100%;
}

.cta-image img {
  max-width: 100%;
  height: auto;
}

/* ========================================
     FOOTER STYLES
     ======================================== */
.footer {
  background: #f6f6f6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.company-info {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: left;
  width: 100%;
}

.footer-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.company-name {
  padding: 4% 0;
}

.company-name-text {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  padding-top: 30px;
  line-height: 1.4;
}

.footer-divider {
  display: block;
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 1rem 0;
  width: 100%;
}

.company-details,
.company-address {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.footer-link:hover {
  color: #1f2937;
}

/* Copyright */
.copyright {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #ff7f00;
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.familySiteWrap {
}
.familySiteWrap .ftMenuArea {
  line-height: 49px;
}
.familySiteWrap .ftMenuArea .ftMenu {
  display: inline-block;
  color: #e8e8e8;
  font-size: 13px;
  padding-right: 23px;
  margin-right: 22px;
  position: relative;
}
.familySiteWrap .ftMenuArea .ftMenu:after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  width: 1px;
  height: 10px;
  background-color: #3f3f3f;
}
.familySiteWrap .ftMenuArea .ftMenu:last-child:after {
  display: none;
}
.familySiteWrap .ftMenuArea .ftMenu.privacyMenu {
  color: #fd535f;
} /* ê°œì¸ì •ë³´ì·¨ê¸‰ë°©ì¹¨ */

/* SNS ë§¤ì²´ ë§í¬ */
.familySiteWrap .snsLinkArea {
  position: absolute;
  top: 10px;
  right: 150px;
}
.familySiteWrap .snsLinkArea img {
  display: inline-block;
  width: 30px;
  margin: 0 5px;
  cursor: pointer;
}

/* íŒ¨ë°€ë¦¬ ì‚¬ì´íŠ¸ */
.familySiteWrap .familySiteInner {
  position: relative;
  display: flex;
  right: 0;
  top: 0;
  width: 130px;
  background-color: #0b0b0b;
}
.familySiteWrap .familySiteInner .familySiteTitle {
  position: relative;
  font-size: 13px;
  color: #fff;
  padding-left: 17px;
  line-height: 32px;
  cursor: pointer;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
}
.familySiteWrap .familySiteInner .familySiteTitle:after {
  position: absolute;
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: #d8d8d8;
  right: 14px;
  top: 50%;
  margin-top: -17px;
  display: block;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.familySiteWrap .familySiteInner .familySite {
  position: absolute;
  right: 0;
  bottom: 32px;
  z-index: 10;
  padding: 10px 0;
  left: 0;
  /* 애니메이션을 위한 설정 */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  background: #464646;
}
.familySiteWrap .familySiteInner .familySite li {
  padding: 2px 17px;
}
.familySiteWrap .familySiteInner .familySite li a {
  display: block;
  font-size: 13px;
  color: #fff;
  line-height: 26px;
}
.familySiteWrap .familySiteInner .familySite li a:hover {
  color: #fff;
}
.familySiteWrap .familySiteInner.siteOn .familySiteTitle:after {
  transform: rotate(45deg);
}
.familySiteWrap .familySiteInner.siteOn .familySite {
  max-height: 200px; /* 충분히 큰 값 */
  opacity: 1;
}

.footer-top-links-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ========================================
   LAMP HERO SECTION
   ======================================== */
.lamp-hero {
  width: 100%;
  height: 580px;
  position: relative;
  overflow: hidden;
}

/* Layer Base */
.lamp-hero__layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 169px;
  box-sizing: border-box;
}

/* Layer - Dark Theme */
.lamp-hero__layer--dark {
  background: radial-gradient(circle at center top, #333333, #000000);
  z-index: 1;
}

.lamp-hero__layer--dark .lamp-hero__icon {
  filter: brightness(0.3) grayscale(100%);
  opacity: 0.7;
}

.lamp-hero__layer--dark .lamp-hero__title {
  color: rgba(255, 255, 255, 0.12);
}

.lamp-hero__layer--dark .lamp-hero__subtitle {
  color: rgba(255, 255, 255, 0.08);
}

/* Layer - Light Theme */
.lamp-hero__layer--light {
  background: radial-gradient(circle at center, #ffffff, #fbfbfb);
  z-index: 2;
  clip-path: circle(0% at 50% 30%);
}

.lamp-hero__layer--light .lamp-hero__icon {
  filter: brightness(1.05) drop-shadow(0 0 50px rgba(255, 215, 0, 0.6));
  opacity: 1;
}

.lamp-hero__layer--light .lamp-hero__title {
  color: var(--gray-900);
}

.lamp-hero__layer--light .lamp-hero__highlight {
  color: #ff7f00;
}

.lamp-hero__layer--light .lamp-hero__subtitle {
  color: var(--gray-600);
}

/* Lamp Icon */
.lamp-hero__icon {
  width: 70px;
  height: 81px;
  display: block;
  margin-bottom: 24px;
}

/* Text Content */
.lamp-hero__content {
  text-align: center;
}

.lamp-hero__title {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.mobile-break {
  display: none;
}

p .mobile-break,
.lamp-hero__subtitle .mobile-break {
  display: none;
}

.lamp-hero__highlight {
  /* 브랜드 강조 색상은 테마별로 적용 */
}

.lamp-hero__subtitle {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2rem;
  letter-spacing: 0;
  text-align: center;
  margin: 0;
  white-space: normal;
}

.phone-mockup {
  width: 100%;
  position: relative;
  max-width: 332px;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone Video */
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  visibility: visible;
}

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

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

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

/* ========================================
   DOWNLOAD MODAL STYLES
   ======================================== */
.download-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.download-modal.active {
  display: flex;
}

.download-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.download-modal-content {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10001;
  animation: modalFadeIn 0.3s ease;
}

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

.download-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-600);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-modal-close:hover {
  color: var(--gray-900);
}

.download-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.download-modal-logo {
  height: 3rem;
  width: auto;
  margin: 0 auto;
}

.download-modal-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin: 0 0 0.75rem 0;
}

.download-modal-desc {
  font-size: 1rem;
  color: var(--gray-600);
  text-align: center;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.download-modal-buttons {
  margin-bottom: 0;
}

/* ========================================
   INQUIRY MODAL STYLES
   ======================================== */
.inquiry-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.inquiry-modal.active {
  display: flex;
}

.inquiry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.inquiry-modal-content {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10001;
  animation: modalFadeIn 0.3s ease;
}

.inquiry-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-600);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-modal-close:hover {
  color: var(--gray-900);
}

.inquiry-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.inquiry-modal-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin: 0 0 0.75rem 0;
}

.inquiry-modal-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.inquiry-form {
  margin-top: 1.5rem;
}

.inquiry-form-group {
  margin-bottom: 1.5rem;
}

.inquiry-form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.inquiry-form-input,
.inquiry-form-select,
.inquiry-form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--gray-900);
  background: white;
  transition: all 0.3s ease;
  font-family: inherit;
}

.inquiry-form-input:focus,
.inquiry-form-select:focus,
.inquiry-form-textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.inquiry-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.inquiry-form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.0;
}

.inquiry-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.inquiry-btn-cancel,
.inquiry-btn-submit {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.inquiry-btn-cancel {
  background: var(--gray-100);
  color: var(--gray-700);
}

.inquiry-btn-cancel:hover {
  background: var(--gray-200);
}

.inquiry-btn-submit {
  background: var(--gray-900);
  color: white;
}

.inquiry-btn-submit:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 모바일 반응형 */
@media (max-width: 640px) {
  .inquiry-modal-content {
    padding: 1.5rem;
    max-width: 95%;
  }

  .inquiry-modal-heading {
    font-size: 1.5rem;
  }

  .inquiry-form-actions {
    flex-direction: column;
  }

  .inquiry-btn-cancel,
  .inquiry-btn-submit {
    width: 100%;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet & Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .chat-demo {
    margin: 2rem auto 0;
  }

  .mode-buttons,
  .tab-buttons {
    justify-content: center;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .logo img {
    height: 27px !important;
  }

  .logo-lottie-wrapper {
    height: 27px;
    width: 27px;
  }

  .logo-lottie {
    height: 27px;
    width: 27px;
  }

  .header.scrolled {
    padding: 0.75rem 20px;
  }
  .cta-logo {
    height: 74px;
  }

  .cta-section {
    padding: 161px 0 0 0;
  }
  .tab-btn {
    max-width: 90px;
  }

  #level-match .container {
    min-height: 500px;
  }

  .tab-desc {
    font-size: 15px;
    line-height: 160%;
  }

  .chat-demo {
    display: none;
  }
  .section {
    padding: 7rem 0;
    overflow: hidden;
  }

  .hero {
    padding-top: 42px !important;
  }
  .logo-image {
    height: 2rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .feature-grid {
    flex-direction: column-reverse;
    gap: 26px;
    padding: 0;
  }

  .feature-grid.reversed {
    flex-direction: column-reverse;
  }

  .feature-text {
    flex: 1;
    text-align: center;
  }
  
  /* Quiz Section - 모바일에서도 탭 콘텐츠 변경 시 높이 고정 및 위치 고정 */
  #quiz .feature-text {
    min-height: 300px;
    height: 300px; /* 모바일에서도 고정 높이로 레이아웃 깜빡임 완전 방지 */
    display: flex;
    flex-direction: column;
    align-self: flex-start;
  }
  
  /* 모바일에서만 puzzleBadge 가운데 정렬 */
  #quiz #puzzleBadge {
    align-self: center;
  }
  
  .feature-grid.reversed .feature-text {
    text-align: center;
  }
  .progress-dots {
    justify-content: center;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 27px;
  }

  .hero-title {
    font-size: 38px;
    margin-bottom: 23px;
  }

  .hero-buttons {
    align-items: center;
    justify-content: center;
  }

  .btn {
    max-width: 126px;
  }

  .section-desc {
    font-size: 15px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 24px;
    line-height: 150%;
  }

  .badge {
    padding: 6px 13px;
    font-size: 13px;
  }

  .phone-container {
    width: 260px;
  }

  .banner-content {
    gap: 1.5rem;
  }

  .banner-number {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-container {
    text-align: left;
  }

  .cta-buttons {
  }

  .cta-button img {
    height: 37px;
  }

  .cta-tagline {
    margin-bottom: 25px;
    font-size: 15px;
  }

  .lamp-hero {
    height: 480px;
  }

  .lamp-hero__layer {
    padding-top: 120px;
  }

  .lamp-hero__icon {
    width: 56px;
    height: 65px;
    margin-bottom: 20px;
  }

  .lamp-hero__title {
    font-size: 1.75rem;
    padding: 0 1rem;
  }

  .mobile-break {
    display: block !important;
  }

  p .mobile-break,
  .lamp-hero__subtitle .mobile-break {
    display: block !important;
    height: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
  }

  .lamp-hero__subtitle {
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 0 1rem;
    white-space: pre-line;
  }
}

/* Mobile (max-width: 480px) */
/* @media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .phone-container {
    width: 240px;
  }

  .chat-demo {
    max-width: 100%;
  }

  .lamp-hero {
    height: 420px;
  }

  .lamp-hero__layer {
    padding-top: 100px;
  }

  .lamp-hero__icon {
    width: 48px;
    height: 56px;
    margin-bottom: 16px;
  }

  .lamp-hero__title {
    font-size: 1.5rem;
  }

  .lamp-hero__subtitle {
    font-size: 0.875rem;
  }

  .download-modal-content {
    padding: 2rem 1.5rem;
  }

  .download-modal-heading {
    font-size: 1.5rem;
  }
} */

/* Desktop (min-width: 769px) */
@media (min-width: 769px) {
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .company-details,
  .company-address {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .company-details:last-of-type,
  .company-address:last-of-type {
    margin-right: 0;
  }
}
