/* ==========================================================================
   Polyflux shared styles — imported by landing, demo, and wallet pages.
   Any change here applies to all three pages automatically.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0a0b0f;
  color: #e2e4ed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #0a0b0f;
  --bg-soft: #0f1119;
  --surface: #12141c;
  --surface-2: #161823;
  --border: #1e2130;
  --text: #e2e4ed;
  --text-dim: #6b7194;
  --text-mid: #9ca0b8;
  --accent: #6c5ce7;
  --accent-2: #a29bfe;
  --green: #00e676;
  --red: #ff5252;
  --blue: #448aff;
  --orange: #ff9100;
}

a { color: inherit; text-decoration: none; }

/* ---- Top nav ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 11, 15, 0.75);
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: #5b4cd1;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(108, 92, 231, 0.32);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 13px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ---- Mobile nav collapse ---- */
@media (max-width: 900px) {
  .nav-inner { padding: 16px 20px; }
  .nav-link { display: none; }
}
