/* Section 14 (CTA) - 100% Figma match */

/* Fade-in Animation for CTA elements */
.home_section_14 #cta-title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.home_section_14 #cta-title.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.home_section_14 #cta-button {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.home_section_14 #cta-button.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.home_section_14,
.home_section_14 * {
  box-sizing: border-box;
}
.home_section_14 {
  background: radial-gradient(
      closest-side,
      rgba(0, 81, 255, 0) 0%,
      rgba(21, 44, 192, 0.2) 88.57800364494324%
    ),
    linear-gradient(to left, #163c62, #163c62);
  height: 594px;
  position: relative;
  overflow: hidden;
}
.home_section_14 .group-53411 {
  width: 65.68%;
  height: 206.2%;
  position: absolute;
  right: 41.35%;
  left: -7.03%;
  bottom: -52.69%;
  top: -53.51%;
  overflow: visible;
}
.home_section_14 .div {
  opacity: 0.3;
  width: 468px;
  height: 592px;
  position: absolute;
  right: 180px;
  top: 50%;
  translate: 0 -50%;
  overflow: visible;
  aspect-ratio: 468/592;
}
.home_section_14 .frame-1707482862 {
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
  justify-content: flex-start;
  width: 798px;
  position: absolute;
  left: 50%;
  translate: -50% -50%;
  top: 50%;
}
.home_section_14 .div2 {
  color: #ffffff;
  text-align: center;
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 48px;
  line-height: 160%;
  letter-spacing: -0.025em;
  font-weight: 600;
  position: relative;
  align-self: stretch;
}
.home_section_14 .frame-1707482861 {
  background: linear-gradient(
    90deg,
    rgba(68, 147, 221, 1) 0%,
    rgba(52, 79, 255, 1) 30.760937929153442%,
    rgba(52, 89, 255, 1) 61.82514429092407%,
    rgba(68, 147, 221, 1) 100%
  );
  border-radius: 20px;
  padding: 30px 140px 30px 140px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0px 4px 20px 0px rgba(150, 216, 255, 0.5),
    0px 0px 100px 0px rgba(72, 131, 182, 1),
    inset 0px -4px 20px 0px rgba(150, 216, 255, 0.5);
}

.home_section_14 .frame-1707482861:hover {
  transform: translateY(-2px);
  box-shadow: inset 0px 4px 20px 0px rgba(150, 216, 255, 0.6),
    0px 0px 120px 0px rgba(72, 131, 182, 1.2),
    inset 0px -4px 20px 0px rgba(150, 216, 255, 0.6);
}

/* 전역적으로 "지금 회원가입 하고 무료 크레딧 20개 받기" 버튼 스타일 */
.frame-1707482861 {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-1707482861:hover {
  transform: translateY(-2px);
}

#cta-button {
  cursor: pointer;
  transition: transform 0.2s ease;
}

#cta-button:hover {
  transform: translateY(-2px);
}
.home_section_14 ._20 {
  color: #ffffff;
  text-align: left;
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: 30px;
  line-height: 160%;
  letter-spacing: -0.025em;
  font-weight: 600;
  position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .home_section_14 {
    height: 400px;
    background-image: url('../images/section14/Frame 1707483085.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure all child elements respect width */
  .home_section_14 * {
    max-width: 100% !important;
  }

  /* Hide desktop background elements on mobile */
  .home_section_14 .group-53411,
  .home_section_14 .div {
    display: none;
  }

  /* Content container */
  .home_section_14 .frame-1707482862 {
    width: 100%;
    max-width: 342px;
    gap: 40px;
    padding: 0 20px;
  }

  /* Title */
  .home_section_14 .div2 {
    font-size: 24px;
  }

  /* CTA Button */
  .home_section_14 .frame-1707482861 {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .home_section_14 ._20 {
    font-size: 18px;
    text-align: center;
  }
}
