/* ==========================================================================
   Uganda Business Verify — Global Styles
   Palette: Slate/Navy primary, white/light-gray backgrounds, sharp type
   ========================================================================== */

:root {
  --navy-950: #0b1220;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #dbeafe;
  --success: #16a34a;
  --danger: #dc2626;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-100);
}

.nav-link {
  color: var(--navy-700);
  font-weight: 500;
  font-size: 0.925rem;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--navy-900);
}

.nav-link.active {
  color: var(--navy-900);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 2px;
  background: var(--accent);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: 8px;
  padding: 0.65rem 1.35rem;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--slate-50);
}

.btn-block {
  width: 100%;
}

/* ---------- Cards / Surfaces ---------- */
.surface {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 14px;
}

.surface-shadow {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.10);
}

/* ---------- Hero ---------- */
.hero-bg {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(37, 99, 235, 0.08), transparent),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.grid-pattern {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

/* ---------- Forms ---------- */
.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.375rem;
  display: block;
}

.field-input {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
  color: var(--navy-900);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-800);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* ---------- Misc ---------- */
.text-navy { color: var(--navy-900); }
.text-muted { color: var(--slate-500); }

.divider {
  height: 1px;
  background: var(--slate-100);
}

.fade-in {
  animation: fadeIn 0.35s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.blocked-overlay {
  cursor: pointer;
}

.notice-banner {
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  color: var(--accent-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

footer a {
  color: var(--slate-300);
}
footer a:hover {
  color: #fff;
}
