body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #ffffff;
  color: #333;
}

header {
  background-color: #cccccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap; /* 모바일에서 줄바꿈 허용 */
}

.logo img {
  height: 80px;
  display: block;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #1E88E5;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #1E88E5;
}

.hero {
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 60px 20px;
  background: 
  linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
  url('images/hero-bg.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding-bottom: 550px;
}

.hero h2 {
  font-size: 52px;
  margin-bottom: 20px;
  margin-top: -240px;
  color: #eef738;
}

.hero p {
  font-size: 28px;
  line-height: 1.8;
  margin-top: 0;
  text-align: center;
}

.product-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -15%);
  transform-origin: center center;
  width: 100%;
  max-width: 450px;
  z-index: 2;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.3));
  /* 애니메이션 */
  opacity: 0;
  animation: zoomIn 0.8s ease-out 0.2s forwards;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -15%) scale(0.7);  /* ✅ 순서 변경 */
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -15%) scale(1);
  }
}

.intro {
  padding: 80px 40px 40px;
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.intro p {
  text-align: justify;
  margin-bottom: 40px;
}

.intro-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

.intro-list {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

#features {
  padding: 80px 40px;
  background-color: #f1f1f1;
  text-align: center;
}
#features h2 {
  font-size: 32px;
  margin-bottom: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  text-align: left;
}
.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-row img {
  width: 420px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-row .text {
  max-width: 500px;
}
.feature-row .text h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #1E88E5;
}
.feature-row .text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

#ws100 {
  padding: 80px 40px;
  background-color: #fff;
  text-align: center;
}
#ws100 h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
#ws100 p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.ws100-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 12px;
}

#premium {
  padding: 80px 40px;
  background-color: #f1f1f1;
  text-align: center;
}
#premium h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
#premium p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}
#premium .card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
#premium .free, #premium .premium {
  border-radius: 12px;
  padding: 24px;
  width: 280px;
}
#premium .free {
  background-color: white;
  border: 1px solid #ddd;
}
#premium .premium {
  background-color: #1E88E5;
  color: white;
}
#premium ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}

#support {
  padding: 80px 40px;
  background-color: #fff;
  text-align: center;
}
#support h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
#support p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}
#support div {
  font-size: 20px;
  font-weight: bold;
  color: #1E88E5;
  margin-bottom: 24px;
}
#support a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1E88E5;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 20px;
  font-size: 14px;
  text-align: center;
}
footer a {
  color: #80d8ff;
  text-decoration: none;
  margin: 0 12px;
}
footer p {
  margin: 4px 0;
}
footer p:first-child {
  margin-bottom: 12px;
}

/* App Store 다운로드 버튼 스타일 */
.app-download {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.appstore-button img {
  height: 50px;
  display: block;
}

.appstore-button img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  }

  .logo img {
    height: 56px;
    margin-bottom: 4px;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  nav a {
    margin-left: 0;
    padding: 8px 0;
  }

  .hero h2 {
    font-size: 28px;
    margin-top: -350px;
  }

  .hero p {
    font-size: 20px;
    padding: 0 10px;
  }

  .product-overlay {
    top: 40%;
  }

  .intro {
    font-size: 16px;
    padding: 100px 20px 40px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .feature-row img {
    width: 90%;
  }

  .feature-row .text {
    max-width: 100%;
  }

  #premium .card-container {
    flex-direction: column;
    align-items: center;
  }

  #premium .free,
  #premium .premium {
    width: 90%;
    max-width: 300px;
  }

  #support p,
  #ws100 p,
  #premium p,
  .intro p {
    padding: 0 10px;
    text-align: left;
  }

  footer {
    font-size: 12px;
    padding: 24px 10px;
  }

  footer a {
    display: inline;
    margin: 0 8px;
  }
}

/* 햄버거 버튼 기본은 숨김 */
.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 24px;
}

/* 모바일에서 드롭다운 메뉴 표시 */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%; /* header 아래에 붙음 */
    left: 0;
    right: 0;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 0;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
  }
}

/* 버튼은 .btn만! (이미 있다면 유지) */
#support a.btn {
  background: #1E88E5;
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  display: inline-block;
  text-decoration: none;
}

/* ✅ 블로그 아이콘 링크: 모바일에서도 배경/패딩/라운드/하이라이트 제거 */
#support a.blog-link,
#support a.blog-link:link,
#support a.blog-link:visited,
#support a.blog-link:hover,
#support a.blog-link:active,
#support a.blog-link:focus {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent; /* iOS/안드로이드 웹킷 탭 하이라이트 제거 */
}

/* 아이콘 위 여백 필요하면 여기서 조절 */
#support a.blog-link { 
  display: inline-block;
  margin-top: 80px;
}

#support a.blog-link img { 
  display: block;   /* 잔여 라인 높이 여백 제거 */
}
