/* ==========================================================================
   LANDING PAGE — Interactive & Creative
   ========================================================================== */

/* Landing is now a standalone page — no wrapper needed */

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 24px;
  overflow: hidden;
}

/* Floating template cards background */
.hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  animation: heroCardIn 1s ease forwards;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero-card .card {
  transform-origin: top left;
  pointer-events: none;
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gradient overlay over cards */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 70%, #0a0a0a 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,140,255,0.12);
  border: 1px solid rgba(79,140,255,0.3);
  color: #4f8cff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #4f8cff;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-title .accent {
  background: linear-gradient(135deg, #4f8cff, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .cursor {
  display: inline-block;
  width: 3px;
  height: 48px;
  background: #4f8cff;
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 17px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.6s both;
}
.hero-desc strong {
  color: #ccc;
  font-weight: 600;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f8cff, #6366f1);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  animation: fadeUp 0.8s ease 0.8s both;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(79,140,255,0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,140,255,0.5);
}
.hero-cta svg {
  transition: transform 0.3s;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-sub {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  animation: fadeUp 0.8s ease 1s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 10px;
  letter-spacing: 2px;
  animation: fadeUp 0.8s ease 1.2s both;
}
.scroll-hint .mouse {
  width: 20px;
  height: 32px;
  border: 2px solid #444;
  border-radius: 10px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: #666;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 1.5s ease infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  color: #4f8cff;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.3;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
  cursor: default;
}
.feature-card:hover {
  border-color: #333;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* ===== TEMPLATE SHOWCASE ===== */
.showcase {
  padding: 80px 0;
  overflow: hidden;
}
.showcase-track {
  display: flex;
  gap: 16px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.showcase-card {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.showcase-card .card {
  width: 600px;
  height: 600px;
  transform: scale(0.3333);
  transform-origin: top left;
  text-align: left;
  pointer-events: none;
}
.showcase-track-reverse {
  animation-direction: reverse;
  margin-top: 16px;
}

/* ===== INTERACTIVE DEMO ===== */
.demo-section {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.demo-card-wrap {
  margin: 40px auto 0;
  width: 360px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.demo-card-wrap:hover {
  transform: scale(1.02);
}
.demo-card-wrap .card {
  width: 600px;
  height: 600px;
  transform: scale(0.6);
  transform-origin: top left;
  text-align: left;
}
.demo-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: linear-gradient(135deg, #4f8cff, #6366f1);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(79,140,255,0.3);
}
.demo-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79,140,255,0.4);
}
.demo-hint {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}
.demo-hint span {
  color: #4f8cff;
}

/* ===== STATS ===== */
.stats {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}
.stat-ratios {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}
.stat-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 24px;
  text-align: center;
}
.final-cta h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.final-cta p {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.landing-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}
.landing-footer p {
  font-size: 12px;
  color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-title .cursor { height: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 24px; }
  .demo-card-wrap { width: 280px; height: 280px; }
  .demo-card-wrap .card { transform: scale(0.467); }
}
