/* ================================================================
   VDE Shared Design System v1
   Shared across: connectarr.app, subbalance.app, righttap.vde.one
================================================================= */

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

/* ── Shared Palette ── */
:root {
  --vde-text:       #F2F2F7;
  --vde-text-muted: #8B92B3;
  --vde-text-dim:   #555770;
  --vde-border:     rgba(255, 255, 255, 0.06);
  --vde-hover-bg:   rgba(255, 255, 255, 0.05);
  --vde-accent:     #0A84FF;
}

/* ── Unified Nav ── */
.vde-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem clamp(1.25rem, 5vw, 2.5rem);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 11, 24, 0.75);
  border-bottom: 1px solid var(--vde-border);
}

.vde-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--vde-text);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.vde-nav-brand img {
  height: 28px;
  width: auto;
  border-radius: 6px;
}

.vde-nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vde-nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--vde-text-muted);
  text-decoration: none;
  padding: 0.4375rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.vde-nav-link:hover {
  color: var(--vde-text);
  background: var(--vde-hover-bg);
}

.vde-nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--vde-text);
  color: #060B18;
  transition: transform 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.vde-nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* ── Unified Footer ── */
.vde-footer {
  border-top: 1px solid var(--vde-border);
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.vde-footer-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.vde-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vde-footer-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vde-text-dim);
  margin-bottom: 0.25rem;
}

.vde-footer-col a {
  color: var(--vde-text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
  line-height: 1.4;
}

.vde-footer-col a:hover {
  color: var(--vde-text);
}

.vde-footer-col .vde-current {
  color: var(--vde-text-dim);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.vde-footer-bottom {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--vde-border);
  font-size: 0.75rem;
  color: var(--vde-text-dim);
  letter-spacing: 0.02em;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .vde-nav {
    padding: 0.75rem 1rem;
  }

  .vde-nav-links {
    gap: 0.125rem;
  }

  .vde-nav-link {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }

  .vde-nav-cta {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }

  .vde-footer {
    padding: 2rem 1.25rem 1.5rem;
  }

  .vde-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vde-footer-bottom {
    margin-top: 1.25rem;
  }
}

@media (max-width: 420px) {
  .vde-nav-link.vde-nav-hide-xs {
    display: none;
  }
}
