:root {
  --bg: #fff8e7;
  --primary: #ff5c7a;
  --primary-dark: #e84a68;
  --secondary: #3ecfcf;
  --accent: #ffd166;
  --grass: #7bc96f;
  --text: #2d3436;
  --muted: #636e72;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(45, 52, 54, 0.12);
  --radius: 20px;
  --font: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
}

.sky {
  position: fixed;
  inset: 0 0 auto;
  height: 42vh;
  background: linear-gradient(180deg, #6ec5ff 0%, #b8e6ff 55%, var(--bg) 100%);
  z-index: -1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo-icon { font-size: 1.6rem; }

.nav { display: flex; gap: 1.25rem; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--primary); }

main { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 4rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1rem;
}

h1 .accent { color: var(--primary); }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff8fab);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 92, 122, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-color: #fff;
}

.fine { font-size: 0.82rem; color: var(--muted); font-weight: 700; }

.hero-art {
  position: relative;
  min-height: 320px;
}

.card {
  position: absolute;
  background: var(--card);
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.card-title { font-weight: 900; font-size: 0.95rem; margin-bottom: 0.35rem; }

.map-card { top: 0; left: 0; width: 62%; animation: float 4s ease-in-out infinite; }
.pins { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; font-weight: 800; }

.avatar-card {
  top: 38%; right: 0;
  width: 52%;
  text-align: center;
  animation: float 4.5s ease-in-out infinite 0.5s;
}

.chibi { font-size: 2.5rem; margin-bottom: 0.25rem; }
.avatar-card p { font-size: 0.78rem; color: var(--muted); font-weight: 700; }

.wallet-card {
  bottom: 0; left: 12%;
  width: 58%;
  background: linear-gradient(135deg, #ffd166, #ffb347);
  animation: float 5s ease-in-out infinite 1s;
}

.wallet-amt { font-size: 1.6rem; font-weight: 900; }
.wallet-hint { font-size: 0.72rem; font-weight: 800; opacity: 0.85; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.features { padding: 1rem 0 2rem; }
.features h2 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feat-icon { font-size: 1.75rem; display: block; margin-bottom: 0.5rem; }
.feature h3 { font-weight: 900; margin-bottom: 0.35rem; }
.feature p { font-size: 0.92rem; color: var(--muted); font-weight: 600; }

.footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.5);
}

.footer p { margin-bottom: 0.35rem; font-weight: 700; font-size: 0.9rem; }
.footer a { color: var(--primary-dark); font-weight: 800; }

/* Privacy page */
.page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page h2 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; font-weight: 900; }
.page p, .page li { color: var(--muted); font-weight: 600; margin-bottom: 0.75rem; }
.page ul { padding-left: 1.25rem; }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 900; color: var(--primary); text-decoration: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; max-width: 420px; margin: 0 auto; }
  .nav { gap: 0.75rem; font-size: 0.85rem; }
}
