/* ==========================================================================
   Minitago — marketing site styles
   Brand: primary #47776E (ink), secondary #2DE6C3 (mint), tertiary #EB05A0 (magenta)
   ========================================================================== */

:root {
  --ink: #16241f;
  --ink-soft: #47776e;
  --muted: #5b6b67;
  --mint: #2de6c3;
  --pink: #eb05a0;
  --bg: #fbfdfc;
  --surface: #ffffff;
  --border: #e6ece9;
  --dark-bg: #0e1d19;
  --dark-surface: #142b25;
  --gradient: linear-gradient(135deg, var(--mint) 0%, var(--pink) 100%);
  --shadow-sm: 0 1px 2px rgba(16, 34, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 34, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 34, 28, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Parkinsans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #e8faf5;
  border: 1px solid #cdf1e7;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient);
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink-soft);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #365a53; box-shadow: var(--shadow-md); }

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-gradient:hover { box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink-soft); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { box-shadow: var(--shadow-md); }

/* Nav ------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 29, 25, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #b9cdc6;
  transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero -------------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 60px;
}
.hero-blob {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 640px;
  height: 640px;
  background: var(--gradient);
  filter: blur(120px);
  opacity: .28;
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  max-width: 620px;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  max-width: 500px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--muted); }

.hero-visual {
  position: relative;
  height: 460px;
}
.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card img { width: 46px; height: 46px; object-fit: contain; }
.hero-card .label { font-size: 12px; color: var(--muted); font-weight: 600; }
.hero-card .value { font-size: 18px; font-weight: 700; }

.hero-card--gem { top: 6%; left: 4%; animation: float1 6s ease-in-out infinite; }
.hero-card--coin { bottom: 12%; left: 18%; animation: float2 7s ease-in-out infinite; }
.hero-card--quest { top: 38%; right: 2%; animation: float1 8s ease-in-out infinite; }

.hero-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #eafaf5 60%, #fbe9f4 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark img { width: 120px; }

@keyframes float1 { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes float2 { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(12px);} }

/* Section shells ---------------------------------------------------------*/
section { padding: 88px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }
.section-head.left { margin-left: 0; text-align: left; }

/* How it works -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .num {
  position: absolute;
  top: 24px; right: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mint);
  background: #e8faf5;
  border-radius: 999px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.step img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin-bottom: 0; }

/* Features grid ----------------------------------------------------------*/
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--gradient);
}
.feature-icon svg { width: 24px; height: 24px; stroke: #fff; }
.feature-icon img { width: 26px; height: 26px; object-fit: contain; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14.5px; margin-bottom: 0; }

/* Merchants (dark) ---------------------------------------------------- */
.merchants {
  background: radial-gradient(1200px 500px at 15% -10%, rgba(45,230,195,.18), transparent 60%),
              radial-gradient(900px 500px at 100% 110%, rgba(235,5,160,.20), transparent 60%),
              var(--dark-bg);
  color: #eaf4f0;
}
.merchants .section-head p,
.merchants p { color: #b9cdc6; }
.merchants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.merchant-list { display: grid; gap: 18px; margin-bottom: 30px; }
.merchant-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: #dcece7;
}
.merchant-list .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.merchant-list .tick svg { width: 12px; height: 12px; stroke: #0e1d19; stroke-width: 3; }
.merchant-list strong { color: #fff; }

.merchant-panel {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
}
.merchant-stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.merchant-stat:last-child { border-bottom: none; }
.merchant-stat .k { font-size: 13px; color: #9fb6ae; }
.merchant-stat .v { font-size: 15px; font-weight: 700; color: #fff; }

/* Download -------------------------------------------------------------*/
.download {
  text-align: center;
  background: var(--surface);
}
.download-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  min-width: 200px;
  text-align: left;
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .small { display: block; font-size: 11px; opacity: .75; }
.store-btn .big { display: block; font-size: 16px; font-weight: 700; }

/* CTA banner --------------------------------------------------------- */
.cta-banner {
  background: var(--gradient);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  max-width: calc(var(--container) - 48px);
  margin-inline: auto;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 520px; margin: 0 auto 20px; }
.cta-banner .hero-actions { justify-content: center; }

/* Footer ---------------------------------------------------------------*/
.site-footer {
  background: var(--dark-bg);
  color: #b9cdc6;
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { color: #93a9a2; font-size: 14px; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: #b9cdc6; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: #7f9791;
  flex-wrap: wrap;
  gap: 12px;
}

/* Simple/legal pages ---------------------------------------------------*/
.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); max-width: 680px; }
.page-hero .updated { color: var(--muted); font-size: 14px; }

.legal {
  padding: 56px 0 100px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface);
}
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.legal-toc ul { display: grid; gap: 9px; }
.legal-toc a { font-size: 13.5px; color: var(--muted); }
.legal-toc a:hover { color: var(--ink-soft); }

.legal-body h2 { font-size: 21px; margin-top: 40px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; margin-top: 22px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--muted); }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.legal-body a { color: var(--ink-soft); text-decoration: underline; }

/* About page -------------------------------------------------------------*/
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* Utilities -----------------------------------------------------------*/
.bg-soft { background: #f3f8f6; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Responsive -------------------------------------------------------------*/
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; order: -1; }
  .merchants-grid { grid-template-columns: 1fr; }
  .steps, .features, .about-values { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--dark-bg);
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 18px;
  }
  section { padding: 60px 0; }
  .steps, .features, .about-values { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 40px 24px; margin: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .hero-card { padding: 14px 16px; }
  .hero-card img { width: 34px; height: 34px; }
}
