/* Hero */

.landing-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 48rem;
  margin: 0 auto;
}

.landing-hero .logo-hero {
  width: 160px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 8px 24px rgba(109, 40, 217, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.landing-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.landing-hero .tagline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Demo slug preview */

.slug-demo {
  margin: 3rem auto 0;
  max-width: 28rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slug-demo .long-url {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slug-demo .arrow {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.slug-demo .arrow svg {
  width: 20px;
  height: 20px;
}

.slug-demo .short-url {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Responsive */

@media (max-width: 640px) {
  .landing-hero h1 {
    font-size: 2.25rem;
  }

  .landing-hero .tagline {
    font-size: 1.0625rem;
  }

  .slug-demo {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .slug-demo .arrow {
    transform: rotate(90deg);
  }
}
