body {
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background-color: #ffffff;
  line-height: 1.6;
}

/* 헤더 네비게이션 스타일 수정 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white; /* 흰색으로 */
  backdrop-filter: none;
}
.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-home {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 로고와 텍스트 간격 */
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

.nav-home::before {
  content: "";
  background-image: url('./logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
  display: inline-block;
}

.nav-login {
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

.nav-home:hover, .nav-login:hover {
  background-color: rgba(0, 0, 0, 0.1);
}


.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

/* 히어로 섹션 - 흰색 배경으로 변경 */
.hero {
  background: white; /* 흰색 배경 */
  color: #222; /* 텍스트 색상 변경 */
  padding: 0;
  text-align: center;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  display: none; /* 오버레이 제거 */
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
}

.hero h1 {
  font-size: 4rem; /* 글씨 크기 증가 */
  animation: fadeInDown 1s ease-out;
  margin-bottom: 1rem;
}

.hero .highlight {
  color: #ff6b35; /* 주황색 */
}

.hero p {
  font-size: 1.4rem; /* 글씨 크기 약간 증가 */
  margin: 1rem 0 2rem;
  animation: fadeInUp 1s ease-out;
  color: #666; /* 부제목 색상 */
}

.btn.primary {
  background: transparent; /* 배경 투명 */
  color: #0074e4; /* 파란색 글씨 */
  border: 2px solid #0074e4; /* 파란색 테두리 */
}

.btn.secondary {
  border: 2px solid #0074e4;
  color: #0074e4;
  background: transparent;
}

.btn.primary:hover {
  background: #0074e4;
  color: white;
}

.btn.secondary:hover {
  background: #0074e4;
  color: white;
}/* 스크롤 화살표 스타일 수정 */




/* 스크롤 화살표 스타일 수정 */
.scroll-arrow {
  position: absolute;
  bottom: 4rem; /* 더 아래쪽으로 */
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.arrow-down {
  width: 20px;
  height: 20px;
  border-right: 2px solid #666; /* 회색으로 변경 */
  border-bottom: 2px solid #666; /* 회색으로 변경 */
  transform: rotate(45deg);
}

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


.cta {
  animation: fadeIn 2s ease-out;
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn.primary {
  background: transparent;
  color: #666; /* 회색 글씨 */
  border: 2px solid #666; /* 회색 테두리 */
}

.btn.secondary {
  border: 2px solid #666; /* 회색 테두리 */
  color: #666; /* 회색 글씨 */
  background: transparent;
}

.btn.primary:hover {
  background: #666; /* 호버 시 회색 배경 */
  color: white;
}

.btn.secondary:hover {
  background: #666; /* 호버 시 회색 배경 */
  color: white;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section h2 {
  text-align: center;
  margin-bottom:
 2rem;
  font-size: 2rem;
  color: rgba(0,0,0);
  animation: fadeIn 1s ease-out;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 1.5s ease-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 확장 가능한 카드 스타일 */
.card.expandable {
  cursor: pointer;
  position: relative;
}

.card.expandable h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expand-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0074e4;
  transition: transform 0.3s ease;
}

.card.expanded .expand-icon {
  transform: rotate(45deg);
}

.card.expanded {
  border: 2px solid #0074e4;
  box-shadow: 0 8px 20px rgba(0,116,228,0.2);
}

.expanded-cards-container {
  position: static;
}

/* 확장 카드 스타일 - 4개 카드 영역에 맞춤 */
.expanded-card {
  width: calc(100% - 4rem);
  margin: 2rem 0 2rem 0;
  padding: 0 2rem;  /* 좌우 패딩 고정 */
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-top 0.5s ease-out, padding-bottom 0.5s ease-out;
  position: static;
}

.expanded-card.active {
  max-height: 600px;
  padding: 2rem;
}

.expanded-card-content {
  width: 100%;
}

.expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.expanded-header h3 {
  font-size: 1.8rem;
  color: #0074e4;
  margin: 0;
}

.close-btn {
  background: #0074e4;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: #005bb5;
}

.expanded-body {
  animation: fadeInUp 0.6s ease-out;
  min-height: 300px;
  background: white;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1.1rem;
}

.expanded-body::before {
  content: "여기에 이미지를 추가하세요";
}

.alt {
  background: #f4f8fb;
}

.pricing .plan {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #eee;
  text-align: center;
  animation: fadeInUp 1s ease-out;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing .plan:hover {
  border-color: #0074e4;
  box-shadow: 0 8px 24px rgba(0,116,228,0.15);
}

.plan h3 {
  margin-bottom: 0.5rem;
  color: #0074e4;
}

.plan .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0 1rem;
}

.plan ul {
  list-style: none;
  padding: 0;
}

.plan ul li {
  margin: 0.5rem 0;
}

.plan.popular {
  border: 2px solid #eee;
  box-shadow: none;
}
.plan.popular:hover {
  border-color: #0074e4;
  box-shadow: 0 0 10px rgba(0, 116, 228, 0.2);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #fafafa;
  color: #666;
  font-size: 0.9rem;
  animation: fadeIn 2s ease-out;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 캐치프레이즈 섹션 스타일 수정 */
.catchphrase-section {
  background: white;
  padding: 5rem 0;
  text-align: center;
}

.catchphrase-title {
  font-size: 2.5rem;
  color: #222;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  animation: fadeInUp 1s ease-out;
}

.catchphrase-subtitle {
  font-size: 1.3rem;
  color: #555;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  animation: fadeInUp 1.2s ease-out;
}

/* Blogmate 텍스트만 주황색으로 */
.catchphrase-highlight {
  color: #ff6b35; /* 주황색 */
  font-weight: bold;
}

/* 반응형 */
@media (max-width: 768px) {
  .catchphrase-title {
    font-size: 1.8rem;
  }
  
  .catchphrase-subtitle {
    font-size: 1.1rem;
  }
}

/* 리뷰 섹션 스타일 */
.reviews-section {
  background: #f8f9fa;
  padding: 4rem 0;
  overflow: hidden;
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #222;
}

.reviews-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 2rem;
  animation: slideLeft 18s linear infinite; /* 6개 카드 × 3초 = 18초 */
}

.review-card {
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.user-name {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.review-text {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 반응형 */
@media (max-width: 768px) {
  .review-card {
    min-width: 250px;
  }
  
  .reviews-track {
    gap: 1rem;
  }
}
