body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  text-align: center;
  background: linear-gradient(120deg, #e0f7ff, #ffffff, #e0f7ff);
  background-size: 200% 200%;
  animation: waveBackground 3s ease-in-out infinite;
  color: #222;
}

/* 배경이 은은하게 움직이는 효과 */
@keyframes waveBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 전체 컨테이너에 스냅 스크롤 적용 */
.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* 각 섹션은 화면 전체 높이 차지 */
.section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  padding: 20px;
  box-sizing: border-box;
}

/* 상단바 */
.top-bar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #cfefff;
  padding: 16px;
  opacity:10px;
}

.top-bar .mic-icon img,
.top-bar .my-btn img {
  height: 120px;
  width:auto;
}

/* 섹션별 텍스트 */
.subtitle {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 20px;
  text-align: center;
}

.title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.logo img {
  width: 160px;
}

/* CTA 버튼 */
.cta {
  margin-top: 30px;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #FFA14B, #FF7B36);
  border: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(255, 123, 54, 0.3);
  transition: transform 0.2s ease;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease, width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::after {
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%) scale(1);
}

.cta-btn:hover {
  transform: scale(1.05);
}

/* 두 번째 섹션 */
.content-img img {
  max-width: 300px;   /* 최대 너비 제한 */
  width: 100%;        /* 작은 화면에서는 100%로 줄어듦 */
  height: auto;       /* 비율 유지 */
  border-radius: 8px;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto; /* 가운데 정렬 */
}

.content-text p {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
  text-align: center;
}

/* 섹션 4 전용 텍스트 조금 더 강조 */
.section:nth-child(4) .content-text p {
  font-size: 18px;
  margin: 10px 0;
  text-align: center;
}