/* =========================================================
   MIDO ($MIDO) — the little cat who lives in the green
   Cute forest / park themed landing page
   ========================================================= */

:root {
  /* Greens */
  --forest-900: #1f3d29;
  --forest-800: #274d30;
  --forest-700: #2f5d3a;
  --moss: #4f8055;
  --leaf: #7cb342;
  --leaf-bright: #9ccc65;
  --sage: #b7d3a8;
  --mint: #e4f1dc;

  /* Warmth */
  --cream: #fbf8ec;
  --cream-2: #f4efdc;
  --bark: #7a5c3e;
  --bark-soft: #a98763;

  /* Accents */
  --sakura: #f4a8c0;
  --sakura-soft: #ffd6e2;
  --sun: #ffd76b;

  /* Text */
  --ink: #24371f;
  --ink-soft: #4c5f43;

  --shadow-soft: 0 18px 40px -20px rgba(31, 61, 41, 0.45);
  --shadow-card: 0 24px 60px -30px rgba(31, 61, 41, 0.55);

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 88% -12%, #eef6e6 0%, transparent 62%),
    linear-gradient(180deg, #f8faf3 0%, var(--cream) 55%, #f2f5ea 100%);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.05; }

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

.wrap { width: min(1120px, 92vw); margin-inline: auto; }

section { position: relative; }

/* ============================ Floating leaves ============================ */
.leaf-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.leaf {
  position: absolute;
  top: -8vh;
  font-size: 1.4rem;
  opacity: 0.75;
  animation: fall linear infinite;
  filter: drop-shadow(0 4px 6px rgba(47, 93, 58, 0.25));
}
@keyframes fall {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); }
  100% { transform: translateY(115vh) translateX(60px) rotate(360deg); }
}

/* ============================ Nav ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 248, 236, 0.72);
  border-bottom: 1px solid rgba(124, 179, 66, 0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--forest-800);
}
.brand .paw {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--leaf-bright), var(--moss));
  border-radius: 14px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08), var(--shadow-soft);
  font-size: 1.2rem;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.98rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--leaf); }
.nav-links .btn { color: #fff; }

@media (max-width: 780px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(160deg, var(--leaf-bright), var(--moss));
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12), 0 12px 24px -12px rgba(79,128,85,0.9);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); filter: saturate(1.1); }
.btn-pink {
  background: linear-gradient(160deg, #ffc2d6, var(--sakura));
  color: #7a2b46;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08), 0 12px 24px -12px rgba(244,168,192,0.9);
}
.btn-pink:hover { transform: translateY(-2px) scale(1.02); }
.btn-ghost {
  background: #fff;
  color: var(--forest-800);
  box-shadow: var(--shadow-soft);
  border: 1.5px solid rgba(124,179,66,0.3);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--moss);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid rgba(124,179,66,0.3);
  margin-bottom: 22px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(124,179,66,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(124,179,66,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(124,179,66,0.05); }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--forest-800);
  letter-spacing: -0.02em;
}
.hero h1 .green {
  background: linear-gradient(120deg, var(--leaf), var(--moss));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  margin: 20px 0 12px;
  font-size: 1.18rem;
  color: var(--ink-soft);
  font-weight: 600;
  max-width: 46ch;
}
.hero .ticker-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--forest-700);
  margin-bottom: 26px;
}
.hero .ticker-chip {
  background: var(--forest-800); color: var(--leaf-bright);
  padding: 4px 12px; border-radius: 999px; font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }

/* Hero contract address box */
.hero-ca {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid rgba(124, 179, 66, 0.28);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  max-width: 560px;
}
.hero-ca-label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--forest-800);
  font-size: 0.9rem;
  white-space: nowrap;
}
.hero-ca code {
  flex: 1 1 200px;
  min-width: 0;
  font-family: "Nunito", monospace;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.92rem;
  word-break: break-all;
  background: var(--mint);
  padding: 8px 12px;
  border-radius: 10px;
}
.hero-ca-btn { padding: 10px 18px; font-size: 0.92rem; }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats .stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.5rem; color: var(--forest-800);
}
.hero-stats .stat span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }

/* Hero art */
.hero-art { position: relative; }
.photo-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.photo-frame:hover { transform: rotate(0deg) scale(1.01); }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,61,41,0.28));
}
.photo-caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.float-tag {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  font-weight: 800;
  display: flex; align-items: center; gap: 8px;
  animation: bob 4s ease-in-out infinite;
}
.float-tag.t1 { top: -14px; right: -6px; color: var(--moss); }
.float-tag.t2 { bottom: 22px; right: -22px; color: var(--sakura); animation-delay: 1.2s; }
.float-tag small { display:block; font-size:0.68rem; color: var(--ink-soft); font-weight:700; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; margin-inline: auto; }
}

/* ============================ Section heads ============================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.78rem; color: var(--moss);
  background: var(--mint); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--forest-800); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; font-weight: 600; }

.pad { padding: 76px 0; position: relative; z-index: 2; }

/* ============================ Meet Mido ============================ */
.meet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mcard {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(124,179,66,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.mcard .ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(160deg, var(--mint), var(--sage));
  margin-bottom: 16px;
}
.mcard h3 { font-size: 1.3rem; color: var(--forest-800); margin-bottom: 8px; }
.mcard p { color: var(--ink-soft); font-weight: 600; font-size: 0.98rem; }
@media (max-width: 820px) { .meet-grid { grid-template-columns: 1fr; } }

/* ============================ Lore / Story ============================ */
.lore { background: linear-gradient(180deg, #eef7e4, #e6f2da); }
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px;
  width: 3px; background: repeating-linear-gradient(180deg, var(--leaf) 0 10px, transparent 10px 18px);
  border-radius: 3px;
}
.tstep { position: relative; padding: 0 0 34px 74px; }
.tstep:last-child { padding-bottom: 0; }
.tstep .bulb {
  position: absolute; left: 6px; top: 0;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: #fff; box-shadow: var(--shadow-soft);
  border: 2px solid var(--leaf-bright);
}
.tstep h3 { color: var(--forest-800); font-size: 1.28rem; margin-bottom: 6px; }
.tstep p { color: var(--ink-soft); font-weight: 600; }
.tstep p b { color: var(--moss); }

/* ============================ Proof ============================ */
.proof-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.proof-media { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.proof-shot, .proof-vid {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid #fff;
  max-width: 260px;
  width: 100%;
}
.proof-shot img, .proof-vid video { display: block; width: 100%; height: auto; }
.proof-vid { max-width: 300px; }

.quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(124,179,66,0.18);
  position: relative;
}
.quote-card .who {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.quote-card .who .av {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(160deg, var(--sakura-soft), var(--sakura));
  display: grid; place-items: center; font-size: 1.4rem;
}
.quote-card .who b { color: var(--forest-800); font-family: var(--font-display); font-size: 1.05rem; }
.quote-card .who span { display:block; font-size:0.82rem; color: var(--ink-soft); font-weight:700; }
.jp {
  font-size: 1.02rem; color: var(--ink-soft); font-weight: 600;
  background: var(--mint); padding: 16px 18px; border-radius: 16px;
  margin-bottom: 14px; line-height: 1.9;
}
.en {
  font-size: 1.14rem; color: var(--ink); font-weight: 700; line-height: 1.7;
  border-left: 4px solid var(--leaf); padding-left: 16px;
}
.en .hl { color: var(--moss); }
.proof-note {
  margin-top: 20px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

/* ============================ Tokenomics ============================ */
.tok { background: var(--forest-800); color: #eafbe0; }
.tok .section-head h2 { color: #fff; }
.tok .section-head p { color: #cfe6c2; }
.tok .eyebrow { background: rgba(255,255,255,0.12); color: var(--leaf-bright); }
.tok-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tok-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(156,204,101,0.25);
  border-radius: var(--radius-md);
  padding: 26px 22px; text-align: center;
  transition: transform 0.25s, background 0.25s;
}
.tok-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.tok-card .big { font-family: var(--font-display); font-size: 1.9rem; color: var(--leaf-bright); }
.tok-card .lbl { font-weight: 700; color: #cfe6c2; margin-top: 6px; font-size: 0.95rem; }
@media (max-width: 820px) { .tok-grid { grid-template-columns: repeat(2, 1fr); } }

.ca-box {
  margin-top: 34px;
  background: rgba(0,0,0,0.22);
  border: 1px dashed rgba(156,204,101,0.5);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.ca-box .ca-label { font-weight: 800; color: var(--leaf-bright); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ca-box code { color: #eafbe0; font-size: 0.98rem; word-break: break-all; font-family: "Nunito", monospace; }

/* ============================ How to buy ============================ */
.buy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff; border-radius: var(--radius-md); padding: 26px 22px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(124,179,66,0.16);
  position: relative;
}
.step .num {
  position: absolute; top: -14px; left: 22px;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(160deg, var(--leaf-bright), var(--moss));
  color: #fff; display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; box-shadow: var(--shadow-soft);
}
.step h3 { margin: 14px 0 8px; color: var(--forest-800); font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-weight: 600; font-size: 0.94rem; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .buy-grid { grid-template-columns: 1fr; } }

/* ============================ Roadmap ============================ */
.road { background: linear-gradient(180deg, #fdeef3, #f6f4e6); }
.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcard {
  background: #fff; border-radius: var(--radius-md); padding: 28px 24px;
  box-shadow: var(--shadow-soft); border-top: 5px solid var(--leaf);
}
.rcard .phase { font-weight: 800; color: var(--sakura); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }
.rcard h3 { color: var(--forest-800); margin: 6px 0 12px; font-size: 1.3rem; }
.rcard ul { list-style: none; display: grid; gap: 8px; }
.rcard li { color: var(--ink-soft); font-weight: 600; padding-left: 26px; position: relative; }
.rcard li::before { content: "🌱"; position: absolute; left: 0; }
@media (max-width: 820px) { .road-grid { grid-template-columns: 1fr; } }

/* ============================ CTA band ============================ */
.cta {
  text-align: center;
  background: linear-gradient(160deg, var(--moss), var(--forest-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cta p { margin: 14px auto 26px; max-width: 46ch; color: #dff0d3; font-weight: 600; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .halo { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; }

/* ============================ Footer ============================ */
.footer { padding: 50px 0 40px; text-align: center; position: relative; z-index: 2; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.socials { display: flex; gap: 12px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; padding: 10px 18px; border-radius: 999px;
  font-weight: 800; color: var(--forest-800); box-shadow: var(--shadow-soft);
  border: 1.5px solid rgba(124,179,66,0.25); transition: transform 0.18s;
}
.socials a:hover { transform: translateY(-3px); color: var(--leaf); }
.disclaimer { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; }
.copyright { margin-top: 18px; color: var(--bark-soft); font-weight: 700; font-size: 0.85rem; }

/* ============================ Reveal on scroll ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(30px);
  background: var(--forest-800); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; box-shadow: var(--shadow-card); opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
