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

:root {
  --bg: #f4fbf4;
  --bg-elevated: #ffffff;
  --bg-soft: #e8f5e9;
  --mint: #c8e6c9;
  --mint-wash: rgba(200, 230, 201, 0.45);
  --green: #00c805;
  --green-dark: #00a004;
  --ink: #0a0a0a;
  --muted: #5a6b5a;
  --border: rgba(10, 10, 10, 0.08);
  --shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
  --glow: 0 0 32px rgba(0, 200, 5, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-height: 72px;
  --font: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 80% 10%, var(--mint-wash), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(0, 200, 5, 0.06), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text {
  color: var(--green-dark);
}

.bar-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 120px,
    var(--ink) 120px,
    var(--ink) 122px
  );
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 0 40px rgba(0, 200, 5, 0.35);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(10, 10, 10, 0.2);
  background: var(--bg-soft);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(244, 251, 244, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding-top: var(--nav-height);
  z-index: 1;
}

.hero-banner {
  width: 100%;
  line-height: 0;
  border-bottom: 1px solid var(--border);
}

.hero-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  text-align: center;
  padding: 64px 24px 72px;
  max-width: 720px;
  margin: 0 auto;
  animation: hero-rise 0.9s ease-out both;
}

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

.hero-bar,
.about-bar,
.cta-bar {
  width: 72px;
  height: 6px;
  background: var(--ink);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.brand-name {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Contract box */
.contract-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.contract-box-lg {
  padding: 16px 20px;
  border-radius: var(--radius);
}

.contract-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contract-address {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.copy-btn:hover {
  background: var(--mint);
}

.copy-btn-lg {
  padding: 10px 16px;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(232, 245, 233, 0.6), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.about-item {
  text-align: center;
  padding: 8px 12px;
}

.about-bar {
  width: 48px;
  height: 4px;
  margin-bottom: 16px;
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.meme-quote {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meme-quote blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 14px;
}

.meme-quote cite {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

/* Chart */
.chart-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.chart-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

.chart-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

/* Tokenomics */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.token-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.token-pct {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.token-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.token-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.buy-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.buy-logo {
  height: 72px;
  width: 72px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.buy-cta > p {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.buy-link {
  margin-top: 24px;
}

/* CTA */
.cta-section {
  padding: 64px 0 96px;
}

.cta-block {
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-block p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-brand span {
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-ca code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

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

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .tokenomics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .stat:nth-child(3) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(244, 251, 244, 0.98);
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--nav-height) + 220px);
    left: 28px;
  }

  .about-grid,
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 32px 20px 48px;
  }

  .section {
    padding: 72px 0;
  }

  .buy-cta {
    padding: 32px 16px;
  }

  .contract-box {
    flex-wrap: wrap;
    justify-content: center;
  }
}
