:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --ink: #e8eefc;
  --muted: #9aa7c2;
  --accent: #38bdf8;
  --teal: #5eead4;
  --indigo: #818cf8;
}

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

html, body { height: 100%; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 50% -10%, #11203a 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* fundo animado */
#net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}

.glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(80vw, 720px);
  height: min(80vw, 720px);
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* palco central */
.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 22px;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 620px;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.mark {
  width: clamp(84px, 18vw, 132px);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(56, 189, 248, 0.35));
}

/* animações da marca */
.mark .node { transform-box: fill-box; transform-origin: center; }
.mark .n1 { animation: bob 4s ease-in-out infinite; }
.mark .n2 { animation: bob 4s ease-in-out infinite 0.5s; }
.mark .n3 { animation: bob 4s ease-in-out infinite 1s; }
.mark .core { animation: beat 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mark .pulse { stroke-dasharray: 6 6; animation: dash 2.4s linear infinite; }

.wordmark {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  gap: 0.18em;
}
.wordmark .sjk {
  background: linear-gradient(120deg, var(--teal), var(--accent) 55%, var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark .labs {
  color: var(--ink);
  font-weight: 300;
}

.tagline {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 3.6vw, 1.35rem);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.lead {
  font-size: clamp(0.95rem, 3.2vw, 1.08rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 48ch;
}
.lead strong {
  color: var(--ink);
  font-weight: 600;
}

.cta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #04231b;
  background: linear-gradient(120deg, #5eead4, #25d366 90%);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.42);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.5);
}

.badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: ping 2s ease-out infinite;
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 22px 16px;
  font-size: 0.8rem;
  color: rgba(154, 167, 194, 0.7);
  letter-spacing: 0.02em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes beat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}
@keyframes dash {
  to { stroke-dashoffset: -24; }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, .mark * { animation: none !important; }
  #net { display: none; }
}
