:root {
  --bg: #030806;
  --bg-elevated: #0a1610;
  --ink: #e8f5e9;
  --muted: #8fb89a;
  --green: #22c55e;
  --green-bright: #4ade80;
  --green-glow: rgba(34, 197, 94, 0.45);
  --line: rgba(74, 222, 128, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

::selection {
  background: rgba(34, 197, 94, 0.35);
  color: #fff;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.brand:hover .brand-name {
  color: var(--green-bright);
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green-bright);
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--green-bright);
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(3, 8, 6, 0.55);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--green-bright);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Buttons */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  padding: 0.9rem 1.6rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #03150a;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 28px var(--green-glow);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.55);
}

.btn-ghost {
  padding: 0.9rem 1.4rem;
  color: var(--green-bright);
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(10, 22, 16, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--green-bright);
  background: rgba(34, 197, 94, 0.12);
  transform: translateY(-2px);
}

.btn-ghost svg,
.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 45%, transparent 0%, rgba(3, 8, 6, 0.35) 55%, rgba(3, 8, 6, 0.92) 100%),
    linear-gradient(180deg, rgba(3, 8, 6, 0.55) 0%, rgba(3, 8, 6, 0.25) 35%, rgba(3, 8, 6, 0.85) 100%);
}

.grid-noise {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 1.5rem;
  min-height: 100svh;
  padding: 7rem 0 4rem;
}

.hero-copy {
  order: 2;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--green-bright);
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--green-bright);
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.lead strong {
  color: var(--green-bright);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ca-line {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  word-break: break-all;
}

.ca-line a {
  color: var(--green-bright);
  text-decoration: none;
}

.ca-line a:hover {
  text-decoration: underline;
}

.hero-mascot {
  order: 1;
  display: flex;
  justify-content: center;
}

.mascot-wrap {
  position: relative;
  animation: float-ape 5.5s ease-in-out infinite;
}

.mascot-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.25);
  filter: blur(48px);
  animation: pulse-glow 3.2s ease-in-out infinite;
}

.mascot-wrap img {
  position: relative;
  z-index: 2;
  width: min(78vw, 420px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(34, 197, 94, 0.35));
}

.chart-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: 100%;
  height: 10rem;
  opacity: 0.7;
  pointer-events: none;
}

.chart-rise {
  stroke-dasharray: 420;
  animation: chart-rise 2.8s ease-out forwards;
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(10, 22, 16, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green-bright);
  animation: ticker 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

/* Sections */
.section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.section-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 6, 0.88) 0%, rgba(3, 8, 6, 0.72) 40%, rgba(3, 8, 6, 0.9) 100%);
}

.section-inner {
  position: relative;
  z-index: 10;
}

.section h2 {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-text {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.feature {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.feature-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
}

.feature h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.feature p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.pump-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.panel-glow {
  position: absolute;
  inset: -1rem;
  background: rgba(34, 197, 94, 0.1);
  filter: blur(28px);
}

.panel img {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  object-fit: cover;
}

.meta-box {
  position: relative;
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: rgba(3, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.meta-row + .meta-row {
  margin-top: 0.5rem;
}

.meta-row a,
.meta-row .value {
  color: var(--green-bright);
  text-decoration: none;
  text-align: right;
  word-break: break-all;
}

.meta-row a:hover {
  text-decoration: underline;
}

.join {
  border-top: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
  padding: 6rem 0;
}

.join-mascot {
  width: 112px;
  height: 112px;
  margin: 0 auto 2rem;
  animation: float-ape 5.5s ease-in-out infinite;
}

.join-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.4));
}

.join h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.join p {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.7;
}

.join .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-brand span {
  color: var(--green-bright);
}

.footer-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Animations */
@keyframes float-ape {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes chart-rise {
  0% {
    stroke-dashoffset: 420;
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.85;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fade-up 0.9s ease-out both;
}

.fade-up-1 {
  animation: fade-up 0.9s ease-out 0.15s both;
}

.fade-up-2 {
  animation: fade-up 0.9s ease-out 0.3s both;
}

.fade-up-3 {
  animation: fade-up 0.9s ease-out 0.45s both;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 6rem 0 5rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-mascot {
    order: 2;
    justify-content: flex-end;
  }

  .mascot-wrap img {
    width: min(42vw, 480px);
  }

  .lead {
    font-size: 1.125rem;
  }

  .chart-overlay {
    height: 14rem;
  }

  .ticker-track {
    font-size: 0.875rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

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

  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  background: #14532d;
  color: #e8f5e9;
  border: 1px solid rgba(74, 222, 128, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.65rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
