/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Navbar scroll effect ─────────────────────────────────── */
#navbar {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.06);
}

/* ── Background grid pattern ──────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Feature cards ────────────────────────────────────────── */
.feature-card {
  padding: 2rem;
  background: rgb(15 23 42 / 0.6);
  transition: background 0.2s;
}
.feature-card:hover {
  background: rgb(30 41 59 / 0.8);
}
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* ── Step cards ───────────────────────────────────────────── */
.step-card {
  text-align: center;
  padding: 1.5rem;
}
.step-number {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* ── Smooth scroll ────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Focus ring ───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}
