/* PLURpulse site. Pure black like the app, so the neon pops.
   No web fonts, no external files: everything is served from this site. */

:root {
  --bg: #000;
  --cyan: #00e5ff;
  --magenta: #ff2deb;
  --lime: #d6ff3a;
  --text: #f4f6ff;
  --muted: #a3a9c2;
  --faint: #6c7290;
  --line: rgba(0, 229, 255, 0.22);
  --panel: #07080d;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #000; padding: 8px 12px; }

/* Small wide-spaced labels, like the app's opening screen. */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}
.label .dot { color: var(--magenta); padding: 0 0.35em; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-weight: 800; letter-spacing: 0.04em; }
.brand b { color: var(--cyan); font-weight: 800; }
.brand i { color: var(--magenta); font-style: normal; }
.site-nav { display: flex; gap: 20px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cyan); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 28px 0 56px; position: relative; }
.hero-wordmark { width: min(560px, 92%); margin: 0 auto; }
.hero-tagline-top { margin-top: 4px; }
.hero-crowd {
  width: min(760px, 100%);
  margin: 18px auto 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 72% at 50% 46%, #000 55%, transparent 100%);
}
.loader { margin: -6px auto 0; width: 96px; height: 96px; }
.loader svg { width: 100%; height: 100%; overflow: visible; }
.loader .ring { fill: none; stroke: url(#ringGrad); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(255, 45, 235, 0.7)); }
.loader .beat { fill: none; stroke: var(--magenta); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px rgba(255, 45, 235, 0.9)); }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(15px, 3.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
  padding-left: 0.34em; /* balances the trailing letter space */
}
.hero .tagline {
  margin: 14px 0 0;
  font-size: clamp(24px, 6.4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.hero .tagline .c { color: var(--cyan); text-shadow: 0 0 18px rgba(0, 229, 255, 0.55); }
.hero .tagline .m { color: var(--magenta); text-shadow: 0 0 18px rgba(255, 45, 235, 0.55); }
.hero .tagline .l { color: var(--lime); text-shadow: 0 0 18px rgba(214, 255, 58, 0.45); }
.hero .tagline .sep { color: var(--faint); padding: 0 0.2em; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.pill:hover { color: #000; background: #fff; }
.pill.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: none; }
.pill.ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.age { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--muted); }
.age strong { color: var(--lime); letter-spacing: 0.08em; }

/* The opening plays once: ring draws, the beat runs, the line, then the tagline. */
@media (prefers-reduced-motion: no-preference) {
  .loader .ring { animation: draw-ring 1.5s ease-out both, ring-glow 1.2s ease-in-out 1.5s 2 both; }
  .loader .beat { animation: draw-beat 0.9s ease-out 0.5s both; }
  .hero h1 { animation: fade-up 0.8s ease-out 0.9s both; }
  .hero .tagline { animation: fade-up 0.9s ease-out 2s both; }
  .hero-cta, .hero .age { animation: fade-up 0.8s ease-out 2.5s both; }
  .hero-crowd { animation: fade-in 1.4s ease-out both; }
}
@keyframes draw-ring { from { stroke-dashoffset: 264; } to { stroke-dashoffset: 0; } }
@keyframes draw-beat { from { stroke-dashoffset: 90; opacity: 0.2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ring-glow { 50% { filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.95)); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Feature sections ---- */
.features { padding-top: 24px; padding-bottom: 40px; }
.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.feature h2 { margin: 10px 0 12px; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; letter-spacing: 0.01em; }
.feature p { margin: 0 0 14px; color: var(--muted); }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature li { position: relative; padding-left: 22px; color: var(--text); }
.feature li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--cyan)); box-shadow: 0 0 10px var(--accent, var(--cyan)); }
.feature .feature-logo { width: min(300px, 80%); margin: 0 0 4px -6px; }
.feature.magenta { --accent: var(--magenta); }
.feature.magenta .label { color: var(--magenta); text-shadow: 0 0 12px rgba(255, 45, 235, 0.55); }
.feature.lime { --accent: var(--lime); }
.feature.lime .label { color: var(--lime); text-shadow: 0 0 12px rgba(214, 255, 58, 0.45); }
.feature-media { display: flex; justify-content: center; }

@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0; }
  .feature.flip .feature-media { order: -1; }
}

/* Simple phone frame around a screenshot. */
.phone {
  width: min(300px, 82vw);
  padding: 10px;
  border-radius: 38px;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px #000 inset, 0 0 40px rgba(0, 229, 255, 0.18), 0 0 90px rgba(255, 45, 235, 0.12);
}
.phone::before { content: ""; display: block; width: 72px; height: 5px; margin: 4px auto 10px; border-radius: 999px; background: #1d1f2a; }
.phone img { border-radius: 28px; width: 100%; }

/* Panels for features without a screenshot. */
.card {
  width: min(360px, 88vw);
  padding: 26px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}
.card .card-title { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

.friends { display: grid; gap: 12px; }
.friend { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #0d0f17; }
.friend .av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.friend .av.c { background: radial-gradient(circle at 35% 30%, #8ff6ff, var(--cyan) 45%, #006a78); }
.friend .av.m { background: radial-gradient(circle at 35% 30%, #ffa6f6, var(--magenta) 45%, #7a0f6f); }
.friend .av.l { background: radial-gradient(circle at 35% 30%, #f1ffb5, var(--lime) 45%, #5d7400); }
.friend .who { font-weight: 700; font-size: 15px; }
.friend .what { font-size: 13px; color: var(--muted); }

.kandi { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 10px 0 4px; }
.kandi span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #000; }
.kandi .c { background: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, 0.7); }
.kandi .m { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 45, 235, 0.7); }
.kandi .l { background: var(--lime); box-shadow: 0 0 10px rgba(214, 255, 58, 0.6); }
.kandi .w { background: #f4f6ff; }
.kandi-steps { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.kandi-steps b { color: var(--text); }

.level-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.level-head .lv { color: var(--cyan); font-size: 22px; }
.level-head .pts { color: var(--muted); font-size: 14px; }
.bar { height: 10px; border-radius: 999px; background: #151826; margin: 12px 0 20px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 37%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--magenta)); box-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.earn { display: grid; gap: 10px; font-size: 14px; }
.earn div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #0d0f17; }
.earn b { color: var(--lime); }

/* ---- Coming soon ---- */
.download { text-align: center; padding: 72px 0 84px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.download img { width: min(300px, 70%); margin: 0 auto 8px; border-radius: 28px; }
.download h2 { margin: 12px 0 8px; font-size: clamp(26px, 5vw, 38px); }
.download p { color: var(--muted); margin: 0 auto; max-width: 520px; }
.store-badges { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-badges .soon { padding: 12px 18px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.25); color: var(--muted); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.store-badges .soon b { color: var(--text); }

/* ---- Text pages (Support, Delete, Privacy, Terms) ---- */
.page { padding: 44px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { margin: 10px 0 14px; font-size: clamp(30px, 6vw, 44px); line-height: 1.12; }
.page h2 { margin: 36px 0 10px; font-size: 22px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--text); }
.page ol { padding-left: 22px; }
.page ol li { margin-bottom: 8px; }
.contact {
  margin: 22px 0 8px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.contact a { font-size: 19px; font-weight: 700; }
.contact p { margin: 4px 0 0; font-size: 14px; }

.faq { display: grid; gap: 10px; margin-top: 12px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.08); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; }
.faq details p { margin: 0 0 8px; }

.note { margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--magenta); background: #0b0510; border-radius: 0 12px 12px 0; font-size: 15px; }
.legal-placeholder { margin-top: 28px; padding: 28px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, 0.22); color: var(--muted); text-align: center; letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; }
.updated { font-size: 13px; color: var(--faint); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.site-footer .small { font-size: 13px; color: var(--faint); }

@media (max-width: 420px) {
  .site-nav { gap: 14px; }
  .site-nav a { letter-spacing: 0.16em; font-size: 11px; }
}

/* ---- Privacy Policy and Terms of Use text ---- */
.h1-sub { display: block; margin-top: 6px; font-size: 0.42em; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.legal { margin-top: 28px; }
.legal h2 { margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 20px; line-height: 1.3; color: var(--text); scroll-margin-top: 80px; }
.legal p, .legal li { color: #c9cde0; font-size: 16.5px; line-height: 1.7; }
.legal p { margin: 0 0 14px; overflow-wrap: anywhere; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--cyan); }
.legal .caps { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #0b0510; border: 1px solid rgba(255, 45, 235, 0.35); color: var(--text); font-size: 15px; line-height: 1.65; letter-spacing: 0.01em; }

/* ---- Join (/join) and Thanks (/thanks) ---- */
.pill.big { padding: 18px 34px; font-size: 14px; letter-spacing: 0.24em; box-shadow: 0 0 26px rgba(0, 229, 255, 0.6), 0 0 60px rgba(255, 45, 235, 0.35); }
.join-line { margin: 18px auto 0; max-width: 460px; color: var(--text); font-size: 18px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .join-line { animation: fade-up 0.8s ease-out 2.3s both; }
  .pill.big { animation: big-glow 2.4s ease-in-out 3s infinite; }
}
@keyframes big-glow { 50% { box-shadow: 0 0 36px rgba(0, 229, 255, 0.85), 0 0 80px rgba(255, 45, 235, 0.55); } }

/* Full-screen pop-up holding the sign-up form; scrolls on small phones. */
.form-modal { position: fixed; inset: 0; z-index: 50; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.form-modal:target, .form-modal.is-open { display: block; }
.form-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.form-modal-panel {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 56px auto 24px;
  padding: 14px;
  border-radius: 20px;
  background: #07080d;
  border: 1px solid var(--line);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.2), 0 0 90px rgba(255, 45, 235, 0.15);
}
.form-modal-close {
  position: sticky;
  top: 8px;
  float: right;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: -46px -6px 6px 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}
.form-modal-close:hover { color: var(--cyan); border-color: var(--cyan); }
/* The form's own height (data-height 837); the form script may grow it. */
.form-frame { clear: both; height: 837px; }
html.modal-open { overflow: hidden; }
@media (max-width: 480px) {
  .form-modal-panel { width: calc(100% - 16px); margin-top: 52px; padding: 8px; border-radius: 16px; }
}

.thanks { text-align: center; padding: 64px 0 88px; }
.thanks .wrap { max-width: 640px; }
.thanks-icon { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 28px; box-shadow: 0 0 40px rgba(0, 229, 255, 0.35); }
.thanks h1 { margin: 10px 0 12px; font-size: clamp(38px, 10vw, 64px); line-height: 1.05; background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.thanks-line { margin: 0 auto 30px; max-width: 460px; font-size: 19px; color: var(--text); }
.pill.insta { background: linear-gradient(90deg, var(--magenta), var(--cyan)); color: #000; }
.pill.insta:hover { background: #fff; }
.thanks-small { margin-top: 14px; font-size: 14px; color: var(--muted); }
