/* =====================================================================
   Ez Compliance — Landing "Cinematic Dark" theme
   Near-black + electric violet -> cyan, animated aurora mesh.
   ===================================================================== */

:root {
  --lv-violet: #8b5cf6;
  --lv-indigo: #6366f1;
  --lv-cyan:   #22d3ee;
  --lv-grad: linear-gradient(120deg, #8b5cf6, #6366f1 45%, #22d3ee);
  --lv-ink: #e5e7f0;
  --lv-muted: #9aa3b5;
  --lv-glass: rgba(255,255,255,.06);
  --lv-line: rgba(255,255,255,.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--lv-ink);
  background: #05060c;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-4, .display-5, .display-6, .navbar-brand {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -.02em;
}

.text-gradient,
.hero-section h1 .grad {
  background: var(--lv-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Animated aurora background ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40rem 40rem at 12% -5%, rgba(139,92,246,.35), transparent 60%),
    radial-gradient(38rem 38rem at 95% 8%, rgba(34,211,238,.28), transparent 55%),
    radial-gradient(36rem 36rem at 50% 110%, rgba(99,102,241,.30), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 75%);
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,-2%,0) scale(1.06); }
}

/* ---- Glass navbar ---- */
.navbar {
  background: rgba(8,10,18,.6) !important;
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--lv-line);
}
.navbar-brand .text-primary, .navbar-brand span {
  background: var(--lv-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; font-weight: 700;
}
.navbar .nav-link { color: var(--lv-muted) !important; font-weight: 500; }
.navbar .nav-link:hover { color: #fff !important; }
.navbar .navbar-toggler { border-color: var(--lv-line); }
.navbar .navbar-toggler-icon { filter: invert(1) opacity(.7); }

/* ---- Buttons ---- */
.btn { border-radius: 999px; font-weight: 600; transition: all .2s ease; }
.btn-primary, .btn-cta, .btn-light {
  background: var(--lv-grad); border: none; color: #06070d !important;
  box-shadow: 0 12px 30px -10px rgba(99,102,241,.7);
}
.btn-primary:hover, .btn-cta:hover, .btn-light:hover {
  transform: translateY(-2px); filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(139,92,246,.4), 0 18px 40px -12px rgba(34,211,238,.6);
  color: #06070d !important;
}
.btn-outline-primary, .btn-outline-light {
  border: 1px solid var(--lv-line); color: #fff !important; background: var(--lv-glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-outline-primary:hover, .btn-outline-light:hover { border-color: var(--lv-cyan); color: #fff !important; background: rgba(255,255,255,.10); }

/* ---- Hero ---- */
.hero-section {
  padding: 11rem 0 6rem; position: relative; text-align: left;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600;
  color: var(--lv-ink); padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--lv-line); background: var(--lv-glass); margin-bottom: 1.25rem;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-cyan); box-shadow: 0 0 12px var(--lv-cyan); }
.hero-section h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 1.25rem; color: #fff; }
.hero-section p.lead { color: var(--lv-muted); font-size: 1.15rem; max-width: 36rem; }

/* ---- Glass cards ---- */
.glass-card {
  background: var(--lv-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--lv-line); border-radius: 18px; padding: 1.5rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  height: 100%;
}
.glass-card:hover {
  transform: translateY(-4px); border-color: rgba(139,92,246,.45);
  box-shadow: 0 24px 50px -24px rgba(99,102,241,.6);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
  background: var(--lv-grad); box-shadow: 0 12px 24px -12px rgba(99,102,241,.8); margin-bottom: 1rem;
}
.glass-card h3, .glass-card h5 { color: #fff; font-size: 1.1rem; }
.glass-card p { color: var(--lv-muted); margin-bottom: 0; font-size: .92rem; }

/* ---- Stats ---- */
.stat-band { border-top: 1px solid var(--lv-line); border-bottom: 1px solid var(--lv-line); padding: 2.5rem 0; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; }
.stat-num.grad { background: var(--lv-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--lv-muted); font-size: .9rem; }

/* ---- Sections ---- */
.section { padding: 5.5rem 0; position: relative; }
.section h2 { color: #fff; }
.section .text-muted, .section p { color: var(--lv-muted) !important; }
.bg-light { background: transparent !important; }

.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #06070d; background: var(--lv-grad); margin-bottom: .75rem;
}

/* ---- CTA ---- */
.cta-section, .cta-card {
  background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(34,211,238,.14));
  border: 1px solid var(--lv-line); border-radius: 28px; padding: 3.5rem; text-align: center;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.cta-section h2 { color: #fff; }

/* ---- Footer ---- */
.footer { background: #04050a; border-top: 1px solid var(--lv-line); color: var(--lv-muted); }
.footer h5 { color: #fff; }
.footer a { color: var(--lv-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.social-icons a { font-size: 1.25rem; margin-right: 1rem; }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .glass-card, .btn { transition: none; }
}
@media (max-width: 768px) {
  .hero-section { padding: 8rem 0 4rem; text-align: center; }
  .cta-section, .cta-card { padding: 2rem; }
}
