/* 랜딩 페이지 전용 스타일 */
.landing-page {
  font-family: 'Outfit', sans-serif;
  background: #0a0a0a;
  min-height: 100vh;
  position: relative;
}

.landing-page * {
  box-sizing: border-box;
}

/* 배경 글로우 효과 */
.glow-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, oklch(71.8% 0.202 349.761) 0%, transparent 70%);
  top: 30%;
  left: -10%;
  animation: float1 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
  top: 50%;
  right: -5%;
  animation: float2 10s ease-in-out infinite;
}

.glow-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ea580c 0%, transparent 70%);
  bottom: 10%;
  left: 30%;
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 20px);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -10px);
  }
}

/* 네비게이션 */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
}

.landing-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.landing-logo span {
  color: oklch(71.8% 0.202 349.761);
}

.nav-signin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 히어로 섹션 - 2컬럼 레이아웃 */
.hero-section {
  position: relative;
  z-index: 10;
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 140px 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 600px;
}

.hero-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-preview .preview-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-preview .preview-wrapper:hover {
  box-shadow: 0 32px 100px rgba(249, 115, 22, 0.3);
}

.hero-preview .preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  max-height: 70vh;
  object-fit: contain;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: oklch(71.8% 0.202 349.761);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

/* CTA 버튼 영역 */
.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, oklch(71.8% 0.202 349.761) 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.5);
}

.cta-primary i {
  font-size: 0.85rem;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.cta-note i {
  color: rgba(255, 255, 255, 0.4);
}

/* 소셜 프루프 */
.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  margin-left: -12px;
  overflow: hidden;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
}

.avatar-item:first-child {
  margin-left: 0;
}

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

.avatar-item.count {
  background: linear-gradient(135deg, oklch(71.8% 0.202 349.761) 0%, #ea580c 100%);
  font-size: 0.65rem;
}

.social-text {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* 앱 프리뷰 섹션 */
.preview-section {
  position: relative;
  z-index: 10;
  padding: 0 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.preview-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* 실제 앱 스크린샷 이미지 */
.preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* 앱 스크린샷 모킹 (실제 스크린샷이 없을 때 사용) */
.app-mockup {
  padding: 24px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot.red {
  background: #ef4444;
}

.mockup-dot.yellow {
  background: #fbbf24;
}

.mockup-dot.green {
  background: #22c55e;
}

.mockup-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  min-height: 400px;
}

.mockup-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.mockup-nav-item.active {
  background: rgba(249, 115, 22, 0.15);
  color: oklch(71.8% 0.202 349.761);
}

.mockup-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  align-content: start;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-card-img {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(251, 191, 36, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 45c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E") center no-repeat;
}

.mockup-card-info {
  padding: 12px;
}

.mockup-card-avatar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(71.8% 0.202 349.761) 0%, #ea580c 100%);
}

.mockup-avatar-text {
  flex: 1;
}

.mockup-avatar-text .name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.mockup-avatar-text .time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 피처 하이라이트 */
.features-section {
  position: relative;
  z-index: 10;
  padding: 20px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: oklch(71.8% 0.202 349.761);
  font-size: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* 푸터 */
.landing-footer {
  position: relative;
  z-index: 10;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* 반응형 */
@media (max-width: 768px) {
  .landing-nav {
    padding: 16px 20px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 20px 20px;
  }

  .hero-preview {
    order: -1;
    /* 모바일에서 이미지를 위로 */
  }

  .hero-preview .preview-image {
    max-height: 50vh;
  }

  .preview-section {
    padding: 0 20px 60px;
  }

  .features-section {
    padding: 20px 20px 60px;
  }

  .mockup-content {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ========================================
   게시물 슬라이드쇼 스타일
   ======================================== */
.preview-slideshow {
  position: relative;
  max-width: 360px;
  width: 100%;
}

.slideshow-container {
  position: relative;
  width: 100%;
  /* 고정 높이 대신 auto로 변경 */
}

.preview-slide {
  position: relative;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease-in-out;
}

.preview-slide.active {
  opacity: 1;
  visibility: visible;
  height: auto;
}

/* 프리뷰 게시물 래퍼 - 인터랙션 차단 */
.preview-post-wrapper {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.preview-post-article {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 프리뷰 미디어 크기 제한 */
.preview-post-article .preview-media-container {
  max-height: 380px;
  overflow: hidden;
}

.preview-post-article .preview-media-container img,
.preview-post-article .preview-media-container video {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}


/* 모바일 슬라이드쇼 조정 */
@media (max-width: 768px) {
  .preview-slideshow {
    max-width: 320px;
  }

  .preview-post-article .preview-media-container {
    max-height: 320px;
  }

  .preview-post-article .preview-media-container img,
  .preview-post-article .preview-media-container video {
    max-height: 320px;
  }
}

