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

:root {
  --brand: #4338ca;
  --brand-dark: #312a92;
  --brand-light: #eef0fd;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e6e9f0;
  --bg-soft: #f7f8fc;
}

* { font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

body { color: var(--ink); background: #fff; }

main { max-width: 760px; }

h1, h2, h3, .navbar-brand { letter-spacing: -0.02em; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* Navbar */
.navbar {
  backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(255,255,255,0.9) !important;
}
.navbar-brand { color: var(--ink) !important; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.navbar-brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #7c6ef2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 800;
}
.nav-link { color: var(--muted) !important; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--brand) !important; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #2563eb 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.14), transparent 40%),
    radial-gradient(circle at 75% 90%, rgba(255,255,255,0.10), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.6rem; font-weight: 800; color: #fff; }
.hero .lead { color: rgba(255,255,255,0.88); }
.hero .fine-note { color: rgba(255,255,255,0.75); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

.search-card {
  background: rgba(255,255,255,0.98);
  border-radius: 18px;
  padding: 22px 22px 16px;
  margin-top: 28px;
  box-shadow: 0 24px 60px -22px rgba(15,23,42,0.55);
}

/* Buttons */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), #6a5cf5);
  border: none; color: #fff; font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(67,56,202,0.55);
}
.btn-brand:hover { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }

.form-control-lg { border-radius: 10px; border-color: var(--line); }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 0.2rem rgba(67,56,202,0.15); }

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(15,23,42,0.25); border-color: #cfd4f7; }
.card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 10px;
}
.card-title { font-size: 1rem; font-weight: 700; }
.card-text.small { color: var(--muted); }

.section-label {
  text-transform: uppercase; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--muted);
}

.alert { border-radius: 12px; border: 1px solid var(--line); }
.alert-light { background: var(--bg-soft); }

/* Footer */
footer.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #4338ca, #7c3aed, #2563eb) 1;
}
footer.site-footer a { color: #cbd5e1; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .brand { color: #fff; font-weight: 800; }
footer.site-footer .fine { color: #64748b; font-size: 0.82rem; }

.list-group-item-action { border-radius: 12px !important; margin-bottom: 8px; border: 1px solid var(--line) !important; font-weight: 600; }
.list-group-item-action:hover { background: var(--brand-light); border-color: #cfd4f7 !important; }

    .m-number {
            display: inline-block;
            width: 130px;
            margin: 4px 8px 4px 0;
            padding: 4px 6px;
            color: #4d5b62;
            background: #ffffff;
            border: 1px solid #eeeeee;
            border-radius: 4px;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0;
            text-decoration: none;
        }