/* =============================================
   index.css — Landing Page (홈) 스타일
   ============================================= */

body { padding-bottom: 0; }

/* ===== HERO FULLSCREEN ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary);
}
.hero-video { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(255,245,238,0.3) 70%),
    linear-gradient(to bottom, rgba(255,249,242,0.1) 0%, transparent 30%, transparent 60%, rgba(255,249,242,0.85) 100%);
}
.hero-video-vignette {
  position: absolute; inset: 0; z-index: 3;
  box-shadow: inset 0 0 150px 60px rgba(255,245,238,0.4);
  pointer-events: none;
}
#particleCanvas { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  text-align: center; padding: 0 16px 60px;
  background: linear-gradient(to top, rgba(255,249,242,0.95) 0%, rgba(255,249,242,0.5) 50%, transparent 100%);
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero-content p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7;
}
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.2);
  margin-bottom: 20px; font-size: 13px; color: var(--text-accent);
  animation: fadeIn 1s ease-out;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-500);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 4px rgba(167,139,250,0.3); }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(167,139,250,0.6); }
}

.scroll-ind {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%); z-index: 25;
  opacity: 0; animation: fadeIn 1s ease-out 3s forwards;
}
.scroll-mouse {
  width: 22px; height: 36px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(167,139,250,0.3);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 3px; height: 6px; border-radius: var(--radius-full);
  background: rgba(167,139,250,0.5);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(167, 139, 250, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(167,139,250,0.15), 0 0 20px rgba(251,191,36,0.06);
  border-color: rgba(167,139,250,0.3);
}
.service-card:active {
  transform: translateY(-2px) scale(0.98);
  transition: transform 0.1s ease;
}
.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: high-quality;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
}
.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}
.service-card-body {
  padding: 18px 20px 22px;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.service-card.disabled { opacity: 0.5; cursor: default; }
.coming-soon {
  display: inline-block; margin-top: 10px; font-size: 11px;
  padding: 3px 10px; border-radius: var(--radius-full);
  background: rgba(200,170,220,0.3); color: var(--text-secondary);
}

/* 서비스 카드 stagger 입장 */
.service-card {
  animation: serviceCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes serviceCardIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Features Grid */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0; }
.feature-card h3 { font-weight: 500; margin-bottom: 4px; font-size: 15px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* CTA */
.cta-card {
  max-width: 600px; margin: 0 auto; padding: 40px 24px;
  text-align: center; box-shadow: 0 0 40px rgba(167,139,250,0.15);
}
.cta-icon { width: 64px; height: 64px; border-radius: var(--radius-md); display: block; margin: 0 auto 20px; }
.cta-card h2 {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700; margin-bottom: 12px;
}
.cta-card p { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; justify-content: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card-img { height: 160px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 56px 40px; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card-img { height: 200px; }
}
