/* ============================================
   StoLift Korea - 메인(홈) 페이지 전용 스타일
   ============================================ */

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 고정 오버레이 - 왼쪽 어둡게, 전체적으로 안정적인 분위기 */
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.80) 0%,
    rgba(10, 10, 10, 0.55) 55%,
    rgba(10, 10, 10, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 200, 66, 0.18);
  border: 1px solid rgba(245, 200, 66, 0.5);
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title em {
  color: var(--yellow);
  font-style: normal;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-ghost-light {
  background: transparent;
  color: var(--black);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-ghost-light:hover {
  background: var(--gray-100);
}

/* 스크롤 유도 점 애니메이션 */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: scrollDot 1.5s ease-in-out infinite;
}

.hero-scroll-hint span:nth-child(2) { animation-delay: 0.2s; }
.hero-scroll-hint span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(4px); }
}

/* ===== News Highlight Section ===== */
.news-highlight-section {
  background: var(--cream);
}

.news-highlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.news-main-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.news-main-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-main-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-main-card:hover .news-main-img-wrap img {
  transform: scale(1.04);
}

.news-main-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.news-main-body {
  padding: 24px 28px 28px;
}

.news-main-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--black);
}

.news-main-excerpt {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 14px;
}

.news-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow-dark);
}

.news-sub-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-sub-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 16px;
  transition: all var(--transition);
  overflow: hidden;
}

.news-sub-card:hover {
  border-color: var(--yellow);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.news-sub-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
}

.news-sub-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.news-sub-body {
  flex: 1;
  min-width: 0;
}

.news-sub-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin: 6px 0 4px;
}

.mt-40 { margin-top: 40px; }

/* ===== Characters Section ===== */
.char-section {
  background: var(--white);
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.char-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.char-card:hover {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(245, 200, 66, 0.22);
  background: #fffef7;
}

.char-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
  overflow: hidden;
}

.char-card:hover .char-img-wrap {
  background: var(--yellow-light);
}

.char-img-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform var(--transition);
}

.char-card:hover .char-img-wrap img {
  transform: scale(1.1);
}

.char-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.char-name-en {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.char-name-ko {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: 2px;
}

.char-desc {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.char-arrow {
  font-size: 1rem;
  color: var(--yellow-dark);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}

.char-card:hover .char-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== About Banner Section ===== */
.about-banner-section {
  background: var(--yellow);
  padding: 0;
  overflow: hidden;
}

.about-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-banner-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.15;
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
}

.about-banner-title em {
  font-style: normal;
  position: relative;
}

.about-banner-title em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--black);
  border-radius: 2px;
}

.about-banner-desc {
  font-size: 0.92rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: var(--shadow-lg);
}

.about-stat {
  flex: 1;
  text-align: center;
}

.about-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
}

.about-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--cream);
}

.cta-box {
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.12;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.07;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 200, 66, 0.15);
  border: 1px solid rgba(245, 200, 66, 0.4);
  color: var(--yellow);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .news-highlight-grid {
    grid-template-columns: 1fr;
  }

  .char-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .char-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .char-img-wrap {
    width: 100px;
    height: 100px;
  }

  .char-img-wrap img {
    width: 72px;
    height: 72px;
  }

  .about-visual-card {
    flex-direction: column;
    gap: 24px;
  }

  .about-stat-divider {
    width: 48px;
    height: 1px;
  }
}

.pc-only {
  display: inline;
}

@media (max-width: 640px) {
  .pc-only {
    display: none;
  }
}
