/* ===== Design tokens ===== */
:root {
  --plum-950: #1c0522;
  --plum-900: #2b0a3d;
  --plum-800: #3d1152;
  --pink-500: #ff3e9a;
  --pink-400: #ff6bb3;
  --gold-400: #ffd23f;
  --lavender-300: #c9a6dc;
  --off-white: #fdf6ff;
  --terminal-green: #4dff8f;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, var(--plum-800) 0%, var(--plum-950) 65%);
  color: var(--off-white);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle grain/texture overlay so the flat gradient doesn't feel too clean */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

/* ===== Nav ===== */
.nav {
  position: relative;
  z-index: 2;
  padding: 28px 24px 0;
}
.nav-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  cursor: default;
  user-select: none;
  transition: text-shadow 0.15s ease;
}
.wordmark:hover {
  text-shadow: 2px 0 var(--pink-500), -2px 0 var(--terminal-green);
}
.wordmark .accent { color: var(--pink-400); }
.verified {
  color: var(--gold-400);
  font-size: 12px;
  margin-left: 2px;
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(253,246,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  text-align: center;
}
.ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lavender-300);
  border: 1px solid rgba(201,166,220,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terminal-green);
  box-shadow: 0 0 8px var(--terminal-green);
}
.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.headline em {
  font-style: normal;
  color: var(--pink-400);
}
.sub {
  font-size: 17px;
  color: var(--lavender-300);
  margin: 0 0 32px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.badge {
  font-size: 13px;
  background: rgba(253,246,255,0.06);
  border: 1px solid rgba(253,246,255,0.12);
  padding: 8px 14px;
  border-radius: 999px;
}
.cta-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--plum-950);
  background: linear-gradient(120deg, var(--gold-400), var(--pink-400));
  border: none;
  padding: 16px 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 30px -10px rgba(255,62,154,0.6);
}
.cta-main:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px -8px rgba(255,62,154,0.75);
}
.cta-main:focus-visible {
  outline: 2px solid var(--terminal-green);
  outline-offset: 3px;
}
.fine-print {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(253,246,255,0.4);
  margin-top: 12px;
}

/* ===== Sections ===== */
.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--lavender-300);
  text-align: center;
  margin: 0 0 32px;
}

.testimonials {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
blockquote {
  margin: 0;
  padding: 24px;
  background: rgba(253,246,255,0.04);
  border: 1px solid rgba(253,246,255,0.1);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}
blockquote p { margin: 0 0 12px; }
blockquote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--pink-400);
}

.tiers {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier {
  position: relative;
  background: rgba(253,246,255,0.03);
  border: 1px solid rgba(253,246,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.tier h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
}
.price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--gold-400);
}
.price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--lavender-300);
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--lavender-300);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier ul li::before {
  content: "◆ ";
  color: var(--pink-400);
  font-size: 10px;
}
.tier-featured {
  border-color: var(--pink-500);
  background: linear-gradient(160deg, rgba(255,62,154,0.12), rgba(253,246,255,0.03));
}
.tier-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--pink-500);
  color: var(--off-white);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 12px;
  color: rgba(253,246,255,0.35);
  padding: 32px 24px 48px;
}

/* ===== Hidden HUD — shows progress typing the secret word ===== */
.hud {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terminal-green);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(77,255,143,0.3);
  padding: 8px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
  pointer-events: none;
}
.hud.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .quote-grid, .tier-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-main:hover { transform: none; }
}

/* ================================================================
   SECRET ARCHIVE PAGE
   ================================================================ */
body.archive {
  background: #05070a;
  color: var(--terminal-green);
  font-family: var(--font-mono);
}
.archive .grain { opacity: 0.03; }

.archive-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  text-align: center;
}
.archive-header .tag {
  font-size: 12px;
  color: rgba(77,255,143,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.archive-header h1 {
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: clamp(28px, 5vw, 40px);
  margin: 12px 0 8px;
}
.archive-header p {
  color: rgba(253,246,255,0.5);
  font-size: 13px;
}
.back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--pink-400);
  text-decoration: none;
  border-bottom: 1px dashed var(--pink-400);
}

.archive-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.archive-section h2 {
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: 20px;
  border-bottom: 1px solid rgba(77,255,143,0.2);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.meme-card {
  aspect-ratio: 1;
  background: rgba(77,255,143,0.05);
  border: 1px dashed rgba(77,255,143,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: rgba(77,255,143,0.5);
  padding: 12px;
  overflow: hidden;
}
.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.board-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  background: rgba(253,246,255,0.03);
  border: 1px solid rgba(77,255,143,0.2);
  border-radius: 10px;
  padding: 20px;
}
.board-form label {
  font-size: 11px;
  color: rgba(253,246,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.board-form input,
.board-form textarea {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(77,255,143,0.25);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}
.board-form input:focus,
.board-form textarea:focus {
  outline: none;
  border-color: var(--terminal-green);
}
.board-submit {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #05070a;
  background: var(--terminal-green);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.board-submit:hover { opacity: 0.85; }
.board-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.board-status {
  font-size: 12px;
  min-height: 16px;
  color: var(--pink-400);
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.board-entry {
  background: rgba(253,246,255,0.03);
  border-left: 2px solid var(--pink-500);
  border-radius: 4px;
  padding: 14px 16px;
}
.board-entry .meta {
  font-size: 11px;
  color: rgba(77,255,143,0.6);
  margin-bottom: 6px;
}
.board-entry .msg {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.5;
  white-space: pre-wrap;
}
.board-empty {
  color: rgba(253,246,255,0.4);
  font-size: 13px;
}
