/* Add-on pixel styles (kept separate for clarity if you want to revert) */

/* Hero animation: "OriginTrail train" */
.pixel-hero { padding: 10px 10px 6px; }
.pixel-anim {
  position: relative;
  max-width: 920px;
  height: 120px;
  margin: 18px auto 0;
  background: rgba(9, 10, 14, 0.45);
  border: 3px solid #1b1b24;
  border-radius: 12px;
  box-shadow: 10px 10px 0 #1b1b24;
  overflow: hidden;
}
.pixel-anim__caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  color: rgba(230,230,230,0.85);
}
.pixel-anim .trail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
}
.pixel-anim .trail .node {
  width: 10px;
  height: 10px;
  border: 3px solid #1b1b24;
  background: #43b6ff;
  box-shadow: 4px 4px 0 #1b1b24;
  opacity: 0.5;
  animation: nodeBlink 1.6s infinite ease-in-out;
}
.pixel-anim .trail .node:nth-child(3n) { background: #7cff6b; }
.pixel-anim .trail .node:nth-child(2n) { animation-delay: 0.4s; }

@keyframes nodeBlink { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-3px); opacity: 0.9; } }

.pixel-anim .train {
  position: absolute;
  left: -220px;
  bottom: 26px;
  width: 220px;
  height: 56px;
  animation: trainMove 8.0s linear infinite;
  filter: drop-shadow(6px 6px 0 rgba(27,27,36,1));
}
@keyframes trainMove { 0% { transform: translateX(0); } 100% { transform: translateX(1240px); } }

.train__engine {
  position: absolute;
  left: 8px;
  top: 16px;
  width: 64px;
  height: 26px;
  background: #7cff6b;
  border: 4px solid #1b1b24;
}
.train__engine::before {
  content: '';
  position: absolute;
  left: 8px;
  top: -14px;
  width: 20px;
  height: 14px;
  background: #43b6ff;
  border: 4px solid #1b1b24;
}
.train__engine::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 6px;
  width: 14px;
  height: 10px;
  background: #ffcf5c;
  border: 3px solid #1b1b24;
}

.train__car {
  position: absolute;
  top: 18px;
  width: 54px;
  height: 22px;
  background: rgba(67, 182, 255, 0.95);
  border: 4px solid #1b1b24;
}
.train__car--a { left: 84px; }
.train__car--b { left: 146px; background: rgba(255, 207, 92, 0.92); }
.train__car::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: rgba(9,10,14,0.25);
}

/* Add subtle swarm logo 👾 on the cars */
.train__car--a::before,
.train__car--b::before {
  content: '👾';
  position: absolute;
  right: 6px;
  top: -16px;
  font-size: 16px;
  text-shadow: 3px 3px 0 rgba(27,27,36,1);
  opacity: 0.85;
  animation: dkgBob 1.2s ease-in-out infinite;
}
.train__car--b::before {
  left: 6px;
  right: auto;
  animation-delay: 0.25s;
}
@keyframes dkgBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.train__wheel {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #43b6ff;
  border: 4px solid #1b1b24;
  animation: wheelSpin 1.15s linear infinite;
}
.train__wheel--1 { left: 14px; }
.train__wheel--2 { left: 52px; }
.train__wheel--3 { left: 102px; }
.train__wheel--4 { left: 162px; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }

.train__smoke {
  position: absolute;
  left: 22px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 3px solid #1b1b24;
  background: rgba(230,230,230,0.55);
  box-shadow: 0 0 0 0 rgba(230,230,230,0);
  animation: smokePuff 1.1s ease-out infinite;
}
@keyframes smokePuff {
  0% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(-26px, -18px) scale(1.4); opacity: 0; }
}

/* Pixel icons (avoid emoji tofu squares) */
.pix-ico {
  width: 34px;
  height: 34px;
  display: inline-block;
  border: 3px solid #1b1b24;
  box-shadow: 6px 6px 0 #1b1b24;
  background: rgba(9, 10, 14, 0.6);
  position: relative;
}
.pix-ico::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #43b6ff;
}
.pix-ico--fun::after { background: linear-gradient(90deg, #43b6ff 0 50%, #7cff6b 50% 100%); }
.pix-ico--swarm::after { background: repeating-linear-gradient(45deg, #7cff6b 0 6px, #43b6ff 6px 12px); }
.pix-ico--lens::after { background: radial-gradient(circle at 35% 35%, #ffcf5c 0 45%, #43b6ff 46% 100%); }
.pix-ico--shield::after { background: linear-gradient(180deg, #ffcf5c 0 45%, #7cff6b 46% 100%); }
.pix-ico--mind::after { background: radial-gradient(circle at 50% 35%, #7cff6b 0 55%, #43b6ff 56% 100%); }
.pix-ico--signal::after { background: repeating-linear-gradient(90deg, #ffcf5c 0 6px, #43b6ff 6px 12px); }

/* Think/Not lines */
.pixel-lines { margin-top: 10px; }
.pixel-lines__line {
  font-size: 1.6rem;
  padding: 8px 10px;
  margin: 8px 0;
  border-left: 6px solid rgba(67, 182, 255, 0.75);
  background: rgba(9, 10, 14, 0.35);
}

/* Swarm pulse animation */
.swarm-pulse {
  max-width: 920px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  opacity: 0.85;
}
.swarm-pulse span {
  height: 14px;
  border: 2px solid #1b1b24;
  background: rgba(67, 182, 255, 0.35);
  box-shadow: 4px 4px 0 #1b1b24;
  animation: swarmBeat 1.8s infinite ease-in-out;
}
.swarm-pulse span:nth-child(3n) { background: rgba(124, 255, 107, 0.35); }
.swarm-pulse span:nth-child(4n) { background: rgba(255, 207, 92, 0.25); }
.swarm-pulse span:nth-child(2n) { animation-delay: 0.35s; }
@keyframes swarmBeat { 0%,100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(-4px); opacity: 1; } }

/* Pixel divider */
.pixel-divider {
  max-width: 920px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 10px;
  opacity: 0.9;
}
.pixel-divider span {
  height: 12px;
  border: 2px solid #1b1b24;
  background: rgba(67, 182, 255, 0.20);
  box-shadow: 4px 4px 0 #1b1b24;
  animation: dividerWave 2.2s infinite ease-in-out;
}
.pixel-divider span:nth-child(3n) { background: rgba(124, 255, 107, 0.18); }
.pixel-divider span:nth-child(4n) { background: rgba(255, 207, 92, 0.14); }
.pixel-divider span:nth-child(2n) { animation-delay: 0.25s; }
@keyframes dividerWave { 0%,100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(-3px); opacity: 1; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.reveal--in { opacity: 1; transform: translateY(0); }

.pixel-hero__badge {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  color: #07070a;
  background: #7cff6b;
  padding: 8px 10px;
  border: 3px solid #1b1b24;
  box-shadow: 6px 6px 0 #1b1b24;
  margin-bottom: 12px;
}
.pixel-h1 { font-size: 2.4rem; margin-top: 14px; }
.pixel-h2 { font-family: 'VT323', monospace; font-size: 2rem; color: #e6e6e6; text-shadow: none; }
.pixel-lede { font-size: 1.8rem; max-width: 820px; margin: 14px auto 0; }

.pixel-cta-row { display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.pixel-subrow { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; justify-content:center; }
.pixel-chip {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  padding: 8px 10px;
  border: 2px solid rgba(67, 182, 255, 0.55);
  background: rgba(9, 10, 14, 0.55);
}

.pixel-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  padding: 12px 14px;
  border: 3px solid #1b1b24;
  background: rgba(9, 10, 14, 0.75);
  color: #e6e6e6;
  box-shadow: 6px 6px 0 #1b1b24;
  display:inline-block;
}
.pixel-btn:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 #1b1b24; }
.pixel-btn--primary { background: #43b6ff; color: #07070a; }

.pixel-section-title { margin-bottom: 8px; }
.pixel-paragraph { max-width: 900px; margin-left: auto; margin-right: auto; }

.pixel-columns { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 800px) { .pixel-columns { grid-template-columns: 1fr; } }

.pixel-panel {
  background: rgba(9, 10, 14, 0.65);
  border: 3px solid #1b1b24;
  box-shadow: 10px 10px 0 #1b1b24;
  border-radius: 10px;
  padding: 14px;
}
.pixel-panel__title { font-size: 1rem; margin-top: 6px; }
.pixel-list { margin: 10px 0 0; padding-left: 24px; font-size: 1.6rem; }
.pixel-small { font-size: 1.4rem; }

.pixel-callout {
  margin: 18px auto 0;
  max-width: 900px;
  padding: 12px 14px;
  border-left: 6px solid #7cff6b;
  background: rgba(124, 255, 107, 0.08);
}

.pixel-faq {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(9, 10, 14, 0.55);
  border: 3px solid #1b1b24;
  border-radius: 10px;
  box-shadow: 10px 10px 0 #1b1b24;
  padding: 10px 12px;
}
.pixel-faq summary {
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
}
.pixel-faq__body { font-size: 1.6rem; margin-top: 10px; }
