* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header */
.header {
  background: white;
  color: black;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo img {
  height: 80px; /* 원하는 높이(px, rem 등) */
  width: auto; /* 비율 유지 */
  display: block;
  margin: 0 auto;
  object-fit: contain;
  /* 필요시 아래 속성 추가 */
  max-width: 180px; /* 너무 커지지 않게 제한 */
  padding: 4px 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.nav-menu a:hover {
  background: rgba(118, 233, 223, 0.2);
  transform: translateY(-2px);
}

.cta-button {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
}

/* Hero Section */
.hero {
  background: url("../images/main_image.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 250px 0 100px;
  margin-top: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' fill='rgba(255,255,255,0.1)'><polygon points='0,0 1000,0 1000,100 0,80'/></svg>")
    no-repeat bottom;
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-bottom {
  height: 200px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(238, 90, 36, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d3748;
}

.feature-card p {
  color: #718096;
  line-height: 1.7;
}

/* Platforms Section */
.platforms {
  padding: 100px 0;
  background: linear-gradient(135deg, #aab5e5 0%, #85ccd8 100%);
  color: white;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.platform-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-item h3 {
  font-weight: 300;
}

.platform-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.platform-logo {
  width: 58px;
  height: 58px;
  background: white;
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #667eea;
}

.platform-logo img {
  width: 64px; /* 원하는 고정 너비(px, rem 등) */
  height: 64px; /* 원하는 고정 높이 */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  animation: logo-float 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #718096;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #aab5e5 0%, #85ccd8 100%);
  color: black;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: #a0aec0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 1.5rem;
  text-align: left;
  color: #a0aec0;
  font-size: 0.6rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .nav-menu {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Floating animation for hero elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* added sliding*/
.image-slider-container {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.image-slider,
.image-slider-second {
  width: 100%;
  white-space: nowrap;
  display: inline-block;
}

.image-slider img,
.image-slider-second img {
  height: 150px; /* 이미지 높이 */
  width: auto;
  margin: 0 10px; /* 이미지 간 간격 */
  vertical-align: middle;
  border-radius: 8px;
  object-fit: cover;
  padding: 10px 0;
}

.star-ratings {
  position: relative;
  display: inline-block;
  font-size: 24px;
  color: #ffd600; /* 채워진 별 색 */
}

.star-ratings-base {
  color: #e0e0e0; /* 빈 별 색 */
}

.star-ratings-fill {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ffd600;
  pointer-events: none;
}

/* 이미지 가로 흐름 애니메이션 정의 */
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 100% 지점에서는 원본 이미지 그룹 하나의 너비만큼 왼쪽으로 이동해야 합니다.
      이는 .image-slider 전체 너비의 절반에 해당합니다.
      예: 이미지가 5개이고 각 이미지 너비가 (이미지 자체 너비 + 마진) 이라면,
      5개 이미지의 총 너비만큼 이동합니다. */
    transform: translateX(-50%);
  }
}

/* reviewBox*/
.review-section-container {
  /* MuiBox-root mui-1cevl2d */
  max-width: 500px; /* 예시: 최대 너비 */
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px; /* Modern browsers support gap for flexbox */
}

.review-text {
  /* MuiTypography-root MuiTypography-body1 mui-a7h1hp */
  font-family: "Roboto", "Helvetica", "Arial", sans-serif; /* MUI 기본 폰트 스택 */
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: #333;
  margin: 0; /* 기본 마진 제거 */
}

.reviewer-info-wrapper {
  /* MuiBox-root mui-150y3et */
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  gap: 12px;
  margin-top: 16px;
}

.reviewer-avatar {
  /* MuiAvatar-root MuiAvatar-circular mui-1sdh4cu */
  width: 60px;
  height: 60px;
  border-radius: 50%; /* 원형 아바타 */
  object-fit: cover; /* 이미지가 잘리지 않고 컨테이너를 채우도록 */
  border: 2px solid #ddd; /* 테두리 */
}

.reviewer-details {
  /* MuiBox-root mui-13brihr */
  display: flex;
  flex-direction: column;
}

.reviewer-occupation {
  /* MuiTypography-root MuiTypography-body1 mui-1mb4ck2 */
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #555;
  margin: 0;
}

.reviewer-name {
  /* MuiTypography-root MuiTypography-body1 mui-fffdsw */
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 0.9rem; /* 14.4px */
  color: #777;
  margin: 0;
}

/* .reviewer-short-name {
  font-weight: 600;
  color: #764ba2;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
} */

/* style.css (별도의 CSS 파일에 추가) */

@keyframes logo-float {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-in;
  }
  25% {
    transform: translateY(-10px);
    animation-timing-function: ease-out;
  }
  50% {
    transform: translateY(0);
    animation-timing-function: ease-in;
  }
  75% {
    transform: translateY(10px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateY(0);
  }
}

/* contact style */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 2.5px solid #764ba2;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 80px 0 60px 0;
}
.faq-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.08);
  border: 1.5px solid #e3e6f3;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.16);
  border-color: #764ba2;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
  transition: background 0.2s;
}
.faq-item.open .faq-question {
  color: #764ba2;
  background: rgba(118, 75, 162, 0.07);
}
.faq-arrow {
  font-size: 1.2rem;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafaff;
  padding: 0 1.5rem;
  font-size: 1rem;
  color: #555;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  color: #333;
}
@media (max-width: 768px) {
  .faq-title {
    font-size: 1.5rem;
  }
  .faq-list {
    max-width: 98vw;
    gap: 0.7rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.1rem;
  }
  .faq-answer {
    font-size: 0.97rem;
    padding: 0 1.1rem;
  }
  .faq-item.open .faq-answer {
    padding: 0.7rem 1.1rem 1.1rem 1.1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.06);
  transition: background 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #764ba2;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 0;
}
