/* PULSE: Reflex Defense - styles for every page under /pulse/.
   Each page picks its layout with a body class: .landing, .get, .legal */

:root {
  --cyan: #00FFFF;
  --magenta: #FF00FF;
  --yellow: #FFE600;
  --void: #05050F;
}

/* ---------- Neon base (landing + get) ---------- */

.landing *, .get * { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
.landing, .get {
  margin: 0;
  height: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--void);
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 40%, #0B0B22 0%, var(--void) 75%);
  background-size: 100% 48px, 48px 100%, 100% 100%;
  color: #E8E8F0;
}
.landing h1, .get h1 {
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-right: -0.14em;
  color: #FFFFFF;
  user-select: none;
}
.landing .btn, .get .btn {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(0, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.18), inset 0 0 12px rgba(0, 255, 255, 0.06);
}
.landing .btn:hover, .get .btn:hover {
  background: rgba(0, 255, 255, 0.10);
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.45), inset 0 0 16px rgba(0, 255, 255, 0.10);
}

/* ---------- Landing (/pulse/) ---------- */

.landing { overflow: hidden; }
.landing canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.landing main {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.landing main a { pointer-events: auto; }
.landing h1 {
  font-size: clamp(64px, 16vw, 150px);
  text-shadow: -3px 0 var(--magenta), 3px 0 var(--cyan), 0 0 34px rgba(0, 255, 255, 0.35);
  animation: chroma 2.6s ease-in-out infinite;
}
@keyframes chroma {
  0%, 100% { text-shadow: -3px 0 var(--magenta), 3px 0 var(--cyan), 0 0 34px rgba(0, 255, 255, 0.35); }
  50%      { text-shadow: -5px 0 var(--magenta), 5px 0 var(--cyan), 0 0 48px rgba(0, 255, 255, 0.55); }
}
.landing .sub {
  font-size: clamp(14px, 3vw, 22px);
  letter-spacing: 0.62em;
  margin-right: -0.62em;
  color: var(--yellow);
  text-shadow: 0 0 14px rgba(255, 230, 0, 0.55);
  margin-top: 4px;
  user-select: none;
}
.landing .tagline {
  margin-top: 26px;
  font-size: clamp(14px, 2.6vw, 18px);
  color: rgba(232, 232, 240, 0.82);
  max-width: 32em;
  line-height: 1.6;
}
.landing .buttons {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  align-items: center;
}
.landing .buttons > :first-child { justify-self: end; }
.landing .buttons > :last-child { justify-self: start; }
@media (max-width: 720px) {
  .landing .buttons { grid-template-columns: 1fr; gap: 14px; }
  .landing .buttons > :first-child,
  .landing .buttons > :last-child { justify-self: center; }
}
.landing .btn {
  max-width: 360px;
  padding: 14px 26px;
  font-size: 14px;
  transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.landing .btn:hover { transform: translateY(-1px); }
.landing .hint {
  margin-top: 44px;
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.4);
  animation: hintpulse 2.2s ease-in-out infinite;
  user-select: none;
}
@keyframes hintpulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.landing footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(232, 232, 240, 0.45);
}
.landing footer a {
  color: rgba(0, 255, 255, 0.75);
  text-decoration: none;
}
.landing footer a:hover { text-shadow: 0 0 10px rgba(0, 255, 255, 0.8); }
.landing footer .sep { margin: 0 10px; color: rgba(232, 232, 240, 0.25); }
@media (prefers-reduced-motion: reduce) {
  .landing h1, .landing .hint { animation: none; }
}

/* ---------- Smart link (/pulse/get/) ---------- */

.get {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.get h1 {
  font-size: clamp(44px, 12vw, 84px);
  text-shadow: -3px 0 var(--magenta), 3px 0 var(--cyan), 0 0 28px rgba(0, 255, 255, 0.35);
}
.get .status {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.55);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.get .buttons {
  margin-top: 36px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.get .btn {
  max-width: 320px;
  padding: 13px 24px;
  font-size: 13px;
}
.get .site-link {
  margin-top: 22px;
  font-size: 13px;
}
.get .site-link a { color: rgba(0, 255, 255, 0.75); text-decoration: none; }
.get .site-link a:hover { text-shadow: 0 0 10px rgba(0, 255, 255, 0.8); }
@media (prefers-reduced-motion: reduce) {
  .get .status { animation: none; }
}

/* ---------- Legal (/pulse/privacy/) ---------- */

.legal {
  font-family: -apple-system, system-ui, sans-serif;
  max-width: 42rem;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #1a1a2e;
}
.legal h1 { font-size: 1.6rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal code { background: #f0f0f5; padding: 0.1em 0.3em; border-radius: 3px; }
.legal a { color: #0055cc; }
.legal .meta { color: #555; font-size: 0.95rem; }
