/* W·X Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #a3e635;
  --primary-dark: #84cc16;
  --gold: hsl(43,74%,49%);
  --dark-bg: #050505;
  --dark-surface: rgba(255,255,255,0.04);
  --dark-border: rgba(255,255,255,0.08);
  --light-bg: hsl(40,33%,98%);
  --light-surface: #ffffff;
  --light-border: hsl(40,15%,89%);
  --navy: hsl(222,47%,11%);
  --muted: #71717a;
  --muted2: #a1a1aa;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; }
a { text-decoration: none; }
img { max-width: 100%; }

/* Shared Nav */
.app-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
  border-bottom: 1px solid var(--light-border);
  background: #fff; position: sticky; top: 0; z-index: 100;
}
.app-logo { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.05em; color: var(--navy); }
.app-nav-links { display: flex; align-items: center; gap: 4px; }
.nav-a {
  padding: 6px 14px; border-radius: 8px; font-size: 0.85rem; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-a:hover { color: var(--navy); background: hsl(40,20%,96%); }
.nav-a.active { color: var(--navy); font-weight: 600; }
.nav-btn {
  background: var(--navy); color: #fff; padding: 7px 18px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
}
.nav-btn:hover { opacity: 0.9; }

/* Bottom Nav (mobile app feel) */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 0; height: 64px;
}
.bnav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.6rem; color: var(--muted); flex: 1;
  transition: color 0.2s;
}
.bnav-item.active { color: var(--navy); }
.bnav-icon { font-size: 1.2rem; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: hsl(40,20%,96%); color: var(--navy);
  border: 1px solid var(--light-border);
}
.badge-green { background: rgba(34,197,94,0.1); color: #16a34a; border-color: rgba(34,197,94,0.2); }
.badge-amber { background: rgba(245,158,11,0.1); color: #d97706; border-color: rgba(245,158,11,0.2); }
.badge-blue { background: rgba(59,130,246,0.1); color: #2563eb; border-color: rgba(59,130,246,0.2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
       border-radius: 10px; font-weight: 600; font-size: 0.9rem;
       cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--light-border); }
.btn-outline:hover { background: hsl(40,20%,96%); }
.btn-ghost { background: transparent; color: var(--muted); border: none; }
.btn-ghost:hover { color: var(--navy); background: hsl(40,20%,96%); }
.btn-lime { background: var(--primary); color: #000; font-weight: 700; }
.btn-lime:hover { opacity: 0.9; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--light-border); border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Form controls */
.input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--light-border); border-radius: 10px;
  background: hsl(40,20%,96%); font-size: 0.9rem; color: var(--navy);
  outline: none; transition: border-color 0.2s; font-family: inherit;
}
.input:focus { border-color: var(--gold); }
.input::placeholder { color: var(--muted); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.label { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }

/* Section */
.section { padding: 60px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.8rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 768px) {
  .app-nav-links .nav-a { display: none; }
  .hide-mobile { display: none; }
}
