/* Reset & Base */
html { font-size: 62.5%;background-color: #181818;}  /* 1rem = 10px */
* { margin:0; padding:0; box-sizing:border-box;

}
    /* 기본폰트 */
    body { 
      font-family: 'Noto Sans KR', sans-serif; 
      color:#333; 
      font-size:2rem;
      width: 100vw;
      min-width: 100vw;
      max-width: 100vw;
      overflow-x: hidden;
      text-align: center;
     }
    a { text-decoration:none; color:inherit; }
  
    /* Container & Sections */
    header, section, footer { 
      max-width:800px; 
      margin:0 auto;
      width: 100vw;
      min-width: 100vw;
      max-width: 100vw;
      box-sizing: border-box;
     }
    section { border-bottom:1px solid #ddd; }
    section:not(.hero) { padding:40px 20px; }

    /* Hero Slider */
    .hero { position:relative; overflow:hidden; }
    .hero .slides { display:flex; transition:transform .4s ease; }
    .hero .slide { min-width:100%; }
    .hero .slide img { width:100%; display:block;  opacity: 0.8;    
      
      /* 세로 크기 100vh 지정 */
      height: 100vh;}
.hero-logo {
  /* ...existing code... */
  width: 300px;    /* 필요시 조절 */
  height: auto;
  position: absolute;
  top: 50%; 
  left: 50%;                     /* 수평 중앙으로 이동 */
  transform: translate(-50%, -50%);  /* 수평·수직 중앙 정렬 */
  text-shadow:2px 2px 4px rgba(0,0,0,0.5);
  z-index: 10;
  /* ...existing code... */
}
    .hero .slide .hero-title {
      position:absolute; bottom:20px; left:20px;
      color:#fff; font-size:2rem; text-shadow:2px 2px 4px rgba(0,0,0,0.5);
      z-index: 10;
  }
    .hero button {
      position:absolute; top:50%; transform:translateY(-50%);
      background:rgba(255,255,255,0.8); border:none;
      font-size:1.5rem; cursor:pointer; padding:8px 12px;
    }
    .hero .prev { left:30px; 
    width: 50px; height: 50px;
  font-size: 30px; }
    .hero .next { right:30px;
    width: 50px; height: 50px; font-size: 30px; }
 .hero-title{
      position:absolute; top: 2%; left:7%; transform:translateX(-50%);
      color:#fff; font-size:2rem; text-align:center;
      z-index: 10;
      
      font-weight: 900;
      font-style: italic;
      font-size: 30px;
      letter-spacing: -1px; /* 글자 간격 줄임 */
    }

    /* Navigation */
    nav { display:flex; justify-content:space-between; padding:20px 0; }
    nav .logo img { width:120px; }
    nav ul { display:flex; gap:20px; }
    nav ul li { list-style:none; }
    nav ul li a { font-size:1.2rem; color:#333; }

    /* Main Content */
    main { padding:40px 20px;
 }
.subscription-bg-image {
  width: 100%;
  height: 100%;
  opacity: 0.15; /* 반투명 효과 */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover; /* 원본 비율 유지하며 배경에 꽉 차게 */
  object-position: center;
  z-index: 0;
}
    /* Subscription */
    .subscription{
      position: relative;
      
      background-color: rgba(0, 0, 0, 0.7);
      height: 80vh;
      
      align-items: center; justify-content: center;
      display: flex; flex-direction: column;
    }
    .subscription h2 { color:white;
      font-size: 5rem;
      line-height: 60px;
      font-weight: 900; /* 더 굵게 */ 
      letter-spacing: -0.3rem; /* 글자 간격 줄임 */
     
    }
    .subscription h3 { 
      letter-spacing: -0.3rem; 
      font-size:4rem; margin-bottom:20px; color:white; 
    margin-bottom: 5rem;}
    .subscription .app-buttons img {

      
      width:250px; margin:0 30px;
    
    }
    .app-buttons {
      position: relative;
      z-index: 10;
    }
    .app-buttons img{
      
    }
/* features 섹션 전체 */
.features {
      background-color: rgb(0, 0, 0);
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 4rem 4rem;

  background-color: #0a0a0a;
}

/* 헤더 텍스트 */
.features-header {
  text-align: center;
  margin-bottom: 40px;
}
.features-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}
.features-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

/* 카드 그리드 */
.feature-cards {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6rem;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 5rem;
  
}

/* 개별 카드 */
.card {
  width: 25%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  aspect-ratio: 1 / 1;  /* 정사각형 유지 */
}

/* 카드 이미지 */
.card img {
  width: 100%;
  height: 100%;       /* 카드 높이에 맞춰 채움 */
  object-fit: cover;
  display: block;
}

/* 텍스트 오버레이 */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  /* 배경 그라데이션으로 가독성 확보 */
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 16px;
  border-radius: 0 0 8px 8px;
}

.card-title {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.33rem;
}
.card-text {
  margin: 4px 0 0;
  font-size: 2.5rem;
}
    /* Logo */
    .logo {
  margin:40px auto;
  text-align: center;
 }
    .logo img { width:160px; }

    /* Footer */
    footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  line-height: 1.4;
  padding: 20px;
}
    footer .info { margin-bottom:8px; }
    footer .links a { margin:0 6px; }
.reviews{
  height: 60vh;
  align-items: center;
  justify-content: space-between;
}
    /* 중앙정렬이 필요한 섹션 */
    section.hero,
    section.subscription,
    section.reviews {
      text-align: center;
     
    }
    .reviews-title{
      margin-bottom: 15px;
      color: #ddd;
      font-size: 5rem;
    }
    .review-card{
      margin-bottom: 20px;
    }
    .review-card .reviewer-name {
      font-size: 1.2rem;
    }
    .review-card .review-text {
      font-size: 1rem;
    }
/* 중앙 정렬을 위해 부모 컨테이너에서 텍스트 정렬 사용 */
body {
  text-align: center;
}
.banner{
  width: 100%;
  height: 50vh;
  display: flex;
  gap: 2.5rem;
  flex-direction: column;   /* 세로로 정렬 */
  align-items: center;      /* 가로 가운데 정렬 */
  justify-content: center;  /* 세로 가운데 정렬 */
  margin: 0 auto;
}
.banner-title{
  color: #fff;
  font-size: 5rem;
  letter-spacing: -0.3rem; /* 글자 간격 줄임 */
  font-weight: 600;

}


/* Responsive Layout */
/* Mobile: up to 600px */
@media (max-width: 600px) {
  header, section, footer { padding: 20px 10px; }
  nav { flex-direction: column; align-items: center; gap: 10px; }
  nav ul { flex-direction: column; gap: 8px; }
  .hero-logo { width: 150px; }
  .hero-title { font-size: 1.25rem; top: 65%; }
  .subscription { height: auto; padding: 40px 10px; }
  .feature-cards { grid-template-columns: 1fr !important; }
  .logo img { width: 120px; }



  /* 모바일 환경의 경우 feature 섹션 card silde처리*/
 .feature-cards {
    display: flex !important;
    flex-direction: row;
    overflow: hidden;
    width: 100%;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    /* 크기 고정 */
    height: 320px; /* 카드 높이 고정, 필요시 조정 */
  }
  .feature-cards .card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    transition: none;
  }
  /* 슬라이드 버튼 스타일 */
  .feature-prev, .feature-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border: none;
    font-size: 2rem;
    padding: 8px 16px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
  }
  .feature-prev { left: 10px; }
  .feature-next { right: 10px; }
  .features {
    position: relative; /* 버튼 위치 기준 */
  }
}

/* Tablet: 601px to 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  nav { flex-wrap: wrap; }
  .hero-logo { width: 200px; }
  .hero-title { font-size: 1.5rem; }
  .feature-cards { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Desktop: above 1025px */
@media (min-width: 1025px) {
  .feature-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.reviews {
  position: relative;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  background: inherit;
}
.review-img{
 width: 80px;
 height: 80px;
}
.review-box {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  height: 180px; /* 카드 높이 고정, 필요시 조정 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card {
  min-width: 100vw;
  max-width: 100vw;
  flex: 0 0 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: none;
}
.review-prev, .review-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
}
.review-prev { left: 10px; }
.review-next { right: 10px; }

/* Swiper 네비게이션 버튼 스타일 (리뷰 슬라이드용) */
.review-box.swiper .swiper-button-prev,
.review-box.swiper .swiper-button-next {
  background: transparent !important;
  box-shadow: none;
  border-radius: 0;
  /* 필요시 padding, width/height도 조절 */
  padding: 0;
  width: auto;
  height: auto;
}
.review-box.swiper .swiper-button-prev { left: 10px; }
.review-box.swiper .swiper-button-next { right: 10px; }

/* Swiper 슬라이드 내부 정렬 유지 */
.review-box.swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #222;
}
.review-box.swiper .review-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* 리뷰 슬라이더 컨테이너 */
.review-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* 각 슬라이드 */
.review-box .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 이미지 크기 */
.review-box .review-image {
  max-width: 80%;      /* 가로 80% 이내 */
  max-height: 200px;   /* 세로 200px 이내 */
  object-fit: contain; /* 비율 유지 */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.review-box .swiper-button-prev,
.review-box .swiper-button-next {
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}
.review-box .swiper-pagination-bullet {
  background: rgba(255,255,255,0.7);
}
.review-box .swiper-pagination-bullet-active {
  background: #fff;
}

@media (max-width: 600px) {
  .review-box {
    height: 180px;
  }
  .review-card {
    min-width: 100vw;
    max-width: 100vw;
    flex: 0 0 100vw;
    height: 100%;
  }
}
.review-box.swiper {
  height: 250px; /* increased container height for images */
}
.review-box.swiper .swiper-slide img {
  width: auto;
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}