/* ==========================================================================
   Cases Page Styles - 도입사례 페이지
   ========================================================================== */

/* =========================
   Header Section - 페이지 타이틀
   ========================= */

.cases-header {
  background-color: #ffffff;
  padding: 160px 0 112px;
  overflow: hidden;
}

.cases-header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-3xl);
}

.cases-header__content {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.cases-header__title {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: #03090c;
  margin-bottom: 24px;
}

.cases-header__subtitle {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #03090c;
}

/* Tablet */
@media (max-width: 1199px) {
  .cases-header {
    padding: 120px 0 80px;
  }

  .cases-header__container {
    padding: 0 var(--spacing-2xl);
  }

  .cases-header__title {
    font-size: 48px;
    letter-spacing: -0.48px;
  }

  .cases-header__subtitle {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cases-header {
    padding: 100px 0 64px;
  }

  .cases-header__container {
    padding: 0 var(--spacing-lg);
  }

  .cases-header__title {
    font-size: 36px;
    letter-spacing: -0.36px;
    margin-bottom: 16px;
  }

  .cases-header__subtitle {
    font-size: 14px;
  }
}

/* =========================
   Case Section - 도입 사례 개별 섹션
   ========================= */

.case-section {
  padding: 112px 0;
  overflow: hidden;
}

.case-section--gray {
  background-color: #f2f2f2;
}

.case-section--white {
  background-color: #ffffff;
}

.case-section__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-3xl);
}

.case-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.case-content--reverse {
  flex-direction: row-reverse;
}

.case-content__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-content__title {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.52px;
  color: #03090c;
}

.case-content__description {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #03090c;
}

.case-content__description p {
  margin-bottom: 0;
  position: relative;
  padding-left: 24px;
}

.case-content__description p::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #37B6B8;
  font-weight: 700;
}

.case-content__description p:not(:last-child) {
  margin-bottom: 16px;
}

.case-content__image {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.case-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet */
@media (max-width: 1199px) {
  .case-section {
    padding: 80px 0;
  }

  .case-section__container {
    padding: 0 var(--spacing-2xl);
  }

  .case-content {
    gap: 48px;
  }

  .case-content__title {
    font-size: 40px;
    letter-spacing: -0.4px;
  }

  .case-content__description {
    font-size: 28px;
  }

  .case-content__description p {
    padding-left: 20px;
  }

  .case-content__description p:not(:last-child) {
    margin-bottom: 12px;
  }

  .case-content__image {
    border-radius: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .case-section {
    padding: 64px 0;
  }

  .case-section__container {
    padding: 0 var(--spacing-lg);
  }

  .case-content {
    flex-direction: column !important;
    gap: 32px;
  }

  .case-content__title {
    font-size: 32px;
    letter-spacing: -0.32px;
  }

  .case-content__description {
    font-size: 24px;
  }

  .case-content__description p {
    padding-left: 18px;
  }

  .case-content__description p:not(:last-child) {
    margin-bottom: 10px;
  }

  .case-content__image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
  }
}

/* =========================
   Testimonial Section - 고객 추천
   ========================= */

.testimonial-section {
  background-color: #f2f2f2;
  padding: 112px 0;
  overflow: hidden;
}

.testimonial-section__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-3xl);
}

.testimonial-section__title {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.52px;
  color: #03090c;
  text-align: center;
  margin-bottom: 80px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.testimonial-card__quote {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.22px;
  color: #03090c;
  text-align: center;
  margin: 0;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 300px;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card__avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #d9d9d9;
  background-image: linear-gradient(135deg, #37B6B8 0%, #4FFAFE 100%);
}

.testimonial-card__info {
  text-align: center;
}

.testimonial-card__name {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #03090c;
  margin-bottom: 4px;
}

.testimonial-card__company {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #03090c;
}

/* Tablet */
@media (max-width: 1199px) {
  .testimonial-section {
    padding: 80px 0;
  }

  .testimonial-section__container {
    padding: 0 var(--spacing-2xl);
  }

  .testimonial-section__title {
    font-size: 40px;
    letter-spacing: -0.4px;
    margin-bottom: 64px;
  }

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

  .testimonial-card__quote {
    font-size: 20px;
    letter-spacing: -0.2px;
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .testimonial-section {
    padding: 64px 0;
  }

  .testimonial-section__container {
    padding: 0 var(--spacing-lg);
  }

  .testimonial-section__title {
    font-size: 32px;
    letter-spacing: -0.32px;
    margin-bottom: 48px;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial-card__quote {
    font-size: 18px;
    letter-spacing: -0.18px;
  }

  .testimonial-card__author {
    width: 100%;
    max-width: 300px;
  }

  .testimonial-card:last-child {
    grid-column: 1;
    max-width: 100%;
  }
}

/* =========================
   CTA Section - 상담 신청
   ========================= */

.cases-cta-section {
  background-color: #ffffff;
  padding: 112px 0;
  overflow: hidden;
}

.cases-cta-section__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-3xl);
}

.cases-cta-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  padding: 64px;
  background-color: #242629;
  background-image: linear-gradient(135deg, rgba(55, 182, 184, 0.3) 0%, rgba(79, 250, 254, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cases-cta-card__content {
  max-width: 768px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.cases-cta-card__title {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.52px;
  color: #ffffff;
  margin-bottom: 0;
}

.cases-cta-card__description {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 0;
}

.cases-cta-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  background-color: #03090c;
  border: 1px solid #1c2124;
  box-shadow: inset 0px -4px 0px 0px #1c2124;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.cases-cta-card__button:hover {
  background-color: #1c2124;
  transform: translateY(-2px);
  box-shadow: inset 0px -4px 0px 0px #1c2124, 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cases-cta-card__button:active {
  transform: translateY(0);
  box-shadow: inset 0px -2px 0px 0px #1c2124;
}

/* Tablet */
@media (max-width: 1199px) {
  .cases-cta-section {
    padding: 80px 0;
  }

  .cases-cta-section__container {
    padding: 0 var(--spacing-2xl);
  }

  .cases-cta-card {
    border-radius: 32px;
    padding: 48px;
  }

  .cases-cta-card__content {
    gap: 24px;
  }

  .cases-cta-card__title {
    font-size: 40px;
    letter-spacing: -0.4px;
  }

  .cases-cta-card__description {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cases-cta-section {
    padding: 64px 0;
  }

  .cases-cta-section__container {
    padding: 0 var(--spacing-lg);
  }

  .cases-cta-card {
    border-radius: 24px;
    padding: 32px 24px;
  }

  .cases-cta-card__content {
    gap: 20px;
  }

  .cases-cta-card__title {
    font-size: 32px;
    letter-spacing: -0.32px;
  }

  .cases-cta-card__description {
    font-size: 15px;
  }

  .cases-cta-card__button {
    width: 100%;
    max-width: 280px;
  }
}

