html {
  letter-spacing: -1px;
}

header i {
  cursor: pointer;
  transition: 0.3s;
}

header i:hover {
  color: #006eff;
}

/* About 페이지 스타일 */
:root {
  --primary-color: #006eff;
  --text-color: #333;
  --light-gray: #f9f9f9;
  --medium-gray: #e6e6e6;
  --dark-gray: #666;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

/* 히어로 섹션 */
.about-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--dark-gray);
}

/* 섹션 공통 스타일 */
.about-section {
  padding: 100px 0;
}

.about-section:nth-child(even) {
  background-color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-heading p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--dark-gray);
}

/* 미션과 가치 */
.mission-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0, 110, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 110, 255, 0.1);
}

.value-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.value-card p {
  color: var(--dark-gray);
}

/* 통계 섹션 */
.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.stat-item {
  width: 200px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 서비스 특징 */
.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  width: 45%;
  min-width: 300px;
  display: flex;
  margin-bottom: 40px;
}

.feature-icon {
  background-color: rgba(0, 110, 255, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.feature-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-content p {
  color: var(--dark-gray);
  line-height: 1.6;
}

/* 앱 소개 섹션 */
.app-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.app-preview {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  position: relative;
}

.app-preview img {
  width: 100%;
  border-radius: 20px;
}

.app-features {
  flex: 1;
  min-width: 300px;
}

.app-feature-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.app-feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 110, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.app-feature-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.app-feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.app-feature-content p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.app-download {
  display: flex;
  gap: 15px;
  margin-top: 100px;
}

.app-download-btn {
  display: flex;
  align-items: center;
  background-color: var(--text-color);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.app-download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-download-btn i {
  font-size: 1.8rem;
  margin-right: 12px;
}

.app-download-btn .download-text {
  text-align: left;
}

.app-download-btn .small-text {
  font-size: 0.7rem;
  opacity: 0.8;
}

.app-download-btn .big-text {
  font-size: 1.1rem;
  font-weight: 700;
}

/* 사용자 리뷰 섹션 */
.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
  width: 320px;
  position: relative;
  transition: all 0.3s ease;
}

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

.review-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(0, 110, 255, 0.1);
  font-family: serif;
  line-height: 1;
}

.review-content {
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 20px;
  min-height: 120px;
}

.review-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid var(--medium-gray);
  padding-top: 20px;
}

.review-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.review-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.review-author-info p {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.review-stars {
  color: gold;
  margin-bottom: 10px;
}

/* CTA 섹션 */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--dark-gray);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 110, 255, 0.2);
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
  .about-hero h1 {
    font-size: 3rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .stats-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 50px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-section {
    padding: 70px 0;
  }

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

  .feature-item {
    width: 100%;
  }

  .app-showcase {
    flex-direction: column;
    gap: 40px;
  }

  .app-preview {
    max-width: 300px;
  }

  .history-timeline::after {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::after {
    left: 30px;
    right: unset;
  }

  .timeline-item:nth-child(even)::after {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    border-radius: 0 10px 10px 10px;
  }

  .review-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

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

  .value-card {
    width: 100%;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

/* 애니메이션 관련 CSS - 기존 디자인 유지하며 애니메이션만 추가 */

/* 애니메이션을 위한 트랜지션 속성만 추가 */
header {
  transition: all 0.4s ease;
}

/* 스크롤시 헤더 변화 (기존 디자인 유지) */
header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 개별 요소 애니메이션 스타일 - 기존 디자인 유지하되 호버/트랜지션 효과만 추가 */

/* 값 카드 호버 효과 */
.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 타임라인 아이템 애니메이션 준비 */
.timeline-item {
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 특징 아이템 호버 효과 */
.feature-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

/* 앱 기능 아이템 호버 효과 */
.app-feature-item {
  transition: transform 0.3s ease;
}

.app-feature-item:hover {
  transform: translateY(-5px);
}

.app-feature-icon {
  transition: transform 0.3s ease;
}

.app-feature-item:hover .app-feature-icon {
  transform: rotate(10deg);
}

/* 리뷰 카드 호버 효과 */
.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* CTA 버튼 효과 */
.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 앱 다운로드 버튼 효과 */
.app-download-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 애니메이션 공통 속성 */
.animated {
  transition: all 0.4s ease;
}

/* 애니메이션 공통 속성 */
.animated {
  transition: all 0.4s ease;
}

/* 간단한 애니메이션 효과만 추가 (기존 스타일 유지) */
.feature-item,
.app-feature-item,
.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.app-feature-item:hover,
.review-card:hover {
  transform: translateY(-5px);
}

/* CTA 버튼 간단한 호버 효과 */
.cta-button,
.app-download-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover,
.app-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 모바일 메뉴 스타일 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100vh;
  background-color: white;
  z-index: 2000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  text-align: right;
  font-size: 24px;
  margin-bottom: 20px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul li a {
  display: block;
  color: #333;
  font-size: 18px;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: #007bff;
}

.mobile-menu .mobile-phone {
  margin-top: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  text-align: center;
}

/* 모바일 메뉴 토글 버튼 스타일 */
.head .fa-bars {
  cursor: pointer;
  font-size: 24px;
  transition: color 0.3s ease;
}

.head .fa-bars:hover {
  color: #007bff;
}

/* 모바일에서만 메뉴 아이콘 표시 */
@media (min-width: 769px) {
  .head .fa-bars {
    display: none;
  }
}

/* 메뉴 아이템 애니메이션 */
.mobile-menu ul li {
  opacity: 0;
  transform: translateX(20px);
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 각 메뉴 아이템에 지연 시간 추가 */
.mobile-menu ul li:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu ul li:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu ul li:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu ul li:nth-child(4) {
  animation-delay: 0.4s;
}

/* 모달 배경 효과 - 메뉴가 열렸을 때 배경 어둡게 */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open::after {
  opacity: 1;
  visibility: visible;
}
