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

/* 시작 팝업 모달 */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.popup-overlay.popup-hidden {
  opacity: 0;
}

.popup-container {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90vh;
  overflow: hidden;
  animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.popup-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.popup-close img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

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

.popup-image {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  object-fit: contain;
}

.popup-footer {
  padding: 16px 24px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.popup-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #636e72;
  user-select: none;
}

.popup-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.popup-checkbox-label span {
  font-weight: 500;
}

/* 모바일 팝업 최적화 */
@media (max-width: 768px) {
  .popup-container {
    max-width: 95%;
    border-radius: 12px;
  }

  .popup-close {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .popup-close img {
    width: 14px;
    height: 14px;
  }

  .popup-image {
    max-height: 60vh;
  }

  .popup-footer {
    padding: 12px 16px;
  }

  .popup-checkbox-label {
    font-size: 13px;
  }
}

:root {
  --primary-color: #6c5ce7;
  --primary-dark: #5a4fcf;
  --secondary-color: #00b894;
  --accent-color: #fee500;
  --text-dark: #2d3436;
  --text-gray: #636e72;
  --text-light: #b2bec3;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) rotateY(-15deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px) rotateY(15deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0);
  }
}

@keyframes scaleIn3D {
  from {
    opacity: 0;
    transform: scale(0.8) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateX(0);
  }
}

/* 스크롤 애니메이션용 클래스 - 아래로 스크롤 */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.visible-up {
  opacity: 0;
  transform: translateY(-40px);
  animation: fadeInFromTop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left.visible-up {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInFromLeftReverse 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right.visible-up {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInFromRightReverse 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    forwards;
}

.scale-in-3d {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.scale-in-3d.visible {
  opacity: 1;
  transform: scale(1);
}

.scale-in-3d.visible-up {
  opacity: 0;
  transform: scale(0.92);
  animation: scaleIn3DReverse 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 위로 스크롤할 때 애니메이션 */
@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeftReverse {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRightReverse {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn3DReverse {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 히어로 섹션 */
.hero-section {
  background: #ffffff;
  background-image: url("assets/main.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: auto;
  position: relative;
  padding: 0;
  margin: 0;
  overflow: visible;
  margin-top: 70px;
  scroll-margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  aspect-ratio: auto;
  z-index: 0;
}

/* main.png 크기에 맞춘 컨테이너 */
.hero-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 350px;
}

/* 모바일용 og.png - 기본 숨김 */
.hero-mobile-og {
  display: none;
}

.hero-mobile-og img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 고정 헤더 */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 16px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
  white-space: nowrap;
}

.header-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.hero-images-diagonal {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

/* 왼쪽 위 - b.png */
.hero-img-top-left {
  position: absolute;
  top: -28%;
  left: -28%;
  z-index: 1;
  width: 85%;
  height: 85%;
  opacity: 0.25;
  pointer-events: none;
  animation: slideInFromTop 1s ease-out forwards,
    patternPulseLeft 8s ease-in-out 1s infinite;
}

.hero-img-top-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  user-select: none;
  -webkit-user-drag: none;
}

/* 오른쪽 아래 - a.png */
.hero-img-bottom-right {
  position: absolute;
  bottom: -25%;
  right: -25%;
  z-index: 1;
  width: 85%;
  height: 85%;
  opacity: 0.25;
  pointer-events: none;
  animation: patternPulseRight 8s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-img-bottom-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes patternPulseLeft {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(10px, 8px) rotate(1deg) scale(1.02);
  }
  50% {
    transform: translate(20px, 15px) rotate(2deg) scale(1.03);
  }
  75% {
    transform: translate(10px, 8px) rotate(1deg) scale(1.02);
  }
}

@keyframes patternPulseRight {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(-10px, -8px) rotate(-1deg) scale(1.02);
  }
  50% {
    transform: translate(-20px, -15px) rotate(-2deg) scale(1.03);
  }
  75% {
    transform: translate(-10px, -8px) rotate(-1deg) scale(1.02);
  }
}

/* b.png 위에서 나타나는 효과 */
@keyframes slideInFromTop {
  from {
    transform: translateY(-50px);
  }
  to {
    transform: translateY(0);
  }
}

/* 왼쪽 아래 - man.png */
.hero-img-bottom-left {
  position: absolute;
  bottom: 0;
  left: clamp(0px, 2vw, 20px);
  z-index: 2;
  width: clamp(120px, 25vw, 350px);
  animation: characterBreathe 3s ease-in-out infinite;
}

.hero-img-bottom-left img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* 오른쪽 아래 - chillguy.png (상체만 보이게) */
.hero-img-top-right {
  position: absolute;
  bottom: 0;
  right: clamp(0px, 2vw, 20px);
  z-index: 2;
  width: clamp(120px, 25vw, 350px);
  height: 70%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  animation: characterBreathe 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.hero-img-top-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* 캐릭터 숨쉬는 애니메이션 - 통일된 타이밍 */
@keyframes characterBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.015);
  }
}

/* 중앙 타이틀 - title1.png */
.hero-img-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-img-center > img {
  width: auto;
  max-width: clamp(200px, 35vw, 500px);
  height: auto;
  object-fit: contain;
  animation: titleFloat 4.5s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.015);
  }
}

/* 형 티켓 서브타이틀 이미지 (q, w, r) */
.hero-subtitle-images {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(10px, 2vw, 20px);
  gap: 0;
}

.hero-subtitle-img {
  height: clamp(80px, 12vw, 180px);
  width: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
}

/* q - 형 (왼쪽에서 회전하며 등장) */
.hero-subtitle-img:nth-child(1) {
  animation: spinInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    titleFloat 4.5s ease-in-out 0.8s infinite;
}

/* w - 티 (아래에서 튀어오르며 등장) */
.hero-subtitle-img:nth-child(3) {
  animation: bounceInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards,
    titleFloat 4.5s ease-in-out 1s infinite;
}

/* r - 켓 (오른쪽에서 회전하며 등장) */
.hero-subtitle-img:nth-child(4) {
  margin-left: 10px;
  animation: spinInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
    titleFloat 4.5s ease-in-out 1.3s infinite;
}

@keyframes spinInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) rotate(-180deg) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(100px) scale(0.5);
  }
  60% {
    opacity: 1;
    transform: translateY(-15px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spinInRight {
  from {
    opacity: 0;
    transform: translateX(80px) rotate(180deg) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

/* title2.png */
.hero-title2-img {
  margin-top: clamp(5px, 1vw, 10px);
  height: clamp(12px, 1.8vw, 22px);
  width: auto;
  object-fit: contain;
  animation: titleFloat 4.5s ease-in-out infinite;
  animation-delay: 0.4s;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-subtitle-space {
  width: clamp(15px, 2vw, 30px);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes subtitlePop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.03);
  }
}

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

/* 중앙 텍스트 영역 */
.hero-text-center {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-text-top {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-text-main {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -2px;
  line-height: 1.2;
  font-family: "Noto Sans KR", "IBM Plex Sans KR", sans-serif;
}

.hero-text-hyung {
  color: #4ecdc4;
}

.hero-text-ticket {
  color: #1a237e;
}

.hero-text-bottom {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  will-change: transform;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(-30px);
  }
  50% {
    transform: translateY(-50px);
  }
}

@keyframes floatDown {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes floatDownChillguy {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

.logo-area {
  flex-shrink: 0;
  grid-column: 1;
}

.google-search-box {
  flex-shrink: 0;
}

.logo-area {
  width: 180px;
  height: 60px;
  display: flex;
  align-items: center;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.white-logo {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 8px;
}

.google-search-box {
  background-color: #ffffff;
  padding: 14px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-gray);
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(66, 133, 244, 0.2);
  cursor: default;
}

.google-search-box:hover {
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
  transform: translateY(-2px);
  border-color: #4285f4;
  cursor: default;
}

.google-logo {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.search-icon {
  font-size: 16px;
  opacity: 0.6;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  letter-spacing: 6px;
  line-height: 1.4;
  font-family: "Noto Sans KR", "IBM Plex Sans KR", sans-serif;
  text-transform: none;
  word-spacing: 8px;
}

.brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  gap: 0;
}

.brand-text {
  font-size: 140px;
  font-weight: 900;
  color: #9b59b6;
  letter-spacing: 16px;
  line-height: 1.2;
  font-family: "Noto Sans KR", "IBM Plex Sans KR", sans-serif;
  text-shadow: 4px 4px 8px rgba(155, 89, 182, 0.3);
  word-spacing: 0px;
}

.tagline {
  background: #ffffff;
  color: #1a1a1a;
  padding: 20px 48px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.8s ease-out 0.6s both;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1px;
  border: none;
  font-family: "Noto Sans KR", "IBM Plex Sans KR", sans-serif;
}

.tagline::before {
  content: "⚡";
  font-size: 28px;
  margin-right: 4px;
}

.tagline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
  position: relative;
  min-height: 280px;
}

.character-area,
.card-area {
  width: 220px;
  height: 240px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.character-img,
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.character-img:hover,
.card-img:hover {
  transform: translateY(-12px) scale(1.05);
}

/* 특징 섹션 */
.features-section {
  background-color: var(--bg-white);
  padding: 40px 20px 30px 20px;
  scroll-margin-top: 80px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.features-grid {
  perspective: 1000px;
}

.feature-card {
  background-color: #ffffff;
  padding: 40px 28px;
  border-radius: 16px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all 0.5s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.feature-card.purple-border::before {
  background: linear-gradient(90deg, #6c5ce7 0%, #a29bfe 100%);
}

.feature-card.green-border::before {
  background: linear-gradient(90deg, #00b894 0%, #55efc4 100%);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.03) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card.purple-border::after {
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.05) 0%,
    transparent 100%
  );
}

.feature-card.green-border::after {
  background: linear-gradient(
    135deg,
    rgba(0, 184, 148, 0.05) 0%,
    transparent 100%
  );
}

.feature-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: #e0e0e0;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:active {
  transform: translateY(-4px) rotateX(1deg) rotateY(-1deg) scale(1.01);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* 첫 번째 줄: 3개 카드 */
.feature-card:nth-child(1) {
  animation-delay: 0.1s;
  grid-row: 1;
  grid-column: 1 / 3;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
  grid-row: 1;
  grid-column: 3 / 5;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
  grid-row: 1;
  grid-column: 5 / 7;
}

/* 두 번째 줄: 2개 카드 (위 카드들의 간격 사이) */
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
  grid-row: 2;
  grid-column: 2 / 4;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
  grid-row: 2;
  grid-column: 4 / 6;
}

.feature-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: -0.3px;
}

.feature-subtitle {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.feature-card.purple-border .feature-subtitle {
  color: #6c5ce7;
}

.feature-card.green-border .feature-subtitle {
  color: #00b894;
}

/* 한도 섹션 */
.limits-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  padding: 120px 20px;
  position: relative;
}

.limits-connector {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(108, 92, 231, 0.8) 20%,
    rgba(108, 92, 231, 0.8) 80%,
    transparent 100%
  );
  margin-bottom: 60px;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

/* 점들의 공통 스타일 */
.limits-connector .left-dot,
.limits-connector .middle-dot,
.limits-connector .right-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: rgba(108, 92, 231, 0.9);
  border-radius: 50%;
  top: -5px;
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.6);
  z-index: 2;
}

/* 왼쪽 점 - 반딧불 효과 */
.limits-connector .left-dot {
  left: 20%;
  animation: firefly 5s ease-in-out infinite;
}

/* 중앙 점 - 반딧불 효과 */
.limits-connector .middle-dot {
  left: 50%;
  transform: translateX(-50%);
  animation: fireflyMiddle 5s ease-in-out infinite;
}

/* 오른쪽 점 - 반딧불 효과 */
.limits-connector .right-dot {
  right: 20%;
  animation: firefly 5s ease-in-out infinite;
}

/* 반딧불 깜빡임 애니메이션 */
@keyframes firefly {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 4px rgba(108, 92, 231, 0.4), 0 0 8px rgba(108, 92, 231, 0.2);
  }
  15% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.9),
      0 0 20px rgba(108, 92, 231, 0.6);
  }
  30% {
    opacity: 0.5;
    transform: scale(0.9);
    box-shadow: 0 0 6px rgba(108, 92, 231, 0.5),
      0 0 12px rgba(108, 92, 231, 0.3);
  }
  45% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(108, 92, 231, 1), 0 0 25px rgba(108, 92, 231, 0.7);
  }
  60% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 5px rgba(108, 92, 231, 0.4),
      0 0 10px rgba(108, 92, 231, 0.2);
  }
  75% {
    opacity: 0.9;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.8),
      0 0 18px rgba(108, 92, 231, 0.5);
  }
  90% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 4px rgba(108, 92, 231, 0.4), 0 0 8px rgba(108, 92, 231, 0.2);
  }
}

/* 중앙 점용 반딧불 애니메이션 (transform 보정) */
@keyframes fireflyMiddle {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
    box-shadow: 0 0 4px rgba(108, 92, 231, 0.4), 0 0 8px rgba(108, 92, 231, 0.2);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.9),
      0 0 20px rgba(108, 92, 231, 0.6);
  }
  30% {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.9);
    box-shadow: 0 0 6px rgba(108, 92, 231, 0.5),
      0 0 12px rgba(108, 92, 231, 0.3);
  }
  45% {
    opacity: 1;
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(108, 92, 231, 1), 0 0 25px rgba(108, 92, 231, 0.7);
  }
  60% {
    opacity: 0.4;
    transform: translateX(-50%) scale(0.85);
    box-shadow: 0 0 5px rgba(108, 92, 231, 0.4),
      0 0 10px rgba(108, 92, 231, 0.2);
  }
  75% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.8),
      0 0 18px rgba(108, 92, 231, 0.5);
  }
  90% {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
    box-shadow: 0 0 4px rgba(108, 92, 231, 0.4), 0 0 8px rgba(108, 92, 231, 0.2);
  }
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.limit-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out both;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 220px;
}

.limit-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.limit-card:nth-child(1) {
  animation-delay: 0.1s;
}
.limit-card:nth-child(2) {
  animation-delay: 0.2s;
}
.limit-card:nth-child(3) {
  animation-delay: 0.3s;
}

.limit-label {
  font-size: 16px;
  color: var(--text-gray);
  font-weight: 500;
  letter-spacing: -0.3px;
}

.limit-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
}

.limits-note {
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 10px;
}

/* 후기 섹션 */
.reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 120px 20px;
  scroll-margin-top: 120px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out both;
}

.reviews-title-top {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reviews-title-main {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1.2;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.review-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-1deg) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.review-card:nth-child(1) {
  animation-delay: 0.1s;
}
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}
.review-card:nth-child(3) {
  animation-delay: 0.3s;
}

.review-avatar {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.review-content {
  flex: 1;
  text-align: left;
  padding-top: 8px;
}

.stars {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.review-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.review-card p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  font-weight: 400;
}

/* 혜택 섹션 */
.benefits-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  padding: 120px 20px;
  scroll-margin-top: 120px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1.2;
}

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

.promise-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 60px;
  font-weight: 400;
}

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

.benefits-grid {
  perspective: 1200px;
}

.benefit-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), #00a085);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.benefit-card:hover {
  transform: translateY(-16px) rotateX(5deg) rotateY(2deg) scale(1.04);
  box-shadow: 0 24px 64px rgba(0, 184, 148, 0.25),
    0 12px 32px rgba(0, 184, 148, 0.15);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}
.benefit-card:nth-child(2) {
  animation-delay: 0.2s;
}
.benefit-card:nth-child(3) {
  animation-delay: 0.3s;
}

.benefit-icon {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.1) 0%,
    rgba(108, 92, 231, 0.05) 100%
  );
  border-radius: 20px;
  margin: 0 auto 24px;
  letter-spacing: -1px;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.benefit-card p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 프로세스 섹션 */
.process-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  padding: 120px 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.process-steps {
  perspective: 1200px;
}

.step-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.step-card:hover {
  transform: translateY(-16px) rotateX(5deg) rotateY(-2deg) scale(1.03);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(0, 0, 0, 0.15);
}

.step-card:nth-child(1) {
  animation-delay: 0.1s;
}
.step-card:nth-child(2) {
  animation-delay: 0.2s;
}
.step-card:nth-child(3) {
  animation-delay: 0.3s;
}

.step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.step-image-area {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  background-color: #f0f0f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.white-step {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 12px;
}

.step-card p {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
}

.disclaimer-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 20px 56px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  letter-spacing: -0.3px;
}

/* FAQ 섹션 */
.faq-section {
  background-color: var(--bg-white);
  padding: 120px 20px;
  scroll-margin-top: 120px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background-color: var(--bg-light);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 12px;
  border-color: transparent;
}

.faq-item.active {
  background-color: var(--bg-light);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 12px;
  border-color: transparent;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  user-select: none;
}

.faq-icon {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 800;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  width: 28px;
  text-align: center;
  line-height: 1;
}

.faq-item:hover .faq-icon,
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out, opacity 0.3s ease;
  padding: 0;
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding-top: 24px;
  padding-bottom: 8px;
  opacity: 1;
  overflow: visible;
}

.faq-answer p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

/* 푸터 */
.footer-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f1419 100%);
  padding: 100px 20px;
  scroll-margin-top: 120px;
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.footer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), #00a085);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.footer-card:nth-child(2)::before {
  background: linear-gradient(90deg, #fee500, #fdd835);
}

.footer-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-1deg) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 184, 148, 0.25);
}

.footer-card:hover::before {
  transform: scaleX(1);
}

.footer-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-card p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.phone-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -1px;
}

.consult-btn-footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #00a085 100%);
  color: var(--bg-white);
  border: none;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  letter-spacing: -0.3px;
}

.consult-btn-footer:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* 채널톡 버튼 스타일 */
.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 20px 56px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  letter-spacing: -0.3px;
}

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

.channel-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
  border-color: #7c3aed;
}

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

.channel-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.channel-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.2));
}

/* 회사 정보 섹션 */
.company-info {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.company-brand-name {
  max-width: 200px;
  height: auto;
  margin-bottom: 40px;
  filter: brightness(0) invert(1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.company-details {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 30px;
}

.company-details p {
  margin: 6px 0;
  letter-spacing: -0.2px;
}

.company-copyright {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 40px;
  }
}

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

  .hero-title {
    font-size: 56px;
    letter-spacing: 4px;
    word-spacing: 6px;
  }

  .brand-text {
    font-size: 112px;
    letter-spacing: 12px;
    word-spacing: 0px;
  }

  .section-title {
    font-size: 42px;
  }

  .limits-grid,
  .benefits-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-images {
    gap: 40px;
  }

  .character-area,
  .card-area {
    width: 200px;
    height: 220px;
  }

  .limit-card,
  .benefit-card,
  .step-card {
    padding: 40px 32px;
  }

  .footer-cards {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* 모바일에서 애니메이션 최적화 */
  .fade-in-up {
    transform: translateY(30px);
    transition: opacity 0.5s ease-out,
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .slide-in-left {
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out,
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .slide-in-right {
    transform: translateX(30px);
    transition: opacity 0.5s ease-out,
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .scale-in-3d {
    transform: scale(0.95);
    transition: opacity 0.5s ease-out,
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* 3D 효과 줄이기 */
  .feature-card:hover,
  .limit-card:hover,
  .benefit-card:hover,
  .step-card:hover,
  .review-card:hover {
    transform: translateY(-6px) scale(1.01);
  }

  .container {
    padding: 0 24px;
  }

  /* 모바일: PC용 히어로 숨기고 og.png 표시 */
  .hero-section {
    margin-top: 70px;
    padding: 20px 0;
    min-height: auto;
    background: #ffffff;
  }

  .hero-desktop {
    display: none !important;
  }

  .hero-mobile-og {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
  }

  .hero-mobile-og img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
  }

  .main-header {
    top: 0;
    padding: 8px 0;
  }

  .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
  }

  .logo-area {
    width: 100px;
    height: 35px;
    margin: 0;
  }

  .header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 11px;
    padding: 4px 0;
  }

  .header-phone-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .google-search-box {
    width: 100%;
    justify-content: center;
    margin: 0 auto;
  }

  .hero-container {
    margin-top: 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    word-spacing: 5px;
  }

  .brand-text {
    font-size: 80px;
    letter-spacing: 8px;
    word-spacing: 0px;
  }

  .tagline {
    font-size: 24px;
    padding: 18px 40px;
    margin-bottom: 40px;
  }

  .tagline::before {
    font-size: 24px;
  }

  .hero-images {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    min-height: auto;
  }

  .character-area,
  .card-area {
    width: 180px;
    height: 180px;
  }

  .company-brand-name {
    max-width: 180px;
    margin-bottom: 32px;
  }

  .limits-grid,
  .benefits-grid,
  .process-steps,
  .footer-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }

  .features-section {
    padding: 60px 20px;
  }

  .limits-section,
  .reviews-section,
  .benefits-section,
  .process-section,
  .faq-section,
  .footer-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .reviews-title-top {
    font-size: 14px;
  }

  .reviews-title-main {
    font-size: 28px;
  }

  .reviews-header {
    margin-bottom: 50px;
  }

  .review-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .review-content {
    text-align: center;
  }

  .review-avatar {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
  }

  .review-card h3 {
    font-size: 20px;
  }

  .review-card p {
    font-size: 15px;
  }

  .feature-card {
    padding: 36px 24px;
    min-height: 160px;
  }

  .feature-subtitle {
    font-size: 24px;
  }

  .limit-card {
    padding: 40px 28px;
    min-height: 180px;
  }

  .limit-amount {
    font-size: 36px;
  }

  .benefit-card {
    padding: 40px 28px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 40px;
    margin-bottom: 20px;
  }

  .benefit-card h3 {
    font-size: 22px;
  }

  .step-card {
    padding: 40px 28px;
  }

  .step-image-area {
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
  }

  .step-card p {
    font-size: 15px;
  }

  .disclaimer-btn {
    padding: 16px 40px;
    font-size: 14px;
  }

  .faq-question {
    font-size: 18px;
  }

  .footer-card {
    padding: 40px 28px;
  }

  .footer-card h3 {
    font-size: 24px;
  }

  .phone-number {
    font-size: 28px;
  }

  .channel-btn {
    padding: 16px 40px;
    font-size: 16px;
    width: 100%;
  }

  .consult-btn-footer {
    padding: 16px 40px;
    font-size: 16px;
    width: 100%;
  }

  .promise-text {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .limits-note {
    font-size: 13px;
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  /* 작은 모바일에서 애니메이션 더 최적화 */
  .fade-in-up {
    transform: translateY(20px);
    transition: opacity 0.4s ease-out,
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .slide-in-left,
  .slide-in-right {
    transform: translateX(0);
    transition: opacity 0.4s ease-out,
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .scale-in-3d {
    transform: scale(0.97);
    transition: opacity 0.4s ease-out,
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* 3D 효과 제거 */
  .features-grid,
  .limits-grid,
  .benefits-grid,
  .process-steps {
    perspective: none;
  }

  .feature-card,
  .limit-card,
  .benefit-card,
  .step-card,
  .review-card {
    transform-style: flat;
  }

  .feature-card:hover,
  .limit-card:hover,
  .benefit-card:hover,
  .step-card:hover,
  .review-card:hover {
    transform: translateY(-4px);
  }

  .container {
    padding: 0 20px;
  }

  .hero-section {
    margin-top: 110px;
    padding: 30px 0;
    background: #ffffff;
    background-image: url("assets/main.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-container {
    margin-top: 0;
    padding: 0 16px;
  }

  .hero-images-diagonal {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
    min-height: 400px;
  }

  .hero-images-diagonal {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .hero-img-top-left,
  .hero-img-bottom-right {
    display: none;
  }

  .hero-text-center {
    grid-column: 1;
    grid-row: 1;
    padding: 16px;
  }

  .hero-text-top {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .hero-text-main {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .hero-text-bottom {
    font-size: 18px;
  }

  .hero-img-bottom-left {
    grid-column: 1;
    grid-row: 2;
    transform: translateY(0);
    justify-self: center;
    align-self: center;
  }

  .hero-img-top-right {
    grid-column: 1;
    grid-row: 3;
    transform: translateY(0);
    justify-self: center;
    align-self: center;
  }

  /* 중앙 타이틀 */
  .hero-img-center {
    grid-column: 1;
    grid-row: 1;
    z-index: 3;
  }

  .hero-img {
    max-height: 35vh;
  }

  .main-header {
    padding: 10px 0;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px;
  }

  .logo-area {
    width: 120px;
    height: 40px;
    margin: 0;
    align-self: center;
  }

  .header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    grid-column: unset;
  }

  .nav-link {
    font-size: 11px;
    padding: 5px 0;
  }

  .header-phone-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .google-search-box {
    font-size: 11px;
    padding: 10px 16px;
    width: 100%;
  }

  .google-search-box span:not(.google-logo):not(.search-icon) {
    font-size: 11px;
  }

  .google-logo {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .hero-section {
    margin-top: 100px;
    padding: 20px 0;
  }

  .hero-mobile-og img {
    max-width: 300px;
  }

  .features-section {
    padding: 60px 16px;
  }

  .limits-section,
  .reviews-section,
  .benefits-section,
  .process-section,
  .faq-section,
  .footer-section {
    padding: 50px 16px;
  }

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

  .reviews-title-main {
    font-size: 24px;
  }

  .feature-card {
    padding: 32px 20px;
    min-height: 140px;
  }

  .feature-title {
    font-size: 14px;
  }

  .feature-subtitle {
    font-size: 22px;
  }

  .limit-card {
    padding: 32px 24px;
    min-height: 160px;
  }

  .limit-label {
    font-size: 14px;
  }

  .limit-amount {
    font-size: 32px;
  }

  .review-card {
    padding: 28px 20px;
  }

  .review-avatar {
    width: 70px;
    height: 70px;
  }

  .review-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .review-card p {
    font-size: 14px;
  }

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

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

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 36px;
    margin-bottom: 16px;
  }

  .benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .benefit-card p {
    font-size: 14px;
  }

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

  .step-number {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .step-image-area {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }

  .step-card p {
    font-size: 14px;
  }

  .disclaimer-btn {
    padding: 14px 32px;
    font-size: 13px;
  }

  .faq-item {
    padding: 24px 0;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-icon {
    font-size: 24px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .company-info {
    margin-top: 50px;
    padding-top: 40px;
  }

  .company-brand-name {
    max-width: 150px;
    margin-bottom: 24px;
  }

  .company-details {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .company-details p {
    margin: 4px 0;
  }

  .company-copyright {
    font-size: 11px;
    margin-top: 24px;
    padding-top: 20px;
  }

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

  .footer-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .footer-card p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .phone-number {
    font-size: 24px;
  }

  .channel-btn {
    padding: 14px 32px;
    font-size: 15px;
  }

  .channel-icon {
    font-size: 20px;
  }

  .consult-btn-footer {
    padding: 14px 32px;
    font-size: 15px;
  }

  .promise-text {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .limits-connector {
    margin-bottom: 40px;
  }
}

/* 매우 작은 화면 (320px 이하) */
@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }

  .main-header {
    padding: 8px 0;
  }

  .header-container {
    padding: 0 12px;
  }

  .logo-area {
    width: 100px;
    height: 35px;
  }

  .nav-link {
    font-size: 10px;
  }

  .hero-section {
    margin-top: 90px;
  }

  .hero-mobile-og img {
    max-width: 260px;
  }

  .section-title {
    font-size: 22px;
  }

  .company-brand-name {
    max-width: 120px;
  }
}
