/* Placeholder page for the SaaS MiManager web app.
   Swap this whole <main> section for the real app once it's ready. */

.nav-wrap {
  justify-content: space-between;
}

.back-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .nav-wrap {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 24px;
    row-gap: 10px;
  }

  .back-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

.app-placeholder {
  min-height: calc(100vh - 76px - 90px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(34, 197, 94, 0.16), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.12), transparent 40%);
}

.app-placeholder-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.app-placeholder-wrap .badge {
  margin-bottom: 20px;
}

.app-placeholder-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.app-placeholder-wrap p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
}

.app-placeholder-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.app-placeholder-features {
  width: 100%;
  text-align: left;
  margin-bottom: 40px;
}

.app-placeholder-features .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.app-placeholder-tags span,
.app-placeholder-tags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tag-live {
  position: relative;
  border-color: var(--primary);
  color: var(--accent) !important;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: liveGlow 2.2s ease-out infinite;
}

.tag-live:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-2);
}

.tag-live:active,
.tag-live.is-clicked {
  transform: translateY(0) scale(0.96);
  background: var(--primary) !important;
  border-color: var(--primary);
  color: #fff !important;
  animation: none;
}

.tag-live:active .live-dot,
.tag-live.is-clicked .live-dot {
  background: #fff;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.4s ease-in-out infinite;
}

@keyframes liveGlow {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
