/* ROIzilla development-server landing — brand greens on near-black */

:root {
  --bg: #030504;
  --surface: #0d120f;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f4fff7;
  --muted: #7e9285;
  --green: #22c55e;
  --mint: #8dffa6;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% -10%, rgba(34, 197, 94, 0.15) 0%, rgba(11, 25, 16, 0.3) 40%, transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.logo {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 0 48px rgba(34, 197, 94, 0.25);
}

.tag {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.625rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
  vertical-align: 1px;
}

.host {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0.7;
  min-height: 1em;
}

.host:empty {
  display: none;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--green);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.portal-link:hover {
  background: var(--mint);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.portal-link:active {
  transform: translateY(0);
}

.portal-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4);
}

.foot {
  position: fixed;
  bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.6;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .tag::before {
    animation: none;
  }
  .portal-link {
    transition: none;
  }
}
