/*
Theme Name: Mosey
Theme URI: https://moseyaround.com
Author: Dave
Description: Official launch theme for the Mosey app — Walk. Wander. Win.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mosey
*/

:root {
  --sage: #6BAF7A;
  --sage-light: #EAF4EC;
  --sage-dark: #4D8A5A;
  --cream: #FDF6EC;
  --coral: #F4845F;
  --coral-dark: #E06A45;
  --charcoal: #2D2D2D;
  --mid: #6B6B6B;
  --white: #ffffff;

  /* Logo sizes — edit these to resize logos sitewide */
  --logo-nav-height: 52px;
  --logo-footer-height: 52px;
  --logo-footer-bg: #1a1a2e;
  --logo-footer-radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* NAV */
.mosey-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 175, 122, 0.15);
}
/* Change --logo-nav-height to resize nav logo, --logo-footer-height for footer */
.nav-logo img { height: var(--logo-nav-height); width: auto; display: block; }
.nav-pill {
  background: var(--sage);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-pill:hover { background: var(--sage-dark); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
#footsteps-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
}
.hero-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.2rem;
  position: relative;
}
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.1;
  color: var(--charcoal);
  max-width: 800px;
  position: relative;
}
.hero h1 em { font-style: normal; color: var(--sage-dark); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--mid);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 1.4rem;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.btn-primary {
  background: var(--coral);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 2px solid var(--sage);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--sage-light); transform: translateY(-2px); }
.hero-badge {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid rgba(107,175,122,0.3);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  color: var(--mid);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  position: relative;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* SHARED */
.section-label {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.8rem;
}
.section-title {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--charcoal);
  margin-bottom: 3.5rem;
}

/* FEATURES */
.features-section { background: var(--white); padding: 5rem 1.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-card {
  background: var(--cream);
  border-radius: 1.2rem;
  padding: 2rem 1.6rem;
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.feature-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }

/* REWARDS */
.rewards-section { background: var(--coral); padding: 4rem 1.5rem; text-align: center; }
.rewards-inner { max-width: 600px; margin: 0 auto; }
.rewards-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.rewards-counter {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rewards-currency {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-top: 0.4rem;
}
.rewards-value {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 8rem);
  color: white;
  letter-spacing: -2px;
}
.rewards-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.rewards-sub { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* HOW IT WORKS */
.how-section { padding: 5rem 1.5rem; max-width: 800px; margin: 0 auto; }
.how-section .section-title { text-align: left; }
.steps-list { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px dashed rgba(107,175,122,0.3);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 2px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--sage-dark);
}
.step-body h3 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 0.35rem; }
.step-body p { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }

/* APP STORE */
.app-section { background: var(--sage-dark); padding: 5rem 1.5rem; text-align: center; }
.app-section .section-label { color: rgba(255,255,255,0.6); }
.app-section .section-title { color: white; margin-bottom: 1rem; }
.app-intro { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.store-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 0.9rem;
  padding: 0.9rem 1.6rem;
  color: white;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
  position: relative;
}
.store-btn:hover { background: rgba(255,255,255,0.2); color: white; }
.store-btn--disabled { opacity: 0.75; pointer-events: none; }
.coming-soon {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--coral);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.store-btn-text { text-align: left; }
.store-btn-text .sub { font-size: 0.7rem; opacity: 0.7; display: block; }
.store-btn-text .main { font-size: 1rem; font-weight: 700; display: block; }

/* FOOTER */
.mosey-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img {
  height: var(--logo-footer-height);
  width: auto;
  background: var(--logo-footer-bg);
  border-radius: var(--logo-footer-radius);
  padding: 10px 20px;
}
.mosey-footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.mosey-footer a:hover { color: white; }

/* PRIVACY */
.privacy-wrap { padding: 8rem 1.5rem 5rem; min-height: 100vh; }
.privacy-content { max-width: 720px; margin: 0 auto; }
.privacy-content h1 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); color: var(--charcoal); margin-bottom: 0.5rem; }
.privacy-updated { color: var(--mid); font-size: 0.85rem; margin-bottom: 2.5rem; }
.privacy-content h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--charcoal); margin-top: 2rem; margin-bottom: 0.6rem; }
.privacy-content p, .privacy-content li { color: var(--mid); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0.5rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.privacy-content a { color: var(--sage-dark); }
.privacy-content strong { color: var(--charcoal); }

/* RESPONSIVE */
@media (max-width: 600px) {
  .mosey-nav { padding: 0.9rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 3rem; }
  .features-section, .rewards-section, .app-section { padding: 3.5rem 1.2rem; }
  .how-section { padding: 3.5rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
