/* 공통 섹션 스타일 */
.section-title {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  word-break: keep-all;
  line-height: 1.3;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
  word-break: keep-all;
}

/* 공통 섹션 패딩 */
.features,
.services,
.about,
.partners {
  padding: 10rem 15% 10rem;
  background-color: var(--gray-light);
  position: relative;
}

/* Features 섹션 번갈아가며 배경색 적용 */
.features:nth-child(even) {
  background-color: #ffffff;
}

.features:nth-child(odd) {
  background-color: #f8f9fa;
}

/* 공통 애니메이션 클래스 */
.fade-in,
.feature-card,
.service-item,
.about-content,
.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible,
.feature-card.visible,
.service-item.visible,
.about-content.visible,
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 공통 호버 효과 */
.feature-card:hover,
.stat-item:hover {
  transform: translateY(-10px);
}

/* 공통 이미지 스타일 */
.feature-image,
.service-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.feature-image {
  width: 100%;
  height: 500px;
}

.service-image {
  flex: 1.5;
  height: 500px;
}

.feature-image img,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img,
.service-item:hover .service-image img {
  transform: scale(1.05);
}

/* 공통 오버레이 스타일 */
.feature-overlay,
.service-image::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  transition: all 0.3s ease;
}

/* Hero 섹션 스타일 */
.hero {
  height: 100vh;
  background: url("../img/hero.jpg") center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  scroll-snap-align: start;
}

.hero1-2 {
  height: 100vh;
  background: url("../img/hero2.jpg") center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  scroll-snap-align: start;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero1-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  margin-top: 70px;
  text-align: center;
}

.hero-content .slogan {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.1s forwards;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
}

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

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: 2px solid var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-down:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.hero-buttons .btn-primary {
  background: linear-gradient(to right, rgba(96, 38, 244, 0.3), #600c8c);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.hero-buttons .btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(96, 12, 140, 0.3);
}

.hero-buttons .btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-top: 2rem;
}

.text-content {
  flex: 1;
  padding-right: 2rem;
}

.text-content h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
  word-break: keep-all;
}

.text-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
  word-break: keep-all;
}

/* Feature Grid 스타일 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-box {
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: #8b5cf6;
}

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

.feature-number {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  z-index: 1;
}

.feature-box h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}

.feature-box p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}

.image-content {
  flex: 1;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-content img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-content:hover img {
  transform: scale(1.05);
}

/* 말풍선 스타일 */
.image-content {
  position: relative;
}

/* 말풍선이 있는 섹션의 이미지 컨테이너 스타일 */
.image-content.speech-bubble-container {
  height: auto;
  min-height: 400px;
  overflow: visible;
  padding: 20px;
}

.image-content.speech-bubble-container img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}

.speech-bubble {
  position: absolute;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

.speech-bubble.left {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.speech-bubble.right {
  top: 20%;
  right: 18%;
  animation-delay: 1.5s;
}

.bubble-content {
  background: white;
  border: 2px solid rgba(221, 221, 221, 0);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  max-width: 200px;
}

.bubble-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  display: block;
  text-align: center;
  line-height: 1.3;
}

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

/* 파트너 섹션 스타일 */
.partners {
  padding: 6rem 15% 4rem;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.partners .section-title {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  margin-bottom: 3rem;
}

.partners .section-title h2 {
  font-size: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0;
}

.partners-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-swiper {
  width: 100%;
  padding: 1.5rem 0;
}

.partner-swiper-top {
  margin-bottom: 0.5rem;
}

.partner-swiper-bottom {
  margin-top: 0.5rem;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 200px !important;
  min-width: 200px;
  padding: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.swiper-slide img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* 태블릿 반응형 스타일 */
@media screen and (max-width: 1024px) {
  .features {
    padding: 4rem 10% 3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .content-wrapper {
    gap: 2rem;
  }

  .text-content h3 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  .image-content {
    height: 350px;
  }

  .image-content.speech-bubble-container {
    height: auto;
    min-height: 350px;
  }

  /* 파트너 섹션 태블릿 스타일 */
  .partners {
    padding: 4rem 5% 3rem;
  }

  .swiper-slide {
    width: 180px !important;
    min-width: 180px;
  }

  .swiper-slide img {
    max-width: 140px;
    max-height: 70px;
  }
}

/* 모바일 반응형 스타일 */
@media screen and (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 200px;
    text-align: center;
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .features {
    padding: 3rem 2% 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .speech-bubble {
    transform: scale(0.8);
  }

  .speech-bubble.left {
    top: 15%;
    left: 15%;
  }

  .speech-bubble.right {
    top: 15%;
    right: 15%;
  }

  .text-content {
    padding-right: 0;
    text-align: center;
  }

  .text-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .text-content p {
    font-size: 0.95rem;
  }

  /* 모바일에서 feature-grid 스타일 */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .feature-box {
    padding: 1.5rem;
  }

  .feature-number {
    font-size: 2.5rem;
    top: -8px;
    right: 15px;
  }

  .feature-box h4 {
    font-size: 1.2rem;
  }

  .feature-box p {
    font-size: 0.95rem;
  }

  .image-content {
    height: 300px;
    width: 100%;
  }

  .image-content.speech-bubble-container {
    height: auto;
    min-height: 300px;
  }

  .features-button-wrapper {
    margin-top: 2rem;
  }

  .btn-more {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .promise-cards {
    gap: 1rem;
    max-width: 600px;
  }

  .promise-card {
    padding: 1.5rem 1rem;
  }

  .promise-icon {
    font-size: 2.5rem;
    width: 3rem;
    height: 3rem;
    bottom: 8px;
    right: 8px;
  }

  .promise-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .promise-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* 파트너 섹션 모바일 스타일 */
  .partners {
    padding: 3rem 2% 2rem;
  }

  .partners-container {
    gap: 0.5rem;
  }

  .partner-swiper {
    padding: 1rem 0;
  }

  .swiper-slide {
    width: 150px !important;
    min-width: 150px;
    height: 100px;
  }

  .swiper-slide img {
    max-width: 120px;
    max-height: 60px;
  }
}

/* 작은 모바일 화면 반응형 스타일 */
@media screen and (max-width: 480px) {
  .features {
    padding: 2rem 0.5rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

  .text-content h3 {
    font-size: 1.3rem;
  }

  /* 작은 모바일에서 feature-grid 스타일 */
  .feature-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .feature-box {
    padding: 1.2rem;
  }

  .feature-number {
    font-size: 2rem;
    top: -6px;
    right: 12px;
  }

  .feature-box h4 {
    font-size: 1.1rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }

  .speech-bubble {
    transform: scale(0.7);
  }

  .bubble-text {
    font-size: 0.8rem;
  }

  .image-content {
    height: 250px;
  }

  .image-content.speech-bubble-container {
    height: auto;
    min-height: 250px;
  }

  .features-button-wrapper {
    margin-top: 1.5rem;
  }

  .btn-more {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .promise-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
  }

  .promise-card {
    padding: 1.5rem 1rem;
  }

  .promise-icon {
    font-size: 2.5rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .promise-card h3 {
    font-size: 1.2rem;
  }

  .promise-card p {
    font-size: 0.9rem;
  }

  /* 파트너 섹션 작은 모바일 스타일 */
  .partners {
    padding: 2rem 1% 1.5rem;
  }

  .partners .section-title h2 {
    font-size: 1.5rem;
  }

  .swiper-slide {
    width: 130px !important;
    min-width: 130px;
    height: 80px;
    padding: 0.5rem;
  }

  .swiper-slide img {
    max-width: 100px;
    max-height: 50px;
  }
}

.features-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.btn-more {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--text-dark);
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: var(--text-dark);
  color: white;
}

.delivery-features {
  padding: 6rem 15% 0;
  background-color: white;
}

.delivery-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 4rem;
}

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

.delivery-image {
  width: 100%;
  max-width: 330px;
  height: auto;
}

/* 태블릿 반응형 스타일 */
@media screen and (max-width: 1024px) {
  .delivery-features {
    padding: 4rem 10% 3rem;
  }

  .delivery-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

/* 모바일 반응형 스타일 */
@media screen and (max-width: 768px) {
  .delivery-features {
    padding: 3rem 5% 2rem;
  }

  .delivery-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}

/* 작은 모바일 화면 반응형 스타일 */
@media screen and (max-width: 480px) {
  .delivery-features {
    padding: 2rem 1rem;
  }

  .delivery-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.hero.hero2 {
  background: url("../img/hero2.png") center;
  background-size: cover;
  position: relative;
  color: #222;
}
.hero.hero2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
  z-index: 0;
}
.hero2-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  margin-top: 70px;
}
.hero2-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  line-height: 1.2;
}
.hero2-content p {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.home2-page {
  --primary-color: #600c8c;
}

/* 애니메이션 타이틀 스타일 */
.animated-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.title-word {
  display: inline-block;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: titleAnimation 2s ease-in-out infinite;
  transform-origin: center;
}

.title-word:nth-child(1) {
  animation-delay: 0s;
}

.title-word:nth-child(2) {
  animation-delay: 0.3s;
}

.title-word:nth-child(3) {
  animation-delay: 0.6s;
}

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

.animated-subtitle {
  font-size: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.9s forwards;
}

.animated-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 1.2s forwards;
}

.pulse-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pulse-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.pulse-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.pulse-btn:hover::before {
  width: 300px;
  height: 300px;
}

.bounce-btn {
  animation: bounce 2s infinite;
}

.bounce-btn:hover {
  animation: none;
  transform: translateX(-50%) scale(1.1);
}

/* 모바일 반응형 애니메이션 */
@media screen and (max-width: 768px) {
  .title-word {
    font-size: 2.5rem;
  }

  .animated-title {
    gap: 0.3rem;
  }

  .hero-content .slogan {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }
}

@media screen and (max-width: 480px) {
  .title-word {
    font-size: 2rem;
  }

  .animated-title {
    gap: 0.2rem;
  }

  .hero-content .slogan {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
}

/* 동영상 배경 스타일 */
.hero-video {
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
}

.hero-video .scroll-down {
  position: relative;
  z-index: 2;
}

/* 동영상 배경 오버레이 */
.hero-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* 약속 카드 스타일 */
.promise-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 모바일에서 패딩 조정 */
@media screen and (max-width: 480px) {
  .promise-cards {
    padding: 0 0.5rem;
  }
}

/* 가로 스크롤 강력 방지 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* 데스크탑에서는 3개씩 배치 */
@media screen and (min-width: 1025px) {
  .promise-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
  }
}

.promise-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.promise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.promise-card:hover .promise-icon {
  transform: rotate(0deg);
}

.promise-icon {
  font-size: 4rem;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transform: rotate(15deg);
  transition: all 0.3s ease;
  z-index: 1;
  width: 5rem;
  height: 5rem;
}

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

.promise-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: "Pretendard", sans-serif;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}

.promise-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
  word-break: keep-all;
}

/* 카드형 3분할 레이아웃 */
.features-cards {
  padding-left: 0;
  padding-right: 0;
}

.features-cards .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-cards .section-title .highlight {
  color: #6026f4;
  font-weight: 700;
}

.features-cards .subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.card-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

/* 태블릿 이하에서 가로 스크롤 방지 */
@media screen and (max-width: 1024px) {
  .card-wrapper {
    overflow-x: visible;
    flex-wrap: wrap;
  }
}

.feature-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  min-width: 500px;
  max-width: 600px;
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

/* 모바일에서 feature-card 가로 스크롤 방지 */
@media screen and (max-width: 768px) {
  .feature-card {
    min-width: 100%;
    max-width: 100%;
    flex: 1;
  }
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.13);
}

.card-image {
  width: 100%;
  height: 220px;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

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

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 1.5rem 0.5rem 1.5rem;
  font-family: "Pretendard", sans-serif;
  color: #333;
  text-align: center;
  word-break: keep-all;
}

.card-desc {
  font-size: 1.2rem;
  color: #222;
  text-align: center;
  line-height: 1.5;
  margin: 0 1.5rem 1.5rem 1.5rem;
  word-break: keep-all;
}

@media (max-width: 900px) {
  .card-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .feature-card {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
  }
}
