/*
 * windpay.org — navbar (2026-11-22). Taken from design v2: glass sticky bar,
 * WindPay logo, pill links, Ecosystem dropdown, Download Wallet. Only the
 * navbar uses these wp-* classes; the rest of the site keeps the original design.
 */
:root {
  --wp-bg: #12141a;
  --wp-bg-2: #0e1017;
  --wp-text: #f3f4f6;
  --wp-muted: #d1d5db;
  --wp-faint: #9ca3af;
  --wp-blue: #00e676;
  --wp-blue-2: #00c853;
  --wp-blue-3: #00e676;
  --wp-sky: #00ff87;
  --wp-amber: #ff9f5a;
  --wp-line: #232635;
  --wp-glass: rgba(12, 22, 44, 0.55);
  --wp-glass-strong: rgba(19, 21, 32, 0.97);
  --wp-radius: 22px;
  --wp-ease: cubic-bezier(.2, .7, .2, 1);
  --wp-gutter: clamp(16px, 2.5vw, 48px);
}


.wp-container { width: 100%; max-width: none; margin: 0 auto; padding-left: var(--wp-gutter); padding-right: var(--wp-gutter); position: relative; }

/* ── Icons / buttons ───────────────────────────────────────────── */
.wp-ico { width: 20px; height: 20px; flex: none; }
.wp-ico-sm { width: 16px; height: 16px; flex: none; color: var(--wp-sky); }

.wp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 14px/1 var(--font-sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--wp-ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.wp-btn:hover { transform: translateY(-1px); }
.wp-btn-primary { background: #00e676; color: #000; font-weight: 800; box-shadow: 0 10px 26px -10px rgba(0, 230, 118, .6); }
.wp-btn-primary:hover { background: #00c853; box-shadow: 0 14px 32px -10px rgba(0, 230, 118, .75); }
.wp-btn-ghost { background: rgba(255, 255, 255, .04); color: var(--wp-text); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.wp-btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(0, 255, 135, .5); }
.wp-btn-lg { min-height: 56px; padding: 0 28px; font-size: 15px; }
.wp-btn-block { width: 100%; }

/* ── Navbar (glass) ───────────────────────────────────────────── */
.wp-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18, 20, 26, .95);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.wp-nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wp-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; flex: none; }
.wp-brand-icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 20px -6px rgba(0, 230, 118, .7); }
.wp-brand-word { font: 700 22px/1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.wp-brand-word span { color: #00e676; }
.wp-brand-badge { align-self: center; padding: 3px 7px; border-radius: 5px; font: 700 10px/1 var(--font-mono); color: #00e676; background: rgba(0, 230, 118, .1); border: 1px solid rgba(0, 230, 118, .3); }

.wp-nav-links { display: none; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.wp-nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px;
  color: var(--wp-muted); font: 500 14px/1 var(--font-sans); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.wp-nav-link:hover, .wp-nav-link.is-open { color: #fff; background: rgba(255, 255, 255, .06); }
.wp-nav-link.is-active { color: #fff; background: rgba(0, 230, 118, .22); box-shadow: inset 0 0 0 1px rgba(0, 255, 135, .25); }
.wp-caret { width: 16px; height: 16px; transition: transform .2s; }
.wp-nav-link.is-open .wp-caret { transform: rotate(180deg); }

.wp-nav-actions { display: flex; align-items: center; gap: 10px; }
.wp-nav-social { display: none !important; }
.wp-nav-cta { display: none; min-height: 42px; }
.wp-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }

/* Ecosystem dropdown */
.wp-eco { position: relative; }
.wp-eco-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; width: min(760px, 92vw); animation: wpDrop .22s var(--wp-ease); }
.wp-eco-panel-inner {
  padding: 14px; border-radius: 24px;
  /* Solid enough on its own: a backdrop-filter nested inside the blurred navbar is ignored by Chromium. */
  background: linear-gradient(180deg, rgba(19, 21, 32, .98), rgba(14, 16, 23, .98)); border: 1px solid var(--wp-line);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
@keyframes wpDrop { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.wp-eco-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.wp-eco-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--wp-text); border: 1px solid transparent; transition: background-color .2s, border-color .2s; min-height: 56px; }
.wp-eco-card:hover { background: rgba(0, 230, 118, .1); border-color: rgba(0, 255, 135, .2); }
.wp-eco-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--wp-sky); background: linear-gradient(160deg, rgba(0, 230, 118, .28), rgba(0, 230, 118, .06)); border: 1px solid rgba(0, 255, 135, .2); }
.wp-eco-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wp-eco-text strong { font: 600 14px/1.2 var(--font-sans); color: #fff; }
.wp-eco-text small { font: 400 12.5px/1.35 var(--font-sans); color: var(--wp-faint); }

/* Mobile menu */
.wp-mobile-menu { border-top: 1px solid rgba(255, 255, 255, .06); background: rgba(14, 16, 23, .98); max-height: calc(100vh - 76px); overflow-y: auto; padding: 12px 0 24px; }
.wp-mobile-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.wp-mobile-links button { min-height: 46px; border-radius: 14px; text-align: left; padding: 0 16px; color: var(--wp-text); font: 500 15px/1 var(--font-sans); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); cursor: pointer; }
.wp-mobile-links button.is-active { background: rgba(0, 230, 118, .2); border-color: rgba(0, 255, 135, .35); }
.wp-mobile-label { margin: 0 0 8px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--wp-faint); }
.wp-mobile-menu .wp-eco-grid { margin-bottom: 16px; }

@media (min-width: 640px) { .wp-eco-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) {
  .wp-nav-links { display: flex; }
  .wp-nav-social { display: flex !important; }
  .wp-nav-cta { display: inline-flex; }
  .wp-burger { display: none; }
}

@media (max-width: 639.98px) {
  .wp-nav-inner { height: 64px; }
  .wp-brand-icon { width: 32px; height: 32px; }
  .wp-brand-word { font-size: 20px; }
  .wp-mobile-menu { max-height: calc(100vh - 64px); }
}
@media (prefers-reduced-motion: reduce) { .wp-eco-panel { animation: none !important; } }

/* Tokenomics link in the mobile menu: same look as the section buttons, full row */
.wp-mobile-links .wp-mobile-tk { grid-column: 1 / -1; display: flex; align-items: center; min-height: 46px; border-radius: 14px; padding: 0 16px; text-decoration: none;
  color: var(--wp-text); font: 500 15px/1 var(--font-sans); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.wp-mobile-links .wp-mobile-tk.is-active { background: rgba(0, 230, 118, .22); border-color: rgba(0, 255, 135, .35); }
