/* Pork Market — hot pink / neon cyan / matte black */
:root {
  --bg: #070708;
  --bg-elev: #101014;
  --ink: #f7f0f4;
  --muted: #a899a3;
  --pink: #ff007a;
  --pink-soft: #ffb8d9;
  --cyan: #00f2ff;
  --ring: rgba(0, 242, 255, 0.35);
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--pink-soft); }

/* Atmosphere */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.22;
}

.glow-a {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
}

.glow-b {
  bottom: 10%;
  right: -140px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.16;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 8, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--pink), 0 0 18px rgba(255, 0, 122, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

.btn-pink {
  background: linear-gradient(135deg, #ff2b8f, var(--pink) 55%, #c4005f);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 0, 122, 0.35), 0 10px 30px rgba(255, 0, 122, 0.28);
}

.btn-pink:hover {
  box-shadow: 0 0 0 1px rgba(255, 0, 122, 0.55), 0 14px 36px rgba(255, 0, 122, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 242, 255, 0.35);
  color: var(--ink);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.08);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 242, 255, 0.2);
  color: var(--cyan);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.5rem 1.25rem 3.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-orb {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 0, 122, 0.18), transparent 55%),
    radial-gradient(circle at 50% 55%, rgba(0, 242, 255, 0.12), transparent 60%);
  filter: blur(8px);
  z-index: -1;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-logo {
  width: min(280px, 68vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 28px rgba(255, 0, 122, 0.35)) drop-shadow(0 0 40px rgba(0, 242, 255, 0.2));
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 0, 122, 0.55);
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 122, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 122, 0); }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.grad {
  background: linear-gradient(105deg, var(--pink-soft), var(--pink) 40%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-stats div {
  padding: 0.9rem 0.6rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.token-copy h2,
.join-panel h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 217, 0.25);
  background: rgba(255, 0, 122, 0.08);
  color: var(--pink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Agents */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.agent-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(0, 242, 255, 0.04), transparent 40%),
    var(--card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 242, 255, 0.08);
}

.agent-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
}

.agent-icon[data-tone="cyan"] {
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.12);
}

.agent-icon[data-tone="pink"] {
  color: var(--pink);
  background: rgba(255, 0, 122, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 0, 122, 0.15);
}

.agent-icon[data-tone="soft"] {
  color: var(--pink-soft);
  background: rgba(255, 184, 217, 0.1);
}

.agent-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.agent-role {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agent-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Token */
.token-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 0, 122, 0.12), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 242, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  box-shadow: 0 0 0 1px rgba(255, 0, 122, 0.05), 0 30px 80px rgba(0, 0, 0, 0.35);
}

.token-copy .lede { margin-bottom: 1.25rem; }

.inline-link {
  color: var(--cyan);
  border-bottom: 1px solid rgba(0, 242, 255, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.inline-link:hover {
  color: var(--pink-soft);
  border-color: rgba(255, 184, 217, 0.5);
}

.token-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.token-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  font-weight: 600;
}

.token-list span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-box {
  margin-bottom: 1.35rem;
}

.ca-box label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-row {
  display: flex;
  gap: 0.55rem;
}

.ca-row input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 242, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  color: var(--pink-soft);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.ca-row input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--ring);
}

.token-copy .hero-ctas {
  justify-content: flex-start;
  margin-bottom: 0;
}

.token-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.token-visual img {
  width: min(220px, 70%);
  filter: drop-shadow(0 0 24px rgba(255, 0, 122, 0.35));
}

.ticker-chip {
  position: absolute;
  bottom: 18%;
  right: 12%;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--mono);
  background: rgba(7, 7, 8, 0.85);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 242, 255, 0.25);
  animation: floaty 4.5s ease-in-out infinite reverse;
}

/* Join */
.join-panel {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  border: 1px dashed rgba(255, 0, 122, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 0, 122, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.join-panel p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.disclaimer {
  margin: 0 auto 1rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-meta {
  margin: 0;
  color: #6e6270;
  font-size: 0.78rem;
  font-family: var(--mono);
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(10, 10, 12, 0.96);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
  }

  .nav-links a:not(.btn):hover { background: rgba(255,255,255,0.04); }

  .nav-links .btn { margin-top: 0.35rem; width: 100%; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .agent-grid { grid-template-columns: 1fr; }

  .token-panel {
    grid-template-columns: 1fr;
  }

  .token-visual {
    order: -1;
    min-height: 180px;
  }

  .token-copy .hero-ctas { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding-top: 3rem; }
  .ca-row { flex-direction: column; }
  .ca-row .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo,
  .hero-orb,
  .ticker-chip,
  .pulse { animation: none; }
}
